This package contains utility models and bus definitions needed for the BusUsage example.
Extends from Modelica.Icons.Package (Icon for standard packages).
Name | Description |
---|---|
Interfaces | Interfaces specialised for this example |
Part | Component with sub-control bus |
This model is used to demonstrate the bus usage in example BusUsage.
Type | Name | Description |
---|---|---|
SubControlBus | subControlBus |
model Part "Component with sub-control bus"Interfaces.SubControlBus subControlBus; Sources.RealExpression realExpression(y=time); Sources.BooleanExpression booleanExpression(y=time > 0.5); equationconnect(realExpression.y, subControlBus.myRealSignal); connect(booleanExpression.y, subControlBus.myBooleanSignal); end Part;