nrel.hive.runner.environment
Module Contents
Classes
Environment of this Hive Simulation. |
- class nrel.hive.runner.environment.Environment[source]
Bases:
NamedTupleEnvironment of this Hive Simulation.
- config: nrel.hive.config.HiveConfig
- mechatronics: immutables.Map[nrel.hive.util.typealiases.MechatronicsId, nrel.hive.model.vehicle.mechatronics.mechatronics_interface.MechatronicsInterface]
- chargers: immutables.Map[nrel.hive.util.typealiases.ChargerId, nrel.hive.model.energy.charger.charger.Charger]
- schedules: immutables.Map[nrel.hive.util.typealiases.ScheduleId, nrel.hive.model.vehicle.schedules.schedule.ScheduleFunction]
- fleet_ids: FrozenSet[nrel.hive.util.typealiases.MembershipId | None]
- reporter: nrel.hive.reporting.reporter.Reporter
- set_reporter(reporter: nrel.hive.reporting.reporter.Reporter) Environment[source]
allows the reporter to be updated after the environment is built.
- Parameters:
reporter – the reporter to be used
- Returns:
the updated environment