-
Notifications
You must be signed in to change notification settings - Fork 94
Description
HI,
I have a few questions regarding the interconnection of terminals.
-
Specifically, can two terminals with different matchingRules be connected? Unless I've missed something, my interpretation is that the matchingRule should be checked independently for each terminal. For example:
A plug bus terminal (Tp) can connect to a bus terminal (Tb) as long as all memberNames of Tp are present in Tb.
It is not required for the memberNames of Tb to also exist in Tp. Is this interpretation correct? -
How should matching of two nested (hierarchical) terminals be checked? Specifically, should the memberNames of nested terminals be unrolled and flattened in depth-first order then matching rules be checked? In other words, if a terminal contains hierarchical sub-terminals, does the connection logic require recursively traversing and flattening the structure? Is depth-first traversal the expected method for resolving memberNames in such cases?
3)Can a single variableName (a variable from ModelVariables of an FMU) be shared across multiple terminals of the same FMU?
Thanks,
Masoud