Coolprop

v0.2.1
io.github.pipeworx-io/coolprop Checked 1 day ago Published 1 month ago

coolprop — thermophysical fluid properties (PropsSI-style: give two independent state variables…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

coolprop_fluid_properties

Thermophysical properties of a pure fluid, computed from two independent state variables (PropsSI-style — give e.g. temperature + pressure, get density, enthalpy, entropy, viscosity, thermal conductivity, specific heat, phase, ...). Covers ~124 fluids (water, refrigerants, hydrocarbons, cryogens, ...) via CoolProp (open-source, MIT), computed in-process rather than looked up from a table — valid over each fluid's full equation-of-state range, not just tabulated points. No aliases: call coolprop_list_fluids for exact names (e.g. "CarbonDioxide", not "CO2").

ParameterTypeDescription
fluid *stringExact CoolProp fluid name, e.g. "Water", "Nitrogen", "R134a", "CarbonDioxide" — see coolprop_list_fluids for the full list (no aliases)
input1_name *stringFirst independent state variable code: T (temperature, K), P (pressure, Pa), D (mass density, kg/m3), H (mass enthalpy, J/kg), S (mass entropy, J/kg/K), U (mass internal energy, J/kg), or Q (vapor qua…
input1_value *numberValue for input1_name, SI units
input2_name *stringSecond independent state variable code — must differ from input1_name. Same code set as input1_name.
input2_value *numberValue for input2_name, SI units
outputs *arrayProperty codes to compute, up to 12 per call: T, P, D (density kg/m3), H (enthalpy J/kg), S (entropy J/kg/K), U (internal energy J/kg), Q (vapor quality), CPMASS (isobaric specific heat J/kg/K), CVMAS…

coolprop_list_fluids

The exact canonical fluid names this CoolProp build recognizes for coolprop_fluid_properties (~124 fluids: water, common refrigerants, hydrocarbons, cryogens, siloxanes, ...). No aliases — e.g. "CarbonDioxide", not "CO2"; use this list rather than guessing a short name.