Skip to content

Question about interconnection of terminals #2057

@masoud-najafi

Description

@masoud-najafi

HI,
I have a few questions regarding the interconnection of terminals.

  1. 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?

  2. 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions