nrel.hive.reporting.handler.vehicle_charge_events_handler
Module Contents
Classes
allows grid co-simulation to observe the charging events within a time delta of hive |
- class nrel.hive.reporting.handler.vehicle_charge_events_handler.VehicleChargeEventsHandler[source]
Bases:
nrel.hive.reporting.handler.handler.Handlerallows grid co-simulation to observe the charging events within a time delta of hive
- handle(reports: List[nrel.hive.reporting.reporter.Report], runner_payload: nrel.hive.runner.RunnerPayload)[source]
called at each log step.
- Parameters:
reports –
runner_payload –
- Returns:
- get_events() Dict[str, list][source]
grabs the events as a pandas dataframe :return: a pandas dataframe containing charge events
- close(runner_payload: nrel.hive.runner.RunnerPayload)[source]
wrap up anything here. called at the end of the simulation
- Returns: