energym.utils.common.parse_variables

energym.utils.common.parse_variables(var_file)

Parse observation and action to dictionary.

Parameters

var_file (str) – Variables file path.

Returns

{‘observation’: A list with the name of the observation <variables> (<zone>)

’action’ : A list with the name og the action <variables>}.

Return type

dict