saturation_properties
despasito.thermodynamics.calculation_types.saturation_properties
- saturation_properties(Eos, **sys_dict)[source]
Computes the saturated pressure, liquid, and gas density a one component phase at a temperature.
Input and system information are assessed first. An output file is generated with T, \(P^{sat}\), \(\rho^{sat}_{l}\), and \(\rho^{sat}_{v}\).
- Parameters:
Eos (obj) – An instance of the defined EOS class to be used in thermodynamic computations.
Tlist (list, Optional, default=298.15) – [K] Temperature of the system corresponding Plist. If one value is given, this temperature will be used for all temperatures.
MultiprocessingObject (obj, Optional) – Multiprocessing object,
MultiprocessingJobkwargs (Optional) – Keyword arguments for
calc_saturation_properties()
- Returns:
output_dict – Output dictionary containing given and calculated values
T: [K] Temperature array generated from given instructions
Psat: [Pa] Saturation pressure
rhol: [mol/\(m^3\)] Liquid saturation density
rholv: [mol/\(m^3\)] Vapor saturation density
- Return type:
dict