Modelica.Blocks.Examples.BusUsage_Utilities

Utility models and connectors for example Modelica.Blocks.Examples.BusUsage

Information


This package contains utility models and bus definitions needed for the BusUsage example.

Extends from Modelica.Icons.Package (Icon for standard packages).

Package Content

NameDescription
Modelica.Blocks.Examples.BusUsage_Utilities.Interfaces Interfaces Interfaces specialised for this example
Modelica.Blocks.Examples.BusUsage_Utilities.Part Part Component with sub-control bus


Modelica.Blocks.Examples.BusUsage_Utilities.Part Modelica.Blocks.Examples.BusUsage_Utilities.Part

Component with sub-control bus

Modelica.Blocks.Examples.BusUsage_Utilities.Part

Information


This model is used to demonstrate the bus usage in example BusUsage.

Connectors

TypeNameDescription
SubControlBussubControlBus 

Modelica definition

model Part "Component with sub-control bus"

  Interfaces.SubControlBus subControlBus;
  Sources.RealExpression realExpression(y=time);
  Sources.BooleanExpression booleanExpression(y=time > 0.5);
equation 
   connect(realExpression.y, subControlBus.myRealSignal);
   connect(booleanExpression.y, subControlBus.myBooleanSignal);
end Part;

Automatically generated Fri Nov 12 16:27:35 2010.