modelSwitchOffLogicSide1

Manage switch-off logic for side 1 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
IntegerNbSwitchOffSignalsSide1Number of switch-off signals to take into account in inputs
BooleanSwitchOffSignal1Side10falseInitial switch-off signal 1 for side 1 of the quadripole
BooleanSwitchOffSignal2Side10falseInitial switch-off signal 2 for side 1 of the quadripole
BooleanSwitchOffSignal3Side10falseInitial switch-off signal 3 for side 1 of the quadripole
BooleanRunningSide10if NbSwitchOffSignalsSide1 >= 3 then not (SwitchOffSignal1Side10 or SwitchOffSignal2Side10 or SwitchOffSignal3Side10) elseif NbSwitchOffSignalsSide1 >= 2 then not (SwitchOffSignal1Side10 or SwitchOffSignal2Side10) else not SwitchOffSignal1Side10Indicates if the component is initially running on side 1 or not

Connectors

TypeNameDefaultDescription
Dynawo.Connectors.BPinswitchOffSignal1Side1Switch-off signal 1 for side 1 of the quadripole
Dynawo.Connectors.BPinswitchOffSignal2Side1Switch-off signal 2 for side 1 of the quadripole
Dynawo.Connectors.BPinswitchOffSignal3Side1Switch-off signal 3 for side 1 of the quadripole
Dynawo.Connectors.BPinrunningSide1Indicates if the component is running on side 1 or not