modelState

Block that outputs the mode if the state is active, or zero otherwise

Extends from Modelica.StateGraph.StepWithSignal (Ordinary step (= step that is not active when simulation starts). Connector 'active' is true when the step is active).

Parameters

TypeNameDefaultDescription
IntegernIn (from PartialStep)0Number of input connections
IntegernOut (from PartialStep)0Number of output connections
OperationModesmodeEnter enumeration of mode

Connectors

TypeNameDefaultDescription
Interfaces.Step_in[nIn]inPort (from PartialStep)Vector of step input connectors
Interfaces.Step_out[nOut]outPort (from PartialStep)Vector of step output connectors
Modelica.Blocks.Interfaces.BooleanOutputactive (from StepWithSignal)
Modelica.Blocks.Interfaces.IntegerOutputyMode signal (=0 if not active)

Components

TypeNameDefaultDescription
BooleanlocalActive (from PartialStep)= true, if step is active, otherwise the step is not active