commonpower.control.safety_layer.safety_layers

Collection of safety layers.

Classes

ActionProjectionSafetyLayer

Computes safe action by minimizing the distance between the RL action and the safe action while also satisfying constraints.

ActionReplacementWithOptSafetyLayer

Action replacement safety layer.

BaseSafetyLayer

Base class for safety layers.