nrel.hive.reporting.handler.eventful_handler
Module Contents
Classes
handles events and appends them to the event.log output file based on global logging settings |
Attributes
- class nrel.hive.reporting.handler.eventful_handler.EventfulHandler(global_config: nrel.hive.config.global_config.GlobalConfig, scenario_output_directory: pathlib.Path)[source]
Bases:
nrel.hive.reporting.handler.handler.Handlerhandles events and appends them to the event.log output file based on global logging settings
- handle(reports: List[nrel.hive.reporting.reporter.Report], runner_payload: nrel.hive.runner.runner_payload.RunnerPayload)[source]
called at each log step.
- Parameters:
reports –
runner_payload –
- Returns:
- close(runner_payload: nrel.hive.runner.runner_payload.RunnerPayload)[source]
wrap up anything here. called at the end of the simulation
- Returns: