As long as the used MSL version is 4.0.0, there are some issues related to the equations for solving for the Integer phase members of medium state records:
|
Modelica(version="4.0.0")), |
In System Modeler, this manifests as translation errors complaining that some variables are not solvable in any equation, and that there are equations with no unknown variables to solve for.
The problem has been discussed here in the context of the Modelica language specification:
Note that a proper fix for this problem requires that the new GenerateEvents semantics become released in an upcoming version of the Modelica language specification, that the MSL switches over to the new version, that MSL makes a new release, and finally that AixLib switches to the new MSL release. However, in reality it might be sufficient that AixLib just switches to MSL 4.1.0 and that Modelica tools implement the new GenerateEvents semantics and apply them also when using libraries made for the 3.6 language version.
A quick look suggests that these examples are affected:
AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumps
AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.StaticHeatPumpBoundaries
AixLib.Fluid.Movers.Compressors.Examples.ModularRotaryCompressor
AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressor
AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLosses
AixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureLosses
AixLib.Fluid.Movers.Compressors.Validation.EfficiencyModels
AixLib.Fluid.Movers.Compressors.Validation.ModularInactiveCompressors
AixLib.Fluid.Movers.Compressors.Validation.StaticHeatPumpBoundaries.BaseModelStaticBoundaries
AixLib.Fluid.Movers.Compressors.Validation.StaticHeatPumpBoundaries.BaseModelStaticHeatPump
AixLib.Fluid.Movers.Compressors.Validation.StaticHeatPumpBoundaries.BaseModelStaticHeatPumpController
AixLib.Fluid.Movers.Compressors.Validation.StaticHeatPumpBoundaries.SpecifiedModels.RefrigerantR134aScrollCompressor
AixLib.Fluid.Movers.Compressors.Validation.StaticHeatPumpBoundaries.SpecifiedModels.RefrigerantR410aScrollCompressor
AixLib.Fluid.Movers.Compressors.Validation.StaticHeatPumpBoundaries.SpecifiedModels.RefrigerantR410aScrollCompressorController
As long as the used MSL version is 4.0.0, there are some issues related to the equations for solving for the
Integerphasemembers of medium state records:AixLib/AixLib/package.mo
Line 8 in 2a0329b
In System Modeler, this manifests as translation errors complaining that some variables are not solvable in any equation, and that there are equations with no unknown variables to solve for.
The problem has been discussed here in the context of the Modelica language specification:
Note that a proper fix for this problem requires that the new
GenerateEventssemantics become released in an upcoming version of the Modelica language specification, that the MSL switches over to the new version, that MSL makes a new release, and finally that AixLib switches to the new MSL release. However, in reality it might be sufficient that AixLib just switches to MSL 4.1.0 and that Modelica tools implement the newGenerateEventssemantics and apply them also when using libraries made for the 3.6 language version.A quick look suggests that these examples are affected:
AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumpsAixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.StaticHeatPumpBoundariesAixLib.Fluid.Movers.Compressors.Examples.ModularRotaryCompressorAixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorAixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureHeatLossesAixLib.Fluid.Movers.Compressors.Examples.RotaryCompressorPressureLossesAixLib.Fluid.Movers.Compressors.Validation.EfficiencyModelsAixLib.Fluid.Movers.Compressors.Validation.ModularInactiveCompressorsAixLib.Fluid.Movers.Compressors.Validation.StaticHeatPumpBoundaries.BaseModelStaticBoundariesAixLib.Fluid.Movers.Compressors.Validation.StaticHeatPumpBoundaries.BaseModelStaticHeatPumpAixLib.Fluid.Movers.Compressors.Validation.StaticHeatPumpBoundaries.BaseModelStaticHeatPumpControllerAixLib.Fluid.Movers.Compressors.Validation.StaticHeatPumpBoundaries.SpecifiedModels.RefrigerantR134aScrollCompressorAixLib.Fluid.Movers.Compressors.Validation.StaticHeatPumpBoundaries.SpecifiedModels.RefrigerantR410aScrollCompressorAixLib.Fluid.Movers.Compressors.Validation.StaticHeatPumpBoundaries.SpecifiedModels.RefrigerantR410aScrollCompressorController