sinergym.utils.common.json_to_variables

sinergym.utils.common.json_to_variables(variables: Dict[str, Any]) Dict[str, Tuple[str, str]]
Read variables dictionary (from Sinergym JSON conf) and adapt it to the

EnergyPlus format. More information about Sinergym JSON configuration format in documentation.

Parameters:

variables (Dict[str, Any]) – Dictionary from Sinergym JSON configuration with variables information.

Returns:

Dictionary with variables information in EnergyPlus API format.

Return type:

Dict[str, Tuple[str, str]]