packageMoltenSalt_ph
Extends from Modelica.Media.Interfaces.PartialMedium (Partial medium properties (base package of all media packages)).
Information
Calculation of fluid properties for the mixture common molten salt (60% NaNO3 and 40% KNO3) in the fluid region of 573.15 to 873.15 Kelvin.The use of this molten salt is usally used in solar thermal system due to its high thermal capacity and the high range of temperature.
This package of thermodynamic properties is explicit for pressure and specific enthalpy, however it is based in functions where the dependency is exclusively in the temperature.
Restriction
The functions provided by this package shall be used inside of the restricted limits according to the referenced literature.
- 573.15 Kelvin ≤ T ≤ 873.15 Kelvin
- explicit for pressure and specific enthalpy
References
Zavoico, A. B. (2001). Solar Power Tower - Design Basis Document. Technical Report SAND2001-2100. Alburquerque, USA. Retrieved from http://prod.sandia.gov/techlib/access-control.cgi/2001/012100.pdf
Ferri, R., Cammi, A., & Mazzei, D. (2008). Molten salt mixture properties in RELAP5 code for thermodynamic solar applications. International Journal of Thermal Sciences, 47(12), 1676–1687. http://doi.org/10.1016/j.ijthermalsci.2008.01.007
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Media.Interfaces.Choices.IndependentVariables | ThermoStates (from PartialMedium) | Enumeration type for independent variables | |
| String | mediumName (from PartialMedium) | "unusablePartialMedium" | Name of the medium |
| String[:] | substanceNames (from PartialMedium) | {mediumName} | Names of the mixture substances. Set substanceNames={mediumName} if only one substance. |
| String[:] | extraPropertiesNames (from PartialMedium) | fill("", 0) | Names of the additional (extra) transported properties. Set extraPropertiesNames=fill("",0) if unused |
| Boolean | singleState (from PartialMedium) | = true, if u and d are not a function of pressure | |
| Boolean | reducedX (from PartialMedium) | true | = true, if medium contains the equation sum(X) = 1.0; set reducedX=true, if only one substance (see docu for details) |
| Boolean | fixedX (from PartialMedium) | false | = true, if medium contains the equation X = reference_X |
| AbsolutePressure | reference_p (from PartialMedium) | 101325 | Reference pressure of Medium: default 1 atmosphere |
| Temperature | reference_T (from PartialMedium) | 298.15 | Reference temperature of Medium: default 25 deg Celsius |
| MassFraction[nX] | reference_X (from PartialMedium) | fill(1/nX, nX) | Default mass fractions of medium |
| AbsolutePressure | p_default (from PartialMedium) | 101325 | Default value for pressure of medium (for initialization) |
| Temperature | T_default (from PartialMedium) | Modelica.Units.Conversions.from_degC(20) | Default value for temperature of medium (for initialization) |
| SpecificEnthalpy | h_default (from PartialMedium) | specificEnthalpy_pTX(p_default, T_default, X_default) | Default value for specific enthalpy of medium (for initialization) |
| MassFraction[nX] | X_default (from PartialMedium) | reference_X | Default value for mass fractions of medium (for initialization) |
| ExtraProperty[nC] | C_default (from PartialMedium) | fill(0, nC) | Default value for trace substances of medium (for initialization) |
| Integer | nS (from PartialMedium) | size(substanceNames, 1) | Number of substances |
| Integer | nX (from PartialMedium) | nS | Number of mass fractions |
| Integer | nXi (from PartialMedium) | if fixedX then 0 else if reducedX then nS - 1 else nS | Number of structurally independent mass fractions (see docu for details) |
| Integer | nC (from PartialMedium) | size(extraPropertiesNames, 1) | Number of extra (outside of standard mass-balance) transported properties |
| Real[nC] | C_nominal (from PartialMedium) | 1.0e-6*ones(nC) | Default for the nominal values for the extra properties |
Contents
| Name | Description |
|---|---|
| A selection of variables that uniquely defines the thermodynamic state | |
| Base properties of medium | |
| Return thermodynamic state from p, T, and X or Xi | |
| Return thermodynamic state from p, h, and X or Xi | |
| Return thermodynamic state from p, s, and X or Xi | |
| Return thermodynamic state from d, T, and X or Xi | |
| Return pressure | |
| Return temperature | |
| Return specific enthalpy | |
| Return density | |
| Return specific internal energy | |
| Return dynamic viscosity | |
| Return thermal conductivity | |
| Return specific entropy | |
| Return specific Gibbs energy | |
| Return specific Helmholtz energy | |
| Return specific heat capacity at constant pressure | |
| Return specific heat capacity at constant volume | |
| Return isentropic exponent | |
| Return isentropic enthalpy | |
| Return velocity of sound | |
| Return overall the isobaric expansion coefficient beta | |
| Return overall the isothermal compressibility factor | |
| Return density derivative w.r.t. temperature at constant pressure |