Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less strict dataflow connection semantics #3442

Open
mtiller-jh opened this issue Mar 4, 2025 · 0 comments
Open

Less strict dataflow connection semantics #3442

mtiller-jh opened this issue Mar 4, 2025 · 0 comments

Comments

@mtiller-jh
Copy link

Is your feature request related to a problem? Please describe.

When building component models that have input or output signals, the current semantics of MTK make it nearly impossible to create a correct component.

For example, a component that has an input connector that then feeds into the input connector of a subcomponent is an error in MTK currently because the connect doesn't include an output. But it doesn't need to contain an output.

Similarly, an output connector on a component may be connected to an output connector on a subcomponent. This connect has two outputs which is also an error.

Describe the solution you’d like

For building component models, the ideal semantics are those discussed in Section 9 of the Modelica Specification. In particular, Section 9.3 (regarding rules about input and output connectors). This, in turn, relies on the notion of "inside" and "outside" connectors defined in Section 9.1.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant