PartialBooleanVISO partial block
Requirements.Interfaces.PartialBooleanVISO
· source
Partial block with a BooleanVectorInput and a BooleanOutput signal
Partial block with a Vector of Boolean Inputs and a Single Boolean Output (VISO).
The dimension nu of input vector u has Dialog(connectorSizing=true),
so a tool can set it automatically when connections are drawn to the block. The initial values
pre(u) are set to false. The icon shows a small lamp that is green while output y is true.
The block has no equation for y; a block that extends from it defines y as function of u, for example AnyTrue (y is true if at least one input is true) and AllTrue (y is true if all inputs are true). The Property version is PartialPropertyVISO.
Parameters
| Name | Type | Description |
|---|---|---|
nu parameter | Integer | Number of input connections |
Components and variables
| Name | Type | Description |
|---|---|---|
u[…] | Modelica.Blocks.Interfaces.BooleanVectorInput | Vector of Boolean input signals |
y | Modelica.Blocks.Interfaces.BooleanOutput | Boolean output signal |