Utils

gem_controllers.utils.disc_converter_actions(converter)[source]

Calculates the high, idle and low switching actions for each from a given finite converter for each of the converters output voltages.

Parameters:

converter (PowerElectronicConverter) – The converter to read the switching levels from.

Returns:

The high switching actions idle_action(np.ndarray): The idle switching actions low_action(np.ndarray): The low switching actions

Return type:

high_action(np.ndarray)

gem_controllers.utils.get_action_type(env_id: str)[source]
gem_controllers.utils.get_control_task(env_id: str)[source]
gem_controllers.utils.get_motor_type(env_id: str)[source]
gem_controllers.utils.non_parameterized(*args, **kwargs)[source]
gem_controllers.utils.split_env_id(env_id: str)[source]