sinergym.utils.common
Common utilities.
Functions
|
Create a new weather file using Ornstein-Uhlenbeck process. |
|
Returns the current day, month and hour given the seconds elapsed since the simulation started. |
|
Returns the delta seconds between year:st_mon:st_day:0:0:0 and year:end_mon:end_day:24:0:0. |
|
Given an opyplus Epm Record (one element from opyplus.epm object) this function returns list of keys (opyplus hasn't got this functionality explicitly) |
|
Parse observation space definition to gym env. |
|
Parse observation and action to dictionary. |
|
Prepare a list of dictionaries in order to use Epm.add_batch directly |
|
Given a path with simulations outputs, this function is used to extract max and min absolute valors of all episodes in each variable. |
|
Given an action inner gym action_space, this will be converted into an action inner setpoints_space (Sinergym Simulation). |
Classes
|
CSV Logger for agent interaction with environment. |
|
Sinergym terminal logger for simulation executions. |