Melinder Fluid Abstract Base Class
A Melinder fluid base class is available for developers to create new derived fluid mixtures:
- class scp.base_melinder.BaseMelinder(t_min: float, t_max: float, x: float, x_min: float, x_max: float)[source]
Bases:
BaseFluidA base class for Melinder fluids that provides convenience methods that can be accessed in derived classes.
Melinder, Å. 2010. Properties of Secondary Working Fluids for Indirect Systems. 2nd ed. International Institute of Refrigeration.
- abstractmethod coefficient_conductivity() tuple[source]
Abstract method; derived classes should override to return the coefficient matrix for conductivity.
- abstractmethod coefficient_density() tuple[source]
Abstract method; derived classes should override to return the coefficient matrix for density.
- abstractmethod coefficient_freezing() tuple[source]
Abstract method; derived classes should override to return the coefficient matrix for freezing point.
- abstractmethod coefficient_specific_heat() tuple[source]
Abstract method; derived classes should override to return the coefficient matrix for specific heat.
- abstractmethod coefficient_viscosity() tuple[source]
Abstract method; derived classes should override to return the coefficient matrix for viscosity.
- conductivity(temp: float) float[source]
Calculates the thermal conductivity of the mixture
@param temp: Fluid temperature, in degrees Celsius @return: Thermal conductivity, in W/m-K
- density(temp: float) float[source]
Calculates the density of the mixture
@param temp: Fluid temperature, in degrees Celsius @return: Density, in kg/m3
- freeze_point(x: float) float[source]
Calculate the freezing point temperature of the mixture
@param x: Concentration fraction @return Freezing point temperature, in Celsius
- specific_heat(temp: float) float[source]
Calculates the specific heat of the mixture
@param temp: Fluid temperature, in degrees Celsius @return: Specific heat, in J/kg-K
- viscosity(temp: float) float[source]
Calculate the dynamic viscosity of the mixture
@param temp: Fluid temperature, in degrees Celsius @return: Dynamic viscosity, in N/m2-s, or Pa-s