Download MOSAIC User Guide

Transcript
21
For the explanations in the following section, an abbreviated version of
the figure 2.3.3 is given:
Figure 7: Abbreviated symbolic for an Equation System using ports
2.3.4
Using Internal Streams
Internal streams are useful to connect equation systems that provide external
ports.
Main rules
• A Stream connects two Ports.
• A Stream has an ID-Number that is unique in the Equation System.
Further, it has an Interface that specifies the allowed Variable Namings, and it contains the two names of the Ports it connects.
• The variables in the connected Ports are projected in the Stream. That
means that their Variable Namings are translated to namings that are
compliant to the Stream’s Interface. (A Connector is necessary for
this translation).
Main behavior and consequences
• All variables that have been projected into a Stream have standardized
names.
• These variables can be seen easily when examining the model.
Useful applications
• Put together Equation Systems that use External Ports so that they
can be used for flow sheeting.
• As the Interfaces can be created by the user, the data structure Stream
can be used to model material streams of different information content
as well as control flows and similar modeling tasks.