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

Ambient: RelativeHumidity from Input #111

Open
4flixt opened this issue Feb 23, 2018 · 0 comments
Open

Ambient: RelativeHumidity from Input #111

4flixt opened this issue Feb 23, 2018 · 0 comments

Comments

@4flixt
Copy link

4flixt commented Feb 23, 2018

Among the settings for the ambient block the source for weather data can be selected from a drop-down menue. Default option is "from file". All weather data channels can easily be changed to "from input" except for "relative humidity".

I figured the problem is, that the connect statement for the option "from input" is not valid for phi, because phi is not a port within the system (like all other weather channels). It is rather used to compute the value for x, which is then feed to a port. The fix seems obvious at first: Use an assignment for phi if data is feed through the input rather than read from file. Unfortunately this doesnt work if data is read from file. The conditional removal of an input (as is conducted if "from file" is selected for phi), leads to an error if this input is part of assignment (even if that assignment is conditionally not executed as well). It doesnt lead to an error if the input is part of the connect statement.

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