Input Stage

class gem_controllers.stages.input_stage.InputStage[source]

This class denormalizes the state and reference.

__call__(state, reference)[source]

Denormalize the state and the references

Parameters
  • state (np.ndarray) – The state of the environment.

  • reference (np.ndarray) – The reference values at the input.

Returns

denormalized reference values

Return type

np.array

property reference_limits

Limits of the references

property state_limits

Limits of the states

tune(env, env_id, **__)[source]

Set the limits of the state and the references.

Parameters
  • env (ElectricMotorEnvironment) – The GEM-Environment that the controller shall be created for.

  • env_id (str) – The corresponding environment-id to specify the concrete environment.