External Systems
An external system is a representation in Modeler of an external model. The external system offers a great deal of flexibility because, as far as Modeler is concerned, it is a black box. Therefore, the external system might represent anything from a general behavior algorithm to a specific structural model of a hardware entity, or any combination of the two.
Modeler interacts with external systems at two levels: the node level and the process level. The placement of an esys module in the Node Editor defines where the external system fits into the model’s structure. The esys module’s process model directs and transforms (if necessary) data between the external system and the rest of the model.
Each ESD has one or more esys interfaces. An esys interface can contain a value. Both Modeler and the external code can see or change the values on an esys interface (depending on the esys interface’s nature). An esys interface’s value does not change until it is overwritten with a new value. When it does change, the cosimulation code causes an appropriate event to occur in the external code’s domain. The following figure shows this communication flow.
Figure 209: Modeler’s View of Communication Paths During a Cosimulation
