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

Check vapor compression cycle components against Obsolete #1486

Open
MaMorK opened this issue Jan 23, 2024 · 1 comment
Open

Check vapor compression cycle components against Obsolete #1486

MaMorK opened this issue Jan 23, 2024 · 1 comment
Assignees

Comments

@MaMorK
Copy link

MaMorK commented Jan 23, 2024

Example simulation models based on refrigerant models from the Modelica Standard Library fail (after update to MSL 4.0.0).
To be checked which models are impacted.

Simulation failures (for TwoPhaseSeparator model) are described in #1477 and #1449

Models that are impacted:

  • Usage of Modelica.Media.R134a.R134a_ph
    - Compilation error when specifying thermodynamic state based on pressure and enthalpy ("Non-real equation in continuous time are not legal:")

          - AixLib.Fluid.Actuators.Valves.ExpansionValves.BaseClasses.PartialExpansionValve 
                          - Usage in:
                          - AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.BaseModelStaticHeatPumps
                          - AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.ExpansionValveMassFlowRate
                          - AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.ExpansionValvePressureDifference
                          - AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.ModularExpansionValvesMassFlowRate
                          - AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.ModularExpansionValvesPressureDifference
                          - AixLib.Fluid.Actuators.Valves.ExpansionValves.Examples.StaticHeatPumpBoundaries
                          - AixLib.Fluid.Actuators.Valves.ExpansionValves.BaseClasses.PartialIsenthalpicExpansionValve
                          - AixLib.Fluid.Actuators.Valves.ExpansionValves.BaseClasses.PartialModularExpansionVavles
    
          - AixLib.Fluid.Movers.Compressors.BaseClasses.PartialCompression
                          - Usage in:
                          - 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
          - AixLib.Fluid.Movers.Compressors.Utilities.HeatTransfer.SimpleHeatTransfer
                          - Usage in:
                          - AixLib.Fluid.Movers.Compressors.Validation.SimpleHeatTransfer
          - AixLib.Fluid.Movers.Compressors.BaseClasses.PartialCompressor
          - AixLib.Fluid.Movers.Compressors.BaseClasses.PartialModularCompressors
    
          - AixLib.Fluid.Storage.Examples.TwoPhaseSeparator
    

Simulation environment:

  • AixLib v1.3.2 on development
  • Dymola Version 2020x (64-bit), 2019-10-10
  • Modelica 4.0.0
@MaMorK MaMorK self-assigned this Jan 23, 2024
@MaMorK
Copy link
Author

MaMorK commented Jan 23, 2024

I tried to replace Modelica.Media.R134a.R134a_ph by the AixLib Media models in AixLib.Media.Refrigerants.R134a and AixLib.Media.Refrigerants.R290 created by
Mirko Engelpracht and Christian Vering in #408
With the AixLib Media models, the compilation error does not occur and all models listed above are compiled succesfully. However, when simulating some of the example and validation models, simulation errors occur for some models (for some AixLib Media models).
I summarized the results in the attached excel file.
The color of the respective model names expresses, if the model could be compiled and simulated sucessfully for all AixLib Media models (=green), compiled and simulated successfully for a fraction of the AixLib models (=yellow) and where the simulation failed for every AixLib Media model (=red).
IssueAixLib_VaporCompressionCycleComponents.xlsx

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