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)