modelRefrigerantsFittedFormulasR290
Model that checks the fitted formulas of R290
Extends from RefrigerantsFittedFormulasR134a (Model that checks the fitted formulas of R134a).
Information
This example models checks the implementation of the refrigerant's fitted formulas depending on the independent variables density and temperature. Therefore, the user has first to introduce some information about the refrigerant and afterwards the fitted formulas are calculated. The following refrigerant's information is required:
- The refrigerant package that shall be tested.
- The refrigerant's fluid limits that are determined by the fitting procedure.
The following refrigerant's fitted formulas are calculated and checked:
- Calculation of the Helmholtz equation of state.
- Calculation of the saturation properties.
- Calculation of further state propeties like the density depending on pressure and temperature.
Additionally, the fitted formulas are also calculated with an external media libary (i.e. HelmholtzMedia). Therefore, the parameters are not allowed to change (except for the medium package).
Parameters
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.CombiTimeTable | extProp (from RefrigerantsFittedFormulasR134a) | Table that contains the results of the external media library | |
| Real | convT (from RefrigerantsFittedFormulasR134a) | Conversion factor in K/s for temperature to satisfy unit check | |
| Real | convD (from RefrigerantsFittedFormulasR134a) | Conversion factor in kg/m³/s for density to satisfy unit check | |
| Real | convH (from RefrigerantsFittedFormulasR134a) | Conversion factor in J/kg/s for specific enthalpy to satisfy unit check | |
| Real | convS (from RefrigerantsFittedFormulasR134a) | Conversion factor in J/kg/K/s for specific entropy to satisfy unit check | |
| Modelica.Units.SI.AbsolutePressure | p_sat (from RefrigerantsFittedFormulasR134a) | Actual pressure for calculating saturation properties | |
| Modelica.Units.SI.Temperature | T (from RefrigerantsFittedFormulasR134a) | Actual pulsating temperature | |
| Modelica.Units.SI.Temperature | T_sat (from RefrigerantsFittedFormulasR134a) | Actual temperature for calculating saturation properties | |
| Modelica.Units.SI.Density | d (from RefrigerantsFittedFormulasR134a) | Actual raising density | |
| Modelica.Units.SI.SpecificEnthalpy | h (from RefrigerantsFittedFormulasR134a) | Actual pulsating specific enthalpy for calculating state properties | |
| Modelica.Units.SI.SpecificEntropy | s (from RefrigerantsFittedFormulasR134a) | Actual pulsating specific enthalpy for calculating state properties | |
| Real | tauInt (from RefrigerantsFittedFormulasR134a) | Actual dimensionless temperature of internal medium | |
| Real | deltaInt (from RefrigerantsFittedFormulasR134a) | Actual dimensionless density of internal medium | |
| EoS | eos (from RefrigerantsFittedFormulasR134a) | Record that contains calculated properties of the EoS | |
| Saturation | saturation (from RefrigerantsFittedFormulasR134a) | Record that contains calculated saturation properties | |
| Properties | properties (from RefrigerantsFittedFormulasR134a) | Record that contains calculated state properties |
Revisions
- August 13, 2017, by Mirko Engelpracht, Christian Vering:
First implementation (see issue 408).