modelBooleanNetwork1

Demonstrates the usage of blocks from Modelica.Blocks.MathBoolean

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example demonstrates a network of Boolean blocks from package Modelica.Blocks.MathBoolean. Note, that

  • at the right side of the model, several MathBoolean.ShowValue blocks are present, that visualize the actual value of the respective Boolean signal in a diagram animation ("green" means "true").
  • the Boolean values of the input and output signals are visualized in the diagram animation, by the small "circles" close to the connectors. If a "circle" is "white", the signal is false. If a "circle" is "green", the signal is true.

Components

TypeNameDefaultDescription
Modelica.Blocks.Interaction.Show.BooleanValueshowValue
MathBoolean.Andand1
Sources.BooleanPulsebooleanPulse1
Sources.BooleanPulsebooleanPulse2
Sources.BooleanStepbooleanStep
MathBoolean.Oror1
MathBoolean.Xorxor1
Modelica.Blocks.Interaction.Show.BooleanValueshowValue2
Modelica.Blocks.Interaction.Show.BooleanValueshowValue3
MathBoolean.Nandnand1
MathBoolean.Noror2
Modelica.Blocks.Interaction.Show.BooleanValueshowValue4
MathBoolean.Notnor1
MathBoolean.OnDelayonDelay
MathBoolean.RisingEdgerising
MathBoolean.MultiSwitchset1
MathBoolean.FallingEdgefalling
Sources.BooleanTablebooleanTable
MathBoolean.ChangingEdgechanging
MathInteger.TriggeredAddtriggeredAdd
Sources.IntegerConstantintegerConstant
Modelica.Blocks.Interaction.Show.IntegerValueshowValue1
Modelica.Blocks.Interaction.Show.BooleanValueshowValue5
Modelica.Blocks.Interaction.Show.BooleanValueshowValue6
Logical.RSFlipFloprSFlipFlop
Sources.SampleTriggersampleTriggerSet
Sources.SampleTriggersampleTriggerReset