You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The models in the package ExergyMeter fail in OpenModelica.
Error log
Error in model: AixLib.Utilities.Sensors.Examples.ExergyMeters
[D:/05_Programme/OpenModelica1.19.2-64bit/lib/omlibrary/Modelica 4.0.0/Blocks/Math.mo:543:5-544:48:writable] Warning: The following equation is INCONSISTENT due to specified unit information: specHeaCap.k = cp
Warning: The units of following sub-expressions need to be equal:
- sub-expression "cp" has unit "J/(kg.K)"
- sub-expression "specHeaCap.k" has unit "1"
[D:/05_Programme/OpenModelica1.19.2-64bit/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:202:5-202:64:writable] Warning: The model can't be instantiated due to top-level outer element ‘system‘, it may only be used as part of a simulation model.
[D:/05_Programme/OpenModelica1.19.2-64bit/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:202:5-202:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated.
[D:/05_Programme/OpenModelica1.19.2-64bit/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:202:5-202:64:writable] Notification: The diagnostics message for the missing inner is:
Your model is using an outer "system" component but
an inner "system" component is not defined.
For simulation drag Modelica.Fluid.System into your model
to specify system properties.
[D:/04_git/AixLib/AixLib/Utilities/Sensors/ExergyMeter/StoredExergyMeter.mo:80:11-80:46:writable] Notification: From here:
[D:/04_git/AixLib/AixLib/Utilities/Sensors/ExergyMeter/StoredExergyMeter.mo:77:3-87:27:writable] Error: Non-array modification ‘"ThermodynamicTemperature"‘ for array component ‘quantity‘, possibly due to missing ‘each‘.
Error in model: AixLib.Utilities.Sensors.ExergyMeter.FlowExergyMeter
[D:/05_Programme/OpenModelica1.19.2-64bit/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:202:5-202:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated.
[D:/05_Programme/OpenModelica1.19.2-64bit/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:202:5-202:64:writable] Notification: The diagnostics message for the missing inner is:
Your model is using an outer "system" component but
an inner "system" component is not defined.
For simulation drag Modelica.Fluid.System into your model
to specify system properties.
[D:/04_git/AixLib/AixLib/Utilities/Sensors/ExergyMeter/FlowExergyMeter.mo:8:9-8:32:writable] Notification: From here:
[D:/04_git/AixLib/AixLib/Utilities/Sensors/ExergyMeter/FlowExergyMeter.mo:7:3-12:29:writable] Error: Non-array modification ‘"MassFraction"‘ for array component ‘quantity‘, possibly due to missing ‘each‘.
Error in model: AixLib.Utilities.Sensors.ExergyMeter.StoredExergyMeter
[D:/04_git/AixLib/AixLib/Utilities/Sensors/ExergyMeter/StoredExergyMeter.mo:80:11-80:46:writable] Notification: From here:
[D:/04_git/AixLib/AixLib/Utilities/Sensors/ExergyMeter/StoredExergyMeter.mo:77:3-87:27:writable] Error: Non-array modification ‘"ThermodynamicTemperature"‘ for array component ‘quantity‘, possibly due to missing ‘each‘.
The text was updated successfully, but these errors were encountered:
Describe the bug
The models in the package
ExergyMeter
fail in OpenModelica.Error log
The text was updated successfully, but these errors were encountered: