This information is part of the Modelica Standard Library maintained by the Modelica Association.

BooleanTable

Generate a Boolean output signal based on a vector of time instants

Information
CONNECTORS
CLOSE ALL
NameTypeDescription
yBooleanOutputConnector of Boolean output signal
PARAMETERS
NameTypeDefault ValueDescription
startValueBooleanfalseStart value of y. At time = table[1], y changes to 'not startValue'
tableTimeVector of time points. At every time point, the output y gets its opposite value (e.g. table={0,1})
nIntegersize(table, 1)Number of table points
USED IN EXAMPLES
Modelica.Blocks.Examples.ShowLogicalSources
Demonstrates the usage of logical sources together with their diagram animation
Modelica.Blocks.Examples.LogicalNetwork1
Demonstrates the usage of logical blocks
USED IN COMPONENTS
Modelica.StateGraph.Temporary.RadioButton
Button that sets its output to true when pressed and is reset when an element of 'reset' becomes true