Skip to content

Remove causal prefixes when using buses implemented as expandable connectors.#1499

Open
qlambert-pro wants to merge 1 commit into
open-ideas:masterfrom
qlambert-pro:master
Open

Remove causal prefixes when using buses implemented as expandable connectors.#1499
qlambert-pro wants to merge 1 commit into
open-ideas:masterfrom
qlambert-pro:master

Conversation

@qlambert-pro

@qlambert-pro qlambert-pro commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Section 9.3 of the specs says:

The matched primitive components of the two connectors must have the same primitive types,
and flow variables may only connect to other flow variables, stream variables only to other stream
variables, and causal variables (input/output) only to causal variables (input/output).

expandable connectors have an inference mechanism to sort out the causality of signals contained in them. Adding a causal prefix makes it invalid to connect to the bus present in
IDEAS.BoundaryConditions.SimInfoManager, for instance, as this one doesn't have such a prefix.
This specific issue was originally discovered in
IDEAS.BoundaryConditions.SolarIrradiation.RadSolData at line 176.

This commit removes all prefixes use for instances of IDEAS.Buildings.Components.Interfaces.WeaBus, an alternative to this PR would be to carefully study how the class is used and to add the appropriate causal prefixes where they are needed.

I can't find a way for this commit to introduce regressions, but somehow my gut is still worried that it might, I just figured I should disclose it, as I wasn't able to fully test the outcome of the change.

…nectors.

`expandable connector`s have an inference mechanism to sort out the
causality of signals contained in them. Adding a causal prefix makes it
invalid to connect to the bus present in
`IDEAS.BoundaryConditions.SimInfoManager`, for instance, as this one
doesn't have such a prefix.
This specific issue was originally discovered in
`IDEAS.BoundaryConditions.SolarIrradiation.RadSolData` at line 176.
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

Successfully merging this pull request may close these issues.

1 participant