The introduction of structured components with inside and outside connectors introduces some additional complexity in the rules for connecting connectors with input or output causality, i.e. connectors declared with the input or output type prefix. Examples are instances of the connector classes InPort and OutPort. Normally the following rules apply:
* Two acausal connectors can be connected to each other.
* An input connector can be connected to an output connector or vice versa.
* An input or output connector can be connected to an acausal connector, i.e. a connector without input/output prefixes.
Two essentially equivalent example circuits of four connected components with connectors of input or output causality. Within
the lower circuit two components have been embeded in the structured component M1.
There are certain rules for how to connect connectors with input or output causality. It is not possible to connect two inputs or two outputs, unless outside connectors are involved. The following example illustrates the upper circuit above.
The following example illustrates the lower circuit above.
The classes CInst and MInst is equivalent.