lbe_properties Module
Module with the definition of the thermo-physical property objects for lead-bismuth eutectic.
- class p_s
Liquid lead-bismuth eutectic saturation vapour pressure property class.
- correlation(T: float, p: float = scipy.constants.atm, verbose: bool = False) float
Returns the value of the saturation vapour pressure by applying the property correlation.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
verbose (bool, optional) – True to tell the decorator to print a warning message in case of range check failing, False otherwise. By default, False
- Returns:
saturation vapour pressure in \([Pa]\)
- Return type:
float
- initialization_helper(property_value: float) None | float
Returns the temperature guess value according to the value of the saturation vapour pressure passed as argument. It is used by the root finder algorithm.
- Parameters:
property_value (float) – saturation vapour pressure in \([Pa]\)
- Returns:
Temperature guess value in \([K]\)
- Return type:
float
- property correlation_name: str
Name of the correlation
- Type:
str
- property range: List[float]
Temperature validity range of the saturation vapour pressure correlation function
- Type:
List[float]
- property description: str
Saturation vapour pressure description
- Type:
str
- property T_at_max: float
Temperature value corresponding to the maximum value of the property correlation function within the validity range
- Type:
float
- property T_at_min: float
Temperature value corresponding to the minimum value of the property correlation function within the validity range
- Type:
float
- compute_bounds() None
Computes the bounds of the property within the validity range, i.e., the minimum and the maximum values of the correlation function inside the validity range, together with the corresponding temperature values. If this method is not invoked, the default values are -nan for the minimum value of the property and for its corresponding temperature, and nan for the maximum value of the property and for its corresponding temperature. The bounding values are computed using the
scipy.optimize.minimize_scalar()
function by adopting the “Bounded” method (for more details, please refer to the scipy documentation).- Return type:
None
- info(T: float, p: float = scipy.constants.atm, print_info: bool = True, n_tab: int = 0) None | str
Prints the information about the property and about the correlation adopted to compute its value.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
print_info (bool, optional) – True to print to the console, False for getting the string. By default, True
n_tab (int, optional) – Number of indentation tabs used to format the output, by default 0
- Returns:
Returns None if print_info=True, otherwise returns the content of the information.
- Return type:
None | str
- property is_injective: bool
True if the correlation is injective, False otherwise
- Type:
bool
- property long_name: str
Saturation vapour pressure long name
- Type:
str
- property max: float
Maximum value of the property correlation function within the validity range
- Type:
float
- property min: float
Minimum value of the property correlation function within the validity range
- Type:
float
- property name: str
Name of the property
- Type:
str
- property units: str
Saturation vapour pressure unit
- Type:
str
- class sigma
Liquid lead-bismuth eutectic surface tension property class.
- correlation(T: float, p: float = scipy.constants.atm, verbose: bool = False) float
Returns the value of the surface tension by applying the property correlation.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
verbose (bool, optional) – True to tell the decorator to print a warning message in case of range check failing, False otherwise. By default, False
- Returns:
surface tension in \([N/m]\)
- Return type:
float
- property correlation_name: str
Name of the correlation
- Type:
str
- property range: List[float]
Temperature validity range of the surface tension correlation function
- Type:
List[float]
- property description: str
Surface tension description
- Type:
str
- property T_at_max: float
Temperature value corresponding to the maximum value of the property correlation function within the validity range
- Type:
float
- property T_at_min: float
Temperature value corresponding to the minimum value of the property correlation function within the validity range
- Type:
float
- compute_bounds() None
Computes the bounds of the property within the validity range, i.e., the minimum and the maximum values of the correlation function inside the validity range, together with the corresponding temperature values. If this method is not invoked, the default values are -nan for the minimum value of the property and for its corresponding temperature, and nan for the maximum value of the property and for its corresponding temperature. The bounding values are computed using the
scipy.optimize.minimize_scalar()
function by adopting the “Bounded” method (for more details, please refer to the scipy documentation).- Return type:
None
- info(T: float, p: float = scipy.constants.atm, print_info: bool = True, n_tab: int = 0) None | str
Prints the information about the property and about the correlation adopted to compute its value.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
print_info (bool, optional) – True to print to the console, False for getting the string. By default, True
n_tab (int, optional) – Number of indentation tabs used to format the output, by default 0
- Returns:
Returns None if print_info=True, otherwise returns the content of the information.
- Return type:
None | str
- initialization_helper(property_value: float) float | None
Returns the temperature guess value according to the value of the property passed as argument. It is used by the root finder algorithm in case the return type is not None.
- Parameters:
property_value (float) – value of the property
- Return type:
None
- property is_injective: bool
True if the correlation is injective, False otherwise
- Type:
bool
- property long_name: str
Surface tension long name
- Type:
str
- property max: float
Maximum value of the property correlation function within the validity range
- Type:
float
- property min: float
Minimum value of the property correlation function within the validity range
- Type:
float
- property name: str
Name of the property
- Type:
str
- property units: str
Surface tension unit
- Type:
str
- class rho
Liquid lead-bismuth eutectic density property class.
- correlation(T: float, p: float = scipy.constants.atm, verbose: bool = False) float
Returns the value of the density by applying the property correlation. sobolev2011 correlation is used for the specific heat capacity in the pressure-dependent term.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
verbose (bool, optional) – True to tell the decorator to print a warning message in case of range check failing, False otherwise. By default, False
- Returns:
density in \([kg/m^3]\)
- Return type:
float
- property range: List[float]
Temperature validity range of the density correlation function
- Type:
List[float]
- property description: str
Density description
- Type:
str
- property T_at_max: float
Temperature value corresponding to the maximum value of the property correlation function within the validity range
- Type:
float
- property T_at_min: float
Temperature value corresponding to the minimum value of the property correlation function within the validity range
- Type:
float
- compute_bounds() None
Computes the bounds of the property within the validity range, i.e., the minimum and the maximum values of the correlation function inside the validity range, together with the corresponding temperature values. If this method is not invoked, the default values are -nan for the minimum value of the property and for its corresponding temperature, and nan for the maximum value of the property and for its corresponding temperature. The bounding values are computed using the
scipy.optimize.minimize_scalar()
function by adopting the “Bounded” method (for more details, please refer to the scipy documentation).- Return type:
None
- property correlation_name: str
Name of the correlation
- Type:
str
- info(T: float, p: float = scipy.constants.atm, print_info: bool = True, n_tab: int = 0) None | str
Prints the information about the property and about the correlation adopted to compute its value.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
print_info (bool, optional) – True to print to the console, False for getting the string. By default, True
n_tab (int, optional) – Number of indentation tabs used to format the output, by default 0
- Returns:
Returns None if print_info=True, otherwise returns the content of the information.
- Return type:
None | str
- initialization_helper(property_value: float) float | None
Returns the temperature guess value according to the value of the property passed as argument. It is used by the root finder algorithm in case the return type is not None.
- Parameters:
property_value (float) – value of the property
- Return type:
None
- property is_injective: bool
True if the correlation is injective, False otherwise
- Type:
bool
- property long_name: str
Density long name
- Type:
str
- property max: float
Maximum value of the property correlation function within the validity range
- Type:
float
- property min: float
Minimum value of the property correlation function within the validity range
- Type:
float
- property name: str
Name of the property
- Type:
str
- property units: str
Density unit
- Type:
str
- class alpha
Liquid lead-bismuth eutectic thermal expansion coefficient property class.
- correlation(T: float, p: float = scipy.constants.atm, verbose: bool = False) float
Returns the value of the thermal expansion coefficient by applying the property correlation.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
verbose (bool, optional) – True to tell the decorator to print a warning message in case of range check failing, False otherwise. By default, False
- Returns:
thermal expansion coefficient in \([1/K]\)
- Return type:
float
- property range: List[float]
Temperature validity range of the thermal expansion coefficient correlation function
- Type:
List[float]
- property description: str
Thermal expansion coefficient description
- Type:
str
- property T_at_max: float
Temperature value corresponding to the maximum value of the property correlation function within the validity range
- Type:
float
- property T_at_min: float
Temperature value corresponding to the minimum value of the property correlation function within the validity range
- Type:
float
- compute_bounds() None
Computes the bounds of the property within the validity range, i.e., the minimum and the maximum values of the correlation function inside the validity range, together with the corresponding temperature values. If this method is not invoked, the default values are -nan for the minimum value of the property and for its corresponding temperature, and nan for the maximum value of the property and for its corresponding temperature. The bounding values are computed using the
scipy.optimize.minimize_scalar()
function by adopting the “Bounded” method (for more details, please refer to the scipy documentation).- Return type:
None
- property correlation_name: str
Name of the correlation
- Type:
str
- info(T: float, p: float = scipy.constants.atm, print_info: bool = True, n_tab: int = 0) None | str
Prints the information about the property and about the correlation adopted to compute its value.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
print_info (bool, optional) – True to print to the console, False for getting the string. By default, True
n_tab (int, optional) – Number of indentation tabs used to format the output, by default 0
- Returns:
Returns None if print_info=True, otherwise returns the content of the information.
- Return type:
None | str
- initialization_helper(property_value: float) float | None
Returns the temperature guess value according to the value of the property passed as argument. It is used by the root finder algorithm in case the return type is not None.
- Parameters:
property_value (float) – value of the property
- Return type:
None
- property is_injective: bool
True if the correlation is injective, False otherwise
- Type:
bool
- property long_name: str
Thermal expansion coefficient long name
- Type:
str
- property max: float
Maximum value of the property correlation function within the validity range
- Type:
float
- property min: float
Minimum value of the property correlation function within the validity range
- Type:
float
- property name: str
Name of the property
- Type:
str
- property units: str
Thermal expansion coefficient unit
- Type:
str
- class u_s
Liquid lead-bismuth eutectic sound velocity property class.
- correlation(T: float, p: float = scipy.constants.atm, verbose: bool = False) float
Returns the value of the sound velocity by applying the property correlation.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
verbose (bool, optional) – True to tell the decorator to print a warning message in case of range check failing, False otherwise. By default, False
- Returns:
sound velocity in \([m/s]\)
- Return type:
float
- property correlation_name: str
Name of the correlation
- Type:
str
- property range: List[float]
Temperature validity range of the sound velocity correlation function
- Type:
List[float]
- property description: str
Sound velocity description
- Type:
str
- property T_at_max: float
Temperature value corresponding to the maximum value of the property correlation function within the validity range
- Type:
float
- property T_at_min: float
Temperature value corresponding to the minimum value of the property correlation function within the validity range
- Type:
float
- compute_bounds() None
Computes the bounds of the property within the validity range, i.e., the minimum and the maximum values of the correlation function inside the validity range, together with the corresponding temperature values. If this method is not invoked, the default values are -nan for the minimum value of the property and for its corresponding temperature, and nan for the maximum value of the property and for its corresponding temperature. The bounding values are computed using the
scipy.optimize.minimize_scalar()
function by adopting the “Bounded” method (for more details, please refer to the scipy documentation).- Return type:
None
- info(T: float, p: float = scipy.constants.atm, print_info: bool = True, n_tab: int = 0) None | str
Prints the information about the property and about the correlation adopted to compute its value.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
print_info (bool, optional) – True to print to the console, False for getting the string. By default, True
n_tab (int, optional) – Number of indentation tabs used to format the output, by default 0
- Returns:
Returns None if print_info=True, otherwise returns the content of the information.
- Return type:
None | str
- initialization_helper(property_value: float) float | None
Returns the temperature guess value according to the value of the property passed as argument. It is used by the root finder algorithm in case the return type is not None.
- Parameters:
property_value (float) – value of the property
- Return type:
None
- property is_injective: bool
True if the correlation is injective, False otherwise
- Type:
bool
- property long_name: str
Sound velocity long name
- Type:
str
- property max: float
Maximum value of the property correlation function within the validity range
- Type:
float
- property min: float
Minimum value of the property correlation function within the validity range
- Type:
float
- property name: str
Name of the property
- Type:
str
- property units: str
Sound velocity unit
- Type:
str
- class beta_s
Liquid lead-bismuth eutectic isentropic compressibility property class.
- correlation(T: float, p: float = scipy.constants.atm, verbose: bool = False) float
Returns the value of the isentropic compressibility by applying the property correlation.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
verbose (bool, optional) – True to tell the decorator to print a warning message in case of range check failing, False otherwise. By default, False
- Returns:
isentropic compressibility in \([1/Pa]\)
- Return type:
float
- property range: List[float]
Temperature validity range of the isentropic compressibility correlation function
- Type:
List[float]
- property description: str
Isentropic compressibility description
- Type:
str
- property T_at_max: float
Temperature value corresponding to the maximum value of the property correlation function within the validity range
- Type:
float
- property T_at_min: float
Temperature value corresponding to the minimum value of the property correlation function within the validity range
- Type:
float
- compute_bounds() None
Computes the bounds of the property within the validity range, i.e., the minimum and the maximum values of the correlation function inside the validity range, together with the corresponding temperature values. If this method is not invoked, the default values are -nan for the minimum value of the property and for its corresponding temperature, and nan for the maximum value of the property and for its corresponding temperature. The bounding values are computed using the
scipy.optimize.minimize_scalar()
function by adopting the “Bounded” method (for more details, please refer to the scipy documentation).- Return type:
None
- property correlation_name: str
Name of the correlation
- Type:
str
- info(T: float, p: float = scipy.constants.atm, print_info: bool = True, n_tab: int = 0) None | str
Prints the information about the property and about the correlation adopted to compute its value.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
print_info (bool, optional) – True to print to the console, False for getting the string. By default, True
n_tab (int, optional) – Number of indentation tabs used to format the output, by default 0
- Returns:
Returns None if print_info=True, otherwise returns the content of the information.
- Return type:
None | str
- initialization_helper(property_value: float) float | None
Returns the temperature guess value according to the value of the property passed as argument. It is used by the root finder algorithm in case the return type is not None.
- Parameters:
property_value (float) – value of the property
- Return type:
None
- property is_injective: bool
True if the correlation is injective, False otherwise
- Type:
bool
- property long_name: str
Isentropic compressibility long name
- Type:
str
- property max: float
Maximum value of the property correlation function within the validity range
- Type:
float
- property min: float
Minimum value of the property correlation function within the validity range
- Type:
float
- property name: str
Name of the property
- Type:
str
- property units: str
Isentropic compressibility unit
- Type:
str
- class cp
Liquid lead-bismuth eutectic specific heat capacity property class.
- correlation(T: float, p: float = scipy.constants.atm, verbose: bool = False) float
Returns the value of the specific heat capacity by applying the sobolev2011 correlation.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
verbose (bool, optional) – True to tell the decorator to print a warning message in case of range check failing, False otherwise. By default, False
- Returns:
specific heat capacity in \([J/(kg \cdot K)]\)
- Return type:
float
- property correlation_name: str
Name of the correlation
- Type:
str
- property range: List[float]
Temperature validity range of the specific heat capacity correlation function
- Type:
List[float]
- property description: str
Specific heat capacity description
- Type:
str
- property T_at_max: float
Temperature value corresponding to the maximum value of the property correlation function within the validity range
- Type:
float
- property T_at_min: float
Temperature value corresponding to the minimum value of the property correlation function within the validity range
- Type:
float
- compute_bounds() None
Computes the bounds of the property within the validity range, i.e., the minimum and the maximum values of the correlation function inside the validity range, together with the corresponding temperature values. If this method is not invoked, the default values are -nan for the minimum value of the property and for its corresponding temperature, and nan for the maximum value of the property and for its corresponding temperature. The bounding values are computed using the
scipy.optimize.minimize_scalar()
function by adopting the “Bounded” method (for more details, please refer to the scipy documentation).- Return type:
None
- info(T: float, p: float = scipy.constants.atm, print_info: bool = True, n_tab: int = 0) None | str
Prints the information about the property and about the correlation adopted to compute its value.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
print_info (bool, optional) – True to print to the console, False for getting the string. By default, True
n_tab (int, optional) – Number of indentation tabs used to format the output, by default 0
- Returns:
Returns None if print_info=True, otherwise returns the content of the information.
- Return type:
None | str
- initialization_helper(property_value: float) float | None
Returns the temperature guess value according to the value of the property passed as argument. It is used by the root finder algorithm in case the return type is not None.
- Parameters:
property_value (float) – value of the property
- Return type:
None
- property is_injective: bool
True if the correlation is injective, False otherwise.
- Type:
bool
- property long_name: str
Specific heat capacity long name
- Type:
str
- property max: float
Maximum value of the property correlation function within the validity range
- Type:
float
- property min: float
Minimum value of the property correlation function within the validity range
- Type:
float
- property name: str
Name of the property
- Type:
str
- property units: str
Specific heat capacity unit
- Type:
str
- class h
Liquid lead-bismuth eutectic specific enthalpy property class.
- correlation(T: float, p: float = scipy.constants.atm, verbose: bool = False) float
Returns the value of the specific enthalpy by applying the property correlation.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
verbose (bool, optional) – True to tell the decorator to print a warning message in case of range check failing, False otherwise. By default, False
- Returns:
specific enthalpy in \([J/kg]\)
- Return type:
float
- property correlation_name: str
Name of the correlation
- Type:
str
- property range: List[float]
Temperature validity range of the specific enthalpy correlation function
- Type:
List[float]
- property description: str
Specific enthalpy description
- Type:
str
- Type:
str
- property T_at_max: float
Temperature value corresponding to the maximum value of the property correlation function within the validity range
- Type:
float
- property T_at_min: float
Temperature value corresponding to the minimum value of the property correlation function within the validity range
- Type:
float
- compute_bounds() None
Computes the bounds of the property within the validity range, i.e., the minimum and the maximum values of the correlation function inside the validity range, together with the corresponding temperature values. If this method is not invoked, the default values are -nan for the minimum value of the property and for its corresponding temperature, and nan for the maximum value of the property and for its corresponding temperature. The bounding values are computed using the
scipy.optimize.minimize_scalar()
function by adopting the “Bounded” method (for more details, please refer to the scipy documentation).- Return type:
None
- info(T: float, p: float = scipy.constants.atm, print_info: bool = True, n_tab: int = 0) None | str
Prints the information about the property and about the correlation adopted to compute its value.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
print_info (bool, optional) – True to print to the console, False for getting the string. By default, True
n_tab (int, optional) – Number of indentation tabs used to format the output, by default 0
- Returns:
Returns None if print_info=True, otherwise returns the content of the information.
- Return type:
None | str
- initialization_helper(property_value: float) float | None
Returns the temperature guess value according to the value of the property passed as argument. It is used by the root finder algorithm in case the return type is not None.
- Parameters:
property_value (float) – value of the property
- Return type:
None
- property is_injective: bool
True if the correlation is injective, False otherwise
- Type:
bool
- property long_name: str
Specific enthalpy long name
- Type:
str
- property max: float
Maximum value of the property correlation function within the validity range
- Type:
float
- property min: float
Minimum value of the property correlation function within the validity range
- Type:
float
- property name: str
Name of the property
- Type:
str
- property units: str
Specific enthalpy unit
- Type:
str
- class mu
Liquid lead-bismuth eutectic dynamic viscosity property class.
- correlation(T: float, p: float = scipy.constants.atm, verbose: bool = False) float
Returns the value of the dynamic viscosity by applying the property correlation.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
verbose (bool, optional) – True to tell the decorator to print a warning message in case of range check failing, False otherwise. By default, False
- Returns:
dynamic viscosity in \([Pa \cdot s]\)
- Return type:
float
- property range: List[float]
Temperature validity range of the dynamic viscosity correlation function
- Type:
List[float]
- property description: str
Dynamic viscosity description
- Type:
str
- property T_at_max: float
Temperature value corresponding to the maximum value of the property correlation function within the validity range
- Type:
float
- property T_at_min: float
Temperature value corresponding to the minimum value of the property correlation function within the validity range
- Type:
float
- compute_bounds() None
Computes the bounds of the property within the validity range, i.e., the minimum and the maximum values of the correlation function inside the validity range, together with the corresponding temperature values. If this method is not invoked, the default values are -nan for the minimum value of the property and for its corresponding temperature, and nan for the maximum value of the property and for its corresponding temperature. The bounding values are computed using the
scipy.optimize.minimize_scalar()
function by adopting the “Bounded” method (for more details, please refer to the scipy documentation).- Return type:
None
- property correlation_name: str
Name of the correlation
- Type:
str
- info(T: float, p: float = scipy.constants.atm, print_info: bool = True, n_tab: int = 0) None | str
Prints the information about the property and about the correlation adopted to compute its value.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
print_info (bool, optional) – True to print to the console, False for getting the string. By default, True
n_tab (int, optional) – Number of indentation tabs used to format the output, by default 0
- Returns:
Returns None if print_info=True, otherwise returns the content of the information.
- Return type:
None | str
- initialization_helper(property_value: float) float | None
Returns the temperature guess value according to the value of the property passed as argument. It is used by the root finder algorithm in case the return type is not None.
- Parameters:
property_value (float) – value of the property
- Return type:
None
- property is_injective: bool
True if the correlation is injective, False otherwise
- Type:
bool
- property long_name: str
Dynamic viscosity long name
- Type:
str
- property max: float
Maximum value of the property correlation function within the validity range
- Type:
float
- property min: float
Minimum value of the property correlation function within the validity range
- Type:
float
- property name: str
Name of the property
- Type:
str
- property units: str
Dynamic viscosity unit
- Type:
str
- class r
Liquid lead-bismuth eutectic electrical resistivity property class.
- correlation(T: float, p: float = scipy.constants.atm, verbose: bool = False) float
Returns the value of the electrical resistivity by applying the property correlation.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
verbose (bool, optional) – True to tell the decorator to print a warning message in case of range check failing, False otherwise. By default, False
- Returns:
electrical resistivity in \([Ohm \cdot m]\)
- Return type:
float
- property range: List[float]
Temperature validity range of the electrical resistivity correlation function
- Type:
List[float]
- property description: str
Electrical resistivity description
- Type:
str
- property T_at_max: float
Temperature value corresponding to the maximum value of the property correlation function within the validity range
- Type:
float
- property T_at_min: float
Temperature value corresponding to the minimum value of the property correlation function within the validity range
- Type:
float
- compute_bounds() None
Computes the bounds of the property within the validity range, i.e., the minimum and the maximum values of the correlation function inside the validity range, together with the corresponding temperature values. If this method is not invoked, the default values are -nan for the minimum value of the property and for its corresponding temperature, and nan for the maximum value of the property and for its corresponding temperature. The bounding values are computed using the
scipy.optimize.minimize_scalar()
function by adopting the “Bounded” method (for more details, please refer to the scipy documentation).- Return type:
None
- property correlation_name: str
Name of the correlation
- Type:
str
- info(T: float, p: float = scipy.constants.atm, print_info: bool = True, n_tab: int = 0) None | str
Prints the information about the property and about the correlation adopted to compute its value.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
print_info (bool, optional) – True to print to the console, False for getting the string. By default, True
n_tab (int, optional) – Number of indentation tabs used to format the output, by default 0
- Returns:
Returns None if print_info=True, otherwise returns the content of the information.
- Return type:
None | str
- initialization_helper(property_value: float) float | None
Returns the temperature guess value according to the value of the property passed as argument. It is used by the root finder algorithm in case the return type is not None.
- Parameters:
property_value (float) – value of the property
- Return type:
None
- property is_injective: bool
True if the correlation is injective, False otherwise
- Type:
bool
- property long_name: str
Electrical resistivity long name
- Type:
str
- property max: float
Maximum value of the property correlation function within the validity range
- Type:
float
- property min: float
Minimum value of the property correlation function within the validity range
- Type:
float
- property name: str
Name of the property
- Type:
str
- property units: str
Electrical resistivity unit
- Type:
str
- class k
Liquid lead-bismuth eutectic thermal conductivity property class.
- correlation(T: float, p: float = scipy.constants.atm, verbose: bool = False) float
Returns the value of the thermal conductivity by applying the property correlation.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
verbose (bool, optional) – True to tell the decorator to print a warning message in case of range check failing, False otherwise. By default, False
- Returns:
thermal conductivity in \([W/(m \cdot K)]\)
- Return type:
float
- property correlation_name: str
Name of the correlation
- Type:
str
- property range: List[float]
Temperature validity range of the thermal conductivity correlation function
- Type:
List[float]
- property description: str
Thermal conductivity description
- Type:
str
- property T_at_max: float
Temperature value corresponding to the maximum value of the property correlation function within the validity range
- Type:
float
- property T_at_min: float
Temperature value corresponding to the minimum value of the property correlation function within the validity range
- Type:
float
- compute_bounds() None
Computes the bounds of the property within the validity range, i.e., the minimum and the maximum values of the correlation function inside the validity range, together with the corresponding temperature values. If this method is not invoked, the default values are -nan for the minimum value of the property and for its corresponding temperature, and nan for the maximum value of the property and for its corresponding temperature. The bounding values are computed using the
scipy.optimize.minimize_scalar()
function by adopting the “Bounded” method (for more details, please refer to the scipy documentation).- Return type:
None
- info(T: float, p: float = scipy.constants.atm, print_info: bool = True, n_tab: int = 0) None | str
Prints the information about the property and about the correlation adopted to compute its value.
- Parameters:
T (float) – Temperature in \([K]\)
p (float, optional) – Pressure in \([Pa]\), by default the atmospheric pressure value, i.e., \(101325.0 Pa\)
print_info (bool, optional) – True to print to the console, False for getting the string. By default, True
n_tab (int, optional) – Number of indentation tabs used to format the output, by default 0
- Returns:
Returns None if print_info=True, otherwise returns the content of the information.
- Return type:
None | str
- initialization_helper(property_value: float) float | None
Returns the temperature guess value according to the value of the property passed as argument. It is used by the root finder algorithm in case the return type is not None.
- Parameters:
property_value (float) – value of the property
- Return type:
None
- property is_injective: bool
True if the correlation is injective, False otherwise
- Type:
bool
- property long_name: str
Thermal conductivity long name
- Type:
str
- property max: float
Maximum value of the property correlation function within the validity range
- Type:
float
- property min: float
Minimum value of the property correlation function within the validity range
- Type:
float
- property name: str
Name of the property
- Type:
str
- property units: str
Thermal conductivity unit
- Type:
str