recordThermodynamicStatePropertiesBaseDataDefinition
Extends from Modelica.Icons.Record (Icon for records).
Information
This record is a base data definition for fitting coefficients of the thermodynamic state properties depending on two independent state variables. These thermodynamic state properties are given as fitted formulas in order to reduce the overall computing time of the refrigerant model. Therefore, the fitting approach is based on "Fast_Propane" model developed by Sangi et al..
Sangi et al. used the following fitting approaches, which are
also implemented within
AixLib.Media.Refrigerants.Interfaces.TemplateHybridTwoPhaseMediumRecord:
|
Temperature_ph |
First Input |
|
|
Second Input |
|
|
|
Temperature_ps |
First Input |
|
|
Second Input |
|
|
|
Density_pT |
First Input |
|
|
Second Input |
|
|
|
Functional approach |
|
|
As it can be seen, the fitted formulas consist basically of the coefficient ci as well as of the parameters Meani and Stdi. These coefficients are the fitting coefficients and must be obtained during a fitting procedure. While the fitting procedure, the formulas presented above are fitted to external data (e.g. obtained from measurements or external media libraries) and the fitting coefficients are determined.
Assumptions and limitations
The fitting procedure is performed for a predefined range of the external data that is given in terms of, for example, temperature and pressure. As a consequence, the fitting coefficients are also just valid within the predefined range of external data.
References
Sangi, Roozbeh; Jahangiri, Pooyan; Klasing, Freerk; Streblow, Rita; Müller, Dirk (2014): A Medium Model for the Refrigerant Propane for Fast and Accurate Dynamic Simulations. In: The 10th International Modelica Conference. Lund, Sweden, March 10-12, 2014: Linköping University Electronic Press (Linköping Electronic Conference Proceedings), S. 1271–1275
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| General | |||
| String | name | Short description of the record | |
| Temperature_ph | |||
| Integer[:] | T_phNt | Polynomial order for p (SC) | Polynomial order for h (SC) | Total number of terms (SC) | Polynomial order for p (SH) | Polynomial order for h (SH) | Total number of terms (SH) | |
| Real[:] | Tl_phA | Coefficients a for supercooled regime | |
| Real[:] | Tl_phB | Coefficients b for supercooled regime | |
| Real[:] | Tl_phC | Coefficients c for supercooled regime | |
| Real[:] | Tl_phD | Coefficient d for supercooled regime | |
| Real[:] | Tv_phA | Coefficients a for superheated regime | |
| Real[:] | Tv_phB | Coefficients b for superheated regime | |
| Real[:] | Tv_phC | Coefficients c for superheated regime | |
| Real[:] | Tv_phD | Coefficient d for superheated regime | |
| Real[:] | T_phIO | Mean SC p | Std SC p | Mean SC h | Std SC h | Mean SC T | Std SC T | Mean SH p | Std SH p | Mean SH h | Std SH h | Mean SH T | Std SH T | |
| Temperature_ps | |||
| Integer[:] | T_psNt | Polynomial order for p (SC) | Polynomial order for s (SC) | Total number of terms (SC) | Polynomial order for p (SH) | Polynomial order for s (SH) | Total number of terms (SH) | |
| Real[:] | Tl_psA | Coefficients a for supercooled regime | |
| Real[:] | Tl_psB | Coefficients b for supercooled regime | |
| Real[:] | Tl_psC | Coefficients c for supercooled regime | |
| Real[:] | Tl_psD | Coefficient d for supercooled regime | |
| Real[:] | Tv_psA | Coefficients a for superheated regime | |
| Real[:] | Tv_psB | Coefficients b for superheated regime | |
| Real[:] | Tv_psC | Coefficients c for superheated regime | |
| Real[:] | Tv_psD | Coefficient d for superheated regime | |
| Real[:] | T_psIO | Mean SC p | Std SC p | Mean SC s | Std SC s | Mean SC T | Std SC T | Mean SH p | Std SH p | Mean SH s | Std SH s | Mean SH T | Std SH T | |
| Density_pT | |||
| Integer[:] | d_pTNt | Polynomial order for p (SC) | Polynomial order for T (SC) | Total number of terms (SC) | Polynomial order for p (SH) | Polynomial order for T (SH) | Total number of terms (SH) | |
| Real[:] | dl_pTA | Coefficients a for supercooled regime | |
| Real[:] | dl_pTB | Coefficients b for supercooled regime | |
| Real[:] | dl_pTC | Coefficients c for supercooled regime | |
| Real[:] | dl_pTD | Coefficient d for supercooled regime | |
| Real[:] | dv_pTA | Coefficients a for superheated regime | |
| Real[:] | dv_pTB | Coefficients b for superheated regime | |
| Real[:] | dv_pTC | Coefficients c for superheated regime | |
| Real[:] | dv_pTD | Coefficient d for superheated regime | |
| Real[:] | d_pTIO | Mean SC p | Std SC p | Mean SC T | Std SC T | Mean SC d | Std SC d | Mean SH p | Std SH p | Mean SH T | Std SH T | Mean SH d | Std SH d | |
Revisions
- June 9, 2017, by Mirko Engelpracht, Christian Vering:
First implementation (see issue 408).