sinergym.simulators.eplus_alpha.EnergyPlus
- class sinergym.simulators.eplus_alpha.EnergyPlus(idf_file: str, weather_file: str, variables_file: str, env_name: str)
- __init__(idf_file: str, weather_file: str, variables_file: str, env_name: str)
EnergyPlus simulator connector.
- Parameters:
idf_file (str) – IDF file with the building model.
weather_file (str) – EPW file with weather data.
variables_file (str) – Configuration file with the variables used in the simulation.
env_name (str) – Name of the environment.
- Raises:
KeyError – the environment variable BCVTB_PATH has not been defined.
KeyError – the environment variable EPLUS_PATH has not been defined.
Methods
__init__
(idf_file, weather_file, ...)EnergyPlus simulator connector.
Ends the simulation.
Receive a new observation from the environment.
Sends a new action to the simulator.
Starts the simulation.
stop_simulation
()Stop the current simulation.
- end_simulation() bool
Ends the simulation.
- receive_observation() bool
Receive a new observation from the environment.
- send_action() bool
Sends a new action to the simulator.
- start_simulation() bool
Starts the simulation.