citylearn.internal.runtime module
- class citylearn.internal.runtime.CityLearnRuntimeService(env: CityLearnEnv)[source]
Bases:
objectInternal runtime orchestration for CityLearnEnv.
- associate_chargers_to_electric_vehicles()[source]
Associate charger to its corresponding EV based on charger simulation state.
- parse_actions(actions) List[Mapping[str, float]][source]
Return mapping of action name to action value for each building.
- simulate_unconnected_ev_soc()[source]
Simulate SOC changes for EVs that are not under charger control at t+1.
- step_many(action, repeat_steps: int = 1, stop_on_done: bool = True, return_substeps: bool = False)[source]
Apply one action over multiple internal simulator steps.