-
Notifications
You must be signed in to change notification settings - Fork 82
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
Non-standard annotation #1426
Comments
This affects 38 models. 10 are already obsolete, 7 will be fixed due to the heat pump move to IBPSA. Remaining models are mostly HOM. However, the current HOM implementation should be using enumerations anyway, in my opinion. |
@maltelenz : Is there an option in OM to warn about wrong annotations? |
I would be fine with a drop-down menu instead of radioButtons as it is only a visual element. I would also agree with @FWuellhorst to use enumerations for better code readability. |
I don't know, I represent Wolfram System Modeler (which currently doesn't have a good general way to find invalid annotations). |
All lot of the radioButtons were used in HOM. This was fixed in issue #1440 . Also the radioButtons in the BoundaryConditions were changed. Remaining RadioButtons in the following 16 files:
|
changed CalcMethodRadiativeHeatTransfer.mo
Changed CalcMethodConvectiveHeatTransfer.mo, CalcMethodConvectiveHeatTransferInsideSurface.mo, CalcMethodLongwaveRadiationHeatTransfer.mo, SurfaceOrientation.mo
Changed ThermalInsulationRegulation.mo
Changed all radioButtons in HOM
…ditions" #1426 change radioButtons to checkBoxes if number of choices equals two. change radioButtons to enumerations if number of choices is greater than two.
This seems to be using a non-standard annotation without a vendor prefix, making it invalid Modelica:
AixLib/AixLib/Controls/HeatPump/HPControl.mo
Line 16 in 4280d7c
There are many more cases spread out across the library.
The text was updated successfully, but these errors were encountered: