CoolProp package#
Subpackages#
- CoolProp.GUI package
- CoolProp.Plots package
- Submodules
- CoolProp.Plots.Common module
- CoolProp.Plots.ConsistencyPlots module
- CoolProp.Plots.ConsistencyPlots_pcsaft module
- CoolProp.Plots.HSFlashTimingMap module
- CoolProp.Plots.Plots module
- CoolProp.Plots.PsychChart module
- CoolProp.Plots.PsychScript module
- CoolProp.Plots.SimpleCycles module
- CoolProp.Plots.SimpleCyclesCompression module
- CoolProp.Plots.SimpleCyclesExpansion module
- CoolProp.Plots.Tests module
- CoolProp.Plots.psy module
- Module contents
- Submodules
- CoolProp.tests package
Submodules#
- CoolProp.AbstractState module
- CoolProp.BibtexParser module
- CoolProp.CoolProp module
AbstractStateAbstractState.BvirialAbstractState.CvirialAbstractState.PIPAbstractState.PrandtlAbstractState.QAbstractState.QmassAbstractState.TAbstractState.T_criticalAbstractState.T_reducingAbstractState.TmaxAbstractState.TminAbstractState.TtripleAbstractState.acentric_factorAbstractState.all_critical_pointsAbstractState.alpha0AbstractState.alpharAbstractState.apply_simple_mixing_ruleAbstractState.available_in_high_levelAbstractState.backend_nameAbstractState.build_options_jsonAbstractState.build_phase_envelopeAbstractState.build_spinodalAbstractState.change_EOSAbstractState.chemical_potentialAbstractState.clearAbstractState.compressibility_factorAbstractState.conductivityAbstractState.conductivity_contributionsAbstractState.conformal_stateAbstractState.cp0massAbstractState.cp0molarAbstractState.cpmassAbstractState.cpmolarAbstractState.criticality_contour_valuesAbstractState.cvmassAbstractState.cvmolarAbstractState.d2alpha0_dDelta2AbstractState.d2alpha0_dDelta_dTauAbstractState.d2alpha0_dTau2AbstractState.d2alphar_dDelta2AbstractState.d2alphar_dDelta_dTauAbstractState.d2alphar_dTau2AbstractState.d3alpha0_dDelta2_dTauAbstractState.d3alpha0_dDelta3AbstractState.d3alpha0_dDelta_dTau2AbstractState.d3alpha0_dTau3AbstractState.d3alphar_dDelta2_dTauAbstractState.d3alphar_dDelta3AbstractState.d3alphar_dDelta_dTau2AbstractState.d3alphar_dTau3AbstractState.d4alphar_dDelta2_dTau2AbstractState.d4alphar_dDelta3_dTauAbstractState.d4alphar_dDelta4AbstractState.d4alphar_dDelta_dTau3AbstractState.d4alphar_dTau4AbstractState.dBvirial_dTAbstractState.dCvirial_dTAbstractState.dalpha0_dDeltaAbstractState.dalpha0_dTauAbstractState.dalphar_dDeltaAbstractState.dalphar_dTauAbstractState.deltaAbstractState.dipole_momentAbstractState.fast_evaluateAbstractState.first_partial_derivAbstractState.first_saturation_derivAbstractState.first_two_phase_derivAbstractState.first_two_phase_deriv_splinedAbstractState.fluid_namesAbstractState.fluid_param_stringAbstractState.fugacityAbstractState.fugacity_coefficientAbstractState.fundamental_derivative_of_gas_dynamicsAbstractState.gas_constantAbstractState.get_binary_interaction_doubleAbstractState.get_binary_interaction_stringAbstractState.get_fluid_constantAbstractState.get_fluid_parameter_doubleAbstractState.get_mass_fractionsAbstractState.get_mole_fractionsAbstractState.get_phase_envelope_dataAbstractState.get_reducing_stateAbstractState.get_spinodal_dataAbstractState.get_stateAbstractState.gibbsmassAbstractState.gibbsmass_excessAbstractState.gibbsmolarAbstractState.gibbsmolar_excessAbstractState.gibbsmolar_residualAbstractState.has_melting_lineAbstractState.helmholtzmassAbstractState.helmholtzmass_excessAbstractState.helmholtzmolarAbstractState.helmholtzmolar_excessAbstractState.hmassAbstractState.hmass_excessAbstractState.hmass_idealgasAbstractState.hmolarAbstractState.hmolar_excessAbstractState.hmolar_idealgasAbstractState.hmolar_residualAbstractState.ideal_curveAbstractState.isobaric_expansion_coefficientAbstractState.isothermal_compressibilityAbstractState.keyed_outputAbstractState.melting_lineAbstractState.molar_massAbstractState.mole_fractions_liquidAbstractState.mole_fractions_liquid_doubleAbstractState.mole_fractions_vaporAbstractState.mole_fractions_vapor_doubleAbstractState.nameAbstractState.neffAbstractState.pAbstractState.p_criticalAbstractState.p_tripleAbstractState.phaseAbstractState.pmaxAbstractState.rhomassAbstractState.rhomass_criticalAbstractState.rhomass_reducingAbstractState.rhomolarAbstractState.rhomolar_criticalAbstractState.rhomolar_reducingAbstractState.saturated_liquid_keyed_outputAbstractState.saturated_vapor_keyed_outputAbstractState.saturation_ancillaryAbstractState.second_partial_derivAbstractState.second_saturation_derivAbstractState.second_two_phase_derivAbstractState.set_TAbstractState.set_binary_interaction_doubleAbstractState.set_binary_interaction_stringAbstractState.set_cubic_alpha_CAbstractState.set_fluid_parameter_doubleAbstractState.set_mass_fractionsAbstractState.set_mole_fractionsAbstractState.set_volu_fractionsAbstractState.smassAbstractState.smass_excessAbstractState.smass_idealgasAbstractState.smolarAbstractState.smolar_excessAbstractState.smolar_idealgasAbstractState.smolar_residualAbstractState.specify_phaseAbstractState.speed_soundAbstractState.surface_tensionAbstractState.tangent_plane_distanceAbstractState.tauAbstractState.trivial_keyed_outputAbstractState.true_critical_pointAbstractState.umassAbstractState.umass_excessAbstractState.umass_idealgasAbstractState.umolarAbstractState.umolar_excessAbstractState.umolar_idealgasAbstractState.unspecify_phaseAbstractState.updateAbstractState.update_QT_pure_superancAbstractState.update_with_guessesAbstractState.using_mass_fractionsAbstractState.using_mole_fractionsAbstractState.using_volu_fractionsAbstractState.viscosityAbstractState.viscosity_contributionsAbstractState.volumemass_excessAbstractState.volumemolar_excess
ChebyshevApproximation1DChebyshevExpansionCriticalStateGuessesStructureIntervalMatchMonotonicExpansionMatchPhaseEnvelopeDataPhaseEnvelopeData.KPhaseEnvelopeData.QPhaseEnvelopeData.TPhaseEnvelopeData.conductivity_liqPhaseEnvelopeData.conductivity_vapPhaseEnvelopeData.cpmolar_liqPhaseEnvelopeData.cpmolar_vapPhaseEnvelopeData.cvmolar_liqPhaseEnvelopeData.cvmolar_vapPhaseEnvelopeData.hmolar_liqPhaseEnvelopeData.hmolar_vapPhaseEnvelopeData.lnKPhaseEnvelopeData.lnTPhaseEnvelopeData.lnpPhaseEnvelopeData.lnrhomolar_liqPhaseEnvelopeData.lnrhomolar_vapPhaseEnvelopeData.pPhaseEnvelopeData.rhomolar_liqPhaseEnvelopeData.rhomolar_vapPhaseEnvelopeData.smolar_liqPhaseEnvelopeData.smolar_vapPhaseEnvelopeData.speed_sound_vapPhaseEnvelopeData.viscosity_liqPhaseEnvelopeData.viscosity_vapPhaseEnvelopeData.xPhaseEnvelopeData.y
PyCriticalStatePyGuessesStructurePyPhaseEnvelopeDataPySpinodalDataSimpleStateSpinodalDataSuperAncillaryconfiguration_keysconfiguration_keys.ALLOW_SVDSBTL_IN_PROPSSIconfiguration_keys.ALTERNATIVE_REFPROP_HMX_BNC_PATHconfiguration_keys.ALTERNATIVE_REFPROP_LIBRARY_PATHconfiguration_keys.ALTERNATIVE_REFPROP_PATHconfiguration_keys.ALTERNATIVE_SVDTABLES_DIRECTORYconfiguration_keys.ALTERNATIVE_TABLES_DIRECTORYconfiguration_keys.ASSUME_CRITICAL_POINT_STABLEconfiguration_keys.CRITICAL_SPLINES_ENABLEDconfiguration_keys.CRITICAL_WITHIN_1UKconfiguration_keys.DONT_CHECK_PROPERTY_LIMITSconfiguration_keys.ENABLE_MELTING_CALORIC_HSconfiguration_keys.ENABLE_SUPERANCILLARIESconfiguration_keys.FLOAT_PUNCTUATIONconfiguration_keys.HENRYS_LAW_TO_GENERATE_VLE_GUESSESconfiguration_keys.HSU_D_TWOPHASE_EOS_POLISHconfiguration_keys.LIST_STRING_DELIMITERconfiguration_keys.MAXIMUM_TABLE_DIRECTORY_SIZE_IN_GBconfiguration_keys.MIXTURE_STABILITY_ALGORITHMconfiguration_keys.NORMALIZE_GAS_CONSTANTSconfiguration_keys.OVERWRITE_BINARY_INTERACTIONconfiguration_keys.OVERWRITE_DEPARTURE_FUNCTIONconfiguration_keys.OVERWRITE_FLUIDSconfiguration_keys.PHASE_ENVELOPE_STARTING_PRESSURE_PAconfiguration_keys.REFPROP_DONT_ESTIMATE_INTERACTION_PARAMETERSconfiguration_keys.REFPROP_ERROR_THRESHOLDconfiguration_keys.REFPROP_IGNORE_ERROR_ESTIMATED_INTERACTION_PARAMETERSconfiguration_keys.REFPROP_RESOLVE_COOLPROP_ALIASESconfiguration_keys.REFPROP_USE_GERGconfiguration_keys.REFPROP_USE_PENGROBINSONconfiguration_keys.R_U_CODATAconfiguration_keys.SAVE_RAW_TABLESconfiguration_keys.SPINODAL_MINIMUM_DELTAconfiguration_keys.SVDSBTL_SAMPLING_THREADSconfiguration_keys.TABULAR_NXconfiguration_keys.TABULAR_NYconfiguration_keys.USE_GUESSES_IN_PROPSSIconfiguration_keys.VTPR_ALWAYS_RELOAD_LIBRARYconfiguration_keys.VTPR_UNIFAC_PATH
fast_evaluate_statusfluid_typesinput_pairsinput_pairs.DmassHmass_INPUTSinput_pairs.DmassP_INPUTSinput_pairs.DmassQ_INPUTSinput_pairs.DmassQmass_INPUTSinput_pairs.DmassSmass_INPUTSinput_pairs.DmassT_INPUTSinput_pairs.DmassUmass_INPUTSinput_pairs.DmolarHmolar_INPUTSinput_pairs.DmolarP_INPUTSinput_pairs.DmolarQ_INPUTSinput_pairs.DmolarQmass_INPUTSinput_pairs.DmolarSmolar_INPUTSinput_pairs.DmolarT_INPUTSinput_pairs.DmolarUmolar_INPUTSinput_pairs.HmassP_INPUTSinput_pairs.HmassQ_INPUTSinput_pairs.HmassQmass_INPUTSinput_pairs.HmassSmass_INPUTSinput_pairs.HmassT_INPUTSinput_pairs.HmolarP_INPUTSinput_pairs.HmolarQ_INPUTSinput_pairs.HmolarQmass_INPUTSinput_pairs.HmolarSmolar_INPUTSinput_pairs.HmolarT_INPUTSinput_pairs.INPUT_PAIR_INVALIDinput_pairs.PQ_INPUTSinput_pairs.PQmass_INPUTSinput_pairs.PSmass_INPUTSinput_pairs.PSmolar_INPUTSinput_pairs.PT_INPUTSinput_pairs.PUmass_INPUTSinput_pairs.PUmolar_INPUTSinput_pairs.QSmass_INPUTSinput_pairs.QSmolar_INPUTSinput_pairs.QT_INPUTSinput_pairs.QmassSmass_INPUTSinput_pairs.QmassSmolar_INPUTSinput_pairs.QmassT_INPUTSinput_pairs.SmassT_INPUTSinput_pairs.SmassUmass_INPUTSinput_pairs.SmolarT_INPUTSinput_pairs.SmolarUmolar_INPUTSinput_pairs.TUmass_INPUTSinput_pairs.TUmolar_INPUTS
parametersparameters.INVALID_PARAMETERparameters.iBvirialparameters.iCp0massparameters.iCp0molarparameters.iCpmassparameters.iCpmolarparameters.iCvirialparameters.iCvmassparameters.iCvmolarparameters.iDeltaparameters.iDmassparameters.iDmolarparameters.iFHparameters.iGWP100parameters.iGWP20parameters.iGWP500parameters.iGmassparameters.iGmolarparameters.iGmolar_residualparameters.iHHparameters.iHelmholtzmassparameters.iHelmholtzmolarparameters.iHmassparameters.iHmass_idealgasparameters.iHmolarparameters.iHmolar_idealgasparameters.iHmolar_residualparameters.iODPparameters.iPparameters.iPHparameters.iPIPparameters.iP_criticalparameters.iP_maxparameters.iP_minparameters.iP_reducingparameters.iP_tripleparameters.iPhaseparameters.iPrandtlparameters.iQparameters.iQmassparameters.iSmassparameters.iSmass_idealgasparameters.iSmolarparameters.iSmolar_idealgasparameters.iSmolar_residualparameters.iTparameters.iT_criticalparameters.iT_freezeparameters.iT_maxparameters.iT_minparameters.iT_reducingparameters.iT_tripleparameters.iTauparameters.iUmassparameters.iUmass_idealgasparameters.iUmolarparameters.iUmolar_idealgasparameters.iZparameters.iacentric_factorparameters.ialpha0parameters.ialpharparameters.iconductivityparameters.id2alpha0_ddelta2_consttauparameters.id3alpha0_ddelta3_consttauparameters.idBvirial_dTparameters.idCvirial_dTparameters.idalpha0_ddelta_consttauparameters.idalpha0_dtau_constdeltaparameters.idalphar_ddelta_consttauparameters.idalphar_dtau_constdeltaparameters.idipole_momentparameters.ifraction_maxparameters.ifraction_minparameters.ifundamental_derivative_of_gas_dynamicsparameters.igas_constantparameters.iisentropic_expansion_coefficientparameters.iisobaric_expansion_coefficientparameters.iisothermal_compressibilityparameters.imolar_massparameters.irhomass_criticalparameters.irhomass_reducingparameters.irhomolar_criticalparameters.irhomolar_reducingparameters.ispeed_soundparameters.isurface_tensionparameters.iundefined_parameterparameters.iviscosity
phases
- CoolProp.HumidAirProp module
- CoolProp.State module
- CoolProp.constants module
Module contents#
Package init for the nanobind-based CoolProp build (COOLPROP_NANOBIND=ON).
This mirrors the legacy (Cython) CoolProp/__init__.py surface verbatim so the
v8 package presents the same import tree: CoolProp.CoolProp is the nanobind
core (it also exports the _capi PyCapsule used by the State shim),
CoolProp.HumidAirProp is a thin SI re-export shim, CoolProp.State is the
capsule shim, and the pure-Python submodules (Plots, BibtexParser,
GUI, tests) are shipped unchanged. Keep this in lock-step with the
legacy __init__.py (see bd CoolProp-r9sq.3, the import-tree parity gate).
- CoolProp.copy_BibTeX_library(file=None, folder=None)#
Copy the CoolProp BibTeX library file to the file given by
file, or the folder given byfolderIf no inputs are provided, the file will be copied to the current working directory
- Parameters:
file (string) – Provide if you want to put the file into a given file
folder (string) – Provide if you want to put the CoolPropBibTeXLibrary.bib file into the given folder
- CoolProp.get(s)#
This is just a shorthand function for getting a parameter from
CoolProp.get_global_param_string
- CoolProp.get_include_directory()#
Get the include directory for CoolProp header files that are needed if you want to compile anything else that uses the CoolProp Cython extension type
- Returns:
include_directory
- Return type:
The path to the include folder for CoolProp
- CoolProp.test()#
Run the tests in the test folder