modelSwitchOffLogicSide2

Manage switch-off logic for side 2 of a quadripole

Information

Handles a predefinite number of switch-off signals and sets running to false as soon as one signal is set to true.

Parameters

TypeNameDefaultDescription
IntegerNbSwitchOffSignalsSide2Number of switch-off signals to take into account in inputs
BooleanSwitchOffSignal1Side20falseInitial switch-off signal 1 for side 2 of the quadripole
BooleanSwitchOffSignal2Side20falseInitial switch-off signal 2 for side 2 of the quadripole
BooleanSwitchOffSignal3Side20falseInitial switch-off signal 3 for side 2 of the quadripole
BooleanRunningSide20if NbSwitchOffSignalsSide2 >= 3 then not (SwitchOffSignal1Side20 or SwitchOffSignal2Side20 or SwitchOffSignal3Side20) elseif NbSwitchOffSignalsSide2 >= 2 then not (SwitchOffSignal1Side20 or SwitchOffSignal2Side20) else not SwitchOffSignal1Side20Indicates if the component is initially running on side 2 or not

Connectors

TypeNameDefaultDescription
Dynawo.Connectors.BPinswitchOffSignal1Side2Switch-off signal 1 for side 2 of the quadripole
Dynawo.Connectors.BPinswitchOffSignal2Side2Switch-off signal 2 for side 2 of the quadripole
Dynawo.Connectors.BPinswitchOffSignal3Side2Switch-off signal 3 for side 2 of the quadripole
Dynawo.Connectors.BPinrunningSide2Indicates if the component is running on side 2 or not