coolprop_interface
FluidProperties
Source code in process/core/coolprop_interface.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
temperature
property
fluid temperature [K]
pressure
property
fluid pressure [Pa]
density
property
fluid density [kg/m3]
enthalpy
property
fluid specific enthalpy [J/kg]
entropy
property
fluid entropy [J/kg/K]
specific_heat_const_p
property
fluid specific heat capacity at constant pressure [J/kg/K]
specific_heat_const_v
property
fluid specific heat capacity at constant volume [J/kg/K]
viscosity
property
fluid viscosity [Pa.s]
thermal_conductivity
property
fluid thermal conductivity [W/m/K]
of(fluid_name, *, temperature=None, pressure=None, entropy=None, vapor_quality=None)
classmethod
Calculates the fluid properties of a fluid given its temperature and pressure.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
fluid_name
|
str
|
the name of the fluid to calculate properties for, e.g. 'Helium' or 'Water'. |
required |
temperature
|
float | None
|
the current temperature [K] of the fluid to calculate the properties with respect to. |
None
|
pressure
|
float | None
|
the current pressure [Pa] of the fluid to calculate the properties with respect to. |
None
|
entropy
|
float | None
|
the current entropy [J/kg/K] of the fluid to calculate the properties with respect to. |
None
|
vapor_quality
|
float | None
|
the molar vapor quality [mol/mol] of the fluid to calculate the properties with respect to.
|
None
|
Source code in process/core/coolprop_interface.py
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |