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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interaction.Show.BooleanValue | showValue | ||
| MathBoolean.And | and1 | ||
| Sources.BooleanPulse | booleanPulse1 | ||
| Sources.BooleanPulse | booleanPulse2 | ||
| Sources.BooleanStep | booleanStep | ||
| MathBoolean.Or | or1 | ||
| MathBoolean.Xor | xor1 | ||
| Modelica.Blocks.Interaction.Show.BooleanValue | showValue2 | ||
| Modelica.Blocks.Interaction.Show.BooleanValue | showValue3 | ||
| MathBoolean.Nand | nand1 | ||
| MathBoolean.Nor | or2 | ||
| Modelica.Blocks.Interaction.Show.BooleanValue | showValue4 | ||
| MathBoolean.Not | nor1 | ||
| MathBoolean.OnDelay | onDelay | ||
| MathBoolean.RisingEdge | rising | ||
| MathBoolean.MultiSwitch | set1 | ||
| MathBoolean.FallingEdge | falling | ||
| Sources.BooleanTable | booleanTable | ||
| MathBoolean.ChangingEdge | changing | ||
| MathInteger.TriggeredAdd | triggeredAdd | ||
| Sources.IntegerConstant | integerConstant | ||
| Modelica.Blocks.Interaction.Show.IntegerValue | showValue1 | ||
| Modelica.Blocks.Interaction.Show.BooleanValue | showValue5 | ||
| Modelica.Blocks.Interaction.Show.BooleanValue | showValue6 | ||
| Logical.RSFlipFlop | rSFlipFlop | ||
| Sources.SampleTrigger | sampleTriggerSet | ||
| Sources.SampleTrigger | sampleTriggerReset |