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

Annotations cause errors in OpenModelica #1578

Open
jonas4climate opened this issue Feb 11, 2025 · 0 comments
Open

Annotations cause errors in OpenModelica #1578

jonas4climate opened this issue Feb 11, 2025 · 0 comments

Comments

@jonas4climate
Copy link

Describe the bug
Several models cause scripting errors when opening them within OpenModelica (OMEdit) due to logic within annotations (perhaps errors due to model restructuring?). I'm not sure if these messages can be turned off with a flag, but it still seems inconvenient for usage within OpenModelica. In Dymola, no error messages show up .

Affected:

  • AixLib.ThermalZones.HighOrder.Rooms.BaseClasses.PartialRoomParams: annotations containing withWindow and outside
  • AixLib.Utilities.HeatTransfer.HeatToRad: annotation mentioning radCalcMethod == 4
  • AixLib.Utilities.Interfaces.SolarRad_in: annotations mentioning Smooth.Bezier curves.
  • AixLib.Fluid.Movers.PumpsPolynomialBased.PumpHeadControlled: annotations calculate_power and calculate_efficiency

To Reproduce
Steps to reproduce the behavior:

  1. Open any model using these components, e.g. AixLib.ThermalZones.Rooms.Examples.OFD_1Jan
  2. View console output

Expected behavior
No scripting errors when opening the models.

Desktop (please complete the following information):
OMEdit (Open Modelica 1.24.3) and AixLib v2.1.0

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