Phase Models (thermo.phases)¶
The phases subpackage exposes classes that represent the state of single phase mixture, including the composition, temperature, pressure, enthalpy, and entropy. Phase objects are immutable and know nothing about bulk properties or transport properties. The goal is for each phase to be able to compute all of its thermodynamic properties, including volume-based ones. Use settings to handle different assumptions.
Base Class¶
- class thermo.phases.Phase[source]¶
Bases:
objectPhase is the base class for all phase objects in thermo. Each sub-class implements a number of core properties; many other properties can be calculated from them.
Among those properties are H, S, Cp, dP_dT, dP_dV, d2P_dT2, d2P_dV2, and d2P_dTdV.
An additional set of properties that can be implemented and that enable more functionality are dH_dP, dS_dT, dS_dP, d2H_dT2, d2H_dP2, d2S_dP2, dH_dT_V, dH_dP_V, dH_dV_T, dH_dV_P, dS_dT_V, dS_dP_V, d2H_dTdP, d2H_dT2_V, d2P_dTdP, d2P_dVdP, d2P_dVdT_TP, d2P_dT2_PV.
Some models may re-implement properties which would normally be calculated by this Phase base class because they have more explicit, faster ways of calculating the property.
When a phase object is the result of a Flash calculation, the resulting phase objects have a reference to a
ChemicalConstantsPackageobject and all of its properties can be accessed from from the resulting phase objects as well.A
ChemicalConstantsPackageobject can also be manually set to the attribute constants to enable access to those properties. This includes mass-based properties, which are not accessible from Phase objects without a reference to the constants.- Attributes:
CASisCAS registration numbers as integeres for each component, [-].
CASsCAS registration numbers for each component, [-].
CarcinogensStatus of each component in cancer causing registries, [-].
CeilingsCeiling exposure limits to chemicals (and their units; ppm or mg/m^3), [various].
GWPsGlobal Warming Potentials for each component (impact/mass chemical)/(impact/mass CO2), [-].
GfgsIdeal gas standard molar Gibbs free energy of formation for each component, [J/mol].
Gfgs_massIdeal gas standard Gibbs free energy of formation for each component, [J/kg].
- H_calc
HcsHigher standard molar heats of combustion for each component, [J/mol].
Hcs_lowerLower standard molar heats of combustion for each component, [J/mol].
Hcs_lower_massLower standard heats of combustion for each component, [J/kg].
Hcs_massHigher standard heats of combustion for each component, [J/kg].
Hf_STPsStandard state molar enthalpies of formation for each component, [J/mol].
Hf_STPs_massStandard state mass enthalpies of formation for each component, [J/kg].
HfgsIdeal gas standard molar enthalpies of formation for each component, [J/mol].
Hfgs_massIdeal gas standard enthalpies of formation for each component, [J/kg].
Hfus_TmsMolar heats of fusion for each component at their respective melting points, [J/mol].
Hfus_Tms_massHeats of fusion for each component at their respective melting points, [J/kg].
Hsub_TtsHeats of sublimation for each component at their respective triple points, [J/mol].
Hsub_Tts_massHeats of sublimation for each component at their respective triple points, [J/kg].
Hvap_298sMolar heats of vaporization for each component at 298.15 K, [J/mol].
Hvap_298s_massHeats of vaporization for each component at 298.15 K, [J/kg].
Hvap_TbsMolar heats of vaporization for each component at their respective normal boiling points, [J/mol].
Hvap_Tbs_massHeats of vaporization for each component at their respective normal boiling points, [J/kg].
InChI_KeysInChI Keys for each component, [-].
InChIsInChI strings for each component, [-].
LFLsLower flammability limits for each component, [-].
MWsMolecular weights for each component, [g/mol].
ODPsOzone Depletion Potentials for each component (impact/mass chemical)/(impact/mass CFC-11), [-].
PSRK_groupsPSRK subgroup: count groups for each component, [-].
- P_calc
ParachorsParachors for each component, [N^0.25*m^2.75/mol].
PcsCritical pressures for each component, [Pa].
Psat_298sVapor pressures for each component at 298.15 K, [Pa].
PtsTriple point pressures for each component, [Pa].
PubChemsPubchem IDs for each component, [-].
QMethod to return the actual volumetric flow rate of this phase.
Q_calcMethod to return the actual volumetric flow rate of this phase.
QgMethod to return the volume flow rate of this phase as an ideal gas, using the configured temperature T_gas_ref and pressure P_gas_ref.
Qg_calcMethod to return the volume flow rate of this phase as an ideal gas, using the configured temperature T_gas_ref and pressure P_gas_ref.
QgsMethod to return the volume flow rate of each component in this phase as an ideal gas, using the configured temperature T_gas_ref and pressure P_gas_ref.
Qgs_calcMethod to return the volume flow rate of each component in this phase as an ideal gas, using the configured temperature T_gas_ref and pressure P_gas_ref.
QlMethod to return the volume flow rate of this phase as an ideal liquid, using the configured standard molar volumes Vml_STPs.
Ql_calcMethod to return the volume flow rate of this phase as an ideal liquid, using the configured standard molar volumes Vml_STPs.
QlsMethod to return the volume flow rate of each component in this phase as an ideal liquid, using the configured V_liquids_ref.
Qls_calcMethod to return the volume flow rate of each component in this phase as an ideal liquid, using the configured V_liquids_ref.
RI_TsTemperatures at which the refractive indexes were reported for each component, [K].
RIsRefractive indexes for each component, [-].
S0gsIdeal gas absolute molar entropies at 298.15 K at 1 atm for each component, [J/(mol*K)].
S0gs_massIdeal gas absolute entropies at 298.15 K at 1 atm for each component, [J/(kg*K)].
STELsShort term exposure limits to chemicals (and their units; ppm or mg/m^3), [various].
SfgsIdeal gas standard molar entropies of formation for each component, [J/(mol*K)].
Sfgs_massIdeal gas standard entropies of formation for each component, [J/(kg*K)].
SkinsWhether each compound can be absorbed through the skin or not, [-].
StielPolarsStiel polar factors for each component, [-].
StockmayersLennard-Jones Stockmayer parameters (depth of potential-energy minimum over k) for each component, [K].
TWAsTime-weighted average exposure limits to chemicals (and their units; ppm or mg/m^3), [various].
- T_calc
TautoignitionsAutoignition temperatures for each component, [K].
TbsBoiling temperatures for each component, [K].
TcsCritical temperatures for each component, [K].
TflashsFlash point temperatures for each component, [K].
TmsMelting temperatures for each component, [K].
TtsTriple point temperatures for each component, [K].
UFLsUpper flammability limits for each component, [-].
UNIFAC_Dortmund_groupsUNIFAC_Dortmund_group: count groups for each component, [-].
UNIFAC_QsUNIFAC Q parameters for each component, [-].
UNIFAC_RsUNIFAC R parameters for each component, [-].
UNIFAC_groupsUNIFAC_group: count groups for each component, [-].
VFMethod to return the vapor fraction of the phase.
- VF_calc
Van_der_Waals_areasUnnormalized Van der Waals areas for each component, [m^2/mol].
Van_der_Waals_volumesUnnormalized Van der Waals volumes for each component, [m^3/mol].
VcsCritical molar volumes for each component, [m^3/mol].
- Vfgs_calc
- Vfls_calc
Vmg_STPsGas molar volumes for each component at STP; metastable if normally another state, [m^3/mol].
Vml_60FsLiquid molar volumes for each component at 60 °F, [m^3/mol].
Vml_STPsLiquid molar volumes for each component at STP, [m^3/mol].
Vml_TmsLiquid molar volumes for each component at their respective melting points, [m^3/mol].
Vms_TmsSolid molar volumes for each component at their respective melting points, [m^3/mol].
ZcsCritical compressibilities for each component, [-].
aliasesAliases for each component, [-].
atomssBreakdown of each component into its elements and their counts, as a dict, [-].
betaMethod to return the phase fraction of this phase.
beta_massMethod to return the mass phase fraction of this phase.
beta_volumeMethod to return the volumetric phase fraction of this phase.
beta_volume_liquid_refMethod to return the standard liquid volume fraction of this phase.
chargesCharge number (valence) for each component, [-].
conductivitiesElectrical conductivities for each component, [S/m].
conductivity_TsTemperatures at which the electrical conductivities for each component were measured, [K].
- constants
- correlations
dipolesDipole moments for each component, [debye].
economic_statusesStatus of each component in in relation to import and export from various regions, [-].
energyMethod to return the energy (enthalpy times flow rate) of this phase.
energy_calcMethod to return the energy (enthalpy times flow rate) of this phase.
energy_reactiveMethod to return the reactive energy (reactive enthalpy times flow rate) of this phase.
energy_reactive_calcMethod to return the reactive energy (reactive enthalpy times flow rate) of this phase.
- force_phase
formulasFormulas of each component, [-].
functional_groupsSet of functional group constants present in each component, [-].
legal_statusesStatus of each component in in relation to import and export rules from various regions, [-].
logPsOctanol-water partition coefficients for each component, [-].
mMethod to return the mass flow rate of this phase.
- m_calc
molecular_diametersLennard-Jones molecular diameters for each component, [angstrom].
msMethod to return the mass flow rates of each component in this phase.
ms_calcMethod to return the mass flow rates of each component in this phase.
nMethod to return the molar flow rate of this phase.
- n_calc
namesNames for each component, [-].
nsMethod to return the molar flow rates of each component in this phase.
ns_calcMethod to return the molar flow rates of each component in this phase.
omegasAcentric factors for each component, [-].
phase_STPsStandard states (‘g’, ‘l’, or ‘s’) for each component, [-].
- result
rhocsMolar densities at the critical point for each component, [mol/m^3].
rhocs_massDensities at the critical point for each component, [kg/m^3].
rhog_STPsMolar gas densities at STP for each component; metastable if normally another state, [mol/m^3].
rhog_STPs_massGas densities at STP for each component; metastable if normally another state, [kg/m^3].
rhol_60FsLiquid molar densities for each component at 60 °F, [mol/m^3].
rhol_60Fs_massLiquid mass densities for each component at 60 °F, [kg/m^3].
rhol_STPsMolar liquid densities at STP for each component, [mol/m^3].
rhol_STPs_massLiquid densities at STP for each component, [kg/m^3].
rhos_TmsSolid molar densities for each component at their respective melting points, [mol/m^3].
rhos_Tms_massSolid mass densities for each component at their melting point, [kg/m^3].
sigma_STPsLiquid-air surface tensions at 298.15 K and the higher of 101325 Pa or the saturation pressure, [N/m].
sigma_TbsLiquid-air surface tensions at the normal boiling point and 101325 Pa, [N/m].
sigma_TmsLiquid-air surface tensions at the melting point and 101325 Pa, [N/m].
similarity_variablesSimilarity variables for each component, [mol/g].
smilessSMILES identifiers for each component, [-].
solubility_parametersSolubility parameters for each component at 298.15 K, [Pa^0.5].
- ws_calc
- zs_calc
Methods
A()Method to calculate and return the Helmholtz energy of the phase.
API()Method to calculate and return the API of the phase.
A_dep()Method to calculate and return the departure Helmholtz energy of the phase.
Method to return the flow rate of the difference between the ideal-gas Helmholtz energy of this phase and the Helmholtz energy of the phase This method is only available when the phase is linked to an EquilibriumStream.
Method to calculate and return the departure mass Helmholtz energy of the phase.
A_flow()Method to return the flow rate of Helmholtz energy of this phase.
Method to calculate and return the ideal-gas Helmholtz energy of formation of the phase (as if the phase was an ideal gas).
Method to calculate and return the ideal-gas formation mass Helmholtz energy of the phase.
Method to calculate and return the ideal-gas Helmholtz energy of the phase.
Method to calculate and return the mass ideal-gas Helmholtz energy of the phase.
A_mass()Method to calculate and return mass Helmholtz energy of the phase.
Method to calculate and return the Helmholtz free energy of the phase on a reactive basis.
Method to calculate and return mass Helmholtz energy on a reactive basis of the phase.
Method to calculate and return the number of atoms in the flow which are Actinium, [atoms/s]
Method to calculate and return the mole flow that is Actinium, [mol/s]
Method to calculate and return the mole fraction that is Actinium element, [-]
Method to calculate and return the mass flow of atoms that are Actinium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Actinium element, [-]
Method to calculate and return the number of atoms in the flow which are Aluminium, [atoms/s]
Method to calculate and return the mole flow that is Aluminium, [mol/s]
Method to calculate and return the mole fraction that is Aluminium element, [-]
Method to calculate and return the mass flow of atoms that are Aluminium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Aluminium element, [-]
Method to calculate and return the number of atoms in the flow which are Americium, [atoms/s]
Method to calculate and return the mole flow that is Americium, [mol/s]
Method to calculate and return the mole fraction that is Americium element, [-]
Method to calculate and return the mass flow of atoms that are Americium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Americium element, [-]
Method to calculate and return the number of atoms in the flow which are Antimony, [atoms/s]
Method to calculate and return the mole flow that is Antimony, [mol/s]
Method to calculate and return the mole fraction that is Antimony element, [-]
Method to calculate and return the mass flow of atoms that are Antimony element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Antimony element, [-]
Method to calculate and return the number of atoms in the flow which are Argon, [atoms/s]
Method to calculate and return the mole flow that is Argon, [mol/s]
Method to calculate and return the mole fraction that is Argon element, [-]
Method to calculate and return the mass flow of atoms that are Argon element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Argon element, [-]
Method to calculate and return the number of atoms in the flow which are Arsenic, [atoms/s]
Method to calculate and return the mole flow that is Arsenic, [mol/s]
Method to calculate and return the mole fraction that is Arsenic element, [-]
Method to calculate and return the mass flow of atoms that are Arsenic element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Arsenic element, [-]
Method to calculate and return the number of atoms in the flow which are Astatine, [atoms/s]
Method to calculate and return the mole flow that is Astatine, [mol/s]
Method to calculate and return the mole fraction that is Astatine element, [-]
Method to calculate and return the mass flow of atoms that are Astatine element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Astatine element, [-]
Method to calculate and return the number of atoms in the flow which are Barium, [atoms/s]
Method to calculate and return the mole flow that is Barium, [mol/s]
Method to calculate and return the mole fraction that is Barium element, [-]
Method to calculate and return the mass flow of atoms that are Barium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Barium element, [-]
Method to calculate and return the number of atoms in the flow which are Berkelium, [atoms/s]
Method to calculate and return the mole flow that is Berkelium, [mol/s]
Method to calculate and return the mole fraction that is Berkelium element, [-]
Method to calculate and return the mass flow of atoms that are Berkelium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Berkelium element, [-]
Method to calculate and return the number of atoms in the flow which are Beryllium, [atoms/s]
Method to calculate and return the mole flow that is Beryllium, [mol/s]
Method to calculate and return the mole fraction that is Beryllium element, [-]
Method to calculate and return the mass flow of atoms that are Beryllium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Beryllium element, [-]
Method to calculate and return the number of atoms in the flow which are Bismuth, [atoms/s]
Method to calculate and return the mole flow that is Bismuth, [mol/s]
Method to calculate and return the mole fraction that is Bismuth element, [-]
Method to calculate and return the mass flow of atoms that are Bismuth element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Bismuth element, [-]
Method to calculate and return the number of atoms in the flow which are Bohrium, [atoms/s]
Method to calculate and return the mole flow that is Bohrium, [mol/s]
Method to calculate and return the mole fraction that is Bohrium element, [-]
Method to calculate and return the mass flow of atoms that are Bohrium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Bohrium element, [-]
Method to calculate and return the number of atoms in the flow which are Boron, [atoms/s]
Method to calculate and return the mole flow that is Boron, [mol/s]
Method to calculate and return the mole fraction that is Boron element, [-]
Method to calculate and return the mass flow of atoms that are Boron element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Boron element, [-]
Method to calculate and return the number of atoms in the flow which are Bromine, [atoms/s]
Method to calculate and return the mole flow that is Bromine, [mol/s]
Method to calculate and return the mole fraction that is Bromine element, [-]
Method to calculate and return the mass flow of atoms that are Bromine element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Bromine element, [-]
Bvirial()Method to calculate and return the B virial coefficient of the phase at its current conditions.
Method to calculate and return the number of atoms in the flow which are Cadmium, [atoms/s]
Method to calculate and return the mole flow that is Cadmium, [mol/s]
Method to calculate and return the mole fraction that is Cadmium element, [-]
Method to calculate and return the mass flow of atoms that are Cadmium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Cadmium element, [-]
Method to calculate and return the number of atoms in the flow which are Caesium, [atoms/s]
Method to calculate and return the mole flow that is Caesium, [mol/s]
Method to calculate and return the mole fraction that is Caesium element, [-]
Method to calculate and return the mass flow of atoms that are Caesium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Caesium element, [-]
Method to calculate and return the number of atoms in the flow which are Calcium, [atoms/s]
Method to calculate and return the mole flow that is Calcium, [mol/s]
Method to calculate and return the mole fraction that is Calcium element, [-]
Method to calculate and return the mass flow of atoms that are Calcium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Calcium element, [-]
Method to calculate and return the number of atoms in the flow which are Californium, [atoms/s]
Method to calculate and return the mole flow that is Californium, [mol/s]
Method to calculate and return the mole fraction that is Californium element, [-]
Method to calculate and return the mass flow of atoms that are Californium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Californium element, [-]
Method to calculate and return the number of atoms in the flow which are Carbon, [atoms/s]
Method to calculate and return the mole flow that is Carbon, [mol/s]
Method to calculate and return the mole fraction that is Carbon element, [-]
Method to calculate and return the mass flow of atoms that are Carbon element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Carbon element, [-]
Method to calculate and return the number of atoms in the flow which are Cerium, [atoms/s]
Method to calculate and return the mole flow that is Cerium, [mol/s]
Method to calculate and return the mole fraction that is Cerium element, [-]
Method to calculate and return the mass flow of atoms that are Cerium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Cerium element, [-]
Method to calculate and return the number of atoms in the flow which are Chlorine, [atoms/s]
Method to calculate and return the mole flow that is Chlorine, [mol/s]
Method to calculate and return the mole fraction that is Chlorine element, [-]
Method to calculate and return the mass flow of atoms that are Chlorine element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Chlorine element, [-]
Method to calculate and return the number of atoms in the flow which are Chromium, [atoms/s]
Method to calculate and return the mole flow that is Chromium, [mol/s]
Method to calculate and return the mole fraction that is Chromium element, [-]
Method to calculate and return the mass flow of atoms that are Chromium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Chromium element, [-]
Method to calculate and return the number of atoms in the flow which are Cobalt, [atoms/s]
Method to calculate and return the mole flow that is Cobalt, [mol/s]
Method to calculate and return the mole fraction that is Cobalt element, [-]
Method to calculate and return the mass flow of atoms that are Cobalt element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Cobalt element, [-]
Method to calculate and return the number of atoms in the flow which are Copernicium, [atoms/s]
Method to calculate and return the mole flow that is Copernicium, [mol/s]
Method to calculate and return the mole fraction that is Copernicium element, [-]
Method to calculate and return the mass flow of atoms that are Copernicium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Copernicium element, [-]
Method to calculate and return the number of atoms in the flow which are Copper, [atoms/s]
Method to calculate and return the mole flow that is Copper, [mol/s]
Method to calculate and return the mole fraction that is Copper element, [-]
Method to calculate and return the mass flow of atoms that are Copper element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Copper element, [-]
Cp()Method to calculate and return the constant-pressure heat capacity of the phase.
Method to calculate and return the Cp/Cv ratio of the phase.
Method to calculate and return the ratio of the ideal-gas heat capacity to its constant-volume heat capacity.
Cp_dep()Method to calculate and return the difference between the actual Cp and the ideal-gas constant pressure heat capacity of the phase.
Method to calculate and return mass constant pressure departure heat capacity of the phase.
Method to calculate and return the ideal-gas heat capacity of the phase.
Method to calculate and return mass constant pressure departure heat capacity of the phase.
Cp_mass()Method to calculate and return mass constant pressure heat capacity of the phase.
Cpgs()Method to calculate and return the pure-component ideal gas heat capacities of each species from the
thermo.heat_capacity.HeatCapacityGasobjects.Method to calculate and return the integrals of the ideal-gas heat capacities divided by temperature of every component in the phase from a temperature of
Phase.T_REF_IGto the system temperature.Method to calculate and return the integrals of the ideal-gas heat capacities of every component in the phase from a temperature of
Phase.T_REF_IGto the system temperature.Method to calculate and return the ideal-gas heat capacities of every component in the phase.
Cpls()Method to calculate and return the pure-component liquid temperature-dependent heat capacities of each species from the
thermo.heat_capacity.HeatCapacityLiquidobjects.Cpss()Method to calculate and return the pure-component solid heat capacities of each species from the
thermo.heat_capacity.HeatCapacitySolidobjects.Method to calculate and return the number of atoms in the flow which are Curium, [atoms/s]
Method to calculate and return the mole flow that is Curium, [mol/s]
Method to calculate and return the mole fraction that is Curium element, [-]
Method to calculate and return the mass flow of atoms that are Curium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Curium element, [-]
Cv()Method to calculate and return the constant-volume heat capacity Cv of the phase.
Cv_dep()Method to calculate and return the difference between the actual Cv and the ideal-gas constant volume heat capacity of the phase.
Method to calculate and return mass constant pressure departure heat capacity of the phase.
Method to calculate and return the ideal-gas constant volume heat capacity of the phase.
Cv_mass()Method to calculate and return mass constant volume heat capacity of the phase.
Method to calculate and return the number of atoms in the flow which are Darmstadtium, [atoms/s]
Method to calculate and return the mole flow that is Darmstadtium, [mol/s]
Method to calculate and return the mole fraction that is Darmstadtium element, [-]
Method to calculate and return the mass flow of atoms that are Darmstadtium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Darmstadtium element, [-]
Method to calculate and return the number of atoms in the flow which are Dubnium, [atoms/s]
Method to calculate and return the mole flow that is Dubnium, [mol/s]
Method to calculate and return the mole fraction that is Dubnium element, [-]
Method to calculate and return the mass flow of atoms that are Dubnium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Dubnium element, [-]
Method to calculate and return the number of atoms in the flow which are Dysprosium, [atoms/s]
Method to calculate and return the mole flow that is Dysprosium, [mol/s]
Method to calculate and return the mole fraction that is Dysprosium element, [-]
Method to calculate and return the mass flow of atoms that are Dysprosium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Dysprosium element, [-]
Method to calculate and return the number of atoms in the flow which are Einsteinium, [atoms/s]
Method to calculate and return the mole flow that is Einsteinium, [mol/s]
Method to calculate and return the mole fraction that is Einsteinium element, [-]
Method to calculate and return the mass flow of atoms that are Einsteinium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Einsteinium element, [-]
Method to calculate and return the number of atoms in the flow which are Erbium, [atoms/s]
Method to calculate and return the mole flow that is Erbium, [mol/s]
Method to calculate and return the mole fraction that is Erbium element, [-]
Method to calculate and return the mass flow of atoms that are Erbium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Erbium element, [-]
Method to calculate and return the number of atoms in the flow which are Europium, [atoms/s]
Method to calculate and return the mole flow that is Europium, [mol/s]
Method to calculate and return the mole fraction that is Europium element, [-]
Method to calculate and return the mass flow of atoms that are Europium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Europium element, [-]
Method to calculate and return the number of atoms in the flow which are Fermium, [atoms/s]
Method to calculate and return the mole flow that is Fermium, [mol/s]
Method to calculate and return the mole fraction that is Fermium element, [-]
Method to calculate and return the mass flow of atoms that are Fermium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Fermium element, [-]
Method to calculate and return the number of atoms in the flow which are Flerovium, [atoms/s]
Method to calculate and return the mole flow that is Flerovium, [mol/s]
Method to calculate and return the mole fraction that is Flerovium element, [-]
Method to calculate and return the mass flow of atoms that are Flerovium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Flerovium element, [-]
Method to calculate and return the number of atoms in the flow which are Fluorine, [atoms/s]
Method to calculate and return the mole flow that is Fluorine, [mol/s]
Method to calculate and return the mole fraction that is Fluorine element, [-]
Method to calculate and return the mass flow of atoms that are Fluorine element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Fluorine element, [-]
Method to calculate and return the number of atoms in the flow which are Francium, [atoms/s]
Method to calculate and return the mole flow that is Francium, [mol/s]
Method to calculate and return the mole fraction that is Francium element, [-]
Method to calculate and return the mass flow of atoms that are Francium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Francium element, [-]
G()Method to calculate and return the Gibbs free energy of the phase.
G_dep()Method to calculate and return the departure Gibbs free energy of the phase.
Method to return the flow rate of the difference between the ideal-gas Gibbs free energy of this phase and the actual Gibbs free energy of the phase This method is only available when the phase is linked to an EquilibriumStream.
Method to calculate and return the mass departure Gibbs free energy of the phase.
Method to calculate and return a consistency check between departure Gibbs free energy, and the fugacity coefficients.
G_flow()Method to return the flow rate of Gibbs free energy of this phase.
Method to calculate and return the ideal-gas Gibbs free energy of formation of the phase (as if the phase was an ideal gas).
Method to calculate and return the mass ideal-gas formation Gibbs free energy of the phase.
Method to calculate and return the ideal-gas Gibbs free energy of the phase.
Method to calculate and return the mass ideal-gas Gibbs free energy of the phase.
G_mass()Method to calculate and return mass Gibbs energy of the phase.
G_min()Method to calculate and return the Gibbs free energy of the phase.
Method to calculate and return the Gibbs energy criteria required for comparing phase stability.
Method to calculate and return the Gibbs free energy of the phase on a reactive basis.
Method to calculate and return mass Gibbs free energy on a reactive basis of the phase.
Method to calculate and return the number of atoms in the flow which are Gadolinium, [atoms/s]
Method to calculate and return the mole flow that is Gadolinium, [mol/s]
Method to calculate and return the mole fraction that is Gadolinium element, [-]
Method to calculate and return the mass flow of atoms that are Gadolinium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Gadolinium element, [-]
Method to calculate and return the number of atoms in the flow which are Gallium, [atoms/s]
Method to calculate and return the mole flow that is Gallium, [mol/s]
Method to calculate and return the mole fraction that is Gallium element, [-]
Method to calculate and return the mass flow of atoms that are Gallium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Gallium element, [-]
Method to calculate and return the number of atoms in the flow which are Germanium, [atoms/s]
Method to calculate and return the mole flow that is Germanium, [mol/s]
Method to calculate and return the mole fraction that is Germanium element, [-]
Method to calculate and return the mass flow of atoms that are Germanium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Germanium element, [-]
Method to calculate and return the number of atoms in the flow which are Gold, [atoms/s]
Method to calculate and return the mole flow that is Gold, [mol/s]
Method to calculate and return the mole fraction that is Gold element, [-]
Method to calculate and return the mass flow of atoms that are Gold element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Gold element, [-]
H()Method to calculate and return the enthalpy of the phase.
Method to calculate and return the atomic ratio of hydrogen atoms to carbon atoms, based on the current composition of the phase.
Method to calculate and return the mass ratio of hydrogen atoms to carbon atoms, based on the current composition of the phase.
Method to return the flow rate of the difference between the ideal-gas energy of this phase and the actual energy of the phase This method is only available when the phase is linked to an EquilibriumStream.
Method to calculate and return the mass departure enthalpy of the phase.
Method to calculate and return a consistency check between departure enthalpy, and the fugacity coefficients' temperature derivatives.
H_flow()Method to return the flow rate of enthalpy of this phase.
Method to calculate and return the ideal-gas enthalpy of formation of the phase (as if the phase was an ideal gas).
Method to calculate and return the mass ideal-gas formation enthalpy of the phase.
Method to calculate and return the enthalpy of the fluid as calculated from the ideal-gas enthalpy and the the fugacity coefficients' temperature derivatives.
Method to calculate and return the ideal-gas enthalpy of the phase.
Method to calculate and return the mass ideal-gas enthalpy of the phase.
H_mass()Method to calculate and return mass enthalpy of the phase.
Method to calculate and return a consistency check between ideal gas enthalpy behavior, and the fugacity coefficients and their temperature derivatives.
Method to calculate and return the enthalpy of the phase on a reactive basis, using the Hfs values of the phase.
Method to calculate and return mass enthalpy on a reactive basis of the phase.
Method to calculate and return the number of atoms in the flow which are Hafnium, [atoms/s]
Method to calculate and return the mole flow that is Hafnium, [mol/s]
Method to calculate and return the mole fraction that is Hafnium element, [-]
Method to calculate and return the mass flow of atoms that are Hafnium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Hafnium element, [-]
Method to calculate and return the number of atoms in the flow which are Hassium, [atoms/s]
Method to calculate and return the mole flow that is Hassium, [mol/s]
Method to calculate and return the mole fraction that is Hassium element, [-]
Method to calculate and return the mass flow of atoms that are Hassium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Hassium element, [-]
Hc()Method to calculate and return the molar ideal-gas higher heat of combustion of the object, [J/mol]
Hc_lower()Method to calculate and return the molar ideal-gas lower heat of combustion of the object, [J/mol]
Method to calculate and return the mass ideal-gas lower heat of combustion of the object, [J/mol]
Method to calculate and return the volumetric ideal-gas lower heat of combustion of the object using the normal gas volume, [J/m^3]
Method to calculate and return the volumetric ideal-gas lower heat of combustion of the object using the standard gas volume, [J/m^3]
Hc_mass()Method to calculate and return the mass ideal-gas higher heat of combustion of the object, [J/mol]
Method to calculate and return the volumetric ideal-gas higher heat of combustion of the object using the normal gas volume, [J/m^3]
Method to calculate and return the volumetric ideal-gas higher heat of combustion of the object using the standard gas volume, [J/m^3]
Method to calculate and return the number of atoms in the flow which are Helium, [atoms/s]
Method to calculate and return the mole flow that is Helium, [mol/s]
Method to calculate and return the mole fraction that is Helium element, [-]
Method to calculate and return the mass flow of atoms that are Helium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Helium element, [-]
Method to calculate and return the number of atoms in the flow which are Holmium, [atoms/s]
Method to calculate and return the mole flow that is Holmium, [mol/s]
Method to calculate and return the mole fraction that is Holmium element, [-]
Method to calculate and return the mass flow of atoms that are Holmium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Holmium element, [-]
Hsubs()Method to calculate and return the pure-component enthalpy of sublimation of each species from the
thermo.phase_change.EnthalpySublimationobjects.Hvaps()Method to calculate and return the pure-component enthalpy of vaporization of each species from the
thermo.phase_change.EnthalpyVaporizationobjects.Method to calculate and return the number of atoms in the flow which are Hydrogen, [atoms/s]
Method to calculate and return the mole flow that is Hydrogen, [mol/s]
Method to calculate and return the mole fraction that is Hydrogen element, [-]
Method to calculate and return the mass flow of atoms that are Hydrogen element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Hydrogen element, [-]
Method to calculate and return the number of atoms in the flow which are Indium, [atoms/s]
Method to calculate and return the mole flow that is Indium, [mol/s]
Method to calculate and return the mole fraction that is Indium element, [-]
Method to calculate and return the mass flow of atoms that are Indium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Indium element, [-]
Method to calculate and return the number of atoms in the flow which are Iodine, [atoms/s]
Method to calculate and return the mole flow that is Iodine, [mol/s]
Method to calculate and return the mole fraction that is Iodine element, [-]
Method to calculate and return the mass flow of atoms that are Iodine element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Iodine element, [-]
Method to calculate and return the number of atoms in the flow which are Iridium, [atoms/s]
Method to calculate and return the mole flow that is Iridium, [mol/s]
Method to calculate and return the mole fraction that is Iridium element, [-]
Method to calculate and return the mass flow of atoms that are Iridium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Iridium element, [-]
Method to calculate and return the number of atoms in the flow which are Iron, [atoms/s]
Method to calculate and return the mole flow that is Iron, [mol/s]
Method to calculate and return the mole fraction that is Iron element, [-]
Method to calculate and return the mass flow of atoms that are Iron element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Iron element, [-]
Method to calculate and return the Joule-Thomson coefficient of the phase.
Method to calculate and return the number of atoms in the flow which are Krypton, [atoms/s]
Method to calculate and return the mole flow that is Krypton, [mol/s]
Method to calculate and return the mole fraction that is Krypton element, [-]
Method to calculate and return the mass flow of atoms that are Krypton element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Krypton element, [-]
Method to calculate and return the number of atoms in the flow which are Lanthanum, [atoms/s]
Method to calculate and return the mole flow that is Lanthanum, [mol/s]
Method to calculate and return the mole fraction that is Lanthanum element, [-]
Method to calculate and return the mass flow of atoms that are Lanthanum element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Lanthanum element, [-]
Method to calculate and return the number of atoms in the flow which are Lawrencium, [atoms/s]
Method to calculate and return the mole flow that is Lawrencium, [mol/s]
Method to calculate and return the mole fraction that is Lawrencium element, [-]
Method to calculate and return the mass flow of atoms that are Lawrencium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Lawrencium element, [-]
Method to calculate and return the number of atoms in the flow which are Lead, [atoms/s]
Method to calculate and return the mole flow that is Lead, [mol/s]
Method to calculate and return the mole fraction that is Lead element, [-]
Method to calculate and return the mass flow of atoms that are Lead element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Lead element, [-]
Method to calculate and return the number of atoms in the flow which are Lithium, [atoms/s]
Method to calculate and return the mole flow that is Lithium, [mol/s]
Method to calculate and return the mole fraction that is Lithium element, [-]
Method to calculate and return the mass flow of atoms that are Lithium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Lithium element, [-]
Method to calculate and return the number of atoms in the flow which are Livermorium, [atoms/s]
Method to calculate and return the mole flow that is Livermorium, [mol/s]
Method to calculate and return the mole fraction that is Livermorium element, [-]
Method to calculate and return the mass flow of atoms that are Livermorium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Livermorium element, [-]
Method to calculate and return the number of atoms in the flow which are Lutetium, [atoms/s]
Method to calculate and return the mole flow that is Lutetium, [mol/s]
Method to calculate and return the mole fraction that is Lutetium element, [-]
Method to calculate and return the mass flow of atoms that are Lutetium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Lutetium element, [-]
MW()Method to calculate and return molecular weight of the phase.
MW_inv()Method to calculate and return inverse of molecular weight of the phase.
Method to calculate and return the number of atoms in the flow which are Magnesium, [atoms/s]
Method to calculate and return the mole flow that is Magnesium, [mol/s]
Method to calculate and return the mole fraction that is Magnesium element, [-]
Method to calculate and return the mass flow of atoms that are Magnesium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Magnesium element, [-]
Method to calculate and return the number of atoms in the flow which are Manganese, [atoms/s]
Method to calculate and return the mole flow that is Manganese, [mol/s]
Method to calculate and return the mole fraction that is Manganese element, [-]
Method to calculate and return the mass flow of atoms that are Manganese element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Manganese element, [-]
Method to calculate and return the number of atoms in the flow which are Meitnerium, [atoms/s]
Method to calculate and return the mole flow that is Meitnerium, [mol/s]
Method to calculate and return the mole fraction that is Meitnerium element, [-]
Method to calculate and return the mass flow of atoms that are Meitnerium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Meitnerium element, [-]
Method to calculate and return the number of atoms in the flow which are Mendelevium, [atoms/s]
Method to calculate and return the mole flow that is Mendelevium, [mol/s]
Method to calculate and return the mole fraction that is Mendelevium element, [-]
Method to calculate and return the mass flow of atoms that are Mendelevium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Mendelevium element, [-]
Method to calculate and return the number of atoms in the flow which are Mercury, [atoms/s]
Method to calculate and return the mole flow that is Mercury, [mol/s]
Method to calculate and return the mole fraction that is Mercury element, [-]
Method to calculate and return the mass flow of atoms that are Mercury element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Mercury element, [-]
Method to calculate and return the number of atoms in the flow which are Molybdenum, [atoms/s]
Method to calculate and return the mole flow that is Molybdenum, [mol/s]
Method to calculate and return the mole fraction that is Molybdenum element, [-]
Method to calculate and return the mass flow of atoms that are Molybdenum element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Molybdenum element, [-]
Method to calculate and return the number of atoms in the flow which are Moscovium, [atoms/s]
Method to calculate and return the mole flow that is Moscovium, [mol/s]
Method to calculate and return the mole fraction that is Moscovium element, [-]
Method to calculate and return the mass flow of atoms that are Moscovium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Moscovium element, [-]
Method to calculate and return the number of atoms in the flow which are Neodymium, [atoms/s]
Method to calculate and return the mole flow that is Neodymium, [mol/s]
Method to calculate and return the mole fraction that is Neodymium element, [-]
Method to calculate and return the mass flow of atoms that are Neodymium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Neodymium element, [-]
Method to calculate and return the number of atoms in the flow which are Neon, [atoms/s]
Method to calculate and return the mole flow that is Neon, [mol/s]
Method to calculate and return the mole fraction that is Neon element, [-]
Method to calculate and return the mass flow of atoms that are Neon element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Neon element, [-]
Method to calculate and return the number of atoms in the flow which are Neptunium, [atoms/s]
Method to calculate and return the mole flow that is Neptunium, [mol/s]
Method to calculate and return the mole fraction that is Neptunium element, [-]
Method to calculate and return the mass flow of atoms that are Neptunium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Neptunium element, [-]
Method to calculate and return the number of atoms in the flow which are Nickel, [atoms/s]
Method to calculate and return the mole flow that is Nickel, [mol/s]
Method to calculate and return the mole fraction that is Nickel element, [-]
Method to calculate and return the mass flow of atoms that are Nickel element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Nickel element, [-]
Method to calculate and return the number of atoms in the flow which are Nihonium, [atoms/s]
Method to calculate and return the mole flow that is Nihonium, [mol/s]
Method to calculate and return the mole fraction that is Nihonium element, [-]
Method to calculate and return the mass flow of atoms that are Nihonium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Nihonium element, [-]
Method to calculate and return the number of atoms in the flow which are Niobium, [atoms/s]
Method to calculate and return the mole flow that is Niobium, [mol/s]
Method to calculate and return the mole fraction that is Niobium element, [-]
Method to calculate and return the mass flow of atoms that are Niobium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Niobium element, [-]
Method to calculate and return the number of atoms in the flow which are Nitrogen, [atoms/s]
Method to calculate and return the mole flow that is Nitrogen, [mol/s]
Method to calculate and return the mole fraction that is Nitrogen element, [-]
Method to calculate and return the mass flow of atoms that are Nitrogen element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Nitrogen element, [-]
Method to calculate and return the number of atoms in the flow which are Nobelium, [atoms/s]
Method to calculate and return the mole flow that is Nobelium, [mol/s]
Method to calculate and return the mole fraction that is Nobelium element, [-]
Method to calculate and return the mass flow of atoms that are Nobelium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Nobelium element, [-]
Method to calculate and return the number of atoms in the flow which are Oganesson, [atoms/s]
Method to calculate and return the mole flow that is Oganesson, [mol/s]
Method to calculate and return the mole fraction that is Oganesson element, [-]
Method to calculate and return the mass flow of atoms that are Oganesson element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Oganesson element, [-]
Method to calculate and return the number of atoms in the flow which are Osmium, [atoms/s]
Method to calculate and return the mole flow that is Osmium, [mol/s]
Method to calculate and return the mole fraction that is Osmium element, [-]
Method to calculate and return the mass flow of atoms that are Osmium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Osmium element, [-]
Method to calculate and return the number of atoms in the flow which are Oxygen, [atoms/s]
Method to calculate and return the mole flow that is Oxygen, [mol/s]
Method to calculate and return the mole fraction that is Oxygen element, [-]
Method to calculate and return the mass flow of atoms that are Oxygen element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Oxygen element, [-]
PIP()Method to calculate and return the phase identification parameter of the phase.
P_max_at_V(V)Dummy method.
Dummy method.
Method to calculate and return the number of atoms in the flow which are Palladium, [atoms/s]
Method to calculate and return the mole flow that is Palladium, [mol/s]
Method to calculate and return the mole fraction that is Palladium element, [-]
Method to calculate and return the mass flow of atoms that are Palladium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Palladium element, [-]
Method to calculate and return the number of atoms in the flow which are Phosphorus, [atoms/s]
Method to calculate and return the mole flow that is Phosphorus, [mol/s]
Method to calculate and return the mole fraction that is Phosphorus element, [-]
Method to calculate and return the mass flow of atoms that are Phosphorus element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Phosphorus element, [-]
Method to calculate and return the number of atoms in the flow which are Platinum, [atoms/s]
Method to calculate and return the mole flow that is Platinum, [mol/s]
Method to calculate and return the mole fraction that is Platinum element, [-]
Method to calculate and return the mass flow of atoms that are Platinum element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Platinum element, [-]
Method to calculate and return the number of atoms in the flow which are Plutonium, [atoms/s]
Method to calculate and return the mole flow that is Plutonium, [mol/s]
Method to calculate and return the mole fraction that is Plutonium element, [-]
Method to calculate and return the mass flow of atoms that are Plutonium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Plutonium element, [-]
Pmc()Method to calculate and return the mechanical critical pressure of the phase.
Method to calculate and return the number of atoms in the flow which are Polonium, [atoms/s]
Method to calculate and return the mole flow that is Polonium, [mol/s]
Method to calculate and return the mole fraction that is Polonium element, [-]
Method to calculate and return the mass flow of atoms that are Polonium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Polonium element, [-]
Method to calculate and return the number of atoms in the flow which are Potassium, [atoms/s]
Method to calculate and return the mole flow that is Potassium, [mol/s]
Method to calculate and return the mole fraction that is Potassium element, [-]
Method to calculate and return the mass flow of atoms that are Potassium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Potassium element, [-]
Prandtl()Method to calculate and return the Prandtl number of the phase
Method to calculate and return the number of atoms in the flow which are Praseodymium, [atoms/s]
Method to calculate and return the mole flow that is Praseodymium, [mol/s]
Method to calculate and return the mole fraction that is Praseodymium element, [-]
Method to calculate and return the mass flow of atoms that are Praseodymium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Praseodymium element, [-]
Method to calculate and return the number of atoms in the flow which are Promethium, [atoms/s]
Method to calculate and return the mole flow that is Promethium, [mol/s]
Method to calculate and return the mole fraction that is Promethium element, [-]
Method to calculate and return the mass flow of atoms that are Promethium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Promethium element, [-]
Method to calculate and return the number of atoms in the flow which are Protactinium, [atoms/s]
Method to calculate and return the mole flow that is Protactinium, [mol/s]
Method to calculate and return the mole fraction that is Protactinium element, [-]
Method to calculate and return the mass flow of atoms that are Protactinium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Protactinium element, [-]
Psats()Method to calculate and return the pure-component vapor pressures of each species from the
thermo.vapor_pressure.VaporPressureobjects.Psubs()Method to calculate and return the pure-component sublimation of each species from the
thermo.vapor_pressure.SublimationPressureobjects.Method to calculate and return the number of atoms in the flow which are Radium, [atoms/s]
Method to calculate and return the mole flow that is Radium, [mol/s]
Method to calculate and return the mole fraction that is Radium element, [-]
Method to calculate and return the mass flow of atoms that are Radium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Radium element, [-]
Method to calculate and return the number of atoms in the flow which are Radon, [atoms/s]
Method to calculate and return the mole flow that is Radon, [mol/s]
Method to calculate and return the mole fraction that is Radon element, [-]
Method to calculate and return the mass flow of atoms that are Radon element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Radon element, [-]
Method to calculate and return the number of atoms in the flow which are Rhenium, [atoms/s]
Method to calculate and return the mole flow that is Rhenium, [mol/s]
Method to calculate and return the mole fraction that is Rhenium element, [-]
Method to calculate and return the mass flow of atoms that are Rhenium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Rhenium element, [-]
Method to calculate and return the number of atoms in the flow which are Rhodium, [atoms/s]
Method to calculate and return the mole flow that is Rhodium, [mol/s]
Method to calculate and return the mole fraction that is Rhodium element, [-]
Method to calculate and return the mass flow of atoms that are Rhodium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Rhodium element, [-]
Method to calculate and return the number of atoms in the flow which are Roentgenium, [atoms/s]
Method to calculate and return the mole flow that is Roentgenium, [mol/s]
Method to calculate and return the mole fraction that is Roentgenium element, [-]
Method to calculate and return the mass flow of atoms that are Roentgenium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Roentgenium element, [-]
Method to calculate and return the number of atoms in the flow which are Rubidium, [atoms/s]
Method to calculate and return the mole flow that is Rubidium, [mol/s]
Method to calculate and return the mole fraction that is Rubidium element, [-]
Method to calculate and return the mass flow of atoms that are Rubidium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Rubidium element, [-]
Method to calculate and return the number of atoms in the flow which are Ruthenium, [atoms/s]
Method to calculate and return the mole flow that is Ruthenium, [mol/s]
Method to calculate and return the mole fraction that is Ruthenium element, [-]
Method to calculate and return the mass flow of atoms that are Ruthenium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Ruthenium element, [-]
Method to calculate and return the number of atoms in the flow which are Rutherfordium, [atoms/s]
Method to calculate and return the mole flow that is Rutherfordium, [mol/s]
Method to calculate and return the mole fraction that is Rutherfordium element, [-]
Method to calculate and return the mass flow of atoms that are Rutherfordium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Rutherfordium element, [-]
S()Method to calculate and return the entropy of the phase.
SG()Method to calculate and return the standard liquid specific gravity of the phase, using constant liquid pure component densities not calculated by the phase object, at 60 °F.
SG_gas()Method to calculate and return the specific gravity of the phase with respect to a gas reference density.
Method to return the flow rate of the difference between the ideal-gas entropy of this phase and the actual entropy of the phase This method is only available when the phase is linked to an EquilibriumStream.
Method to calculate and return the mass departure entropy of the phase.
Method to calculate and return a consistency check between ideal gas entropy behavior, and the fugacity coefficients and their temperature derivatives.
S_flow()Method to return the flow rate of entropy of this phase.
Method to calculate and return the ideal-gas entropy of formation of the phase (as if the phase was an ideal gas).
Method to calculate and return the mass ideal-gas formation entropy of the phase.
Method to calculate and return the entropy of the fluid as calculated from the ideal-gas entropy and the the fugacity coefficients' temperature derivatives.
Method to calculate and return the ideal-gas entropy of the phase.
Method to calculate and return the mass ideal-gas entropy of the phase.
S_mass()Method to calculate and return mass entropy of the phase.
Method to calculate and return a consistency check between ideal gas entropy behavior, and the fugacity coefficients and their temperature derivatives.
Method to calculate and return the entropy of the phase on a reactive basis, using the Sfs values of the phase.
Method to calculate and return mass entropy on a reactive basis of the phase.
Method to calculate and return the number of atoms in the flow which are Samarium, [atoms/s]
Method to calculate and return the mole flow that is Samarium, [mol/s]
Method to calculate and return the mole fraction that is Samarium element, [-]
Method to calculate and return the mass flow of atoms that are Samarium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Samarium element, [-]
Method to calculate and return the number of atoms in the flow which are Scandium, [atoms/s]
Method to calculate and return the mole flow that is Scandium, [mol/s]
Method to calculate and return the mole fraction that is Scandium element, [-]
Method to calculate and return the mass flow of atoms that are Scandium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Scandium element, [-]
Method to calculate and return the number of atoms in the flow which are Seaborgium, [atoms/s]
Method to calculate and return the mole flow that is Seaborgium, [mol/s]
Method to calculate and return the mole fraction that is Seaborgium element, [-]
Method to calculate and return the mass flow of atoms that are Seaborgium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Seaborgium element, [-]
Method to calculate and return the number of atoms in the flow which are Selenium, [atoms/s]
Method to calculate and return the mole flow that is Selenium, [mol/s]
Method to calculate and return the mole fraction that is Selenium element, [-]
Method to calculate and return the mass flow of atoms that are Selenium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Selenium element, [-]
Method to calculate and return the number of atoms in the flow which are Silicon, [atoms/s]
Method to calculate and return the mole flow that is Silicon, [mol/s]
Method to calculate and return the mole fraction that is Silicon element, [-]
Method to calculate and return the mass flow of atoms that are Silicon element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Silicon element, [-]
Method to calculate and return the number of atoms in the flow which are Silver, [atoms/s]
Method to calculate and return the mole flow that is Silver, [mol/s]
Method to calculate and return the mole fraction that is Silver element, [-]
Method to calculate and return the mass flow of atoms that are Silver element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Silver element, [-]
Method to calculate and return the number of atoms in the flow which are Sodium, [atoms/s]
Method to calculate and return the mole flow that is Sodium, [mol/s]
Method to calculate and return the mole fraction that is Sodium element, [-]
Method to calculate and return the mass flow of atoms that are Sodium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Sodium element, [-]
Method to calculate and return the number of atoms in the flow which are Strontium, [atoms/s]
Method to calculate and return the mole flow that is Strontium, [mol/s]
Method to calculate and return the mole fraction that is Strontium element, [-]
Method to calculate and return the mass flow of atoms that are Strontium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Strontium element, [-]
Method to calculate and return the number of atoms in the flow which are Sulfur, [atoms/s]
Method to calculate and return the mole flow that is Sulfur, [mol/s]
Method to calculate and return the mole fraction that is Sulfur element, [-]
Method to calculate and return the mass flow of atoms that are Sulfur element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Sulfur element, [-]
T_max_at_V(V)Method to calculate the maximum temperature the phase can create at a constant volume, if one exists; returns None otherwise.
Method to calculate and return the number of atoms in the flow which are Tantalum, [atoms/s]
Method to calculate and return the mole flow that is Tantalum, [mol/s]
Method to calculate and return the mole fraction that is Tantalum element, [-]
Method to calculate and return the mass flow of atoms that are Tantalum element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Tantalum element, [-]
Method to calculate and return the number of atoms in the flow which are Technetium, [atoms/s]
Method to calculate and return the mole flow that is Technetium, [mol/s]
Method to calculate and return the mole fraction that is Technetium element, [-]
Method to calculate and return the mass flow of atoms that are Technetium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Technetium element, [-]
Method to calculate and return the number of atoms in the flow which are Tellurium, [atoms/s]
Method to calculate and return the mole flow that is Tellurium, [mol/s]
Method to calculate and return the mole fraction that is Tellurium element, [-]
Method to calculate and return the mass flow of atoms that are Tellurium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Tellurium element, [-]
Method to calculate and return the number of atoms in the flow which are Tennessine, [atoms/s]
Method to calculate and return the mole flow that is Tennessine, [mol/s]
Method to calculate and return the mole fraction that is Tennessine element, [-]
Method to calculate and return the mass flow of atoms that are Tennessine element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Tennessine element, [-]
Method to calculate and return the number of atoms in the flow which are Terbium, [atoms/s]
Method to calculate and return the mole flow that is Terbium, [mol/s]
Method to calculate and return the mole fraction that is Terbium element, [-]
Method to calculate and return the mass flow of atoms that are Terbium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Terbium element, [-]
Method to calculate and return the number of atoms in the flow which are Thallium, [atoms/s]
Method to calculate and return the mole flow that is Thallium, [mol/s]
Method to calculate and return the mole fraction that is Thallium element, [-]
Method to calculate and return the mass flow of atoms that are Thallium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Thallium element, [-]
Method to calculate and return the number of atoms in the flow which are Thorium, [atoms/s]
Method to calculate and return the mole flow that is Thorium, [mol/s]
Method to calculate and return the mole fraction that is Thorium element, [-]
Method to calculate and return the mass flow of atoms that are Thorium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Thorium element, [-]
Method to calculate and return the number of atoms in the flow which are Thulium, [atoms/s]
Method to calculate and return the mole flow that is Thulium, [mol/s]
Method to calculate and return the mole fraction that is Thulium element, [-]
Method to calculate and return the mass flow of atoms that are Thulium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Thulium element, [-]
Method to calculate and return the number of atoms in the flow which are Tin, [atoms/s]
Method to calculate and return the mole flow that is Tin, [mol/s]
Method to calculate and return the mole fraction that is Tin element, [-]
Method to calculate and return the mass flow of atoms that are Tin element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Tin element, [-]
Method to calculate and return the number of atoms in the flow which are Titanium, [atoms/s]
Method to calculate and return the mole flow that is Titanium, [mol/s]
Method to calculate and return the mole fraction that is Titanium element, [-]
Method to calculate and return the mass flow of atoms that are Titanium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Titanium element, [-]
Tmc()Method to calculate and return the mechanical critical temperature of the phase.
Method to calculate and return the number of atoms in the flow which are Tungsten, [atoms/s]
Method to calculate and return the mole flow that is Tungsten, [mol/s]
Method to calculate and return the mole fraction that is Tungsten element, [-]
Method to calculate and return the mass flow of atoms that are Tungsten element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Tungsten element, [-]
U()Method to calculate and return the internal energy of the phase.
U_dep()Method to calculate and return the departure internal energy of the phase.
Method to return the flow rate of the difference between the ideal-gas internal energy of this phase and the actual internal energy of the phase This method is only available when the phase is linked to an EquilibriumStream.
Method to calculate and return the departure mass internal energy of the phase.
U_flow()Method to return the flow rate of internal energy of this phase.
Method to calculate and return the ideal-gas internal energy of formation of the phase (as if the phase was an ideal gas).
Method to calculate and return the ideal-gas formation mass internal energy of the phase.
Method to calculate and return the ideal-gas internal energy of the phase.
Method to calculate and return the mass ideal-gas internal energy of the phase.
U_mass()Method to calculate and return mass internal energy of the phase.
Method to calculate and return the internal energy of the phase on a reactive basis.
Method to calculate and return mass internal energy on a reactive basis of the phase.
Method to calculate and return the number of atoms in the flow which are Uranium, [atoms/s]
Method to calculate and return the mole flow that is Uranium, [mol/s]
Method to calculate and return the mole fraction that is Uranium element, [-]
Method to calculate and return the mass flow of atoms that are Uranium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Uranium element, [-]
V()Method to return the molar volume of the phase.
V_dep()Method to calculate and return the departure (from ideal gas behavior) molar volume of the phase.
Method to calculate and return the molar volume of the fluid as calculated from the pressure derivatives of fugacity coefficients.
V_gas()Method to calculate and return the ideal-gas molar volume of the phase at the chosen reference temperature and pressure, according to the temperature variable T_gas_ref and pressure variable P_gas_ref of the
thermo.bulk.BulkSettings.Method to calculate and return the ideal-gas molar volume of the phase at the normal temperature and pressure, according to the temperature variable T_normal and pressure variable P_normal of the
thermo.bulk.BulkSettings.Method to calculate and return the ideal-gas molar volume of the phase at the standard temperature and pressure, according to the temperature variable T_standard and pressure variable P_standard of the
thermo.bulk.BulkSettings.Method to calculate and return the ideal-gas molar volume of the phase.
V_iter([force])Method to calculate and return the volume of the phase in a way suitable for a TV resolution to converge on the same pressure.
Method to calculate and return the liquid reference molar volume according to the temperature variable T_liquid_volume_ref of
thermo.bulk.BulkSettingsand the composition of the phase.V_mass()Method to calculate and return the specific volume of the phase.
Method to calculate and return a consistency check between molar volume, and the fugacity coefficients' pressures derivatives.
Method to calculate and return the number of atoms in the flow which are Vanadium, [atoms/s]
Method to calculate and return the mole flow that is Vanadium, [mol/s]
Method to calculate and return the mole fraction that is Vanadium element, [-]
Method to calculate and return the mass flow of atoms that are Vanadium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Vanadium element, [-]
Vfgs()Method to calculate and return the ideal-gas volume fractions of the components of the phase.
Vfls()Method to calculate and return the ideal-liquid volume fractions of the components of the phase, using the standard liquid densities at the temperature variable T_liquid_volume_ref of
thermo.bulk.BulkSettingsand the composition of the phase.Vls()Method to calculate and return the pure-component liquid temperature-dependent molar volume of each species from the
thermo.volume.VolumeLiquidobjects.Vmc()Method to calculate and return the mechanical critical volume of the phase.
Vss()Method to calculate and return the pure-component solid temperature-dependent molar volume of each species from the
thermo.volume.VolumeSolidobjects.Method to calculate and return the molar Wobbe index of the object, [J/mol].
Method to calculate and return the molar lower Wobbe index of the
Method to calculate and return the lower mass Wobbe index of the object, [J/kg].
Method to calculate and return the volumetric normal lower Wobbe index of the object, [J/m^3].
Method to calculate and return the volumetric standard lower Wobbe index of the object, [J/m^3].
Method to calculate and return the mass Wobbe index of the object, [J/kg].
Method to calculate and return the volumetric normal Wobbe index of the object, [J/m^3].
Method to calculate and return the volumetric standard Wobbe index of the object, [J/m^3].
Method to calculate and return the number of atoms in the flow which are Xenon, [atoms/s]
Method to calculate and return the mole flow that is Xenon, [mol/s]
Method to calculate and return the mole fraction that is Xenon element, [-]
Method to calculate and return the mass flow of atoms that are Xenon element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Xenon element, [-]
Method to calculate and return the number of atoms in the flow which are Ytterbium, [atoms/s]
Method to calculate and return the mole flow that is Ytterbium, [mol/s]
Method to calculate and return the mole fraction that is Ytterbium element, [-]
Method to calculate and return the mass flow of atoms that are Ytterbium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Ytterbium element, [-]
Method to calculate and return the number of atoms in the flow which are Yttrium, [atoms/s]
Method to calculate and return the mole flow that is Yttrium, [mol/s]
Method to calculate and return the mole fraction that is Yttrium element, [-]
Method to calculate and return the mass flow of atoms that are Yttrium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Yttrium element, [-]
Z()Method to calculate and return the compressibility factor of the phase.
Method to calculate and return the number of atoms in the flow which are Zinc, [atoms/s]
Method to calculate and return the mole flow that is Zinc, [mol/s]
Method to calculate and return the mole fraction that is Zinc element, [-]
Method to calculate and return the mass flow of atoms that are Zinc element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Zinc element, [-]
Method to calculate and return the number of atoms in the flow which are Zirconium, [atoms/s]
Method to calculate and return the mole flow that is Zirconium, [mol/s]
Method to calculate and return the mole fraction that is Zirconium element, [-]
Method to calculate and return the mass flow of atoms that are Zirconium element, [kg/s]
Method to calculate and return the mass fraction of the phase that is Zirconium element, [-]
Zmc()Method to calculate and return the mechanical critical compressibility of the phase.
Method to calculate and return the activities of each component in the phase [-].
alpha()Method to calculate and return the thermal diffusivity of the phase.
Method to calculate and return the effective quantiy of ammonia in the phase as a molar weight, [g/mol].
Method to calculate and return the ideal partial pressure of ammonia, [Pa]
Method to calculate and return the effective quantiy of argon in the phase as a molar weight, [g/mol].
Method to calculate and return the ideal partial pressure of argon, [Pa]
as_json([cache, option])Method to create a JSON-friendly serialization of the phase which can be stored, and reloaded later.
Method to calculate and return the number of moles of each atom in the phase per mole of the phase; returns a dictionary of atom counts, containing only those elements who are present.
Method to calculate and return the atom count flow rates of the phase; returns a dictionary of atom count flows, containing only those elements who are present.
Method to calculate and return the atomic flow rates of the phase; returns a dictionary of atom flows, containing only those elements who are present.
Method to calculate and return the atomic composition of the phase; returns a dictionary of atom fraction (by count), containing only those elements who are present.
Method to calculate and return the atomic mass flow rates of the phase; returns a dictionary of atom mass flows, containing only those elements who are present.
Method to calculate and return the atomic mass fractions of the phase; returns a dictionary of atom fraction (by mass), containing only those elements who arxe present.
Method to calculate and return the effective quantiy of carbon_dioxide in the phase as a molar weight, [g/mol].
Method to calculate and return the ideal partial pressure of carbon_dioxide, [Pa]
Method to calculate and return the chemical potentials of each component in the phase [-].
Method to return the molar concentrations of each component in the phase in units of mol/m^3.
Method to return the molar concentrations of each component in the phase in units of mol/m^3, using the ideal-gas molar volume of the phase at the chosen reference temperature and pressure.
Method to return the molar concentrations of each component in the phase in units of mol/m^3, using the ideal-gas molar volume of the phase at the normal temperature and pressure.
Method to return the molar concentrations of each component in the phase in units of mol/m^3, using the ideal-gas molar volume of the phase at the standard temperature and pressure.
Method to return the mass concentrations of each component in the phase in units of kg/m^3.
Method to return the mass concentrations of each component in the phase in units of kg/m^3, using the ideal-gas molar volume of the phase at the chosen reference temperature and pressure.
Method to return the mass concentrations of each component in the phase in units of kg/m^3, using the ideal-gas molar volume of the phase at the normal temperature and pressure.
Method to return the mass concentrations of each component in the phase in units of kg/m^3, using the ideal-gas molar volume of the phase at the standard temperature and pressure.
d2P_dT2()Method to calculate and return the second temperature derivative of pressure of the phase.
d2P_dTdV()Method to calculate and return the second derivative of pressure with respect to temperature and volume of the phase.
Method to calculate and return the temperature derivative and then molar density derivative of the pressure of the phase.
d2P_dV2()Method to calculate and return the second volume derivative of pressure of the phase.
d2P_dVdT()Method to calculate and return the second derivative of pressure with respect to temperature and volume of the phase.
Method to calculate and return the second molar density derivative of pressure of the phase.
d2T_dP2()Method to calculate and return the constant-volume second pressure derivative of temperature of the phase.
Method to calculate and return the constant-volume second pressure derivative of temperature of the phase.
d2T_dPdV()Method to calculate and return the derivative of pressure and then the derivative of volume of temperature of the phase.
Method to calculate and return the pressure derivative and then molar density derivative of the temperature of the phase.
d2T_dV2()Method to calculate and return the constant-pressure second volume derivative of temperature of the phase.
Method to calculate and return the constant-pressure second volume derivative of temperature of the phase.
d2T_dVdP()Method to calculate and return the derivative of pressure and then the derivative of volume of temperature of the phase.
Method to calculate and return the second molar density derivative of temperature of the phase.
d2V_dP2()Method to calculate and return the constant-temperature pressure derivative of volume of the phase.
Method to calculate and return the constant-temperature pressure derivative of volume of the phase.
d2V_dPdT()Method to calculate and return the derivative of pressure and then the derivative of temperature of volume of the phase.
d2V_dT2()Method to calculate and return the constant-pressure second temperature derivative of volume of the phase.
Method to calculate and return the constant-pressure second temperature derivative of volume of the phase.
d2V_dTdP()Method to calculate and return the derivative of pressure and then the derivative of temperature of volume of the phase.
Method to calculate and return the second pressure derivative of molar density of the phase.
Method to calculate and return the pressure derivative and then temperature derivative of the molar density of the phase.
Method to calculate and return the second temperature derivative of molar density of the phase.
dA_dP()Method to calculate and return the constant-temperature pressure derivative of Helmholtz energy.
dA_dP_T()Method to calculate and return the constant-temperature pressure derivative of Helmholtz energy.
dA_dP_V()Method to calculate and return the constant-volume pressure derivative of Helmholtz energy.
dA_dT()Method to calculate and return the constant-pressure temperature derivative of Helmholtz energy.
dA_dT_P()Method to calculate and return the constant-pressure temperature derivative of Helmholtz energy.
dA_dT_V()Method to calculate and return the constant-volume temperature derivative of Helmholtz energy.
dA_dV_P()Method to calculate and return the constant-pressure volume derivative of Helmholtz energy.
dA_dV_T()Method to calculate and return the constant-temperature volume derivative of Helmholtz energy.
dA_mass_dP([prop])Method to calculate and return the pressure derivative of mass Helmholtz energy of the phase at constant temperature.
dA_mass_dP_T([prop])Method to calculate and return the pressure derivative of mass Helmholtz energy of the phase at constant temperature.
dA_mass_dP_V([prop])Method to calculate and return the pressure derivative of mass Helmholtz energy of the phase at constant volume.
dA_mass_dT([prop])Method to calculate and return the temperature derivative of mass Helmholtz energy of the phase at constant pressure.
dA_mass_dT_P([prop])Method to calculate and return the temperature derivative of mass Helmholtz energy of the phase at constant pressure.
dA_mass_dT_V([prop])Method to calculate and return the temperature derivative of mass Helmholtz energy of the phase at constant volume.
dA_mass_dV_P([prop])Method to calculate and return the volume derivative of mass Helmholtz energy of the phase at constant pressure.
dA_mass_dV_T([prop])Method to calculate and return the volume derivative of mass Helmholtz energy of the phase at constant temperature.
Method to calculate and return the first temperature derivative of ideal-gas heat capacities of every component in the phase.
dCv_dP_T()Method to calculate the pressure derivative of Cv, constant volume heat capacity, at constant temperature.
dCv_dT_P()Method to calculate the temperature derivative of Cv, constant volume heat capacity, at constant pressure.
dCv_mass_dP_T([prop])Method to calculate and return the pressure derivative of mass Constant-volume heat capacity of the phase at constant temperature.
dCv_mass_dT_P([prop])Method to calculate and return the temperature derivative of mass Constant-volume heat capacity of the phase at constant pressure.
dG_dP()Method to calculate and return the constant-temperature pressure derivative of Gibbs free energy.
dG_dP_T()Method to calculate and return the constant-temperature pressure derivative of Gibbs free energy.
dG_dP_V()Method to calculate and return the constant-volume pressure derivative of Gibbs free energy.
dG_dT()Method to calculate and return the constant-pressure temperature derivative of Gibbs free energy.
dG_dT_P()Method to calculate and return the constant-pressure temperature derivative of Gibbs free energy.
dG_dT_V()Method to calculate and return the constant-volume temperature derivative of Gibbs free energy.
dG_dV_P()Method to calculate and return the constant-pressure volume derivative of Gibbs free energy.
dG_dV_T()Method to calculate and return the constant-temperature volume derivative of Gibbs free energy.
Calculate the temperature derivative of the departure Gibbs energy at constant pressure.
dG_mass_dP([prop])Method to calculate and return the pressure derivative of mass Gibbs free energy of the phase at constant temperature.
dG_mass_dP_T([prop])Method to calculate and return the pressure derivative of mass Gibbs free energy of the phase at constant temperature.
dG_mass_dP_V([prop])Method to calculate and return the pressure derivative of mass Gibbs free energy of the phase at constant volume.
dG_mass_dT([prop])Method to calculate and return the temperature derivative of mass Gibbs free energy of the phase at constant pressure.
dG_mass_dT_P([prop])Method to calculate and return the temperature derivative of mass Gibbs free energy of the phase at constant pressure.
dG_mass_dT_V([prop])Method to calculate and return the temperature derivative of mass Gibbs free energy of the phase at constant volume.
dG_mass_dV_P([prop])Method to calculate and return the volume derivative of mass Gibbs free energy of the phase at constant pressure.
dG_mass_dV_T([prop])Method to calculate and return the volume derivative of mass Gibbs free energy of the phase at constant temperature.
dH_dP_T()Method to calculate and return the pressure derivative of enthalpy of the phase at constant pressure.
dH_dT_P()Method to calculate and return the temperature derivative of enthalpy of the phase at constant pressure.
dH_dns()Method to calculate and return the mole number derivative of the enthalpy of the phase.
dH_mass_dP([prop])Method to calculate and return the pressure derivative of mass enthalpy of the phase at constant temperature.
dH_mass_dP_T([prop])Method to calculate and return the pressure derivative of mass enthalpy of the phase at constant temperature.
dH_mass_dP_V([prop])Method to calculate and return the pressure derivative of mass enthalpy of the phase at constant volume.
dH_mass_dT([prop])Method to calculate and return the temperature derivative of mass enthalpy of the phase at constant pressure.
dH_mass_dT_P([prop])Method to calculate and return the temperature derivative of mass enthalpy of the phase at constant pressure.
dH_mass_dT_V([prop])Method to calculate and return the temperature derivative of mass enthalpy of the phase at constant volume.
dH_mass_dV_P([prop])Method to calculate and return the volume derivative of mass enthalpy of the phase at constant pressure.
dH_mass_dV_T([prop])Method to calculate and return the volume derivative of mass enthalpy of the phase at constant temperature.
dP_dP_T()Method to calculate and return the pressure derivative of pressure of the phase at constant temperature.
dP_dP_V()Method to calculate and return the pressure derivative of pressure of the phase at constant volume.
dP_dT()Method to calculate and return the first temperature derivative of pressure of the phase.
dP_dT_A([property, differentiate_by, ...])Method to calculate and return the temperature derivative of pressure of the phase at constant Helmholtz energy.
dP_dT_G([property, differentiate_by, ...])Method to calculate and return the temperature derivative of pressure of the phase at constant Gibbs energy.
dP_dT_H([property, differentiate_by, ...])Method to calculate and return the temperature derivative of pressure of the phase at constant enthalpy.
dP_dT_P()Method to calculate and return the temperature derivative of temperature of the phase at constant pressure.
dP_dT_S([property, differentiate_by, ...])Method to calculate and return the temperature derivative of pressure of the phase at constant entropy.
dP_dT_U([property, differentiate_by, ...])Method to calculate and return the temperature derivative of pressure of the phase at constant internal energy.
dP_dV()Method to calculate and return the first volume derivative of pressure of the phase.
dP_dV_A([property, differentiate_by, ...])Method to calculate and return the volume derivative of pressure of the phase at constant Helmholtz energy.
dP_dV_G([property, differentiate_by, ...])Method to calculate and return the volume derivative of pressure of the phase at constant Gibbs energy.
dP_dV_H([property, differentiate_by, ...])Method to calculate and return the volume derivative of pressure of the phase at constant enthalpy.
dP_dV_P()Method to calculate and return the volume derivative of pressure of the phase at constant pressure.
dP_dV_S([property, differentiate_by, ...])Method to calculate and return the volume derivative of pressure of the phase at constant entropy.
dP_dV_U([property, differentiate_by, ...])Method to calculate and return the volume derivative of pressure of the phase at constant internal energy.
dP_drho()Method to calculate and return the molar density derivative of pressure of the phase.
dP_drho_A([property, differentiate_by, ...])Method to calculate and return the density derivative of pressure of the phase at constant Helmholtz energy.
dP_drho_G([property, differentiate_by, ...])Method to calculate and return the density derivative of pressure of the phase at constant Gibbs energy.
dP_drho_H([property, differentiate_by, ...])Method to calculate and return the density derivative of pressure of the phase at constant enthalpy.
dP_drho_S([property, differentiate_by, ...])Method to calculate and return the density derivative of pressure of the phase at constant entropy.
dP_drho_U([property, differentiate_by, ...])Method to calculate and return the density derivative of pressure of the phase at constant internal energy.
dS_dP_T()Method to calculate and return the pressure derivative of entropy of the phase at constant pressure.
dS_dV_P()Method to calculate and return the volume derivative of entropy of the phase at constant pressure.
dS_dV_T()Method to calculate and return the volume derivative of entropy of the phase at constant temperature.
dS_dns()Method to calculate and return the mole number derivative of the entropy of the phase.
dS_mass_dP([prop])Method to calculate and return the pressure derivative of mass entropy of the phase at constant temperature.
dS_mass_dP_T([prop])Method to calculate and return the pressure derivative of mass entropy of the phase at constant temperature.
dS_mass_dP_V([prop])Method to calculate and return the pressure derivative of mass entropy of the phase at constant volume.
dS_mass_dT([prop])Method to calculate and return the temperature derivative of mass entropy of the phase at constant pressure.
dS_mass_dT_P([prop])Method to calculate and return the temperature derivative of mass entropy of the phase at constant pressure.
dS_mass_dT_V([prop])Method to calculate and return the temperature derivative of mass entropy of the phase at constant volume.
dS_mass_dV_P([prop])Method to calculate and return the volume derivative of mass entropy of the phase at constant pressure.
dS_mass_dV_T([prop])Method to calculate and return the volume derivative of mass entropy of the phase at constant temperature.
dT_dP()Method to calculate and return the constant-volume pressure derivative of temperature of the phase.
dT_dP_A([property, differentiate_by, ...])Method to calculate and return the pressure derivative of temperature of the phase at constant Helmholtz energy.
dT_dP_G([property, differentiate_by, ...])Method to calculate and return the pressure derivative of temperature of the phase at constant Gibbs energy.
dT_dP_H([property, differentiate_by, ...])Method to calculate and return the pressure derivative of temperature of the phase at constant enthalpy.
dT_dP_S([property, differentiate_by, ...])Method to calculate and return the pressure derivative of temperature of the phase at constant entropy.
dT_dP_T()Method to calculate and return the pressure derivative of temperature of the phase at constant temperature.
dT_dP_U([property, differentiate_by, ...])Method to calculate and return the pressure derivative of temperature of the phase at constant internal energy.
dT_dP_V()Method to calculate and return the constant-volume pressure derivative of temperature of the phase.
dT_dT_P()Method to calculate and return the temperature derivative of temperature of the phase at constant pressure.
dT_dT_V()Method to calculate and return the temperature derivative of temperature of the phase at constant volume.
dT_dV()Method to calculate and return the constant-pressure volume derivative of temperature of the phase.
dT_dV_A([property, differentiate_by, ...])Method to calculate and return the volume derivative of temperature of the phase at constant Helmholtz energy.
dT_dV_G([property, differentiate_by, ...])Method to calculate and return the volume derivative of temperature of the phase at constant Gibbs energy.
dT_dV_H([property, differentiate_by, ...])Method to calculate and return the volume derivative of temperature of the phase at constant enthalpy.
dT_dV_P()Method to calculate and return the constant-pressure volume derivative of temperature of the phase.
dT_dV_S([property, differentiate_by, ...])Method to calculate and return the volume derivative of temperature of the phase at constant entropy.
dT_dV_T()Method to calculate and return the volume derivative of temperature of the phase at constant temperature.
dT_dV_U([property, differentiate_by, ...])Method to calculate and return the volume derivative of temperature of the phase at constant internal energy.
dT_drho()Method to calculate and return the molar density derivative of temperature of the phase.
dT_drho_A([property, differentiate_by, ...])Method to calculate and return the density derivative of temperature of the phase at constant Helmholtz energy.
dT_drho_G([property, differentiate_by, ...])Method to calculate and return the density derivative of temperature of the phase at constant Gibbs energy.
dT_drho_H([property, differentiate_by, ...])Method to calculate and return the density derivative of temperature of the phase at constant enthalpy.
dT_drho_S([property, differentiate_by, ...])Method to calculate and return the density derivative of temperature of the phase at constant entropy.
dT_drho_U([property, differentiate_by, ...])Method to calculate and return the density derivative of temperature of the phase at constant internal energy.
dU_dP()Method to calculate and return the constant-temperature pressure derivative of internal energy.
dU_dP_T()Method to calculate and return the constant-temperature pressure derivative of internal energy.
dU_dP_V()Method to calculate and return the constant-volume pressure derivative of internal energy.
dU_dT()Method to calculate and return the constant-pressure temperature derivative of internal energy.
dU_dT_P()Method to calculate and return the constant-pressure temperature derivative of internal energy.
dU_dT_V()Method to calculate and return the constant-volume temperature derivative of internal energy.
dU_dV_P()Method to calculate and return the constant-pressure volume derivative of internal energy.
dU_dV_T()Method to calculate and return the constant-temperature volume derivative of internal energy.
dU_mass_dP([prop])Method to calculate and return the pressure derivative of mass internal energy of the phase at constant temperature.
dU_mass_dP_T([prop])Method to calculate and return the pressure derivative of mass internal energy of the phase at constant temperature.
dU_mass_dP_V([prop])Method to calculate and return the pressure derivative of mass internal energy of the phase at constant volume.
dU_mass_dT([prop])Method to calculate and return the temperature derivative of mass internal energy of the phase at constant pressure.
dU_mass_dT_P([prop])Method to calculate and return the temperature derivative of mass internal energy of the phase at constant pressure.
dU_mass_dT_V([prop])Method to calculate and return the temperature derivative of mass internal energy of the phase at constant volume.
dU_mass_dV_P([prop])Method to calculate and return the volume derivative of mass internal energy of the phase at constant pressure.
dU_mass_dV_T([prop])Method to calculate and return the volume derivative of mass internal energy of the phase at constant temperature.
dV_dP()Method to calculate and return the constant-temperature pressure derivative of volume of the phase.
dV_dP_A([property, differentiate_by, ...])Method to calculate and return the pressure derivative of volume of the phase at constant Helmholtz energy.
dV_dP_G([property, differentiate_by, ...])Method to calculate and return the pressure derivative of volume of the phase at constant Gibbs energy.
dV_dP_H([property, differentiate_by, ...])Method to calculate and return the pressure derivative of volume of the phase at constant enthalpy.
dV_dP_S([property, differentiate_by, ...])Method to calculate and return the pressure derivative of volume of the phase at constant entropy.
dV_dP_T()Method to calculate and return the constant-temperature pressure derivative of volume of the phase.
dV_dP_U([property, differentiate_by, ...])Method to calculate and return the pressure derivative of volume of the phase at constant internal energy.
dV_dP_V()Method to calculate and return the volume derivative of pressure of the phase at constant volume.
dV_dT()Method to calculate and return the constant-pressure temperature derivative of volume of the phase.
dV_dT_A([property, differentiate_by, ...])Method to calculate and return the temperature derivative of volume of the phase at constant Helmholtz energy.
dV_dT_G([property, differentiate_by, ...])Method to calculate and return the temperature derivative of volume of the phase at constant Gibbs energy.
dV_dT_H([property, differentiate_by, ...])Method to calculate and return the temperature derivative of volume of the phase at constant enthalpy.
dV_dT_P()Method to calculate and return the constant-pressure temperature derivative of volume of the phase.
dV_dT_S([property, differentiate_by, ...])Method to calculate and return the temperature derivative of volume of the phase at constant entropy.
dV_dT_U([property, differentiate_by, ...])Method to calculate and return the temperature derivative of volume of the phase at constant internal energy.
dV_dT_V()Method to calculate and return the temperature derivative of volume of the phase at constant volume.
dV_dV_P()Method to calculate and return the volume derivative of volume of the phase at constant pressure.
dV_dV_T()Method to calculate and return the volume derivative of volume of the phase at constant temperature.
dV_dns()Method to calculate and return the mole number derivatives of the molar volume V of the phase.
dV_drho_A([property, differentiate_by, ...])Method to calculate and return the density derivative of volume of the phase at constant Helmholtz energy.
dV_drho_G([property, differentiate_by, ...])Method to calculate and return the density derivative of volume of the phase at constant Gibbs energy.
dV_drho_H([property, differentiate_by, ...])Method to calculate and return the density derivative of volume of the phase at constant enthalpy.
dV_drho_S([property, differentiate_by, ...])Method to calculate and return the density derivative of volume of the phase at constant entropy.
dV_drho_U([property, differentiate_by, ...])Method to calculate and return the density derivative of volume of the phase at constant internal energy.
dV_dzs()Method to calculate and return the mole fraction derivatives of the molar volume V of the phase.
dZ_dP()Method to calculate and return the pressure derivative of compressibility of the phase.
dZ_dT()Method to calculate and return the temperature derivative of compressibility of the phase.
dZ_dV()Method to calculate and return the volume derivative of compressibility of the phase.
dZ_dns()Method to calculate and return the mole number derivatives of the compressibility factor Z of the phase.
dZ_dzs()Method to calculate and return the mole fraction derivatives of the compressibility factor Z of the phase.
Method to calculate and return the pressure derivative of the fugacities of the components in the phase.
Method to calculate and return the temperature derivative of fugacities of the phase.
Method to calculate and return the mole number derivative of the fugacities of the components in the phase.
Method to calculate and return the pressure derivative of fugacity of the phase; provided the phase is 1 component.
Method to calculate and return the temperature derivative of fugacity of the phase; provided the phase is 1 component.
Method to calculate and return the pressure derivative of isobatic expansion coefficient of the phase.
Method to calculate and return the temperature derivative of isobatic expansion coefficient of the phase.
Method to calculate and return the temperature derivative of isothermal compressibility of the phase.
Method to calculate and return the temperature derivative of isothermal compressibility of the phase.
Method to calculate and return the mole number derivative of the log of fugacities of the components in the phase.
Method to calculate and return the mole fraction derivative of the log of fugacities of the components in the phase.
Method to calculate and return the pressure derivative of the log of fugacity coefficients of each component in the phase.
Method to calculate and return the temperature derivative of the log of fugacity coefficients of each component in the phase.
dnV_dns()Method to calculate and return the partial mole number derivatives of the molar volume V of the phase.
dphis_dP()Method to calculate and return the pressure derivative of fugacity coefficients of the phase.
dphis_dT()Method to calculate and return the temperature derivative of fugacity coefficients of the phase.
Method to calculate and return the molar composition derivative of fugacity coefficients of the phase.
drho_dP()Method to calculate and return the pressure derivative of molar density of the phase.
drho_dP_A([property, differentiate_by, ...])Method to calculate and return the pressure derivative of density of the phase at constant Helmholtz energy.
drho_dP_G([property, differentiate_by, ...])Method to calculate and return the pressure derivative of density of the phase at constant Gibbs energy.
drho_dP_H([property, differentiate_by, ...])Method to calculate and return the pressure derivative of density of the phase at constant enthalpy.
drho_dP_S([property, differentiate_by, ...])Method to calculate and return the pressure derivative of density of the phase at constant entropy.
drho_dP_U([property, differentiate_by, ...])Method to calculate and return the pressure derivative of density of the phase at constant internal energy.
drho_dT()Method to calculate and return the temperature derivative of molar density of the phase.
drho_dT_A([property, differentiate_by, ...])Method to calculate and return the temperature derivative of density of the phase at constant Helmholtz energy.
drho_dT_G([property, differentiate_by, ...])Method to calculate and return the temperature derivative of density of the phase at constant Gibbs energy.
drho_dT_H([property, differentiate_by, ...])Method to calculate and return the temperature derivative of density of the phase at constant enthalpy.
drho_dT_S([property, differentiate_by, ...])Method to calculate and return the temperature derivative of density of the phase at constant entropy.
drho_dT_U([property, differentiate_by, ...])Method to calculate and return the temperature derivative of density of the phase at constant internal energy.
Method to calculate and return the temperature derivative of molar density of the phase at constant volume.
drho_dV_A([property, differentiate_by, ...])Method to calculate and return the volume derivative of density of the phase at constant Helmholtz energy.
drho_dV_G([property, differentiate_by, ...])Method to calculate and return the volume derivative of density of the phase at constant Gibbs energy.
drho_dV_H([property, differentiate_by, ...])Method to calculate and return the volume derivative of density of the phase at constant enthalpy.
drho_dV_S([property, differentiate_by, ...])Method to calculate and return the volume derivative of density of the phase at constant entropy.
Method to calculate and return the volume derivative of molar density of the phase.
drho_dV_U([property, differentiate_by, ...])Method to calculate and return the volume derivative of density of the phase at constant internal energy.
Method to calculate the mass density derivative with respect to pressure, at constant temperature.
Method to calculate the mass density derivative with respect to temperature, at constant pressure.
Method to calculate the pressure derivative of speed of sound at constant temperature in molar units.
Method to calculate the temperature derivative of speed of sound at constant pressure in molar units.
from_json(json_repr[, cache])Method to create a phase from a JSON serialization of another phase.
Method to calculate and return the fugacities of the phase.
fugacities_at_zs(zs[, most_stable])Method to directly calculate the figacities at a different composition than the current phase.
Method to calculate and return the fugacities of the phase.
fugacity()Method to calculate and return the fugacity of the phase; provided the phase is 1 component.
gammas()Method to calculate and return the activity coefficients of the phase, [-].
Calculate and return the infinite dilution activity coefficients of each component.
Method to calculate and return the effective quantiy of helium in the phase as a molar weight, [g/mol].
Method to calculate and return the ideal partial pressure of helium, [Pa]
Method to calculate and return the humidity ratio of the phase; normally defined as the kg water/kg dry air, the definition here is kg water/(kg rest of the phase) [-]
Method to calculate and return the effective quantiy of hydrogen in the phase as a molar weight, [g/mol].
Method to calculate and return the ideal partial pressure of hydrogen, [Pa]
Method to calculate and return the effective quantiy of hydrogen_sulfide in the phase as a molar weight, [g/mol].
Method to calculate and return the ideal partial pressure of hydrogen_sulfide, [Pa]
is_same_model(other_phase[, ignore_phase])Method to check whether or not a model is the exact same as another.
Method to calculate and return the real gas isentropic exponent of the phase, which satisfies the relationship .
Method to calculate and return the real gas isentropic exponent of the phase, which satisfies the relationship .
Method to calculate and return the real gas isentropic exponent of the phase, which satisfies the relationship .
Method to calculate and return the real gas isentropic exponent of the phase, which satisfies the relationship .
Method to calculate and return the isobatic expansion coefficient of the phase.
Method to calculate and return the isothermal bulk modulus of the phase.
Method to calculate and return the isothermal compressibility of the phase.
kappa()Method to calculate and return the isothermal compressibility of the phase.
kgs()Method to calculate and return the pure-component gas temperature-dependent thermal conductivity of each species from the
thermo.thermal_conductivity.ThermalConductivityGasobjects.Method to calculate and return the kinematic viscosity of the phase, [m^2/s]
kls()Method to calculate and return the pure-component liquid temperature-dependent thermal conductivity of each species from the
thermo.thermal_conductivity.ThermalConductivityLiquidobjects.Method to calculate and return the log of fugacities of the phase.
lnphi()Method to calculate and return the log of fugacity coefficient of the phase; provided the phase is 1 component.
lnphis()Method to calculate and return the log of fugacity coefficients of each component in the phase.
Method to calculate and return the log fugacity coefficients of the phase.
lnphis_at_zs(zs[, most_stable])Method to directly calculate the log fugacity coefficients at a different composition than the current phase.
log_zs()Method to calculate and return the log of mole fractions specified.
Method to calculate and return the effective quantiy of methane in the phase as a molar weight, [g/mol].
Method to calculate and return the ideal partial pressure of methane, [Pa]
model_hash([ignore_phase])Method to compute a hash of a phase.
mu()mugs()Method to calculate and return the pure-component gas temperature-dependent viscosity of each species from the
thermo.viscosity.ViscosityGasobjects.muls()Method to calculate and return the pure-component liquid temperature-dependent viscosity of each species from the
thermo.viscosity.ViscosityLiquidobjects.Method to calculate and return the effective quantiy of nitrogen in the phase as a molar weight, [g/mol].
Method to calculate and return the ideal partial pressure of nitrogen, [Pa]
nu()Method to calculate and return the kinematic viscosity of the phase, [m^2/s]
Method to calculate and return the effective quantiy of oxygen in the phase as a molar weight, [g/mol].
Method to calculate and return the ideal partial pressure of oxygen, [Pa]
Method to return the partial pressures of each component in the phase.
phi()Method to calculate and return the fugacity coefficient of the phase; provided the phase is 1 component.
phis()Method to calculate and return the fugacity coefficients of the phase.
Method to calculate and return the pseudocritical pressure calculated using Kay's rule (linear mole fractions):
Method to calculate and return the pseudocritical temperature calculated using Kay's rule (linear mole fractions):
Method to calculate and return the pseudocritical volume calculated using Kay's rule (linear mole fractions):
Method to calculate and return the pseudocritical compressibility calculated using Kay's rule (linear mole fractions):
Method to calculate and return the pseudocritical acentric factor calculated using Kay's rule (linear mole fractions):
rho()Method to calculate and return the molar density of the phase.
rho_gas()Method to calculate and return the ideal-gas molar density of the phase at the chosen reference temperature and pressure, according to the temperature variable T_gas_ref and pressure variable P_gas_ref of the
thermo.bulk.BulkSettings.Method to calculate and return the ideal-gas molar density of the phase at the normal temperature and pressure, according to the temperature variable T_normal and pressure variable P_normal of the
thermo.bulk.BulkSettings.Method to calculate and return the ideal-gas molar density of the phase at the standard temperature and pressure, according to the temperature variable T_standard and pressure variable P_standard of the
thermo.bulk.BulkSettings.rho_mass()Method to calculate and return mass density of the phase.
Method to calculate and return the ideal-gas mass density of the phase at the chosen reference temperature and pressure, according to the temperature variable T_gas_ref and pressure variable P_gas_ref of the
thermo.bulk.BulkSettings.Method to calculate and return the ideal-gas mass density of the phase at the normal temperature and pressure, according to the temperature variable T_normal and pressure variable P_normal of the
thermo.bulk.BulkSettings.Method to calculate and return the ideal-gas mass density of the phase at the standard temperature and pressure, according to the temperature variable T_standard and pressure variable P_standard of the
thermo.bulk.BulkSettings.Method to calculate and return the liquid reference mass density according to the temperature variable T_liquid_volume_ref of
thermo.bulk.BulkSettingsand the composition of the phase.sigma()Calculate and return the surface tension of the phase.
sigmas()Method to calculate and return the pure-component surface tensions of each species from the
thermo.interface.SurfaceTensionobjects.Method to calculate and return the molar speed of sound of the phase.
Method to calculate and return the molar speed of sound of an ideal gas phase at the current conditions.
Method to calculate and return the mass speed of sound of an ideal gas phase at the current conditions.
Method to calculate and return the speed of sound of the phase.
Basic method to calculate a hash of the state of the phase and its model parameters.
Method to calculate and return the thermal diffusivity of the phase.
to(zs[, T, P, V])Method to create a new Phase object with the same constants as the existing Phase but at different conditions.
to_TP_zs(T, P, zs)Method to create a new Phase object with the same constants as the existing Phase but at a different T and P.
value(name)Method to retrieve a property from a string.
Method to calculate and return the effective quantiy of water in the phase as a molar weight, [g/mol].
Method to calculate and return the ideal partial pressure of water, [Pa]
ws()Method to calculate and return the mass fractions of the phase, [-]
Method to calculate and return the mass fractions of all species in the phase, normalized to a water-free basis (the mass fraction of water returned is zero).
Method to calculate and return the mole fractions of all species in the phase, normalized to a water-free basis (the mole fraction of water returned is zero).
G_ideal_gas_standard_state
Gs_ideal_gas_standard_state
H_ideal_gas_standard_state
Hs_ideal_gas_standard_state
S_ideal_gas_standard_state
Ss_ideal_gas_standard_state
as_EquilibriumState
as_EquilibriumStream
d2G_mass_dP2
d2G_mass_dPdT
d2G_mass_dT2
d2G_mass_dTdP
dnH_dns
lnphis_lowest_Gibbs
molar_water_content
- A()[source]¶
Method to calculate and return the Helmholtz energy of the phase.
- Returns:
- A
float Helmholtz energy, [J/mol]
- A
- A_dep()[source]¶
Method to calculate and return the departure Helmholtz energy of the phase.
- Returns:
- A_dep
float Departure Helmholtz energy, [J/mol]
- A_dep
- A_dep_flow()¶
Method to return the flow rate of the difference between the ideal-gas Helmholtz energy of this phase and the Helmholtz energy of the phase This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- A_dep_flow
float Flow rate of departure Helmholtz energy, [J/s]
- A_dep_flow
- A_dep_mass()[source]¶
Method to calculate and return the departure mass Helmholtz energy of the phase.
- Returns:
- A_dep_mass
float Departure mass Helmholtz energy, [J/kg]
- A_dep_mass
- A_flow()¶
Method to return the flow rate of Helmholtz energy of this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- A_flow
float Flow rate of Helmholtz energy, [J/s]
- A_flow
- A_formation_ideal_gas()[source]¶
Method to calculate and return the ideal-gas Helmholtz energy of formation of the phase (as if the phase was an ideal gas).
- Returns:
- A_formation_ideal_gas
float Helmholtz energy of formation of the phase on a formation basis as an ideal gas, [J/(mol)]
- A_formation_ideal_gas
- A_formation_ideal_gas_mass()[source]¶
Method to calculate and return the ideal-gas formation mass Helmholtz energy of the phase.
- Returns:
- A_formation_ideal_gas_mass
float Formation mass Helmholtz energy, [J/kg]
- A_formation_ideal_gas_mass
- A_ideal_gas()[source]¶
Method to calculate and return the ideal-gas Helmholtz energy of the phase.
- Returns:
- A_ideal_gas
float Ideal gas Helmholtz free energy, [J/(mol)]
- A_ideal_gas
- A_ideal_gas_mass()[source]¶
Method to calculate and return the mass ideal-gas Helmholtz energy of the phase.
- Returns:
- A_ideal_gas_mass
float Ideal gas mass Helmholtz free energy, [J/(kg)]
- A_ideal_gas_mass
- A_mass()[source]¶
Method to calculate and return mass Helmholtz energy of the phase.
- Returns:
- A_mass
float Mass Helmholtz energy, [J/(kg)]
- A_mass
- A_reactive()[source]¶
Method to calculate and return the Helmholtz free energy of the phase on a reactive basis.
- Returns:
- A_reactive
float Helmholtz free energy of the phase on a reactive basis, [J/(mol)]
- A_reactive
- A_reactive_mass()[source]¶
Method to calculate and return mass Helmholtz energy on a reactive basis of the phase.
- Returns:
- A_reactive_mass
float Mass Helmholtz energy on a reactive basis, [J/kg]
- A_reactive_mass
- Actinium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Actinium, [atoms/s]
- Actinium_atom_flow()¶
Method to calculate and return the mole flow that is Actinium, [mol/s]
- Actinium_atom_fraction()¶
Method to calculate and return the mole fraction that is Actinium element, [-]
- Actinium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Actinium element, [kg/s]
- Actinium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Actinium element, [-]
- Aluminium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Aluminium, [atoms/s]
- Aluminium_atom_flow()¶
Method to calculate and return the mole flow that is Aluminium, [mol/s]
- Aluminium_atom_fraction()¶
Method to calculate and return the mole fraction that is Aluminium element, [-]
- Aluminium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Aluminium element, [kg/s]
- Aluminium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Aluminium element, [-]
- Americium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Americium, [atoms/s]
- Americium_atom_flow()¶
Method to calculate and return the mole flow that is Americium, [mol/s]
- Americium_atom_fraction()¶
Method to calculate and return the mole fraction that is Americium element, [-]
- Americium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Americium element, [kg/s]
- Americium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Americium element, [-]
- Antimony_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Antimony, [atoms/s]
- Antimony_atom_flow()¶
Method to calculate and return the mole flow that is Antimony, [mol/s]
- Antimony_atom_fraction()¶
Method to calculate and return the mole fraction that is Antimony element, [-]
- Antimony_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Antimony element, [kg/s]
- Antimony_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Antimony element, [-]
- Argon_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Argon, [atoms/s]
- Argon_atom_flow()¶
Method to calculate and return the mole flow that is Argon, [mol/s]
- Argon_atom_fraction()¶
Method to calculate and return the mole fraction that is Argon element, [-]
- Argon_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Argon element, [kg/s]
- Argon_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Argon element, [-]
- Arsenic_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Arsenic, [atoms/s]
- Arsenic_atom_flow()¶
Method to calculate and return the mole flow that is Arsenic, [mol/s]
- Arsenic_atom_fraction()¶
Method to calculate and return the mole fraction that is Arsenic element, [-]
- Arsenic_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Arsenic element, [kg/s]
- Arsenic_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Arsenic element, [-]
- Astatine_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Astatine, [atoms/s]
- Astatine_atom_flow()¶
Method to calculate and return the mole flow that is Astatine, [mol/s]
- Astatine_atom_fraction()¶
Method to calculate and return the mole fraction that is Astatine element, [-]
- Astatine_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Astatine element, [kg/s]
- Astatine_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Astatine element, [-]
- Barium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Barium, [atoms/s]
- Barium_atom_flow()¶
Method to calculate and return the mole flow that is Barium, [mol/s]
- Barium_atom_fraction()¶
Method to calculate and return the mole fraction that is Barium element, [-]
- Barium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Barium element, [kg/s]
- Barium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Barium element, [-]
- Berkelium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Berkelium, [atoms/s]
- Berkelium_atom_flow()¶
Method to calculate and return the mole flow that is Berkelium, [mol/s]
- Berkelium_atom_fraction()¶
Method to calculate and return the mole fraction that is Berkelium element, [-]
- Berkelium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Berkelium element, [kg/s]
- Berkelium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Berkelium element, [-]
- Beryllium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Beryllium, [atoms/s]
- Beryllium_atom_flow()¶
Method to calculate and return the mole flow that is Beryllium, [mol/s]
- Beryllium_atom_fraction()¶
Method to calculate and return the mole fraction that is Beryllium element, [-]
- Beryllium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Beryllium element, [kg/s]
- Beryllium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Beryllium element, [-]
- Bismuth_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Bismuth, [atoms/s]
- Bismuth_atom_flow()¶
Method to calculate and return the mole flow that is Bismuth, [mol/s]
- Bismuth_atom_fraction()¶
Method to calculate and return the mole fraction that is Bismuth element, [-]
- Bismuth_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Bismuth element, [kg/s]
- Bismuth_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Bismuth element, [-]
- Bohrium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Bohrium, [atoms/s]
- Bohrium_atom_flow()¶
Method to calculate and return the mole flow that is Bohrium, [mol/s]
- Bohrium_atom_fraction()¶
Method to calculate and return the mole fraction that is Bohrium element, [-]
- Bohrium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Bohrium element, [kg/s]
- Bohrium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Bohrium element, [-]
- Boron_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Boron, [atoms/s]
- Boron_atom_flow()¶
Method to calculate and return the mole flow that is Boron, [mol/s]
- Boron_atom_fraction()¶
Method to calculate and return the mole fraction that is Boron element, [-]
- Boron_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Boron element, [kg/s]
- Boron_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Boron element, [-]
- Bromine_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Bromine, [atoms/s]
- Bromine_atom_flow()¶
Method to calculate and return the mole flow that is Bromine, [mol/s]
- Bromine_atom_fraction()¶
Method to calculate and return the mole fraction that is Bromine element, [-]
- Bromine_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Bromine element, [kg/s]
- Bromine_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Bromine element, [-]
- Bvirial()[source]¶
Method to calculate and return the B virial coefficient of the phase at its current conditions.
- Returns:
- Bvirial
float Virial coefficient, [m^3/mol]
- Bvirial
- property CASis¶
CAS registration numbers as integeres for each component, [-].
- property CASs¶
CAS registration numbers for each component, [-].
- Cadmium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Cadmium, [atoms/s]
- Cadmium_atom_flow()¶
Method to calculate and return the mole flow that is Cadmium, [mol/s]
- Cadmium_atom_fraction()¶
Method to calculate and return the mole fraction that is Cadmium element, [-]
- Cadmium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Cadmium element, [kg/s]
- Cadmium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Cadmium element, [-]
- Caesium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Caesium, [atoms/s]
- Caesium_atom_flow()¶
Method to calculate and return the mole flow that is Caesium, [mol/s]
- Caesium_atom_fraction()¶
Method to calculate and return the mole fraction that is Caesium element, [-]
- Caesium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Caesium element, [kg/s]
- Caesium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Caesium element, [-]
- Calcium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Calcium, [atoms/s]
- Calcium_atom_flow()¶
Method to calculate and return the mole flow that is Calcium, [mol/s]
- Calcium_atom_fraction()¶
Method to calculate and return the mole fraction that is Calcium element, [-]
- Calcium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Calcium element, [kg/s]
- Calcium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Calcium element, [-]
- Californium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Californium, [atoms/s]
- Californium_atom_flow()¶
Method to calculate and return the mole flow that is Californium, [mol/s]
- Californium_atom_fraction()¶
Method to calculate and return the mole fraction that is Californium element, [-]
- Californium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Californium element, [kg/s]
- Californium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Californium element, [-]
- Carbon_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Carbon, [atoms/s]
- Carbon_atom_flow()¶
Method to calculate and return the mole flow that is Carbon, [mol/s]
- Carbon_atom_fraction()¶
Method to calculate and return the mole fraction that is Carbon element, [-]
- Carbon_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Carbon element, [kg/s]
- Carbon_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Carbon element, [-]
- property Carcinogens¶
Status of each component in cancer causing registries, [-].
- property Ceilings¶
Ceiling exposure limits to chemicals (and their units; ppm or mg/m^3), [various].
- Cerium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Cerium, [atoms/s]
- Cerium_atom_flow()¶
Method to calculate and return the mole flow that is Cerium, [mol/s]
- Cerium_atom_fraction()¶
Method to calculate and return the mole fraction that is Cerium element, [-]
- Cerium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Cerium element, [kg/s]
- Cerium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Cerium element, [-]
- Chlorine_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Chlorine, [atoms/s]
- Chlorine_atom_flow()¶
Method to calculate and return the mole flow that is Chlorine, [mol/s]
- Chlorine_atom_fraction()¶
Method to calculate and return the mole fraction that is Chlorine element, [-]
- Chlorine_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Chlorine element, [kg/s]
- Chlorine_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Chlorine element, [-]
- Chromium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Chromium, [atoms/s]
- Chromium_atom_flow()¶
Method to calculate and return the mole flow that is Chromium, [mol/s]
- Chromium_atom_fraction()¶
Method to calculate and return the mole fraction that is Chromium element, [-]
- Chromium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Chromium element, [kg/s]
- Chromium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Chromium element, [-]
- Cobalt_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Cobalt, [atoms/s]
- Cobalt_atom_flow()¶
Method to calculate and return the mole flow that is Cobalt, [mol/s]
- Cobalt_atom_fraction()¶
Method to calculate and return the mole fraction that is Cobalt element, [-]
- Cobalt_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Cobalt element, [kg/s]
- Cobalt_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Cobalt element, [-]
- Copernicium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Copernicium, [atoms/s]
- Copernicium_atom_flow()¶
Method to calculate and return the mole flow that is Copernicium, [mol/s]
- Copernicium_atom_fraction()¶
Method to calculate and return the mole fraction that is Copernicium element, [-]
- Copernicium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Copernicium element, [kg/s]
- Copernicium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Copernicium element, [-]
- Copper_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Copper, [atoms/s]
- Copper_atom_flow()¶
Method to calculate and return the mole flow that is Copper, [mol/s]
- Copper_atom_fraction()¶
Method to calculate and return the mole fraction that is Copper element, [-]
- Copper_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Copper element, [kg/s]
- Copper_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Copper element, [-]
- Cp()[source]¶
Method to calculate and return the constant-pressure heat capacity of the phase.
- Returns:
- Cp
float Molar heat capacity, [J/(mol*K)]
- Cp
- Cp_Cv_ratio()[source]¶
Method to calculate and return the Cp/Cv ratio of the phase.
- Returns:
- Cp_Cv_ratio
float Cp/Cv ratio, [-]
- Cp_Cv_ratio
- Cp_Cv_ratio_ideal_gas()[source]¶
Method to calculate and return the ratio of the ideal-gas heat capacity to its constant-volume heat capacity.
- Returns:
- Cp_Cv_ratio_ideal_gas
float Cp/Cv for the phase as an ideal gas, [-]
- Cp_Cv_ratio_ideal_gas
- Cp_dep()[source]¶
Method to calculate and return the difference between the actual Cp and the ideal-gas constant pressure heat capacity of the phase.
- Returns:
- Cp_dep
float Departure ideal gas constant pressure heat capacity, [J/(mol*K)]
- Cp_dep
- Cp_dep_mass()[source]¶
Method to calculate and return mass constant pressure departure heat capacity of the phase.
- Returns:
- Cp_dep_mass
float Mass departure heat capacity, [J/(kg*K)]
- Cp_dep_mass
- Cp_ideal_gas()[source]¶
Method to calculate and return the ideal-gas heat capacity of the phase.
- Returns:
- Cp
float Ideal gas heat capacity, [J/(mol*K)]
- Cp
- Cp_ideal_gas_mass()[source]¶
Method to calculate and return mass constant pressure departure heat capacity of the phase.
- Returns:
- Cp_ideal_gas_mass
float Mass departure heat capacity, [J/(kg*K)]
- Cp_ideal_gas_mass
- Cp_mass()[source]¶
Method to calculate and return mass constant pressure heat capacity of the phase.
- Returns:
- Cp_mass
float Mass heat capacity, [J/(kg*K)]
- Cp_mass
- Cpgs()¶
Method to calculate and return the pure-component ideal gas heat capacities of each species from the
thermo.heat_capacity.HeatCapacityGasobjects.
- Cpig_integrals_over_T_pure()[source]¶
Method to calculate and return the integrals of the ideal-gas heat capacities divided by temperature of every component in the phase from a temperature of
Phase.T_REF_IGto the system temperature. This method is powered by the HeatCapacityGases objects, except when all components have the same heat capacity form and a fast implementation has been written for it (currently only polynomials).
- Cpig_integrals_pure()[source]¶
Method to calculate and return the integrals of the ideal-gas heat capacities of every component in the phase from a temperature of
Phase.T_REF_IGto the system temperature. This method is powered by the HeatCapacityGases objects, except when all components have the same heat capacity form and a fast implementation has been written for it (currently only polynomials).
- Cpigs_pure()[source]¶
Method to calculate and return the ideal-gas heat capacities of every component in the phase. This method is powered by the HeatCapacityGases objects, except when all components have the same heat capacity form and a fast implementation has been written for it (currently only polynomials).
- Cpls()¶
Method to calculate and return the pure-component liquid temperature-dependent heat capacities of each species from the
thermo.heat_capacity.HeatCapacityLiquidobjects.Note that some correlation methods for liquid heat capacity are at low pressure, and others are along the saturation line. There is a large difference in values.
- Cpss()¶
Method to calculate and return the pure-component solid heat capacities of each species from the
thermo.heat_capacity.HeatCapacitySolidobjects.
- Curium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Curium, [atoms/s]
- Curium_atom_flow()¶
Method to calculate and return the mole flow that is Curium, [mol/s]
- Curium_atom_fraction()¶
Method to calculate and return the mole fraction that is Curium element, [-]
- Curium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Curium element, [kg/s]
- Curium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Curium element, [-]
- Cv()[source]¶
Method to calculate and return the constant-volume heat capacity Cv of the phase.
- Returns:
- Cv
float Constant volume molar heat capacity, [J/(mol*K)]
- Cv
- Cv_dep()[source]¶
Method to calculate and return the difference between the actual Cv and the ideal-gas constant volume heat capacity of the phase.
- Returns:
- Cv_dep
float Departure ideal gas constant volume heat capacity, [J/(mol*K)]
- Cv_dep
- Cv_dep_mass()[source]¶
Method to calculate and return mass constant pressure departure heat capacity of the phase.
- Returns:
- Cv_dep_mass
float Mass departure heat capacity, [J/(kg*K)]
- Cv_dep_mass
- Cv_ideal_gas()[source]¶
Method to calculate and return the ideal-gas constant volume heat capacity of the phase.
- Returns:
- Cv
float Ideal gas constant volume heat capacity, [J/(mol*K)]
- Cv
- Cv_mass()[source]¶
Method to calculate and return mass constant volume heat capacity of the phase.
- Returns:
- Cv_mass
float Mass constant volume heat capacity, [J/(kg*K)]
- Cv_mass
- Darmstadtium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Darmstadtium, [atoms/s]
- Darmstadtium_atom_flow()¶
Method to calculate and return the mole flow that is Darmstadtium, [mol/s]
- Darmstadtium_atom_fraction()¶
Method to calculate and return the mole fraction that is Darmstadtium element, [-]
- Darmstadtium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Darmstadtium element, [kg/s]
- Darmstadtium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Darmstadtium element, [-]
- Dubnium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Dubnium, [atoms/s]
- Dubnium_atom_flow()¶
Method to calculate and return the mole flow that is Dubnium, [mol/s]
- Dubnium_atom_fraction()¶
Method to calculate and return the mole fraction that is Dubnium element, [-]
- Dubnium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Dubnium element, [kg/s]
- Dubnium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Dubnium element, [-]
- Dysprosium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Dysprosium, [atoms/s]
- Dysprosium_atom_flow()¶
Method to calculate and return the mole flow that is Dysprosium, [mol/s]
- Dysprosium_atom_fraction()¶
Method to calculate and return the mole fraction that is Dysprosium element, [-]
- Dysprosium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Dysprosium element, [kg/s]
- Dysprosium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Dysprosium element, [-]
- Einsteinium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Einsteinium, [atoms/s]
- Einsteinium_atom_flow()¶
Method to calculate and return the mole flow that is Einsteinium, [mol/s]
- Einsteinium_atom_fraction()¶
Method to calculate and return the mole fraction that is Einsteinium element, [-]
- Einsteinium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Einsteinium element, [kg/s]
- Einsteinium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Einsteinium element, [-]
- Erbium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Erbium, [atoms/s]
- Erbium_atom_flow()¶
Method to calculate and return the mole flow that is Erbium, [mol/s]
- Erbium_atom_fraction()¶
Method to calculate and return the mole fraction that is Erbium element, [-]
- Erbium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Erbium element, [kg/s]
- Erbium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Erbium element, [-]
- Europium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Europium, [atoms/s]
- Europium_atom_flow()¶
Method to calculate and return the mole flow that is Europium, [mol/s]
- Europium_atom_fraction()¶
Method to calculate and return the mole fraction that is Europium element, [-]
- Europium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Europium element, [kg/s]
- Europium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Europium element, [-]
- Fermium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Fermium, [atoms/s]
- Fermium_atom_flow()¶
Method to calculate and return the mole flow that is Fermium, [mol/s]
- Fermium_atom_fraction()¶
Method to calculate and return the mole fraction that is Fermium element, [-]
- Fermium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Fermium element, [kg/s]
- Fermium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Fermium element, [-]
- Flerovium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Flerovium, [atoms/s]
- Flerovium_atom_flow()¶
Method to calculate and return the mole flow that is Flerovium, [mol/s]
- Flerovium_atom_fraction()¶
Method to calculate and return the mole fraction that is Flerovium element, [-]
- Flerovium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Flerovium element, [kg/s]
- Flerovium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Flerovium element, [-]
- Fluorine_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Fluorine, [atoms/s]
- Fluorine_atom_flow()¶
Method to calculate and return the mole flow that is Fluorine, [mol/s]
- Fluorine_atom_fraction()¶
Method to calculate and return the mole fraction that is Fluorine element, [-]
- Fluorine_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Fluorine element, [kg/s]
- Fluorine_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Fluorine element, [-]
- Francium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Francium, [atoms/s]
- Francium_atom_flow()¶
Method to calculate and return the mole flow that is Francium, [mol/s]
- Francium_atom_fraction()¶
Method to calculate and return the mole fraction that is Francium element, [-]
- Francium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Francium element, [kg/s]
- Francium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Francium element, [-]
- G()[source]¶
Method to calculate and return the Gibbs free energy of the phase.
- Returns:
- G
float Gibbs free energy, [J/mol]
- G
- property GWPs¶
Global Warming Potentials for each component (impact/mass chemical)/(impact/mass CO2), [-].
- G_dep()[source]¶
Method to calculate and return the departure Gibbs free energy of the phase.
- Returns:
- G_dep
float Departure Gibbs free energy, [J/mol]
- G_dep
- G_dep_flow()¶
Method to return the flow rate of the difference between the ideal-gas Gibbs free energy of this phase and the actual Gibbs free energy of the phase This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- G_dep_flow
float Flow rate of departure Gibbs energy, [J/s]
- G_dep_flow
- G_dep_mass()[source]¶
Method to calculate and return the mass departure Gibbs free energy of the phase.
- Returns:
- G_dep_mass
float Departure mass Gibbs free energy, [J/kg]
- G_dep_mass
- G_dep_phi_consistency()[source]¶
Method to calculate and return a consistency check between departure Gibbs free energy, and the fugacity coefficients.
- Returns:
- error
float Relative consistency error , [-]
- error
- G_flow()¶
Method to return the flow rate of Gibbs free energy of this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- G_flow
float Flow rate of Gibbs energy, [J/s]
- G_flow
- G_formation_ideal_gas()[source]¶
Method to calculate and return the ideal-gas Gibbs free energy of formation of the phase (as if the phase was an ideal gas).
- Returns:
- G_formation_ideal_gas
float Gibbs free energy of formation of the phase on a formation basis as an ideal gas, [J/(mol)]
- G_formation_ideal_gas
- G_formation_ideal_gas_mass()[source]¶
Method to calculate and return the mass ideal-gas formation Gibbs free energy of the phase.
- Returns:
- G_formation_ideal_gas_mass
float Formation mass Gibbs free energy, [J/kg]
- G_formation_ideal_gas_mass
- G_ideal_gas()[source]¶
Method to calculate and return the ideal-gas Gibbs free energy of the phase.
- Returns:
- G_ideal_gas
float Ideal gas free energy, [J/(mol)]
- G_ideal_gas
- G_ideal_gas_mass()[source]¶
Method to calculate and return the mass ideal-gas Gibbs free energy of the phase.
- Returns:
- G_ideal_gas_mass
float Ideal gas mass free energy, [J/(kg)]
- G_ideal_gas_mass
- G_mass()[source]¶
Method to calculate and return mass Gibbs energy of the phase.
- Returns:
- G_mass
float Mass Gibbs energy, [J/(kg)]
- G_mass
- G_min()¶
Method to calculate and return the Gibbs free energy of the phase.
- Returns:
- G
float Gibbs free energy, [J/mol]
- G
- G_min_criteria()[source]¶
Method to calculate and return the Gibbs energy criteria required for comparing phase stability. This calculation can be faster than calculating the full Gibbs energy. For this comparison to work, all phases must use the ideal gas basis.
- Returns:
- G_crit
float Gibbs free energy like criteria [J/mol]
- G_crit
- G_reactive()[source]¶
Method to calculate and return the Gibbs free energy of the phase on a reactive basis.
- Returns:
- G_reactive
float Gibbs free energy of the phase on a reactive basis, [J/(mol)]
- G_reactive
- G_reactive_mass()[source]¶
Method to calculate and return mass Gibbs free energy on a reactive basis of the phase.
- Returns:
- G_reactive_mass
float Gibbs free energy on a reactive basis, [J/kg]
- G_reactive_mass
- Gadolinium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Gadolinium, [atoms/s]
- Gadolinium_atom_flow()¶
Method to calculate and return the mole flow that is Gadolinium, [mol/s]
- Gadolinium_atom_fraction()¶
Method to calculate and return the mole fraction that is Gadolinium element, [-]
- Gadolinium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Gadolinium element, [kg/s]
- Gadolinium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Gadolinium element, [-]
- Gallium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Gallium, [atoms/s]
- Gallium_atom_flow()¶
Method to calculate and return the mole flow that is Gallium, [mol/s]
- Gallium_atom_fraction()¶
Method to calculate and return the mole fraction that is Gallium element, [-]
- Gallium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Gallium element, [kg/s]
- Gallium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Gallium element, [-]
- Germanium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Germanium, [atoms/s]
- Germanium_atom_flow()¶
Method to calculate and return the mole flow that is Germanium, [mol/s]
- Germanium_atom_fraction()¶
Method to calculate and return the mole fraction that is Germanium element, [-]
- Germanium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Germanium element, [kg/s]
- Germanium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Germanium element, [-]
- property Gfgs¶
Ideal gas standard molar Gibbs free energy of formation for each component, [J/mol].
- property Gfgs_mass¶
Ideal gas standard Gibbs free energy of formation for each component, [J/kg].
- Gold_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Gold, [atoms/s]
- Gold_atom_flow()¶
Method to calculate and return the mole flow that is Gold, [mol/s]
- Gold_atom_fraction()¶
Method to calculate and return the mole fraction that is Gold element, [-]
- Gold_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Gold element, [kg/s]
- Gold_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Gold element, [-]
- H()[source]¶
Method to calculate and return the enthalpy of the phase. The reference state for most subclasses is an ideal-gas enthalpy of zero at 298.15 K and 101325 Pa.
- Returns:
- H
float Molar enthalpy, [J/(mol)]
- H
- H_C_ratio()¶
Method to calculate and return the atomic ratio of hydrogen atoms to carbon atoms, based on the current composition of the phase.
- Returns:
- H_C_ratio
float H/C ratio on a molar basis, [-]
- H_C_ratio
Notes
None is returned if no species are present that have carbon atoms.
- H_C_ratio_mass()¶
Method to calculate and return the mass ratio of hydrogen atoms to carbon atoms, based on the current composition of the phase.
- Returns:
- H_C_ratio_mass
float H/C ratio on a mass basis, [-]
- H_C_ratio_mass
Notes
None is returned if no species are present that have carbon atoms.
- property H_calc¶
- H_dep_flow()¶
Method to return the flow rate of the difference between the ideal-gas energy of this phase and the actual energy of the phase This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- H_dep_flow
float Flow rate of departure energy, [J/s]
- H_dep_flow
- H_dep_mass()[source]¶
Method to calculate and return the mass departure enthalpy of the phase.
- Returns:
- H_dep_mass
float Departure mass enthalpy free energy, [J/kg]
- H_dep_mass
- H_dep_phi_consistency()[source]¶
Method to calculate and return a consistency check between departure enthalpy, and the fugacity coefficients’ temperature derivatives.
- Returns:
- error
float Relative consistency error , [-]
- error
- H_flow()¶
Method to return the flow rate of enthalpy of this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- H_flow
float Flow rate of energy, [J/s]
- H_flow
- H_formation_ideal_gas()[source]¶
Method to calculate and return the ideal-gas enthalpy of formation of the phase (as if the phase was an ideal gas).
- Returns:
- H_formation_ideal_gas
float Enthalpy of formation of the phase on a formation basis as an ideal gas, [J/mol]
- H_formation_ideal_gas
- H_formation_ideal_gas_mass()[source]¶
Method to calculate and return the mass ideal-gas formation enthalpy of the phase.
- Returns:
- H_formation_ideal_gas_mass
float Formation mass enthalpy, [J/kg]
- H_formation_ideal_gas_mass
- H_from_phi()[source]¶
Method to calculate and return the enthalpy of the fluid as calculated from the ideal-gas enthalpy and the the fugacity coefficients’ temperature derivatives.
- Returns:
- H
float Enthalpy as calculated from fugacity coefficient temperature derivatives [J/mol]
- H
- H_ideal_gas()[source]¶
Method to calculate and return the ideal-gas enthalpy of the phase.
- Returns:
- H
float Ideal gas enthalpy, [J/(mol)]
- H
- H_ideal_gas_mass()[source]¶
Method to calculate and return the mass ideal-gas enthalpy of the phase.
- Returns:
- H_ideal_gas_mass
float Ideal gas mass enthalpy, [J/(kg)]
- H_ideal_gas_mass
- H_mass()[source]¶
Method to calculate and return mass enthalpy of the phase.
- Returns:
- H_mass
float Mass enthalpy, [J/kg]
- H_mass
- H_phi_consistency()[source]¶
Method to calculate and return a consistency check between ideal gas enthalpy behavior, and the fugacity coefficients and their temperature derivatives.
- Returns:
- error
float Relative consistency error , [-]
- error
- H_reactive()[source]¶
Method to calculate and return the enthalpy of the phase on a reactive basis, using the Hfs values of the phase.
- Returns:
- H_reactive
float Enthalpy of the phase on a reactive basis, [J/mol]
- H_reactive
- H_reactive_mass()[source]¶
Method to calculate and return mass enthalpy on a reactive basis of the phase.
- Returns:
- H_reactive_mass
float Mass enthalpy on a reactive basis, [J/kg]
- H_reactive_mass
- Hafnium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Hafnium, [atoms/s]
- Hafnium_atom_flow()¶
Method to calculate and return the mole flow that is Hafnium, [mol/s]
- Hafnium_atom_fraction()¶
Method to calculate and return the mole fraction that is Hafnium element, [-]
- Hafnium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Hafnium element, [kg/s]
- Hafnium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Hafnium element, [-]
- Hassium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Hassium, [atoms/s]
- Hassium_atom_flow()¶
Method to calculate and return the mole flow that is Hassium, [mol/s]
- Hassium_atom_fraction()¶
Method to calculate and return the mole fraction that is Hassium element, [-]
- Hassium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Hassium element, [kg/s]
- Hassium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Hassium element, [-]
- Hc()¶
Method to calculate and return the molar ideal-gas higher heat of combustion of the object, [J/mol]
- Returns:
- Hc
float Molar higher heat of combustion, [J/(mol)]
- Hc
- Hc_lower()¶
Method to calculate and return the molar ideal-gas lower heat of combustion of the object, [J/mol]
- Returns:
- Hc_lower
float Molar lower heat of combustion, [J/(mol)]
- Hc_lower
- Hc_lower_mass()¶
Method to calculate and return the mass ideal-gas lower heat of combustion of the object, [J/mol]
- Returns:
- Hc_lower_mass
float Mass lower heat of combustion, [J/(kg)]
- Hc_lower_mass
- Hc_lower_normal()¶
Method to calculate and return the volumetric ideal-gas lower heat of combustion of the object using the normal gas volume, [J/m^3]
- Returns:
- Hc_lower_normal
float Volumetric (normal) lower heat of combustion, [J/(m^3)]
- Hc_lower_normal
- Hc_lower_standard()¶
Method to calculate and return the volumetric ideal-gas lower heat of combustion of the object using the standard gas volume, [J/m^3]
- Returns:
- Hc_lower_standard
float Volumetric (standard) lower heat of combustion, [J/(m^3)]
- Hc_lower_standard
- Hc_mass()¶
Method to calculate and return the mass ideal-gas higher heat of combustion of the object, [J/mol]
- Returns:
- Hc_mass
float Mass higher heat of combustion, [J/(kg)]
- Hc_mass
- Hc_normal()¶
Method to calculate and return the volumetric ideal-gas higher heat of combustion of the object using the normal gas volume, [J/m^3]
- Returns:
- Hc_normal
float Volumetric (normal) higher heat of combustion, [J/(m^3)]
- Hc_normal
- Hc_standard()¶
Method to calculate and return the volumetric ideal-gas higher heat of combustion of the object using the standard gas volume, [J/m^3]
- Returns:
- Hc_normal
float Volumetric (standard) higher heat of combustion, [J/(m^3)]
- Hc_normal
- property Hcs¶
Higher standard molar heats of combustion for each component, [J/mol].
- property Hcs_lower¶
Lower standard molar heats of combustion for each component, [J/mol].
- property Hcs_lower_mass¶
Lower standard heats of combustion for each component, [J/kg].
- property Hcs_mass¶
Higher standard heats of combustion for each component, [J/kg].
- Helium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Helium, [atoms/s]
- Helium_atom_flow()¶
Method to calculate and return the mole flow that is Helium, [mol/s]
- Helium_atom_fraction()¶
Method to calculate and return the mole fraction that is Helium element, [-]
- Helium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Helium element, [kg/s]
- Helium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Helium element, [-]
- property Hf_STPs¶
Standard state molar enthalpies of formation for each component, [J/mol].
- property Hf_STPs_mass¶
Standard state mass enthalpies of formation for each component, [J/kg].
- property Hfgs¶
Ideal gas standard molar enthalpies of formation for each component, [J/mol].
- property Hfgs_mass¶
Ideal gas standard enthalpies of formation for each component, [J/kg].
- property Hfus_Tms¶
Molar heats of fusion for each component at their respective melting points, [J/mol].
- property Hfus_Tms_mass¶
Heats of fusion for each component at their respective melting points, [J/kg].
- Holmium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Holmium, [atoms/s]
- Holmium_atom_flow()¶
Method to calculate and return the mole flow that is Holmium, [mol/s]
- Holmium_atom_fraction()¶
Method to calculate and return the mole fraction that is Holmium element, [-]
- Holmium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Holmium element, [kg/s]
- Holmium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Holmium element, [-]
- property Hsub_Tts¶
Heats of sublimation for each component at their respective triple points, [J/mol].
- property Hsub_Tts_mass¶
Heats of sublimation for each component at their respective triple points, [J/kg].
- Hsubs()¶
Method to calculate and return the pure-component enthalpy of sublimation of each species from the
thermo.phase_change.EnthalpySublimationobjects.Notes
Warning
This is not necessarily consistent with the saturation enthalpy change calculated by a flash algorithm.
- property Hvap_298s¶
Molar heats of vaporization for each component at 298.15 K, [J/mol].
- property Hvap_298s_mass¶
Heats of vaporization for each component at 298.15 K, [J/kg].
- property Hvap_Tbs¶
Molar heats of vaporization for each component at their respective normal boiling points, [J/mol].
- property Hvap_Tbs_mass¶
Heats of vaporization for each component at their respective normal boiling points, [J/kg].
- Hvaps()¶
Method to calculate and return the pure-component enthalpy of vaporization of each species from the
thermo.phase_change.EnthalpyVaporizationobjects.Notes
Warning
This is not necessarily consistent with the saturation enthalpy change calculated by a flash algorithm.
- Hydrogen_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Hydrogen, [atoms/s]
- Hydrogen_atom_flow()¶
Method to calculate and return the mole flow that is Hydrogen, [mol/s]
- Hydrogen_atom_fraction()¶
Method to calculate and return the mole fraction that is Hydrogen element, [-]
- Hydrogen_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Hydrogen element, [kg/s]
- Hydrogen_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Hydrogen element, [-]
- INCOMPRESSIBLE_CONST = 1e+30¶
- property InChI_Keys¶
InChI Keys for each component, [-].
- property InChIs¶
InChI strings for each component, [-].
- Indium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Indium, [atoms/s]
- Indium_atom_flow()¶
Method to calculate and return the mole flow that is Indium, [mol/s]
- Indium_atom_fraction()¶
Method to calculate and return the mole fraction that is Indium element, [-]
- Indium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Indium element, [kg/s]
- Indium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Indium element, [-]
- Iodine_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Iodine, [atoms/s]
- Iodine_atom_flow()¶
Method to calculate and return the mole flow that is Iodine, [mol/s]
- Iodine_atom_fraction()¶
Method to calculate and return the mole fraction that is Iodine element, [-]
- Iodine_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Iodine element, [kg/s]
- Iodine_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Iodine element, [-]
- Iridium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Iridium, [atoms/s]
- Iridium_atom_flow()¶
Method to calculate and return the mole flow that is Iridium, [mol/s]
- Iridium_atom_fraction()¶
Method to calculate and return the mole fraction that is Iridium element, [-]
- Iridium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Iridium element, [kg/s]
- Iridium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Iridium element, [-]
- Iron_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Iron, [atoms/s]
- Iron_atom_flow()¶
Method to calculate and return the mole flow that is Iron, [mol/s]
- Iron_atom_fraction()¶
Method to calculate and return the mole fraction that is Iron element, [-]
- Iron_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Iron element, [kg/s]
- Iron_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Iron element, [-]
- Joule_Thomson()[source]¶
Method to calculate and return the Joule-Thomson coefficient of the phase.
- Returns:
- mu_JT
float Joule-Thomson coefficient [K/Pa]
- mu_JT
- Krypton_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Krypton, [atoms/s]
- Krypton_atom_flow()¶
Method to calculate and return the mole flow that is Krypton, [mol/s]
- Krypton_atom_fraction()¶
Method to calculate and return the mole fraction that is Krypton element, [-]
- Krypton_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Krypton element, [kg/s]
- Krypton_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Krypton element, [-]
- property LFLs¶
Lower flammability limits for each component, [-].
- LOG_P_REF_IG = 11.52608845149651¶
- Lanthanum_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Lanthanum, [atoms/s]
- Lanthanum_atom_flow()¶
Method to calculate and return the mole flow that is Lanthanum, [mol/s]
- Lanthanum_atom_fraction()¶
Method to calculate and return the mole fraction that is Lanthanum element, [-]
- Lanthanum_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Lanthanum element, [kg/s]
- Lanthanum_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Lanthanum element, [-]
- Lawrencium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Lawrencium, [atoms/s]
- Lawrencium_atom_flow()¶
Method to calculate and return the mole flow that is Lawrencium, [mol/s]
- Lawrencium_atom_fraction()¶
Method to calculate and return the mole fraction that is Lawrencium element, [-]
- Lawrencium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Lawrencium element, [kg/s]
- Lawrencium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Lawrencium element, [-]
- Lead_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Lead, [atoms/s]
- Lead_atom_flow()¶
Method to calculate and return the mole flow that is Lead, [mol/s]
- Lead_atom_fraction()¶
Method to calculate and return the mole fraction that is Lead element, [-]
- Lead_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Lead element, [kg/s]
- Lead_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Lead element, [-]
- Lithium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Lithium, [atoms/s]
- Lithium_atom_flow()¶
Method to calculate and return the mole flow that is Lithium, [mol/s]
- Lithium_atom_fraction()¶
Method to calculate and return the mole fraction that is Lithium element, [-]
- Lithium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Lithium element, [kg/s]
- Lithium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Lithium element, [-]
- Livermorium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Livermorium, [atoms/s]
- Livermorium_atom_flow()¶
Method to calculate and return the mole flow that is Livermorium, [mol/s]
- Livermorium_atom_fraction()¶
Method to calculate and return the mole fraction that is Livermorium element, [-]
- Livermorium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Livermorium element, [kg/s]
- Livermorium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Livermorium element, [-]
- Lutetium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Lutetium, [atoms/s]
- Lutetium_atom_flow()¶
Method to calculate and return the mole flow that is Lutetium, [mol/s]
- Lutetium_atom_fraction()¶
Method to calculate and return the mole fraction that is Lutetium element, [-]
- Lutetium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Lutetium element, [kg/s]
- Lutetium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Lutetium element, [-]
- MW()[source]¶
Method to calculate and return molecular weight of the phase.
- Returns:
- MW
float Molecular weight, [g/mol]
- MW
- MW_inv()[source]¶
Method to calculate and return inverse of molecular weight of the phase.
- Returns:
- MW_inv
float Inverse of molecular weight, [mol/g]
- MW_inv
- property MWs¶
Molecular weights for each component, [g/mol].
- Magnesium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Magnesium, [atoms/s]
- Magnesium_atom_flow()¶
Method to calculate and return the mole flow that is Magnesium, [mol/s]
- Magnesium_atom_fraction()¶
Method to calculate and return the mole fraction that is Magnesium element, [-]
- Magnesium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Magnesium element, [kg/s]
- Magnesium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Magnesium element, [-]
- Manganese_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Manganese, [atoms/s]
- Manganese_atom_flow()¶
Method to calculate and return the mole flow that is Manganese, [mol/s]
- Manganese_atom_fraction()¶
Method to calculate and return the mole fraction that is Manganese element, [-]
- Manganese_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Manganese element, [kg/s]
- Manganese_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Manganese element, [-]
- Meitnerium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Meitnerium, [atoms/s]
- Meitnerium_atom_flow()¶
Method to calculate and return the mole flow that is Meitnerium, [mol/s]
- Meitnerium_atom_fraction()¶
Method to calculate and return the mole fraction that is Meitnerium element, [-]
- Meitnerium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Meitnerium element, [kg/s]
- Meitnerium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Meitnerium element, [-]
- Mendelevium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Mendelevium, [atoms/s]
- Mendelevium_atom_flow()¶
Method to calculate and return the mole flow that is Mendelevium, [mol/s]
- Mendelevium_atom_fraction()¶
Method to calculate and return the mole fraction that is Mendelevium element, [-]
- Mendelevium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Mendelevium element, [kg/s]
- Mendelevium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Mendelevium element, [-]
- Mercury_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Mercury, [atoms/s]
- Mercury_atom_flow()¶
Method to calculate and return the mole flow that is Mercury, [mol/s]
- Mercury_atom_fraction()¶
Method to calculate and return the mole fraction that is Mercury element, [-]
- Mercury_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Mercury element, [kg/s]
- Mercury_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Mercury element, [-]
- Molybdenum_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Molybdenum, [atoms/s]
- Molybdenum_atom_flow()¶
Method to calculate and return the mole flow that is Molybdenum, [mol/s]
- Molybdenum_atom_fraction()¶
Method to calculate and return the mole fraction that is Molybdenum element, [-]
- Molybdenum_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Molybdenum element, [kg/s]
- Molybdenum_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Molybdenum element, [-]
- Moscovium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Moscovium, [atoms/s]
- Moscovium_atom_flow()¶
Method to calculate and return the mole flow that is Moscovium, [mol/s]
- Moscovium_atom_fraction()¶
Method to calculate and return the mole fraction that is Moscovium element, [-]
- Moscovium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Moscovium element, [kg/s]
- Moscovium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Moscovium element, [-]
- Neodymium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Neodymium, [atoms/s]
- Neodymium_atom_flow()¶
Method to calculate and return the mole flow that is Neodymium, [mol/s]
- Neodymium_atom_fraction()¶
Method to calculate and return the mole fraction that is Neodymium element, [-]
- Neodymium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Neodymium element, [kg/s]
- Neodymium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Neodymium element, [-]
- Neon_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Neon, [atoms/s]
- Neon_atom_flow()¶
Method to calculate and return the mole flow that is Neon, [mol/s]
- Neon_atom_fraction()¶
Method to calculate and return the mole fraction that is Neon element, [-]
- Neon_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Neon element, [kg/s]
- Neon_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Neon element, [-]
- Neptunium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Neptunium, [atoms/s]
- Neptunium_atom_flow()¶
Method to calculate and return the mole flow that is Neptunium, [mol/s]
- Neptunium_atom_fraction()¶
Method to calculate and return the mole fraction that is Neptunium element, [-]
- Neptunium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Neptunium element, [kg/s]
- Neptunium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Neptunium element, [-]
- Nickel_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Nickel, [atoms/s]
- Nickel_atom_flow()¶
Method to calculate and return the mole flow that is Nickel, [mol/s]
- Nickel_atom_fraction()¶
Method to calculate and return the mole fraction that is Nickel element, [-]
- Nickel_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Nickel element, [kg/s]
- Nickel_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Nickel element, [-]
- Nihonium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Nihonium, [atoms/s]
- Nihonium_atom_flow()¶
Method to calculate and return the mole flow that is Nihonium, [mol/s]
- Nihonium_atom_fraction()¶
Method to calculate and return the mole fraction that is Nihonium element, [-]
- Nihonium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Nihonium element, [kg/s]
- Nihonium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Nihonium element, [-]
- Niobium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Niobium, [atoms/s]
- Niobium_atom_flow()¶
Method to calculate and return the mole flow that is Niobium, [mol/s]
- Niobium_atom_fraction()¶
Method to calculate and return the mole fraction that is Niobium element, [-]
- Niobium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Niobium element, [kg/s]
- Niobium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Niobium element, [-]
- Nitrogen_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Nitrogen, [atoms/s]
- Nitrogen_atom_flow()¶
Method to calculate and return the mole flow that is Nitrogen, [mol/s]
- Nitrogen_atom_fraction()¶
Method to calculate and return the mole fraction that is Nitrogen element, [-]
- Nitrogen_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Nitrogen element, [kg/s]
- Nitrogen_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Nitrogen element, [-]
- Nobelium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Nobelium, [atoms/s]
- Nobelium_atom_flow()¶
Method to calculate and return the mole flow that is Nobelium, [mol/s]
- Nobelium_atom_fraction()¶
Method to calculate and return the mole fraction that is Nobelium element, [-]
- Nobelium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Nobelium element, [kg/s]
- Nobelium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Nobelium element, [-]
- property ODPs¶
Ozone Depletion Potentials for each component (impact/mass chemical)/(impact/mass CFC-11), [-].
- Oganesson_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Oganesson, [atoms/s]
- Oganesson_atom_flow()¶
Method to calculate and return the mole flow that is Oganesson, [mol/s]
- Oganesson_atom_fraction()¶
Method to calculate and return the mole fraction that is Oganesson element, [-]
- Oganesson_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Oganesson element, [kg/s]
- Oganesson_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Oganesson element, [-]
- Osmium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Osmium, [atoms/s]
- Osmium_atom_flow()¶
Method to calculate and return the mole flow that is Osmium, [mol/s]
- Osmium_atom_fraction()¶
Method to calculate and return the mole fraction that is Osmium element, [-]
- Osmium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Osmium element, [kg/s]
- Osmium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Osmium element, [-]
- Oxygen_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Oxygen, [atoms/s]
- Oxygen_atom_flow()¶
Method to calculate and return the mole flow that is Oxygen, [mol/s]
- Oxygen_atom_fraction()¶
Method to calculate and return the mole fraction that is Oxygen element, [-]
- Oxygen_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Oxygen element, [kg/s]
- Oxygen_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Oxygen element, [-]
- PIP()[source]¶
Method to calculate and return the phase identification parameter of the phase.
- Returns:
- PIP
float Phase identification parameter, [-]
- PIP
- property PSRK_groups¶
PSRK subgroup: count groups for each component, [-].
- P_DEFAULT = 101325.0¶
- P_MAX_FIXED = 1000000000.0¶
- P_MIN_FIXED = 0.01¶
- P_REF_IG = 101325.0¶
- P_REF_IG_INV = 9.869232667160129e-06¶
- property P_calc¶
- P_max_at_V(V)[source]¶
Dummy method. The idea behind this method, which is implemented by some subclasses, is to calculate the maximum pressure the phase can create at a constant volume, if one exists; returns None otherwise. This method, as a dummy method, always returns None.
- P_transitions()[source]¶
Dummy method. The idea behind this method is to calculate any pressures (at constant temperature) which cause the phase properties to become discontinuous.
- Palladium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Palladium, [atoms/s]
- Palladium_atom_flow()¶
Method to calculate and return the mole flow that is Palladium, [mol/s]
- Palladium_atom_fraction()¶
Method to calculate and return the mole fraction that is Palladium element, [-]
- Palladium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Palladium element, [kg/s]
- Palladium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Palladium element, [-]
- property Parachors¶
Parachors for each component, [N^0.25*m^2.75/mol].
- property Pcs¶
Critical pressures for each component, [Pa].
- Phosphorus_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Phosphorus, [atoms/s]
- Phosphorus_atom_flow()¶
Method to calculate and return the mole flow that is Phosphorus, [mol/s]
- Phosphorus_atom_fraction()¶
Method to calculate and return the mole fraction that is Phosphorus element, [-]
- Phosphorus_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Phosphorus element, [kg/s]
- Phosphorus_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Phosphorus element, [-]
- Platinum_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Platinum, [atoms/s]
- Platinum_atom_flow()¶
Method to calculate and return the mole flow that is Platinum, [mol/s]
- Platinum_atom_fraction()¶
Method to calculate and return the mole fraction that is Platinum element, [-]
- Platinum_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Platinum element, [kg/s]
- Platinum_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Platinum element, [-]
- Plutonium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Plutonium, [atoms/s]
- Plutonium_atom_flow()¶
Method to calculate and return the mole flow that is Plutonium, [mol/s]
- Plutonium_atom_fraction()¶
Method to calculate and return the mole fraction that is Plutonium element, [-]
- Plutonium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Plutonium element, [kg/s]
- Plutonium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Plutonium element, [-]
- Pmc()[source]¶
Method to calculate and return the mechanical critical pressure of the phase.
- Returns:
- Pmc
float Mechanical critical pressure, [Pa]
- Pmc
- Polonium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Polonium, [atoms/s]
- Polonium_atom_flow()¶
Method to calculate and return the mole flow that is Polonium, [mol/s]
- Polonium_atom_fraction()¶
Method to calculate and return the mole fraction that is Polonium element, [-]
- Polonium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Polonium element, [kg/s]
- Polonium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Polonium element, [-]
- Potassium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Potassium, [atoms/s]
- Potassium_atom_flow()¶
Method to calculate and return the mole flow that is Potassium, [mol/s]
- Potassium_atom_fraction()¶
Method to calculate and return the mole fraction that is Potassium element, [-]
- Potassium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Potassium element, [kg/s]
- Potassium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Potassium element, [-]
- Prandtl()[source]¶
Method to calculate and return the Prandtl number of the phase
- Returns:
- Pr
float Prandtl number []
- Pr
- Praseodymium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Praseodymium, [atoms/s]
- Praseodymium_atom_flow()¶
Method to calculate and return the mole flow that is Praseodymium, [mol/s]
- Praseodymium_atom_fraction()¶
Method to calculate and return the mole fraction that is Praseodymium element, [-]
- Praseodymium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Praseodymium element, [kg/s]
- Praseodymium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Praseodymium element, [-]
- Promethium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Promethium, [atoms/s]
- Promethium_atom_flow()¶
Method to calculate and return the mole flow that is Promethium, [mol/s]
- Promethium_atom_fraction()¶
Method to calculate and return the mole fraction that is Promethium element, [-]
- Promethium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Promethium element, [kg/s]
- Promethium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Promethium element, [-]
- Protactinium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Protactinium, [atoms/s]
- Protactinium_atom_flow()¶
Method to calculate and return the mole flow that is Protactinium, [mol/s]
- Protactinium_atom_fraction()¶
Method to calculate and return the mole fraction that is Protactinium element, [-]
- Protactinium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Protactinium element, [kg/s]
- Protactinium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Protactinium element, [-]
- property Psat_298s¶
Vapor pressures for each component at 298.15 K, [Pa].
- Psats()¶
Method to calculate and return the pure-component vapor pressures of each species from the
thermo.vapor_pressure.VaporPressureobjects.Notes
Warning
This is not necessarily consistent with the saturation pressure calculated by a flash algorithm.
- Psats_poly_fit = False¶
- Psubs()¶
Method to calculate and return the pure-component sublimation of each species from the
thermo.vapor_pressure.SublimationPressureobjects.Notes
Warning
This is not necessarily consistent with the saturation pressure calculated by a flash algorithm.
- property Pts¶
Triple point pressures for each component, [Pa].
- property PubChems¶
Pubchem IDs for each component, [-].
- property Q¶
Method to return the actual volumetric flow rate of this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- Q
float Volume flow of the phase, [m^3/s]
- Q
- property Q_calc¶
Method to return the actual volumetric flow rate of this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- Q
float Volume flow of the phase, [m^3/s]
- Q
- property Qg¶
Method to return the volume flow rate of this phase as an ideal gas, using the configured temperature T_gas_ref and pressure P_gas_ref. This method is only available when the phase is linked to an EquilibriumStream. This method totally ignores phase equilibrium.
- Returns:
- Qg
float Ideal gas flow rate of the phase, [m^3/s]
- Qg
- property Qg_calc¶
Method to return the volume flow rate of this phase as an ideal gas, using the configured temperature T_gas_ref and pressure P_gas_ref. This method is only available when the phase is linked to an EquilibriumStream. This method totally ignores phase equilibrium.
- Returns:
- Qg
float Ideal gas flow rate of the phase, [m^3/s]
- Qg
- property Qgs¶
Method to return the volume flow rate of each component in this phase as an ideal gas, using the configured temperature T_gas_ref and pressure P_gas_ref. This method is only available when the phase is linked to an EquilibriumStream. This method totally ignores phase equilibrium.
- Returns:
- Qgs
float Ideal gas flow rates of the components in the phase, [m^3/s]
- Qgs
- property Qgs_calc¶
Method to return the volume flow rate of each component in this phase as an ideal gas, using the configured temperature T_gas_ref and pressure P_gas_ref. This method is only available when the phase is linked to an EquilibriumStream. This method totally ignores phase equilibrium.
- Returns:
- Qgs
float Ideal gas flow rates of the components in the phase, [m^3/s]
- Qgs
- property Ql¶
Method to return the volume flow rate of this phase as an ideal liquid, using the configured standard molar volumes Vml_STPs. This method is only available when the phase is linked to an EquilibriumStream. This method totally ignores phase equilibrium.
- Returns:
- Ql
float Ideal liquid flow rate of the phase, [m^3/s]
- Ql
- property Ql_calc¶
Method to return the volume flow rate of this phase as an ideal liquid, using the configured standard molar volumes Vml_STPs. This method is only available when the phase is linked to an EquilibriumStream. This method totally ignores phase equilibrium.
- Returns:
- Ql
float Ideal liquid flow rate of the phase, [m^3/s]
- Ql
- property Qls¶
Method to return the volume flow rate of each component in this phase as an ideal liquid, using the configured V_liquids_ref. This method is only available when the phase is linked to an EquilibriumStream. This method totally ignores phase equilibrium.
- Returns:
- Qls
float Ideal liquid flow rates of the components in the phase, [m^3/s]
- Qls
- property Qls_calc¶
Method to return the volume flow rate of each component in this phase as an ideal liquid, using the configured V_liquids_ref. This method is only available when the phase is linked to an EquilibriumStream. This method totally ignores phase equilibrium.
- Returns:
- Qls
float Ideal liquid flow rates of the components in the phase, [m^3/s]
- Qls
- R = 8.31446261815324¶
- R2 = 69.13028862866763¶
- property RI_Ts¶
Temperatures at which the refractive indexes were reported for each component, [K].
- property RIs¶
Refractive indexes for each component, [-].
- R_inv = 0.12027235504272604¶
- Radium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Radium, [atoms/s]
- Radium_atom_flow()¶
Method to calculate and return the mole flow that is Radium, [mol/s]
- Radium_atom_fraction()¶
Method to calculate and return the mole fraction that is Radium element, [-]
- Radium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Radium element, [kg/s]
- Radium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Radium element, [-]
- Radon_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Radon, [atoms/s]
- Radon_atom_flow()¶
Method to calculate and return the mole flow that is Radon, [mol/s]
- Radon_atom_fraction()¶
Method to calculate and return the mole fraction that is Radon element, [-]
- Radon_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Radon element, [kg/s]
- Radon_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Radon element, [-]
- Rhenium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Rhenium, [atoms/s]
- Rhenium_atom_flow()¶
Method to calculate and return the mole flow that is Rhenium, [mol/s]
- Rhenium_atom_fraction()¶
Method to calculate and return the mole fraction that is Rhenium element, [-]
- Rhenium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Rhenium element, [kg/s]
- Rhenium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Rhenium element, [-]
- Rhodium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Rhodium, [atoms/s]
- Rhodium_atom_flow()¶
Method to calculate and return the mole flow that is Rhodium, [mol/s]
- Rhodium_atom_fraction()¶
Method to calculate and return the mole fraction that is Rhodium element, [-]
- Rhodium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Rhodium element, [kg/s]
- Rhodium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Rhodium element, [-]
- Roentgenium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Roentgenium, [atoms/s]
- Roentgenium_atom_flow()¶
Method to calculate and return the mole flow that is Roentgenium, [mol/s]
- Roentgenium_atom_fraction()¶
Method to calculate and return the mole fraction that is Roentgenium element, [-]
- Roentgenium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Roentgenium element, [kg/s]
- Roentgenium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Roentgenium element, [-]
- Rubidium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Rubidium, [atoms/s]
- Rubidium_atom_flow()¶
Method to calculate and return the mole flow that is Rubidium, [mol/s]
- Rubidium_atom_fraction()¶
Method to calculate and return the mole fraction that is Rubidium element, [-]
- Rubidium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Rubidium element, [kg/s]
- Rubidium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Rubidium element, [-]
- Ruthenium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Ruthenium, [atoms/s]
- Ruthenium_atom_flow()¶
Method to calculate and return the mole flow that is Ruthenium, [mol/s]
- Ruthenium_atom_fraction()¶
Method to calculate and return the mole fraction that is Ruthenium element, [-]
- Ruthenium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Ruthenium element, [kg/s]
- Ruthenium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Ruthenium element, [-]
- Rutherfordium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Rutherfordium, [atoms/s]
- Rutherfordium_atom_flow()¶
Method to calculate and return the mole flow that is Rutherfordium, [mol/s]
- Rutherfordium_atom_fraction()¶
Method to calculate and return the mole fraction that is Rutherfordium element, [-]
- Rutherfordium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Rutherfordium element, [kg/s]
- Rutherfordium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Rutherfordium element, [-]
- S()[source]¶
Method to calculate and return the entropy of the phase. The reference state for most subclasses is an ideal-gas entropy of zero at 298.15 K and 101325 Pa.
- Returns:
- S
float Molar entropy, [J/(mol*K)]
- S
- property S0gs¶
Ideal gas absolute molar entropies at 298.15 K at 1 atm for each component, [J/(mol*K)].
- property S0gs_mass¶
Ideal gas absolute entropies at 298.15 K at 1 atm for each component, [J/(kg*K)].
- SG()¶
Method to calculate and return the standard liquid specific gravity of the phase, using constant liquid pure component densities not calculated by the phase object, at 60 °F.
- Returns:
- SG
float Specific gravity of the liquid, [-]
- SG
Notes
The reference density of water is from the IAPWS-95 standard - 999.0170824078306 kg/m^3.
- SG_gas()¶
Method to calculate and return the specific gravity of the phase with respect to a gas reference density.
- Returns:
- SG_gas
float Specific gravity of the gas, [-]
- SG_gas
Notes
The reference molecular weight of air used is 28.9586 g/mol.
- property STELs¶
Short term exposure limits to chemicals (and their units; ppm or mg/m^3), [various].
- S_dep_flow()¶
Method to return the flow rate of the difference between the ideal-gas entropy of this phase and the actual entropy of the phase This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- S_dep_flow
float Flow rate of departure entropy, [J/(K*s)]
- S_dep_flow
- S_dep_mass()[source]¶
Method to calculate and return the mass departure entropy of the phase.
- Returns:
- S_dep_mass
float Departure mass entropy free energy, [J/(kg*K)]
- S_dep_mass
- S_dep_phi_consistency()[source]¶
Method to calculate and return a consistency check between ideal gas entropy behavior, and the fugacity coefficients and their temperature derivatives.
- Returns:
- error
float Relative consistency error , [-]
- error
- S_flow()¶
Method to return the flow rate of entropy of this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- S_flow
float Flow rate of entropy, [J/(K*s)]
- S_flow
- S_formation_ideal_gas()[source]¶
Method to calculate and return the ideal-gas entropy of formation of the phase (as if the phase was an ideal gas).
- Returns:
- S_formation_ideal_gas
float Entropy of formation of the phase on a formation basis as an ideal gas, [J/(mol*K)]
- S_formation_ideal_gas
- S_formation_ideal_gas_mass()[source]¶
Method to calculate and return the mass ideal-gas formation entropy of the phase.
- Returns:
- S_formation_ideal_gas_mass
float Formation mass entropy, [J/(kg*K)]
- S_formation_ideal_gas_mass
- S_from_phi()[source]¶
Method to calculate and return the entropy of the fluid as calculated from the ideal-gas entropy and the the fugacity coefficients’ temperature derivatives.
- Returns:
- S
float Entropy as calculated from fugacity coefficient temperature derivatives [J/(mol*K)]
- S
- S_ideal_gas()[source]¶
Method to calculate and return the ideal-gas entropy of the phase.
- Returns:
- S
float Ideal gas molar entropy, [J/(mol*K)]
- S
- S_ideal_gas_mass()[source]¶
Method to calculate and return the mass ideal-gas entropy of the phase.
- Returns:
- S_ideal_gas_mass
float Ideal gas mass entropy, [J/(kg*K)]
- S_ideal_gas_mass
- S_mass()[source]¶
Method to calculate and return mass entropy of the phase.
- Returns:
- S_mass
float Mass enthalpy, [J/(kg*K)]
- S_mass
- S_phi_consistency()[source]¶
Method to calculate and return a consistency check between ideal gas entropy behavior, and the fugacity coefficients and their temperature derivatives.
- Returns:
- error
float Relative consistency error , [-]
- error
- S_reactive()[source]¶
Method to calculate and return the entropy of the phase on a reactive basis, using the Sfs values of the phase.
- Returns:
- S_reactive
float Entropy of the phase on a reactive basis, [J/(mol*K)]
- S_reactive
- S_reactive_mass()[source]¶
Method to calculate and return mass entropy on a reactive basis of the phase.
- Returns:
- S_reactive_mass
float Mass entropy on a reactive basis, [J/(kg*K)]
- S_reactive_mass
- Samarium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Samarium, [atoms/s]
- Samarium_atom_flow()¶
Method to calculate and return the mole flow that is Samarium, [mol/s]
- Samarium_atom_fraction()¶
Method to calculate and return the mole fraction that is Samarium element, [-]
- Samarium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Samarium element, [kg/s]
- Samarium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Samarium element, [-]
- Scandium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Scandium, [atoms/s]
- Scandium_atom_flow()¶
Method to calculate and return the mole flow that is Scandium, [mol/s]
- Scandium_atom_fraction()¶
Method to calculate and return the mole fraction that is Scandium element, [-]
- Scandium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Scandium element, [kg/s]
- Scandium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Scandium element, [-]
- Seaborgium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Seaborgium, [atoms/s]
- Seaborgium_atom_flow()¶
Method to calculate and return the mole flow that is Seaborgium, [mol/s]
- Seaborgium_atom_fraction()¶
Method to calculate and return the mole fraction that is Seaborgium element, [-]
- Seaborgium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Seaborgium element, [kg/s]
- Seaborgium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Seaborgium element, [-]
- Selenium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Selenium, [atoms/s]
- Selenium_atom_flow()¶
Method to calculate and return the mole flow that is Selenium, [mol/s]
- Selenium_atom_fraction()¶
Method to calculate and return the mole fraction that is Selenium element, [-]
- Selenium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Selenium element, [kg/s]
- Selenium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Selenium element, [-]
- property Sfgs¶
Ideal gas standard molar entropies of formation for each component, [J/(mol*K)].
- property Sfgs_mass¶
Ideal gas standard entropies of formation for each component, [J/(kg*K)].
- Silicon_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Silicon, [atoms/s]
- Silicon_atom_flow()¶
Method to calculate and return the mole flow that is Silicon, [mol/s]
- Silicon_atom_fraction()¶
Method to calculate and return the mole fraction that is Silicon element, [-]
- Silicon_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Silicon element, [kg/s]
- Silicon_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Silicon element, [-]
- Silver_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Silver, [atoms/s]
- Silver_atom_flow()¶
Method to calculate and return the mole flow that is Silver, [mol/s]
- Silver_atom_fraction()¶
Method to calculate and return the mole fraction that is Silver element, [-]
- Silver_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Silver element, [kg/s]
- Silver_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Silver element, [-]
- property Skins¶
Whether each compound can be absorbed through the skin or not, [-].
- Sodium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Sodium, [atoms/s]
- Sodium_atom_flow()¶
Method to calculate and return the mole flow that is Sodium, [mol/s]
- Sodium_atom_fraction()¶
Method to calculate and return the mole fraction that is Sodium element, [-]
- Sodium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Sodium element, [kg/s]
- Sodium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Sodium element, [-]
- property StielPolars¶
Stiel polar factors for each component, [-].
- property Stockmayers¶
Lennard-Jones Stockmayer parameters (depth of potential-energy minimum over k) for each component, [K].
- Strontium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Strontium, [atoms/s]
- Strontium_atom_flow()¶
Method to calculate and return the mole flow that is Strontium, [mol/s]
- Strontium_atom_fraction()¶
Method to calculate and return the mole fraction that is Strontium element, [-]
- Strontium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Strontium element, [kg/s]
- Strontium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Strontium element, [-]
- Sulfur_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Sulfur, [atoms/s]
- Sulfur_atom_flow()¶
Method to calculate and return the mole flow that is Sulfur, [mol/s]
- Sulfur_atom_fraction()¶
Method to calculate and return the mole fraction that is Sulfur element, [-]
- Sulfur_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Sulfur element, [kg/s]
- Sulfur_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Sulfur element, [-]
- property TWAs¶
Time-weighted average exposure limits to chemicals (and their units; ppm or mg/m^3), [various].
- T_DEFAULT = 298.15¶
- T_MAX_FIXED = 10000.0¶
- T_MAX_FLASH = 10000.0¶
- T_MIN_FIXED = 0.001¶
- T_MIN_FLASH = 1e-300¶
- T_REF_IG = 298.15¶
- property T_calc¶
- T_max_at_V(V)[source]¶
Method to calculate the maximum temperature the phase can create at a constant volume, if one exists; returns None otherwise.
- Tantalum_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Tantalum, [atoms/s]
- Tantalum_atom_flow()¶
Method to calculate and return the mole flow that is Tantalum, [mol/s]
- Tantalum_atom_fraction()¶
Method to calculate and return the mole fraction that is Tantalum element, [-]
- Tantalum_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Tantalum element, [kg/s]
- Tantalum_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Tantalum element, [-]
- property Tautoignitions¶
Autoignition temperatures for each component, [K].
- property Tbs¶
Boiling temperatures for each component, [K].
- property Tcs¶
Critical temperatures for each component, [K].
- Technetium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Technetium, [atoms/s]
- Technetium_atom_flow()¶
Method to calculate and return the mole flow that is Technetium, [mol/s]
- Technetium_atom_fraction()¶
Method to calculate and return the mole fraction that is Technetium element, [-]
- Technetium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Technetium element, [kg/s]
- Technetium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Technetium element, [-]
- Tellurium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Tellurium, [atoms/s]
- Tellurium_atom_flow()¶
Method to calculate and return the mole flow that is Tellurium, [mol/s]
- Tellurium_atom_fraction()¶
Method to calculate and return the mole fraction that is Tellurium element, [-]
- Tellurium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Tellurium element, [kg/s]
- Tellurium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Tellurium element, [-]
- Tennessine_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Tennessine, [atoms/s]
- Tennessine_atom_flow()¶
Method to calculate and return the mole flow that is Tennessine, [mol/s]
- Tennessine_atom_fraction()¶
Method to calculate and return the mole fraction that is Tennessine element, [-]
- Tennessine_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Tennessine element, [kg/s]
- Tennessine_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Tennessine element, [-]
- Terbium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Terbium, [atoms/s]
- Terbium_atom_flow()¶
Method to calculate and return the mole flow that is Terbium, [mol/s]
- Terbium_atom_fraction()¶
Method to calculate and return the mole fraction that is Terbium element, [-]
- Terbium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Terbium element, [kg/s]
- Terbium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Terbium element, [-]
- property Tflashs¶
Flash point temperatures for each component, [K].
- Thallium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Thallium, [atoms/s]
- Thallium_atom_flow()¶
Method to calculate and return the mole flow that is Thallium, [mol/s]
- Thallium_atom_fraction()¶
Method to calculate and return the mole fraction that is Thallium element, [-]
- Thallium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Thallium element, [kg/s]
- Thallium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Thallium element, [-]
- Thorium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Thorium, [atoms/s]
- Thorium_atom_flow()¶
Method to calculate and return the mole flow that is Thorium, [mol/s]
- Thorium_atom_fraction()¶
Method to calculate and return the mole fraction that is Thorium element, [-]
- Thorium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Thorium element, [kg/s]
- Thorium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Thorium element, [-]
- Thulium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Thulium, [atoms/s]
- Thulium_atom_flow()¶
Method to calculate and return the mole flow that is Thulium, [mol/s]
- Thulium_atom_fraction()¶
Method to calculate and return the mole fraction that is Thulium element, [-]
- Thulium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Thulium element, [kg/s]
- Thulium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Thulium element, [-]
- Tin_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Tin, [atoms/s]
- Tin_atom_flow()¶
Method to calculate and return the mole flow that is Tin, [mol/s]
- Tin_atom_fraction()¶
Method to calculate and return the mole fraction that is Tin element, [-]
- Tin_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Tin element, [kg/s]
- Tin_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Tin element, [-]
- Titanium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Titanium, [atoms/s]
- Titanium_atom_flow()¶
Method to calculate and return the mole flow that is Titanium, [mol/s]
- Titanium_atom_fraction()¶
Method to calculate and return the mole fraction that is Titanium element, [-]
- Titanium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Titanium element, [kg/s]
- Titanium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Titanium element, [-]
- Tmc()[source]¶
Method to calculate and return the mechanical critical temperature of the phase.
- Returns:
- Tmc
float Mechanical critical temperature, [K]
- Tmc
- property Tms¶
Melting temperatures for each component, [K].
- property Tts¶
Triple point temperatures for each component, [K].
- Tungsten_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Tungsten, [atoms/s]
- Tungsten_atom_flow()¶
Method to calculate and return the mole flow that is Tungsten, [mol/s]
- Tungsten_atom_fraction()¶
Method to calculate and return the mole fraction that is Tungsten element, [-]
- Tungsten_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Tungsten element, [kg/s]
- Tungsten_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Tungsten element, [-]
- U()[source]¶
Method to calculate and return the internal energy of the phase.
- Returns:
- U
float Internal energy, [J/mol]
- U
- property UFLs¶
Upper flammability limits for each component, [-].
- property UNIFAC_Dortmund_groups¶
UNIFAC_Dortmund_group: count groups for each component, [-].
- property UNIFAC_Qs¶
UNIFAC Q parameters for each component, [-].
- property UNIFAC_Rs¶
UNIFAC R parameters for each component, [-].
- property UNIFAC_groups¶
UNIFAC_group: count groups for each component, [-].
- U_dep()[source]¶
Method to calculate and return the departure internal energy of the phase.
- Returns:
- U_dep
float Departure internal energy, [J/mol]
- U_dep
- U_dep_flow()¶
Method to return the flow rate of the difference between the ideal-gas internal energy of this phase and the actual internal energy of the phase This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- U_dep_flow
float Flow rate of departure internal energy, [J/s]
- U_dep_flow
- U_dep_mass()[source]¶
Method to calculate and return the departure mass internal energy of the phase.
- Returns:
- U_dep_mass
float Departure mass internal energy, [J/kg]
- U_dep_mass
- U_flow()¶
Method to return the flow rate of internal energy of this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- U_flow
float Flow rate of internal energy, [J/s]
- U_flow
- U_formation_ideal_gas()[source]¶
Method to calculate and return the ideal-gas internal energy of formation of the phase (as if the phase was an ideal gas).
- Returns:
- U_formation_ideal_gas
float Internal energy of formation of the phase on a formation basis as an ideal gas, [J/(mol)]
- U_formation_ideal_gas
- U_formation_ideal_gas_mass()[source]¶
Method to calculate and return the ideal-gas formation mass internal energy of the phase.
- Returns:
- U_formation_ideal_gas_mass
float Formation mass internal energy, [J/kg]
- U_formation_ideal_gas_mass
- U_ideal_gas()[source]¶
Method to calculate and return the ideal-gas internal energy of the phase.
- Returns:
- U_ideal_gas
float Ideal gas internal energy, [J/(mol)]
- U_ideal_gas
- U_ideal_gas_mass()[source]¶
Method to calculate and return the mass ideal-gas internal energy of the phase.
- Returns:
- U_ideal_gas_mass
float Ideal gas mass internal energy, [J/(kg)]
- U_ideal_gas_mass
- U_mass()[source]¶
Method to calculate and return mass internal energy of the phase.
- Returns:
- U_mass
float Mass internal energy, [J/(kg)]
- U_mass
- U_reactive()[source]¶
Method to calculate and return the internal energy of the phase on a reactive basis.
- Returns:
- U_reactive
float Internal energy of the phase on a reactive basis, [J/(mol)]
- U_reactive
- U_reactive_mass()[source]¶
Method to calculate and return mass internal energy on a reactive basis of the phase.
- Returns:
- U_reactive_mass
float Mass internal energy on a reactive basis, [J/kg]
- U_reactive_mass
- Uranium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Uranium, [atoms/s]
- Uranium_atom_flow()¶
Method to calculate and return the mole flow that is Uranium, [mol/s]
- Uranium_atom_fraction()¶
Method to calculate and return the mole fraction that is Uranium element, [-]
- Uranium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Uranium element, [kg/s]
- Uranium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Uranium element, [-]
- property VF¶
Method to return the vapor fraction of the phase. If no vapor/gas is present, 0 is always returned. This method is only available when the phase is linked to an EquilibriumState.
- Returns:
- VF
float Vapor fraction, [-]
- VF
- property VF_calc¶
- V_MAX_FIXED = 1000000000.0¶
- V_MIN_FIXED = 1e-09¶
- V_dep()[source]¶
Method to calculate and return the departure (from ideal gas behavior) molar volume of the phase.
- Returns:
- V_dep
float Departure molar volume, [m^3/mol]
- V_dep
- V_from_phi()[source]¶
Method to calculate and return the molar volume of the fluid as calculated from the pressure derivatives of fugacity coefficients.
- Returns:
- V
float Molar volume, [m^3/mol]
- V
- V_gas()¶
Method to calculate and return the ideal-gas molar volume of the phase at the chosen reference temperature and pressure, according to the temperature variable T_gas_ref and pressure variable P_gas_ref of the
thermo.bulk.BulkSettings.- Returns:
- V_gas
float Ideal gas molar volume at the reference temperature and pressure, [m^3/mol]
- V_gas
- V_gas_normal()¶
Method to calculate and return the ideal-gas molar volume of the phase at the normal temperature and pressure, according to the temperature variable T_normal and pressure variable P_normal of the
thermo.bulk.BulkSettings.- Returns:
- V_gas_normal
float Ideal gas molar volume at normal temperature and pressure, [m^3/mol]
- V_gas_normal
- V_gas_standard()¶
Method to calculate and return the ideal-gas molar volume of the phase at the standard temperature and pressure, according to the temperature variable T_standard and pressure variable P_standard of the
thermo.bulk.BulkSettings.- Returns:
- V_gas_standard
float Ideal gas molar volume at standard temperature and pressure, [m^3/mol]
- V_gas_standard
- V_ideal_gas()[source]¶
Method to calculate and return the ideal-gas molar volume of the phase.
- Returns:
- V
float Ideal gas molar volume, [m^3/mol]
- V
- V_iter(force=False)[source]¶
Method to calculate and return the volume of the phase in a way suitable for a TV resolution to converge on the same pressure. This often means the return value of this method is an mpmath mpf. This dummy method simply returns the implemented V method.
- Returns:
- V
floatormpf Molar volume, [m^3/mol]
- V
- V_liquid_ref()¶
Method to calculate and return the liquid reference molar volume according to the temperature variable T_liquid_volume_ref of
thermo.bulk.BulkSettingsand the composition of the phase.- Returns:
- V_liquid_ref
float Liquid molar volume at the reference condition, [m^3/mol]
- V_liquid_ref
- V_mass()¶
Method to calculate and return the specific volume of the phase.
- Returns:
- V_mass
float Specific volume of the phase, [m^3/kg]
- V_mass
- V_phi_consistency()[source]¶
Method to calculate and return a consistency check between molar volume, and the fugacity coefficients’ pressures derivatives.
- Returns:
- error
float Relative consistency error , [-]
- error
- property Van_der_Waals_areas¶
Unnormalized Van der Waals areas for each component, [m^2/mol].
- property Van_der_Waals_volumes¶
Unnormalized Van der Waals volumes for each component, [m^3/mol].
- Vanadium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Vanadium, [atoms/s]
- Vanadium_atom_flow()¶
Method to calculate and return the mole flow that is Vanadium, [mol/s]
- Vanadium_atom_fraction()¶
Method to calculate and return the mole fraction that is Vanadium element, [-]
- Vanadium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Vanadium element, [kg/s]
- Vanadium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Vanadium element, [-]
- property Vcs¶
Critical molar volumes for each component, [m^3/mol].
- Vfgs()¶
Method to calculate and return the ideal-gas volume fractions of the components of the phase. This is the same as the mole fractions.
- property Vfgs_calc¶
- Vfls()¶
Method to calculate and return the ideal-liquid volume fractions of the components of the phase, using the standard liquid densities at the temperature variable T_liquid_volume_ref of
thermo.bulk.BulkSettingsand the composition of the phase.
- property Vfls_calc¶
- Vls()¶
Method to calculate and return the pure-component liquid temperature-dependent molar volume of each species from the
thermo.volume.VolumeLiquidobjects.These values are normally along the saturation line.
- Vmc()[source]¶
Method to calculate and return the mechanical critical volume of the phase.
- Returns:
- Vmc
float Mechanical critical volume, [m^3/mol]
- Vmc
- property Vmg_STPs¶
Gas molar volumes for each component at STP; metastable if normally another state, [m^3/mol].
- property Vml_60Fs¶
Liquid molar volumes for each component at 60 °F, [m^3/mol].
- property Vml_STPs¶
Liquid molar volumes for each component at STP, [m^3/mol].
- property Vml_Tms¶
Liquid molar volumes for each component at their respective melting points, [m^3/mol].
- property Vms_Tms¶
Solid molar volumes for each component at their respective melting points, [m^3/mol].
- Vss()¶
Method to calculate and return the pure-component solid temperature-dependent molar volume of each species from the
thermo.volume.VolumeSolidobjects.
- Wobbe_index()¶
Method to calculate and return the molar Wobbe index of the object, [J/mol].
- Returns:
- Wobbe_index
float Molar Wobbe index, [J/(mol)]
- Wobbe_index
- Wobbe_index_lower()¶
- Method to calculate and return the molar lower Wobbe index of the
object, [J/mol].
- Returns:
- Wobbe_index_lower
float Molar lower Wobbe index, [J/(mol)]
- Wobbe_index_lower
- Wobbe_index_lower_mass()¶
Method to calculate and return the lower mass Wobbe index of the object, [J/kg].
- Returns:
- Wobbe_index_lower_mass
float Mass lower Wobbe index, [J/(kg)]
- Wobbe_index_lower_mass
- Wobbe_index_lower_normal()¶
Method to calculate and return the volumetric normal lower Wobbe index of the object, [J/m^3]. The normal gas volume is used in this calculation.
- Returns:
- Wobbe_index_lower_normal
float Volumetric normal lower Wobbe index, [J/(m^3)]
- Wobbe_index_lower_normal
- Wobbe_index_lower_standard()¶
Method to calculate and return the volumetric standard lower Wobbe index of the object, [J/m^3]. The standard gas volume is used in this calculation.
- Returns:
- Wobbe_index_lower_standard
float Volumetric standard lower Wobbe index, [J/(m^3)]
- Wobbe_index_lower_standard
- Wobbe_index_mass()¶
Method to calculate and return the mass Wobbe index of the object, [J/kg].
- Returns:
- Wobbe_index_mass
float Mass Wobbe index, [J/(kg)]
- Wobbe_index_mass
- Wobbe_index_normal()¶
Method to calculate and return the volumetric normal Wobbe index of the object, [J/m^3]. The normal gas volume is used in this calculation.
- Returns:
- Wobbe_index
float Volumetric normal Wobbe index, [J/(m^3)]
- Wobbe_index
- Wobbe_index_standard()¶
Method to calculate and return the volumetric standard Wobbe index of the object, [J/m^3]. The standard gas volume is used in this calculation.
- Returns:
- Wobbe_index_standard
float Volumetric standard Wobbe index, [J/(m^3)]
- Wobbe_index_standard
- Xenon_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Xenon, [atoms/s]
- Xenon_atom_flow()¶
Method to calculate and return the mole flow that is Xenon, [mol/s]
- Xenon_atom_fraction()¶
Method to calculate and return the mole fraction that is Xenon element, [-]
- Xenon_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Xenon element, [kg/s]
- Xenon_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Xenon element, [-]
- Ytterbium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Ytterbium, [atoms/s]
- Ytterbium_atom_flow()¶
Method to calculate and return the mole flow that is Ytterbium, [mol/s]
- Ytterbium_atom_fraction()¶
Method to calculate and return the mole fraction that is Ytterbium element, [-]
- Ytterbium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Ytterbium element, [kg/s]
- Ytterbium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Ytterbium element, [-]
- Yttrium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Yttrium, [atoms/s]
- Yttrium_atom_flow()¶
Method to calculate and return the mole flow that is Yttrium, [mol/s]
- Yttrium_atom_fraction()¶
Method to calculate and return the mole fraction that is Yttrium element, [-]
- Yttrium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Yttrium element, [kg/s]
- Yttrium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Yttrium element, [-]
- Z()[source]¶
Method to calculate and return the compressibility factor of the phase.
- Returns:
- Z
float Compressibility factor, [-]
- Z
- property Zcs¶
Critical compressibilities for each component, [-].
- Zinc_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Zinc, [atoms/s]
- Zinc_atom_flow()¶
Method to calculate and return the mole flow that is Zinc, [mol/s]
- Zinc_atom_fraction()¶
Method to calculate and return the mole fraction that is Zinc element, [-]
- Zinc_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Zinc element, [kg/s]
- Zinc_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Zinc element, [-]
- Zirconium_atom_count_flow()¶
Method to calculate and return the number of atoms in the flow which are Zirconium, [atoms/s]
- Zirconium_atom_flow()¶
Method to calculate and return the mole flow that is Zirconium, [mol/s]
- Zirconium_atom_fraction()¶
Method to calculate and return the mole fraction that is Zirconium element, [-]
- Zirconium_atom_mass_flow()¶
Method to calculate and return the mass flow of atoms that are Zirconium element, [kg/s]
- Zirconium_atom_mass_fraction()¶
Method to calculate and return the mass fraction of the phase that is Zirconium element, [-]
- Zmc()[source]¶
Method to calculate and return the mechanical critical compressibility of the phase.
- Returns:
- Zmc
float Mechanical critical compressibility, [-]
- Zmc
- __hash__()¶
Basic method to calculate a hash of the state of the phase and its model parameters.
Note that the hashes should only be compared on the same system running in the same process!
- Returns:
- state_hash
int Hash of the object’s model parameters and state, [-]
- state_hash
- activities()[source]¶
Method to calculate and return the activities of each component in the phase [-].
- property aliases¶
Aliases for each component, [-].
- alpha()[source]¶
Method to calculate and return the thermal diffusivity of the phase.
- Returns:
- alpha
float Thermal diffusivity, [m^2/s]
- alpha
- ammonia_molar_weight()¶
Method to calculate and return the effective quantiy of ammonia in the phase as a molar weight, [g/mol].
This is the molecular weight of the phase times the mass fraction of the ammonia component.
- ammonia_partial_pressure()¶
Method to calculate and return the ideal partial pressure of ammonia, [Pa]
- argon_molar_weight()¶
Method to calculate and return the effective quantiy of argon in the phase as a molar weight, [g/mol].
This is the molecular weight of the phase times the mass fraction of the argon component.
- argon_partial_pressure()¶
Method to calculate and return the ideal partial pressure of argon, [Pa]
- as_json(cache=None, option=0)[source]¶
Method to create a JSON-friendly serialization of the phase which can be stored, and reloaded later.
- Returns:
- json_repr
dict JSON-friendly representation, [-]
- json_repr
Examples
>>> import json >>> from thermo import IAPWS95Liquid >>> phase = IAPWS95Liquid(T=300, P=1e5, zs=[1]) >>> new_phase = IAPWS95Liquid.from_json(json.loads(json.dumps(phase.as_json()))) >>> assert phase == new_phase
- atom_content()¶
Method to calculate and return the number of moles of each atom in the phase per mole of the phase; returns a dictionary of atom counts, containing only those elements who are present.
- atom_count_flows()¶
Method to calculate and return the atom count flow rates of the phase; returns a dictionary of atom count flows, containing only those elements who are present.
- atom_flows()¶
Method to calculate and return the atomic flow rates of the phase; returns a dictionary of atom flows, containing only those elements who are present.
- atom_fractions()¶
Method to calculate and return the atomic composition of the phase; returns a dictionary of atom fraction (by count), containing only those elements who are present.
- atom_mass_flows()¶
Method to calculate and return the atomic mass flow rates of the phase; returns a dictionary of atom mass flows, containing only those elements who are present.
- atom_mass_fractions()¶
Method to calculate and return the atomic mass fractions of the phase; returns a dictionary of atom fraction (by mass), containing only those elements who arxe present.
- property atomss¶
Breakdown of each component into its elements and their counts, as a dict, [-].
- property beta¶
Method to return the phase fraction of this phase. This method is only available when the phase is linked to an EquilibriumState.
- Returns:
- beta
float Phase fraction on a molar basis, [-]
- beta
- property beta_mass¶
Method to return the mass phase fraction of this phase. This method is only available when the phase is linked to an EquilibriumState.
- Returns:
- beta_mass
float Phase fraction on a mass basis, [-]
- beta_mass
- property beta_volume¶
Method to return the volumetric phase fraction of this phase. This method is only available when the phase is linked to an EquilibriumState.
- Returns:
- beta_volume
float Phase fraction on a volumetric basis, [-]
- beta_volume
- property beta_volume_liquid_ref¶
Method to return the standard liquid volume fraction of this phase. This method is only available when the phase is linked to an EquilibriumState.
- Returns:
- beta_volume
float Phase fraction on a volumetric basis, [-]
- beta_volume
- bulk_phase_type = False¶
- carbon_dioxide_molar_weight()¶
Method to calculate and return the effective quantiy of carbon_dioxide in the phase as a molar weight, [g/mol].
This is the molecular weight of the phase times the mass fraction of the carbon_dioxide component.
- carbon_dioxide_partial_pressure()¶
Method to calculate and return the ideal partial pressure of carbon_dioxide, [Pa]
- property charges¶
Charge number (valence) for each component, [-].
- chemical_potential()[source]¶
Method to calculate and return the chemical potentials of each component in the phase [-]. For a pure substance, this is the molar Gibbs energy on a reactive basis.
- composition_independent = False¶
- concentrations()[source]¶
Method to return the molar concentrations of each component in the phase in units of mol/m^3. Molarity is a term used in chemistry for a similar concept, usually given in units of mol/L.
- concentrations_gas()[source]¶
Method to return the molar concentrations of each component in the phase in units of mol/m^3, using the ideal-gas molar volume of the phase at the chosen reference temperature and pressure.
- concentrations_gas_normal()[source]¶
Method to return the molar concentrations of each component in the phase in units of mol/m^3, using the ideal-gas molar volume of the phase at the normal temperature and pressure.
- concentrations_gas_standard()[source]¶
Method to return the molar concentrations of each component in the phase in units of mol/m^3, using the ideal-gas molar volume of the phase at the standard temperature and pressure.
- concentrations_mass()[source]¶
Method to return the mass concentrations of each component in the phase in units of kg/m^3.
- concentrations_mass_gas()[source]¶
Method to return the mass concentrations of each component in the phase in units of kg/m^3, using the ideal-gas molar volume of the phase at the chosen reference temperature and pressure.
- concentrations_mass_gas_normal()[source]¶
Method to return the mass concentrations of each component in the phase in units of kg/m^3, using the ideal-gas molar volume of the phase at the normal temperature and pressure.
- concentrations_mass_gas_standard()[source]¶
Method to return the mass concentrations of each component in the phase in units of kg/m^3, using the ideal-gas molar volume of the phase at the standard temperature and pressure.
- property conductivities¶
Electrical conductivities for each component, [S/m].
- property conductivity_Ts¶
Temperatures at which the electrical conductivities for each component were measured, [K].
- constants¶
- correlations¶
- d2G_mass_dP2(prop='d2G_dP2')¶
- d2G_mass_dPdT(prop='d2G_dPdT')¶
- d2G_mass_dT2(prop='d2G_dT2')¶
- d2G_mass_dTdP(prop='d2G_dTdP')¶
- d2P_dT2()[source]¶
Method to calculate and return the second temperature derivative of pressure of the phase.
- Returns:
- d2P_dT2
float Second temperature derivative of pressure, [Pa/K^2]
- d2P_dT2
- d2P_dTdV()[source]¶
Method to calculate and return the second derivative of pressure with respect to temperature and volume of the phase.
- Returns:
- d2P_dTdV
float Second volume derivative of pressure, [mol*Pa^2/(J*K)]
- d2P_dTdV
- d2P_dTdrho()[source]¶
Method to calculate and return the temperature derivative and then molar density derivative of the pressure of the phase.
- Returns:
- d2P_dTdrho
float Temperature derivative and then molar density derivative of the pressure, [Pa*m^3/(K*mol)]
- d2P_dTdrho
- d2P_dV2()[source]¶
Method to calculate and return the second volume derivative of pressure of the phase.
- Returns:
- d2P_dV2
float Second volume derivative of pressure, [Pa*mol^2/m^6]
- d2P_dV2
- d2P_dVdT()[source]¶
Method to calculate and return the second derivative of pressure with respect to temperature and volume of the phase. This is an alias of d2P_dTdV.
- Returns:
- d2P_dVdT
float Second volume derivative of pressure, [mol*Pa^2/(J*K)]
- d2P_dVdT
- d2P_drho2()[source]¶
Method to calculate and return the second molar density derivative of pressure of the phase.
- Returns:
- d2P_drho2
float Second molar density derivative of pressure, [Pa*m^6/mol^2]
- d2P_drho2
- d2T_dP2()[source]¶
Method to calculate and return the constant-volume second pressure derivative of temperature of the phase.
- Returns:
- d2T_dP2
float Constant-volume second pressure derivative of temperature, [K/Pa^2]
- d2T_dP2
- d2T_dP2_V()¶
Method to calculate and return the constant-volume second pressure derivative of temperature of the phase.
- Returns:
- d2T_dP2
float Constant-volume second pressure derivative of temperature, [K/Pa^2]
- d2T_dP2
- d2T_dPdV()[source]¶
Method to calculate and return the derivative of pressure and then the derivative of volume of temperature of the phase.
- Returns:
- d2T_dPdV
float Derivative of pressure and then the derivative of volume of temperature, [K*mol/(Pa*m^3)]
- d2T_dPdV
- d2T_dPdrho()[source]¶
Method to calculate and return the pressure derivative and then molar density derivative of the temperature of the phase.
- Returns:
- d2T_dPdrho
float Pressure derivative and then molar density derivative of the temperature, [K*m^3/(Pa*mol)]
- d2T_dPdrho
- d2T_dV2()[source]¶
Method to calculate and return the constant-pressure second volume derivative of temperature of the phase.
- Returns:
- d2T_dV2
float Constant-pressure second volume derivative of temperature, [K*mol^2/m^6]
- d2T_dV2
- d2T_dV2_P()¶
Method to calculate and return the constant-pressure second volume derivative of temperature of the phase.
- Returns:
- d2T_dV2
float Constant-pressure second volume derivative of temperature, [K*mol^2/m^6]
- d2T_dV2
- d2T_dVdP()¶
Method to calculate and return the derivative of pressure and then the derivative of volume of temperature of the phase.
- Returns:
- d2T_dPdV
float Derivative of pressure and then the derivative of volume of temperature, [K*mol/(Pa*m^3)]
- d2T_dPdV
- d2T_drho2()[source]¶
Method to calculate and return the second molar density derivative of temperature of the phase.
- Returns:
- d2T_drho2
float Second molar density derivative of temperature, [K*m^6/mol^2]
- d2T_drho2
- d2V_dP2()[source]¶
Method to calculate and return the constant-temperature pressure derivative of volume of the phase.
- Returns:
- d2V_dP2
float Constant-temperature pressure derivative of volume, [m^3/(mol*Pa^2)]
- d2V_dP2
- d2V_dP2_T()¶
Method to calculate and return the constant-temperature pressure derivative of volume of the phase.
- Returns:
- d2V_dP2
float Constant-temperature pressure derivative of volume, [m^3/(mol*Pa^2)]
- d2V_dP2
- d2V_dPdT()[source]¶
Method to calculate and return the derivative of pressure and then the derivative of temperature of volume of the phase.
- Returns:
- d2V_dPdT
float Derivative of pressure and then the derivative of temperature of volume, [m^3/(mol*K*Pa)]
- d2V_dPdT
- d2V_dT2()[source]¶
Method to calculate and return the constant-pressure second temperature derivative of volume of the phase.
- Returns:
- d2V_dT2
float Constant-pressure second temperature derivative of volume, [m^3/(mol*K^2)]
- d2V_dT2
- d2V_dT2_P()¶
Method to calculate and return the constant-pressure second temperature derivative of volume of the phase.
- Returns:
- d2V_dT2
float Constant-pressure second temperature derivative of volume, [m^3/(mol*K^2)]
- d2V_dT2
- d2V_dTdP()¶
Method to calculate and return the derivative of pressure and then the derivative of temperature of volume of the phase.
- Returns:
- d2V_dPdT
float Derivative of pressure and then the derivative of temperature of volume, [m^3/(mol*K*Pa)]
- d2V_dPdT
- d2rho_dP2()[source]¶
Method to calculate and return the second pressure derivative of molar density of the phase.
- Returns:
- d2rho_dP2
float Second pressure derivative of molar density, [mol^2/(Pa*m^6)]
- d2rho_dP2
- d2rho_dPdT()[source]¶
Method to calculate and return the pressure derivative and then temperature derivative of the molar density of the phase.
- Returns:
- d2rho_dPdT
float Pressure derivative and then temperature derivative of the molar density, [mol/(m^3*K*Pa)]
- d2rho_dPdT
- d2rho_dT2()[source]¶
Method to calculate and return the second temperature derivative of molar density of the phase.
- Returns:
- d2rho_dT2
float Second temperature derivative of molar density, [mol^2/(K*m^6)]
- d2rho_dT2
- dA_dP()[source]¶
Method to calculate and return the constant-temperature pressure derivative of Helmholtz energy.
- Returns:
- dA_dP
float Constant-temperature pressure derivative of Helmholtz energy, [J/(mol*Pa)]
- dA_dP
- dA_dP_T()¶
Method to calculate and return the constant-temperature pressure derivative of Helmholtz energy.
- Returns:
- dA_dP
float Constant-temperature pressure derivative of Helmholtz energy, [J/(mol*Pa)]
- dA_dP
- dA_dP_V()[source]¶
Method to calculate and return the constant-volume pressure derivative of Helmholtz energy.
- Returns:
- dA_dP_V
float Constant-volume pressure derivative of Helmholtz energy, [J/(mol*Pa)]
- dA_dP_V
- dA_dT()[source]¶
Method to calculate and return the constant-pressure temperature derivative of Helmholtz energy.
- Returns:
- dA_dT
float Constant-pressure temperature derivative of Helmholtz energy, [J/(mol*K)]
- dA_dT
- dA_dT_P()¶
Method to calculate and return the constant-pressure temperature derivative of Helmholtz energy.
- Returns:
- dA_dT
float Constant-pressure temperature derivative of Helmholtz energy, [J/(mol*K)]
- dA_dT
- dA_dT_V()[source]¶
Method to calculate and return the constant-volume temperature derivative of Helmholtz energy.
- Returns:
- dA_dT_V
float Constant-volume temperature derivative of Helmholtz energy, [J/(mol*K)]
- dA_dT_V
- dA_dV_P()[source]¶
Method to calculate and return the constant-pressure volume derivative of Helmholtz energy.
- Returns:
- dA_dV_P
float Constant-pressure volume derivative of Helmholtz energy, [J/(m^3)]
- dA_dV_P
- dA_dV_T()[source]¶
Method to calculate and return the constant-temperature volume derivative of Helmholtz energy.
- Returns:
- dA_dV_T
float Constant-temperature volume derivative of Helmholtz energy, [J/(m^3)]
- dA_dV_T
- dA_mass_dP(prop='dA_dP')¶
Method to calculate and return the pressure derivative of mass Helmholtz energy of the phase at constant temperature.
- Returns:
- dA_mass_dP
float The pressure derivative of mass Helmholtz energy of the phase at constant temperature, [J/mol/Pa]
- dA_mass_dP
- dA_mass_dP_T(prop='dA_dP_T')¶
Method to calculate and return the pressure derivative of mass Helmholtz energy of the phase at constant temperature.
- Returns:
- dA_mass_dP_T
float The pressure derivative of mass Helmholtz energy of the phase at constant temperature, [J/mol/Pa]
- dA_mass_dP_T
- dA_mass_dP_V(prop='dA_dP_V')¶
Method to calculate and return the pressure derivative of mass Helmholtz energy of the phase at constant volume.
- Returns:
- dA_mass_dP_V
float The pressure derivative of mass Helmholtz energy of the phase at constant volume, [J/mol/Pa]
- dA_mass_dP_V
- dA_mass_dT(prop='dA_dT')¶
Method to calculate and return the temperature derivative of mass Helmholtz energy of the phase at constant pressure.
- Returns:
- dA_mass_dT
float The temperature derivative of mass Helmholtz energy of the phase at constant pressure, [J/mol/K]
- dA_mass_dT
- dA_mass_dT_P(prop='dA_dT_P')¶
Method to calculate and return the temperature derivative of mass Helmholtz energy of the phase at constant pressure.
- Returns:
- dA_mass_dT_P
float The temperature derivative of mass Helmholtz energy of the phase at constant pressure, [J/mol/K]
- dA_mass_dT_P
- dA_mass_dT_V(prop='dA_dT_V')¶
Method to calculate and return the temperature derivative of mass Helmholtz energy of the phase at constant volume.
- Returns:
- dA_mass_dT_V
float The temperature derivative of mass Helmholtz energy of the phase at constant volume, [J/mol/K]
- dA_mass_dT_V
- dA_mass_dV_P(prop='dA_dV_P')¶
Method to calculate and return the volume derivative of mass Helmholtz energy of the phase at constant pressure.
- Returns:
- dA_mass_dV_P
float The volume derivative of mass Helmholtz energy of the phase at constant pressure, [J/mol/m^3/mol]
- dA_mass_dV_P
- dA_mass_dV_T(prop='dA_dV_T')¶
Method to calculate and return the volume derivative of mass Helmholtz energy of the phase at constant temperature.
- Returns:
- dA_mass_dV_T
float The volume derivative of mass Helmholtz energy of the phase at constant temperature, [J/mol/m^3/mol]
- dA_mass_dV_T
- dCpigs_dT_pure()[source]¶
Method to calculate and return the first temperature derivative of ideal-gas heat capacities of every component in the phase. This method is powered by the HeatCapacityGases objects, except when all components have the same heat capacity form and a fast implementation has been written for it (currently only polynomials).
- dCv_dP_T()[source]¶
Method to calculate the pressure derivative of Cv, constant volume heat capacity, at constant temperature.
- Returns:
- dCv_dP_T
float Pressure derivative of constant volume heat capacity at constant temperature, [J/mol/K/Pa]
- dCv_dP_T
Notes
Requires d2V_dTdP, d2P_dTdP, and d2H_dTdP.
- dCv_dT_P()[source]¶
Method to calculate the temperature derivative of Cv, constant volume heat capacity, at constant pressure.
- Returns:
- dCv_dT_P
float Temperature derivative of constant volume heat capacity at constant pressure, [J/mol/K^2]
- dCv_dT_P
Notes
Requires d2P_dT2_PV, d2P_dVdT_TP, and d2H_dT2.
- dCv_mass_dP_T(prop='dCv_dP_T')¶
Method to calculate and return the pressure derivative of mass Constant-volume heat capacity of the phase at constant temperature.
- Returns:
- dCv_mass_dP_T
float The pressure derivative of mass Constant-volume heat capacity of the phase at constant temperature, [J/(mol*K)/Pa]
- dCv_mass_dP_T
- dCv_mass_dT_P(prop='dCv_dT_P')¶
Method to calculate and return the temperature derivative of mass Constant-volume heat capacity of the phase at constant pressure.
- Returns:
- dCv_mass_dT_P
float The temperature derivative of mass Constant-volume heat capacity of the phase at constant pressure, [J/(mol*K)/K]
- dCv_mass_dT_P
- dG_dP()[source]¶
Method to calculate and return the constant-temperature pressure derivative of Gibbs free energy.
- Returns:
- dG_dP
float Constant-temperature pressure derivative of Gibbs free energy, [J/(mol*Pa)]
- dG_dP
- dG_dP_T()¶
Method to calculate and return the constant-temperature pressure derivative of Gibbs free energy.
- Returns:
- dG_dP
float Constant-temperature pressure derivative of Gibbs free energy, [J/(mol*Pa)]
- dG_dP
- dG_dP_V()[source]¶
Method to calculate and return the constant-volume pressure derivative of Gibbs free energy.
- Returns:
- dG_dP_V
float Constant-volume pressure derivative of Gibbs free energy, [J/(mol*Pa)]
- dG_dP_V
- dG_dT()[source]¶
Method to calculate and return the constant-pressure temperature derivative of Gibbs free energy.
- Returns:
- dG_dT
float Constant-pressure temperature derivative of Gibbs free energy, [J/(mol*K)]
- dG_dT
- dG_dT_P()¶
Method to calculate and return the constant-pressure temperature derivative of Gibbs free energy.
- Returns:
- dG_dT
float Constant-pressure temperature derivative of Gibbs free energy, [J/(mol*K)]
- dG_dT
- dG_dT_V()[source]¶
Method to calculate and return the constant-volume temperature derivative of Gibbs free energy.
- Returns:
- dG_dT_V
float Constant-volume temperature derivative of Gibbs free energy, [J/(mol*K)]
- dG_dT_V
- dG_dV_P()[source]¶
Method to calculate and return the constant-pressure volume derivative of Gibbs free energy.
- Returns:
- dG_dV_P
float Constant-pressure volume derivative of Gibbs free energy, [J/(m^3)]
- dG_dV_P
- dG_dV_T()[source]¶
Method to calculate and return the constant-temperature volume derivative of Gibbs free energy.
- Returns:
- dG_dV_T
float Constant-temperature volume derivative of Gibbs free energy, [J/(m^3)]
- dG_dV_T
- dG_dep_dT()[source]¶
Calculate the temperature derivative of the departure Gibbs energy at constant pressure.
- Returns:
- dG_dep_dT
float Temperature derivative of departure Gibbs energy [J/(mol*K)]
- dG_dep_dT
- dG_mass_dP(prop='dG_dP')¶
Method to calculate and return the pressure derivative of mass Gibbs free energy of the phase at constant temperature.
- Returns:
- dG_mass_dP
float The pressure derivative of mass Gibbs free energy of the phase at constant temperature, [J/mol/Pa]
- dG_mass_dP
- dG_mass_dP_T(prop='dG_dP_T')¶
Method to calculate and return the pressure derivative of mass Gibbs free energy of the phase at constant temperature.
- Returns:
- dG_mass_dP_T
float The pressure derivative of mass Gibbs free energy of the phase at constant temperature, [J/mol/Pa]
- dG_mass_dP_T
- dG_mass_dP_V(prop='dG_dP_V')¶
Method to calculate and return the pressure derivative of mass Gibbs free energy of the phase at constant volume.
- Returns:
- dG_mass_dP_V
float The pressure derivative of mass Gibbs free energy of the phase at constant volume, [J/mol/Pa]
- dG_mass_dP_V
- dG_mass_dT(prop='dG_dT')¶
Method to calculate and return the temperature derivative of mass Gibbs free energy of the phase at constant pressure.
- Returns:
- dG_mass_dT
float The temperature derivative of mass Gibbs free energy of the phase at constant pressure, [J/mol/K]
- dG_mass_dT
- dG_mass_dT_P(prop='dG_dT_P')¶
Method to calculate and return the temperature derivative of mass Gibbs free energy of the phase at constant pressure.
- Returns:
- dG_mass_dT_P
float The temperature derivative of mass Gibbs free energy of the phase at constant pressure, [J/mol/K]
- dG_mass_dT_P
- dG_mass_dT_V(prop='dG_dT_V')¶
Method to calculate and return the temperature derivative of mass Gibbs free energy of the phase at constant volume.
- Returns:
- dG_mass_dT_V
float The temperature derivative of mass Gibbs free energy of the phase at constant volume, [J/mol/K]
- dG_mass_dT_V
- dG_mass_dV_P(prop='dG_dV_P')¶
Method to calculate and return the volume derivative of mass Gibbs free energy of the phase at constant pressure.
- Returns:
- dG_mass_dV_P
float The volume derivative of mass Gibbs free energy of the phase at constant pressure, [J/mol/m^3/mol]
- dG_mass_dV_P
- dG_mass_dV_T(prop='dG_dV_T')¶
Method to calculate and return the volume derivative of mass Gibbs free energy of the phase at constant temperature.
- Returns:
- dG_mass_dV_T
float The volume derivative of mass Gibbs free energy of the phase at constant temperature, [J/mol/m^3/mol]
- dG_mass_dV_T
- dH_dP_T()[source]¶
Method to calculate and return the pressure derivative of enthalpy of the phase at constant pressure.
- Returns:
- dH_dP_T
float Pressure derivative of enthalpy, [J/(mol*Pa)]
- dH_dP_T
- dH_dT_P()[source]¶
Method to calculate and return the temperature derivative of enthalpy of the phase at constant pressure.
- Returns:
- dH_dT_P
float Temperature derivative of enthalpy, [J/(mol*K)]
- dH_dT_P
- dH_dns()[source]¶
Method to calculate and return the mole number derivative of the enthalpy of the phase.
- dH_mass_dP(prop='dH_dP')¶
Method to calculate and return the pressure derivative of mass enthalpy of the phase at constant temperature.
- Returns:
- dH_mass_dP
float The pressure derivative of mass enthalpy of the phase at constant temperature, [J/mol/Pa]
- dH_mass_dP
- dH_mass_dP_T(prop='dH_dP_T')¶
Method to calculate and return the pressure derivative of mass enthalpy of the phase at constant temperature.
- Returns:
- dH_mass_dP_T
float The pressure derivative of mass enthalpy of the phase at constant temperature, [J/mol/Pa]
- dH_mass_dP_T
- dH_mass_dP_V(prop='dH_dP_V')¶
Method to calculate and return the pressure derivative of mass enthalpy of the phase at constant volume.
- Returns:
- dH_mass_dP_V
float The pressure derivative of mass enthalpy of the phase at constant volume, [J/mol/Pa]
- dH_mass_dP_V
- dH_mass_dT(prop='dH_dT')¶
Method to calculate and return the temperature derivative of mass enthalpy of the phase at constant pressure.
- Returns:
- dH_mass_dT
float The temperature derivative of mass enthalpy of the phase at constant pressure, [J/mol/K]
- dH_mass_dT
- dH_mass_dT_P(prop='dH_dT_P')¶
Method to calculate and return the temperature derivative of mass enthalpy of the phase at constant pressure.
- Returns:
- dH_mass_dT_P
float The temperature derivative of mass enthalpy of the phase at constant pressure, [J/mol/K]
- dH_mass_dT_P
- dH_mass_dT_V(prop='dH_dT_V')¶
Method to calculate and return the temperature derivative of mass enthalpy of the phase at constant volume.
- Returns:
- dH_mass_dT_V
float The temperature derivative of mass enthalpy of the phase at constant volume, [J/mol/K]
- dH_mass_dT_V
- dH_mass_dV_P(prop='dH_dV_P')¶
Method to calculate and return the volume derivative of mass enthalpy of the phase at constant pressure.
- Returns:
- dH_mass_dV_P
float The volume derivative of mass enthalpy of the phase at constant pressure, [J/mol/m^3/mol]
- dH_mass_dV_P
- dH_mass_dV_T(prop='dH_dV_T')¶
Method to calculate and return the volume derivative of mass enthalpy of the phase at constant temperature.
- Returns:
- dH_mass_dV_T
float The volume derivative of mass enthalpy of the phase at constant temperature, [J/mol/m^3/mol]
- dH_mass_dV_T
- dP_dP_T()[source]¶
Method to calculate and return the pressure derivative of pressure of the phase at constant temperature.
- Returns:
- dP_dP_T
float Pressure derivative of pressure of the phase at constant temperature, [-]
- dP_dP_T
- dP_dP_V()[source]¶
Method to calculate and return the pressure derivative of pressure of the phase at constant volume.
- Returns:
- dP_dP_V
float Pressure derivative of pressure of the phase at constant volume, [-]
- dP_dP_V
- dP_dT()[source]¶
Method to calculate and return the first temperature derivative of pressure of the phase.
- Returns:
- dP_dT
float First temperature derivative of pressure, [Pa/K]
- dP_dT
- dP_dT_A(property='P', differentiate_by='T', at_constant='A')¶
Method to calculate and return the temperature derivative of pressure of the phase at constant Helmholtz energy.
- Returns:
- dP_dT_A
float The temperature derivative of pressure of the phase at constant Helmholtz energy, [Pa/K]
- dP_dT_A
- dP_dT_G(property='P', differentiate_by='T', at_constant='G')¶
Method to calculate and return the temperature derivative of pressure of the phase at constant Gibbs energy.
- Returns:
- dP_dT_G
float The temperature derivative of pressure of the phase at constant Gibbs energy, [Pa/K]
- dP_dT_G
- dP_dT_H(property='P', differentiate_by='T', at_constant='H')¶
Method to calculate and return the temperature derivative of pressure of the phase at constant enthalpy.
- Returns:
- dP_dT_H
float The temperature derivative of pressure of the phase at constant enthalpy, [Pa/K]
- dP_dT_H
- dP_dT_P()[source]¶
Method to calculate and return the temperature derivative of temperature of the phase at constant pressure.
- Returns:
- dP_dT_P
float Temperature derivative of temperature, [-]
- dP_dT_P
- dP_dT_S(property='P', differentiate_by='T', at_constant='S')¶
Method to calculate and return the temperature derivative of pressure of the phase at constant entropy.
- Returns:
- dP_dT_S
float The temperature derivative of pressure of the phase at constant entropy, [Pa/K]
- dP_dT_S
- dP_dT_U(property='P', differentiate_by='T', at_constant='U')¶
Method to calculate and return the temperature derivative of pressure of the phase at constant internal energy.
- Returns:
- dP_dT_U
float The temperature derivative of pressure of the phase at constant internal energy, [Pa/K]
- dP_dT_U
- dP_dV()[source]¶
Method to calculate and return the first volume derivative of pressure of the phase.
- Returns:
- dP_dV
float First volume derivative of pressure, [Pa*mol/m^3]
- dP_dV
- dP_dV_A(property='P', differentiate_by='V', at_constant='A')¶
Method to calculate and return the volume derivative of pressure of the phase at constant Helmholtz energy.
- Returns:
- dP_dV_A
float The volume derivative of pressure of the phase at constant Helmholtz energy, [Pa/m^3/mol]
- dP_dV_A
- dP_dV_G(property='P', differentiate_by='V', at_constant='G')¶
Method to calculate and return the volume derivative of pressure of the phase at constant Gibbs energy.
- Returns:
- dP_dV_G
float The volume derivative of pressure of the phase at constant Gibbs energy, [Pa/m^3/mol]
- dP_dV_G
- dP_dV_H(property='P', differentiate_by='V', at_constant='H')¶
Method to calculate and return the volume derivative of pressure of the phase at constant enthalpy.
- Returns:
- dP_dV_H
float The volume derivative of pressure of the phase at constant enthalpy, [Pa/m^3/mol]
- dP_dV_H
- dP_dV_P()[source]¶
Method to calculate and return the volume derivative of pressure of the phase at constant pressure.
- Returns:
- dP_dV_P
float Volume derivative of pressure of the phase at constant pressure, [Pa*mol/m^3]
- dP_dV_P
- dP_dV_S(property='P', differentiate_by='V', at_constant='S')¶
Method to calculate and return the volume derivative of pressure of the phase at constant entropy.
- Returns:
- dP_dV_S
float The volume derivative of pressure of the phase at constant entropy, [Pa/m^3/mol]
- dP_dV_S
- dP_dV_U(property='P', differentiate_by='V', at_constant='U')¶
Method to calculate and return the volume derivative of pressure of the phase at constant internal energy.
- Returns:
- dP_dV_U
float The volume derivative of pressure of the phase at constant internal energy, [Pa/m^3/mol]
- dP_dV_U
- dP_drho()[source]¶
Method to calculate and return the molar density derivative of pressure of the phase.
- Returns:
- dP_drho
float Molar density derivative of pressure, [Pa*m^3/mol]
- dP_drho
- dP_drho_A(property='P', differentiate_by='rho', at_constant='A')¶
Method to calculate and return the density derivative of pressure of the phase at constant Helmholtz energy.
- Returns:
- dP_drho_A
float The density derivative of pressure of the phase at constant Helmholtz energy, [Pa/mol/m^3]
- dP_drho_A
- dP_drho_G(property='P', differentiate_by='rho', at_constant='G')¶
Method to calculate and return the density derivative of pressure of the phase at constant Gibbs energy.
- Returns:
- dP_drho_G
float The density derivative of pressure of the phase at constant Gibbs energy, [Pa/mol/m^3]
- dP_drho_G
- dP_drho_H(property='P', differentiate_by='rho', at_constant='H')¶
Method to calculate and return the density derivative of pressure of the phase at constant enthalpy.
- Returns:
- dP_drho_H
float The density derivative of pressure of the phase at constant enthalpy, [Pa/mol/m^3]
- dP_drho_H
- dP_drho_S(property='P', differentiate_by='rho', at_constant='S')¶
Method to calculate and return the density derivative of pressure of the phase at constant entropy.
- Returns:
- dP_drho_S
float The density derivative of pressure of the phase at constant entropy, [Pa/mol/m^3]
- dP_drho_S
- dP_drho_U(property='P', differentiate_by='rho', at_constant='U')¶
Method to calculate and return the density derivative of pressure of the phase at constant internal energy.
- Returns:
- dP_drho_U
float The density derivative of pressure of the phase at constant internal energy, [Pa/mol/m^3]
- dP_drho_U
- dS_dP_T()[source]¶
Method to calculate and return the pressure derivative of entropy of the phase at constant pressure.
- Returns:
- dS_dP_T
float Pressure derivative of entropy, [J/(mol*K*Pa)]
- dS_dP_T
- dS_dV_P()[source]¶
Method to calculate and return the volume derivative of entropy of the phase at constant pressure.
- Returns:
- dS_dV_P
float Volume derivative of entropy, [J/(K*m^3)]
- dS_dV_P
- dS_dV_T()[source]¶
Method to calculate and return the volume derivative of entropy of the phase at constant temperature.
- Returns:
- dS_dV_T
float Volume derivative of entropy, [J/(K*m^3)]
- dS_dV_T
- dS_dns()[source]¶
Method to calculate and return the mole number derivative of the entropy of the phase.
- dS_mass_dP(prop='dS_dP')¶
Method to calculate and return the pressure derivative of mass entropy of the phase at constant temperature.
- Returns:
- dS_mass_dP
float The pressure derivative of mass entropy of the phase at constant temperature, [J/(mol*K)/Pa]
- dS_mass_dP
- dS_mass_dP_T(prop='dS_dP_T')¶
Method to calculate and return the pressure derivative of mass entropy of the phase at constant temperature.
- Returns:
- dS_mass_dP_T
float The pressure derivative of mass entropy of the phase at constant temperature, [J/(mol*K)/Pa]
- dS_mass_dP_T
- dS_mass_dP_V(prop='dS_dP_V')¶
Method to calculate and return the pressure derivative of mass entropy of the phase at constant volume.
- Returns:
- dS_mass_dP_V
float The pressure derivative of mass entropy of the phase at constant volume, [J/(mol*K)/Pa]
- dS_mass_dP_V
- dS_mass_dT(prop='dS_dT')¶
Method to calculate and return the temperature derivative of mass entropy of the phase at constant pressure.
- Returns:
- dS_mass_dT
float The temperature derivative of mass entropy of the phase at constant pressure, [J/(mol*K)/K]
- dS_mass_dT
- dS_mass_dT_P(prop='dS_dT_P')¶
Method to calculate and return the temperature derivative of mass entropy of the phase at constant pressure.
- Returns:
- dS_mass_dT_P
float The temperature derivative of mass entropy of the phase at constant pressure, [J/(mol*K)/K]
- dS_mass_dT_P
- dS_mass_dT_V(prop='dS_dT_V')¶
Method to calculate and return the temperature derivative of mass entropy of the phase at constant volume.
- Returns:
- dS_mass_dT_V
float The temperature derivative of mass entropy of the phase at constant volume, [J/(mol*K)/K]
- dS_mass_dT_V
- dS_mass_dV_P(prop='dS_dV_P')¶
Method to calculate and return the volume derivative of mass entropy of the phase at constant pressure.
- Returns:
- dS_mass_dV_P
float The volume derivative of mass entropy of the phase at constant pressure, [J/(mol*K)/m^3/mol]
- dS_mass_dV_P
- dS_mass_dV_T(prop='dS_dV_T')¶
Method to calculate and return the volume derivative of mass entropy of the phase at constant temperature.
- Returns:
- dS_mass_dV_T
float The volume derivative of mass entropy of the phase at constant temperature, [J/(mol*K)/m^3/mol]
- dS_mass_dV_T
- dT_dP()[source]¶
Method to calculate and return the constant-volume pressure derivative of temperature of the phase.
- Returns:
- dT_dP
float Constant-volume pressure derivative of temperature, [K/Pa]
- dT_dP
- dT_dP_A(property='T', differentiate_by='P', at_constant='A')¶
Method to calculate and return the pressure derivative of temperature of the phase at constant Helmholtz energy.
- Returns:
- dT_dP_A
float The pressure derivative of temperature of the phase at constant Helmholtz energy, [K/Pa]
- dT_dP_A
- dT_dP_G(property='T', differentiate_by='P', at_constant='G')¶
Method to calculate and return the pressure derivative of temperature of the phase at constant Gibbs energy.
- Returns:
- dT_dP_G
float The pressure derivative of temperature of the phase at constant Gibbs energy, [K/Pa]
- dT_dP_G
- dT_dP_H(property='T', differentiate_by='P', at_constant='H')¶
Method to calculate and return the pressure derivative of temperature of the phase at constant enthalpy.
- Returns:
- dT_dP_H
float The pressure derivative of temperature of the phase at constant enthalpy, [K/Pa]
- dT_dP_H
- dT_dP_S(property='T', differentiate_by='P', at_constant='S')¶
Method to calculate and return the pressure derivative of temperature of the phase at constant entropy.
- Returns:
- dT_dP_S
float The pressure derivative of temperature of the phase at constant entropy, [K/Pa]
- dT_dP_S
- dT_dP_T()[source]¶
Method to calculate and return the pressure derivative of temperature of the phase at constant temperature.
- Returns:
- dT_dP_T
float Pressure derivative of temperature of the phase at constant temperature, [K/Pa]
- dT_dP_T
- dT_dP_U(property='T', differentiate_by='P', at_constant='U')¶
Method to calculate and return the pressure derivative of temperature of the phase at constant internal energy.
- Returns:
- dT_dP_U
float The pressure derivative of temperature of the phase at constant internal energy, [K/Pa]
- dT_dP_U
- dT_dP_V()¶
Method to calculate and return the constant-volume pressure derivative of temperature of the phase.
- Returns:
- dT_dP
float Constant-volume pressure derivative of temperature, [K/Pa]
- dT_dP
- dT_dT_P()[source]¶
Method to calculate and return the temperature derivative of temperature of the phase at constant pressure.
- Returns:
- dT_dT_P
float Temperature derivative of temperature of the phase at constant pressure, [-]
- dT_dT_P
- dT_dT_V()[source]¶
Method to calculate and return the temperature derivative of temperature of the phase at constant volume.
- Returns:
- dT_dT_V
float Temperature derivative of temperature of the phase at constant volume, [-]
- dT_dT_V
- dT_dV()[source]¶
Method to calculate and return the constant-pressure volume derivative of temperature of the phase.
- Returns:
- dT_dV
float Constant-pressure volume derivative of temperature, [K*m^3/(m^3)]
- dT_dV
- dT_dV_A(property='T', differentiate_by='V', at_constant='A')¶
Method to calculate and return the volume derivative of temperature of the phase at constant Helmholtz energy.
- Returns:
- dT_dV_A
float The volume derivative of temperature of the phase at constant Helmholtz energy, [K/m^3/mol]
- dT_dV_A
- dT_dV_G(property='T', differentiate_by='V', at_constant='G')¶
Method to calculate and return the volume derivative of temperature of the phase at constant Gibbs energy.
- Returns:
- dT_dV_G
float The volume derivative of temperature of the phase at constant Gibbs energy, [K/m^3/mol]
- dT_dV_G
- dT_dV_H(property='T', differentiate_by='V', at_constant='H')¶
Method to calculate and return the volume derivative of temperature of the phase at constant enthalpy.
- Returns:
- dT_dV_H
float The volume derivative of temperature of the phase at constant enthalpy, [K/m^3/mol]
- dT_dV_H
- dT_dV_P()¶
Method to calculate and return the constant-pressure volume derivative of temperature of the phase.
- Returns:
- dT_dV
float Constant-pressure volume derivative of temperature, [K*m^3/(m^3)]
- dT_dV
- dT_dV_S(property='T', differentiate_by='V', at_constant='S')¶
Method to calculate and return the volume derivative of temperature of the phase at constant entropy.
- Returns:
- dT_dV_S
float The volume derivative of temperature of the phase at constant entropy, [K/m^3/mol]
- dT_dV_S
- dT_dV_T()[source]¶
Method to calculate and return the volume derivative of temperature of the phase at constant temperature.
- Returns:
- dT_dV_T
float Pressure derivative of temperature of the phase at constant temperature, [K*mol/m^3]
- dT_dV_T
- dT_dV_U(property='T', differentiate_by='V', at_constant='U')¶
Method to calculate and return the volume derivative of temperature of the phase at constant internal energy.
- Returns:
- dT_dV_U
float The volume derivative of temperature of the phase at constant internal energy, [K/m^3/mol]
- dT_dV_U
- dT_drho()[source]¶
Method to calculate and return the molar density derivative of temperature of the phase.
- Returns:
- dT_drho
float Molar density derivative of temperature, [K*m^3/mol]
- dT_drho
- dT_drho_A(property='T', differentiate_by='rho', at_constant='A')¶
Method to calculate and return the density derivative of temperature of the phase at constant Helmholtz energy.
- Returns:
- dT_drho_A
float The density derivative of temperature of the phase at constant Helmholtz energy, [K/mol/m^3]
- dT_drho_A
- dT_drho_G(property='T', differentiate_by='rho', at_constant='G')¶
Method to calculate and return the density derivative of temperature of the phase at constant Gibbs energy.
- Returns:
- dT_drho_G
float The density derivative of temperature of the phase at constant Gibbs energy, [K/mol/m^3]
- dT_drho_G
- dT_drho_H(property='T', differentiate_by='rho', at_constant='H')¶
Method to calculate and return the density derivative of temperature of the phase at constant enthalpy.
- Returns:
- dT_drho_H
float The density derivative of temperature of the phase at constant enthalpy, [K/mol/m^3]
- dT_drho_H
- dT_drho_S(property='T', differentiate_by='rho', at_constant='S')¶
Method to calculate and return the density derivative of temperature of the phase at constant entropy.
- Returns:
- dT_drho_S
float The density derivative of temperature of the phase at constant entropy, [K/mol/m^3]
- dT_drho_S
- dT_drho_U(property='T', differentiate_by='rho', at_constant='U')¶
Method to calculate and return the density derivative of temperature of the phase at constant internal energy.
- Returns:
- dT_drho_U
float The density derivative of temperature of the phase at constant internal energy, [K/mol/m^3]
- dT_drho_U
- dU_dP()[source]¶
Method to calculate and return the constant-temperature pressure derivative of internal energy.
- Returns:
- dU_dP
float Constant-temperature pressure derivative of internal energy, [J/(mol*Pa)]
- dU_dP
- dU_dP_T()¶
Method to calculate and return the constant-temperature pressure derivative of internal energy.
- Returns:
- dU_dP
float Constant-temperature pressure derivative of internal energy, [J/(mol*Pa)]
- dU_dP
- dU_dP_V()[source]¶
Method to calculate and return the constant-volume pressure derivative of internal energy.
- Returns:
- dU_dP_V
float Constant-volume pressure derivative of internal energy, [J/(mol*Pa)]
- dU_dP_V
- dU_dT()[source]¶
Method to calculate and return the constant-pressure temperature derivative of internal energy.
- Returns:
- dU_dT
float Constant-pressure temperature derivative of internal energy, [J/(mol*K)]
- dU_dT
- dU_dT_P()¶
Method to calculate and return the constant-pressure temperature derivative of internal energy.
- Returns:
- dU_dT
float Constant-pressure temperature derivative of internal energy, [J/(mol*K)]
- dU_dT
- dU_dT_V()[source]¶
Method to calculate and return the constant-volume temperature derivative of internal energy.
- Returns:
- dU_dT_V
float Constant-volume temperature derivative of internal energy, [J/(mol*K)]
- dU_dT_V
- dU_dV_P()[source]¶
Method to calculate and return the constant-pressure volume derivative of internal energy.
- Returns:
- dU_dV_P
float Constant-pressure volume derivative of internal energy, [J/(m^3)]
- dU_dV_P
- dU_dV_T()[source]¶
Method to calculate and return the constant-temperature volume derivative of internal energy.
- Returns:
- dU_dV_T
float Constant-temperature volume derivative of internal energy, [J/(m^3)]
- dU_dV_T
- dU_mass_dP(prop='dU_dP')¶
Method to calculate and return the pressure derivative of mass internal energy of the phase at constant temperature.
- Returns:
- dU_mass_dP
float The pressure derivative of mass internal energy of the phase at constant temperature, [J/mol/Pa]
- dU_mass_dP
- dU_mass_dP_T(prop='dU_dP_T')¶
Method to calculate and return the pressure derivative of mass internal energy of the phase at constant temperature.
- Returns:
- dU_mass_dP_T
float The pressure derivative of mass internal energy of the phase at constant temperature, [J/mol/Pa]
- dU_mass_dP_T
- dU_mass_dP_V(prop='dU_dP_V')¶
Method to calculate and return the pressure derivative of mass internal energy of the phase at constant volume.
- Returns:
- dU_mass_dP_V
float The pressure derivative of mass internal energy of the phase at constant volume, [J/mol/Pa]
- dU_mass_dP_V
- dU_mass_dT(prop='dU_dT')¶
Method to calculate and return the temperature derivative of mass internal energy of the phase at constant pressure.
- Returns:
- dU_mass_dT
float The temperature derivative of mass internal energy of the phase at constant pressure, [J/mol/K]
- dU_mass_dT
- dU_mass_dT_P(prop='dU_dT_P')¶
Method to calculate and return the temperature derivative of mass internal energy of the phase at constant pressure.
- Returns:
- dU_mass_dT_P
float The temperature derivative of mass internal energy of the phase at constant pressure, [J/mol/K]
- dU_mass_dT_P
- dU_mass_dT_V(prop='dU_dT_V')¶
Method to calculate and return the temperature derivative of mass internal energy of the phase at constant volume.
- Returns:
- dU_mass_dT_V
float The temperature derivative of mass internal energy of the phase at constant volume, [J/mol/K]
- dU_mass_dT_V
- dU_mass_dV_P(prop='dU_dV_P')¶
Method to calculate and return the volume derivative of mass internal energy of the phase at constant pressure.
- Returns:
- dU_mass_dV_P
float The volume derivative of mass internal energy of the phase at constant pressure, [J/mol/m^3/mol]
- dU_mass_dV_P
- dU_mass_dV_T(prop='dU_dV_T')¶
Method to calculate and return the volume derivative of mass internal energy of the phase at constant temperature.
- Returns:
- dU_mass_dV_T
float The volume derivative of mass internal energy of the phase at constant temperature, [J/mol/m^3/mol]
- dU_mass_dV_T
- dV_dP()[source]¶
Method to calculate and return the constant-temperature pressure derivative of volume of the phase.
- Returns:
- dV_dP
float Constant-temperature pressure derivative of volume, [m^3/(mol*Pa)]
- dV_dP
- dV_dP_A(property='V', differentiate_by='P', at_constant='A')¶
Method to calculate and return the pressure derivative of volume of the phase at constant Helmholtz energy.
- Returns:
- dV_dP_A
float The pressure derivative of volume of the phase at constant Helmholtz energy, [m^3/mol/Pa]
- dV_dP_A
- dV_dP_G(property='V', differentiate_by='P', at_constant='G')¶
Method to calculate and return the pressure derivative of volume of the phase at constant Gibbs energy.
- Returns:
- dV_dP_G
float The pressure derivative of volume of the phase at constant Gibbs energy, [m^3/mol/Pa]
- dV_dP_G
- dV_dP_H(property='V', differentiate_by='P', at_constant='H')¶
Method to calculate and return the pressure derivative of volume of the phase at constant enthalpy.
- Returns:
- dV_dP_H
float The pressure derivative of volume of the phase at constant enthalpy, [m^3/mol/Pa]
- dV_dP_H
- dV_dP_S(property='V', differentiate_by='P', at_constant='S')¶
Method to calculate and return the pressure derivative of volume of the phase at constant entropy.
- Returns:
- dV_dP_S
float The pressure derivative of volume of the phase at constant entropy, [m^3/mol/Pa]
- dV_dP_S
- dV_dP_T()¶
Method to calculate and return the constant-temperature pressure derivative of volume of the phase.
- Returns:
- dV_dP
float Constant-temperature pressure derivative of volume, [m^3/(mol*Pa)]
- dV_dP
- dV_dP_U(property='V', differentiate_by='P', at_constant='U')¶
Method to calculate and return the pressure derivative of volume of the phase at constant internal energy.
- Returns:
- dV_dP_U
float The pressure derivative of volume of the phase at constant internal energy, [m^3/mol/Pa]
- dV_dP_U
- dV_dP_V()[source]¶
Method to calculate and return the volume derivative of pressure of the phase at constant volume.
- Returns:
- dV_dP_V
float Pressure derivative of volume of the phase at constant pressure, [m^3/(mol*Pa)]
- dV_dP_V
- dV_dT()[source]¶
Method to calculate and return the constant-pressure temperature derivative of volume of the phase.
- Returns:
- dV_dT
float Constant-pressure temperature derivative of volume, [m^3/(mol*K)]
- dV_dT
- dV_dT_A(property='V', differentiate_by='T', at_constant='A')¶
Method to calculate and return the temperature derivative of volume of the phase at constant Helmholtz energy.
- Returns:
- dV_dT_A
float The temperature derivative of volume of the phase at constant Helmholtz energy, [m^3/mol/K]
- dV_dT_A
- dV_dT_G(property='V', differentiate_by='T', at_constant='G')¶
Method to calculate and return the temperature derivative of volume of the phase at constant Gibbs energy.
- Returns:
- dV_dT_G
float The temperature derivative of volume of the phase at constant Gibbs energy, [m^3/mol/K]
- dV_dT_G
- dV_dT_H(property='V', differentiate_by='T', at_constant='H')¶
Method to calculate and return the temperature derivative of volume of the phase at constant enthalpy.
- Returns:
- dV_dT_H
float The temperature derivative of volume of the phase at constant enthalpy, [m^3/mol/K]
- dV_dT_H
- dV_dT_P()¶
Method to calculate and return the constant-pressure temperature derivative of volume of the phase.
- Returns:
- dV_dT
float Constant-pressure temperature derivative of volume, [m^3/(mol*K)]
- dV_dT
- dV_dT_S(property='V', differentiate_by='T', at_constant='S')¶
Method to calculate and return the temperature derivative of volume of the phase at constant entropy.
- Returns:
- dV_dT_S
float The temperature derivative of volume of the phase at constant entropy, [m^3/mol/K]
- dV_dT_S
- dV_dT_U(property='V', differentiate_by='T', at_constant='U')¶
Method to calculate and return the temperature derivative of volume of the phase at constant internal energy.
- Returns:
- dV_dT_U
float The temperature derivative of volume of the phase at constant internal energy, [m^3/mol/K]
- dV_dT_U
- dV_dT_V()[source]¶
Method to calculate and return the temperature derivative of volume of the phase at constant volume.
- Returns:
- dV_dT_V
float Temperature derivative of volume of the phase at constant volume, [m^3/(mol*K)]
- dV_dT_V
- dV_dV_P()[source]¶
Method to calculate and return the volume derivative of volume of the phase at constant pressure.
- Returns:
- dV_dV_P
float Volume derivative of volume of the phase at constant pressure, [-]
- dV_dV_P
- dV_dV_T()[source]¶
Method to calculate and return the volume derivative of volume of the phase at constant temperature.
- Returns:
- dV_dV_T
float Volume derivative of volume of the phase at constant temperature, [-]
- dV_dV_T
- dV_dns()[source]¶
Method to calculate and return the mole number derivatives of the molar volume V of the phase.
- dV_drho_A(property='V', differentiate_by='rho', at_constant='A')¶
Method to calculate and return the density derivative of volume of the phase at constant Helmholtz energy.
- Returns:
- dV_drho_A
float The density derivative of volume of the phase at constant Helmholtz energy, [m^3/mol/mol/m^3]
- dV_drho_A
- dV_drho_G(property='V', differentiate_by='rho', at_constant='G')¶
Method to calculate and return the density derivative of volume of the phase at constant Gibbs energy.
- Returns:
- dV_drho_G
float The density derivative of volume of the phase at constant Gibbs energy, [m^3/mol/mol/m^3]
- dV_drho_G
- dV_drho_H(property='V', differentiate_by='rho', at_constant='H')¶
Method to calculate and return the density derivative of volume of the phase at constant enthalpy.
- Returns:
- dV_drho_H
float The density derivative of volume of the phase at constant enthalpy, [m^3/mol/mol/m^3]
- dV_drho_H
- dV_drho_S(property='V', differentiate_by='rho', at_constant='S')¶
Method to calculate and return the density derivative of volume of the phase at constant entropy.
- Returns:
- dV_drho_S
float The density derivative of volume of the phase at constant entropy, [m^3/mol/mol/m^3]
- dV_drho_S
- dV_drho_U(property='V', differentiate_by='rho', at_constant='U')¶
Method to calculate and return the density derivative of volume of the phase at constant internal energy.
- Returns:
- dV_drho_U
float The density derivative of volume of the phase at constant internal energy, [m^3/mol/mol/m^3]
- dV_drho_U
- dV_dzs()[source]¶
Method to calculate and return the mole fraction derivatives of the molar volume V of the phase.
- dZ_dP()[source]¶
Method to calculate and return the pressure derivative of compressibility of the phase.
- Returns:
- dZ_dP
float Pressure derivative of compressibility, [1/Pa]
- dZ_dP
- dZ_dT()[source]¶
Method to calculate and return the temperature derivative of compressibility of the phase.
- Returns:
- dZ_dT
float Temperature derivative of compressibility, [1/K]
- dZ_dT
- dZ_dV()[source]¶
Method to calculate and return the volume derivative of compressibility of the phase.
- Returns:
- dZ_dV
float Volume derivative of compressibility, [mol/(m^3)]
- dZ_dV
- dZ_dns()[source]¶
Method to calculate and return the mole number derivatives of the compressibility factor Z of the phase.
- dZ_dzs()[source]¶
Method to calculate and return the mole fraction derivatives of the compressibility factor Z of the phase.
- dfugacities_dP()[source]¶
Method to calculate and return the pressure derivative of the fugacities of the components in the phase.
- Returns:
Notes
For models without pressure dependence of fugacity, the returned result may not be exactly zero due to inaccuracy in floating point results; results are likely on the order of 1e-14 or lower in that case.
- dfugacities_dT()[source]¶
Method to calculate and return the temperature derivative of fugacities of the phase.
- dfugacities_dns()[source]¶
Method to calculate and return the mole number derivative of the fugacities of the components in the phase.
if i != j:
if i == j:
- dfugacity_dP()[source]¶
Method to calculate and return the pressure derivative of fugacity of the phase; provided the phase is 1 component.
- dfugacity_dT()[source]¶
Method to calculate and return the temperature derivative of fugacity of the phase; provided the phase is 1 component.
- property dipoles¶
Dipole moments for each component, [debye].
- disobaric_expansion_dP()[source]¶
Method to calculate and return the pressure derivative of isobatic expansion coefficient of the phase.
- Returns:
- dbeta_dP
float Pressure derivative of isobaric coefficient of a thermal expansion, [1/(K*Pa)]
- dbeta_dP
- disobaric_expansion_dT()[source]¶
Method to calculate and return the temperature derivative of isobatic expansion coefficient of the phase.
- Returns:
- dbeta_dT
float Temperature derivative of isobaric coefficient of a thermal expansion, [1/K^2]
- dbeta_dT
- disothermal_compressibility_dT()¶
Method to calculate and return the temperature derivative of isothermal compressibility of the phase.
- Returns:
- dkappa_dT
float First temperature derivative of isothermal coefficient of compressibility, [1/(Pa*K)]
- dkappa_dT
- dkappa_dT()[source]¶
Method to calculate and return the temperature derivative of isothermal compressibility of the phase.
- Returns:
- dkappa_dT
float First temperature derivative of isothermal coefficient of compressibility, [1/(Pa*K)]
- dkappa_dT
- dlnfugacities_dns()[source]¶
Method to calculate and return the mole number derivative of the log of fugacities of the components in the phase.
- dlnfugacities_dzs()[source]¶
Method to calculate and return the mole fraction derivative of the log of fugacities of the components in the phase.
- dlnphis_dP()[source]¶
Method to calculate and return the pressure derivative of the log of fugacity coefficients of each component in the phase.
- dlnphis_dT()[source]¶
Method to calculate and return the temperature derivative of the log of fugacity coefficients of each component in the phase.
- dnV_dns()[source]¶
Method to calculate and return the partial mole number derivatives of the molar volume V of the phase.
- dphis_dP()[source]¶
Method to calculate and return the pressure derivative of fugacity coefficients of the phase.
- dphis_dT()[source]¶
Method to calculate and return the temperature derivative of fugacity coefficients of the phase.
- dphis_dzs()[source]¶
Method to calculate and return the molar composition derivative of fugacity coefficients of the phase.
- drho_dP()[source]¶
Method to calculate and return the pressure derivative of molar density of the phase.
- Returns:
- drho_dP
float Pressure derivative of Molar density, [mol/(Pa*m^3)]
- drho_dP
- drho_dP_A(property='rho', differentiate_by='P', at_constant='A')¶
Method to calculate and return the pressure derivative of density of the phase at constant Helmholtz energy.
- Returns:
- drho_dP_A
float The pressure derivative of density of the phase at constant Helmholtz energy, [mol/m^3/Pa]
- drho_dP_A
- drho_dP_G(property='rho', differentiate_by='P', at_constant='G')¶
Method to calculate and return the pressure derivative of density of the phase at constant Gibbs energy.
- Returns:
- drho_dP_G
float The pressure derivative of density of the phase at constant Gibbs energy, [mol/m^3/Pa]
- drho_dP_G
- drho_dP_H(property='rho', differentiate_by='P', at_constant='H')¶
Method to calculate and return the pressure derivative of density of the phase at constant enthalpy.
- Returns:
- drho_dP_H
float The pressure derivative of density of the phase at constant enthalpy, [mol/m^3/Pa]
- drho_dP_H
- drho_dP_S(property='rho', differentiate_by='P', at_constant='S')¶
Method to calculate and return the pressure derivative of density of the phase at constant entropy.
- Returns:
- drho_dP_S
float The pressure derivative of density of the phase at constant entropy, [mol/m^3/Pa]
- drho_dP_S
- drho_dP_U(property='rho', differentiate_by='P', at_constant='U')¶
Method to calculate and return the pressure derivative of density of the phase at constant internal energy.
- Returns:
- drho_dP_U
float The pressure derivative of density of the phase at constant internal energy, [mol/m^3/Pa]
- drho_dP_U
- drho_dT()[source]¶
Method to calculate and return the temperature derivative of molar density of the phase.
- Returns:
- drho_dT
float Temperature derivative of molar density, [mol/(K*m^3)]
- drho_dT
- drho_dT_A(property='rho', differentiate_by='T', at_constant='A')¶
Method to calculate and return the temperature derivative of density of the phase at constant Helmholtz energy.
- Returns:
- drho_dT_A
float The temperature derivative of density of the phase at constant Helmholtz energy, [mol/m^3/K]
- drho_dT_A
- drho_dT_G(property='rho', differentiate_by='T', at_constant='G')¶
Method to calculate and return the temperature derivative of density of the phase at constant Gibbs energy.
- Returns:
- drho_dT_G
float The temperature derivative of density of the phase at constant Gibbs energy, [mol/m^3/K]
- drho_dT_G
- drho_dT_H(property='rho', differentiate_by='T', at_constant='H')¶
Method to calculate and return the temperature derivative of density of the phase at constant enthalpy.
- Returns:
- drho_dT_H
float The temperature derivative of density of the phase at constant enthalpy, [mol/m^3/K]
- drho_dT_H
- drho_dT_S(property='rho', differentiate_by='T', at_constant='S')¶
Method to calculate and return the temperature derivative of density of the phase at constant entropy.
- Returns:
- drho_dT_S
float The temperature derivative of density of the phase at constant entropy, [mol/m^3/K]
- drho_dT_S
- drho_dT_U(property='rho', differentiate_by='T', at_constant='U')¶
Method to calculate and return the temperature derivative of density of the phase at constant internal energy.
- Returns:
- drho_dT_U
float The temperature derivative of density of the phase at constant internal energy, [mol/m^3/K]
- drho_dT_U
- drho_dT_V()[source]¶
Method to calculate and return the temperature derivative of molar density of the phase at constant volume.
- Returns:
- drho_dT_V
float Temperature derivative of molar density of the phase at constant volume, [mol/(m^3*K)]
- drho_dT_V
- drho_dV_A(property='rho', differentiate_by='V', at_constant='A')¶
Method to calculate and return the volume derivative of density of the phase at constant Helmholtz energy.
- Returns:
- drho_dV_A
float The volume derivative of density of the phase at constant Helmholtz energy, [mol/m^3/m^3/mol]
- drho_dV_A
- drho_dV_G(property='rho', differentiate_by='V', at_constant='G')¶
Method to calculate and return the volume derivative of density of the phase at constant Gibbs energy.
- Returns:
- drho_dV_G
float The volume derivative of density of the phase at constant Gibbs energy, [mol/m^3/m^3/mol]
- drho_dV_G
- drho_dV_H(property='rho', differentiate_by='V', at_constant='H')¶
Method to calculate and return the volume derivative of density of the phase at constant enthalpy.
- Returns:
- drho_dV_H
float The volume derivative of density of the phase at constant enthalpy, [mol/m^3/m^3/mol]
- drho_dV_H
- drho_dV_S(property='rho', differentiate_by='V', at_constant='S')¶
Method to calculate and return the volume derivative of density of the phase at constant entropy.
- Returns:
- drho_dV_S
float The volume derivative of density of the phase at constant entropy, [mol/m^3/m^3/mol]
- drho_dV_S
- drho_dV_T()[source]¶
Method to calculate and return the volume derivative of molar density of the phase.
- Returns:
- drho_dV_T
float Molar density derivative of volume, [mol^2/m^6]
- drho_dV_T
- drho_dV_U(property='rho', differentiate_by='V', at_constant='U')¶
Method to calculate and return the volume derivative of density of the phase at constant internal energy.
- Returns:
- drho_dV_U
float The volume derivative of density of the phase at constant internal energy, [mol/m^3/m^3/mol]
- drho_dV_U
- drho_mass_dP()[source]¶
Method to calculate the mass density derivative with respect to pressure, at constant temperature.
- Returns:
- drho_mass_dP
float Pressure derivative of mass density at constant temperature, [kg/m^3/Pa]
- drho_mass_dP
Notes
Requires dV_dP, MW, and V.
- drho_mass_dT()[source]¶
Method to calculate the mass density derivative with respect to temperature, at constant pressure.
- Returns:
- drho_mass_dT
float Temperature derivative of mass density at constant pressure, [kg/m^3/K]
- drho_mass_dT
Notes
Requires dV_dT, MW, and V.
- dspeed_of_sound_dP_T()[source]¶
Method to calculate the pressure derivative of speed of sound at constant temperature in molar units.
- Returns:
- dspeed_of_sound_dP_T
float Pressure derivative of speed of sound at constant temperature, [m*kg^0.5/s/mol^0.5/Pa]
- dspeed_of_sound_dP_T
- dspeed_of_sound_dT_P()[source]¶
Method to calculate the temperature derivative of speed of sound at constant pressure in molar units.
- Returns:
- dspeed_of_sound_dT_P
float Temperature derivative of speed of sound at constant pressure, [m*kg^0.5/s/mol^0.5/K]
- dspeed_of_sound_dT_P
Notes
Requires the temperature derivative of Cp and Cv both at constant pressure, as wel as the volume and temperature derivative of pressure, calculated at constant temperature and then pressure respectively. These can be tricky to obtain.
- property economic_statuses¶
Status of each component in in relation to import and export from various regions, [-].
- property energy¶
Method to return the energy (enthalpy times flow rate) of this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- energy
float Enthalpy flow rate, [W]
- energy
- property energy_calc¶
Method to return the energy (enthalpy times flow rate) of this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- energy
float Enthalpy flow rate, [W]
- energy
- property energy_reactive¶
Method to return the reactive energy (reactive enthalpy times flow rate) of this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- energy_reactive
float Reactive enthalpy flow rate, [W]
- energy_reactive
- property energy_reactive_calc¶
Method to return the reactive energy (reactive enthalpy times flow rate) of this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- energy_reactive
float Reactive enthalpy flow rate, [W]
- energy_reactive
- force_phase = None¶
Attribute which can be set to a global Phase object to force the phases identification routines to label it a certain phase. Accepts values of (‘g’, ‘l’, ‘s’).
- property formulas¶
Formulas of each component, [-].
- classmethod from_json(json_repr, cache=None)[source]¶
Method to create a phase from a JSON serialization of another phase.
- Parameters:
- json_repr
dict JSON-friendly representation, [-]
- json_repr
- Returns:
- phase
Phase Newly created phase object from the json serialization, [-]
- phase
Notes
It is important that the input string be in the same format as that created by
Phase.as_json.
- fugacities_at_zs(zs, most_stable=False)[source]¶
Method to directly calculate the figacities at a different composition than the current phase. This is implemented to allow for the possibility of more direct calls to obtain fugacities than is possible with the phase interface. This base method simply creates a new phase, gets its log fugacity coefficients, exponentiates them, and multiplies them by P and compositions.
- fugacities_lowest_Gibbs()¶
Method to calculate and return the fugacities of the phase.
- fugacity()[source]¶
Method to calculate and return the fugacity of the phase; provided the phase is 1 component.
- property functional_groups¶
Set of functional group constants present in each component, [-].
- gammas()[source]¶
Method to calculate and return the activity coefficients of the phase, [-].
Activity coefficients are defined as the ratio of the actual fugacity coefficients times the pressure to the reference pure fugacity coefficients times the reference pressure. The reference pressure can be set to the actual pressure (the Lewis Randall standard state) which makes the pressures cancel.
- gammas_infinite_dilution()[source]¶
Calculate and return the infinite dilution activity coefficients of each component.
Notes
The algorithm is as follows. For each component, set its composition to zero. Normalize the remaining compositions to 1. Create a new object with that composition, and calculate the activity coefficient of the component whose concentration was set to zero.
- helium_molar_weight()¶
Method to calculate and return the effective quantiy of helium in the phase as a molar weight, [g/mol].
This is the molecular weight of the phase times the mass fraction of the helium component.
- helium_partial_pressure()¶
Method to calculate and return the ideal partial pressure of helium, [Pa]
- humidity_ratio()¶
Method to calculate and return the humidity ratio of the phase; normally defined as the kg water/kg dry air, the definition here is kg water/(kg rest of the phase) [-]
- Returns:
- humidity_ratio
float Humidity ratio, [-]
- humidity_ratio
- hydrogen_molar_weight()¶
Method to calculate and return the effective quantiy of hydrogen in the phase as a molar weight, [g/mol].
This is the molecular weight of the phase times the mass fraction of the hydrogen component.
- hydrogen_partial_pressure()¶
Method to calculate and return the ideal partial pressure of hydrogen, [Pa]
- hydrogen_sulfide_molar_weight()¶
Method to calculate and return the effective quantiy of hydrogen_sulfide in the phase as a molar weight, [g/mol].
This is the molecular weight of the phase times the mass fraction of the hydrogen_sulfide component.
- hydrogen_sulfide_partial_pressure()¶
Method to calculate and return the ideal partial pressure of hydrogen_sulfide, [Pa]
- ideal_gas_basis = False¶
- is_same_model(other_phase, ignore_phase=False)[source]¶
Method to check whether or not a model is the exact same as another. In the case ignore_phase is True, whether the model is liquid or gas is omitted as in the case of CEOSGas and CEOSLiquid.
- Parameters:
- Returns:
- samebool
Whether they are the same or not
Notes
This may be quicker to calculate than the model hash.
- is_solid = False¶
- isentropic_exponent()¶
Method to calculate and return the real gas isentropic exponent of the phase, which satisfies the relationship .
- Returns:
- k_PV
float Isentropic exponent of a real fluid, [-]
- k_PV
- isentropic_exponent_PT()[source]¶
Method to calculate and return the real gas isentropic exponent of the phase, which satisfies the relationship .
- Returns:
- k_PT
float Isentropic exponent of a real fluid, [-]
- k_PT
- isentropic_exponent_PV()[source]¶
Method to calculate and return the real gas isentropic exponent of the phase, which satisfies the relationship .
- Returns:
- k_PV
float Isentropic exponent of a real fluid, [-]
- k_PV
- isentropic_exponent_TV()[source]¶
Method to calculate and return the real gas isentropic exponent of the phase, which satisfies the relationship .
- Returns:
- k_TV
float Isentropic exponent of a real fluid, [-]
- k_TV
- isobaric_expansion()[source]¶
Method to calculate and return the isobatic expansion coefficient of the phase.
- Returns:
- beta
float Isobaric coefficient of a thermal expansion, [1/K]
- beta
- isothermal_bulk_modulus()[source]¶
Method to calculate and return the isothermal bulk modulus of the phase.
- Returns:
- isothermal_bulk_modulus
float Isothermal bulk modulus, [Pa]
- isothermal_bulk_modulus
- isothermal_compressibility()¶
Method to calculate and return the isothermal compressibility of the phase.
- Returns:
- kappa
float Isothermal coefficient of compressibility, [1/Pa]
- kappa
- json_version = 1¶
- kappa()[source]¶
Method to calculate and return the isothermal compressibility of the phase.
- Returns:
- kappa
float Isothermal coefficient of compressibility, [1/Pa]
- kappa
- kgs()¶
Method to calculate and return the pure-component gas temperature-dependent thermal conductivity of each species from the
thermo.thermal_conductivity.ThermalConductivityGasobjects.These values are normally at low pressure, not along the saturation line.
- kinematic_viscosity()¶
Method to calculate and return the kinematic viscosity of the phase, [m^2/s]
- Returns:
- nu
float Kinematic viscosity, [m^2/s]
- nu
- kls()¶
Method to calculate and return the pure-component liquid temperature-dependent thermal conductivity of each species from the
thermo.thermal_conductivity.ThermalConductivityLiquidobjects.These values are normally at low pressure, not along the saturation line.
- property legal_statuses¶
Status of each component in in relation to import and export rules from various regions, [-].
- lnphi()[source]¶
Method to calculate and return the log of fugacity coefficient of the phase; provided the phase is 1 component.
- lnphis()[source]¶
Method to calculate and return the log of fugacity coefficients of each component in the phase.
- lnphis_G_min()[source]¶
Method to calculate and return the log fugacity coefficients of the phase. If the phase can have multiple solutions at its T and P, this method should return those with the lowest Gibbs energy. This needs to be implemented on phases with that criteria like cubic EOSs.
- lnphis_at_zs(zs, most_stable=False)[source]¶
Method to directly calculate the log fugacity coefficients at a different composition than the current phase. This is implemented to allow for the possibility of more direct calls to obtain fugacities than is possible with the phase interface. This base method simply creates a new phase, gets its log fugacity coefficients, and returns them.
- property logPs¶
Octanol-water partition coefficients for each component, [-].
- log_zs()[source]¶
Method to calculate and return the log of mole fractions specified. These are used in calculating entropy and in many other formulas.
- property m¶
Method to return the mass flow rate of this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- m
float Mass flow of the phase, [kg/s]
- m
- property m_calc¶
- methane_molar_weight()¶
Method to calculate and return the effective quantiy of methane in the phase as a molar weight, [g/mol].
This is the molecular weight of the phase times the mass fraction of the methane component.
- methane_partial_pressure()¶
Method to calculate and return the ideal partial pressure of methane, [Pa]
- molar_water_content()¶
- property molecular_diameters¶
Lennard-Jones molecular diameters for each component, [angstrom].
- property ms¶
Method to return the mass flow rates of each component in this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- ms
float Mass flow of the components in the phase, [kg/s]
- ms
- property ms_calc¶
Method to return the mass flow rates of each component in this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- ms
float Mass flow of the components in the phase, [kg/s]
- ms
- mugs()¶
Method to calculate and return the pure-component gas temperature-dependent viscosity of each species from the
thermo.viscosity.ViscosityGasobjects.These values are normally at low pressure, not along the saturation line.
- muls()¶
Method to calculate and return the pure-component liquid temperature-dependent viscosity of each species from the
thermo.viscosity.ViscosityLiquidobjects.These values are normally at low pressure, not along the saturation line.
- property n¶
Method to return the molar flow rate of this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- n
float Molar flow of the phase, [mol/s]
- n
- property n_calc¶
- property names¶
Names for each component, [-].
- nitrogen_molar_weight()¶
Method to calculate and return the effective quantiy of nitrogen in the phase as a molar weight, [g/mol].
This is the molecular weight of the phase times the mass fraction of the nitrogen component.
- nitrogen_partial_pressure()¶
Method to calculate and return the ideal partial pressure of nitrogen, [Pa]
- non_json_attributes = ['_model_hash', '_model_hash_ignore_phase']¶
- property ns¶
Method to return the molar flow rates of each component in this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- ns
float Molar flow of the components in the phase, [mol/s]
- ns
- property ns_calc¶
Method to return the molar flow rates of each component in this phase. This method is only available when the phase is linked to an EquilibriumStream.
- Returns:
- ns
float Molar flow of the components in the phase, [mol/s]
- ns
- nu()[source]¶
Method to calculate and return the kinematic viscosity of the phase, [m^2/s]
- Returns:
- nu
float Kinematic viscosity, [m^2/s]
- nu
- obj_references = ('result', 'constants', 'correlations')¶
Tuple of object instances which should be stored as json using their own as_json method.
- property omegas¶
Acentric factors for each component, [-].
- oxygen_molar_weight()¶
Method to calculate and return the effective quantiy of oxygen in the phase as a molar weight, [g/mol].
This is the molecular weight of the phase times the mass fraction of the oxygen component.
- oxygen_partial_pressure()¶
Method to calculate and return the ideal partial pressure of oxygen, [Pa]
- partial_pressures()[source]¶
Method to return the partial pressures of each component in the phase. Note that this is the conventional definition assumed in almost every source; there is also a non-ideal definition.
- property phase_STPs¶
Standard states (‘g’, ‘l’, or ‘s’) for each component, [-].
- phi()[source]¶
Method to calculate and return the fugacity coefficient of the phase; provided the phase is 1 component.
- pointer_reference_dicts = ()¶
Tuple of dictionaries for string -> object
- pointer_references = ()¶
Tuple of attributes which should be stored by converting them to a string, and then they will be looked up in their corresponding pointer_reference_dicts entry.
- pseudo_Pc()¶
Method to calculate and return the pseudocritical pressure calculated using Kay’s rule (linear mole fractions):
- Returns:
- pseudo_Pc
float Pseudocritical pressure of the phase, [Pa]
- pseudo_Pc
- pseudo_Tc()¶
Method to calculate and return the pseudocritical temperature calculated using Kay’s rule (linear mole fractions):
- Returns:
- pseudo_Tc
float Pseudocritical temperature of the phase, [K]
- pseudo_Tc
- pseudo_Vc()¶
Method to calculate and return the pseudocritical volume calculated using Kay’s rule (linear mole fractions):
- Returns:
- pseudo_Vc
float Pseudocritical volume of the phase, [m^3/mol]
- pseudo_Vc
- pseudo_Zc()¶
Method to calculate and return the pseudocritical compressibility calculated using Kay’s rule (linear mole fractions):
- Returns:
- pseudo_Zc
float Pseudocritical compressibility of the phase, [-]
- pseudo_Zc
- pseudo_omega()¶
Method to calculate and return the pseudocritical acentric factor calculated using Kay’s rule (linear mole fractions):
- Returns:
- pseudo_omega
float Pseudo acentric factor of the phase, [-]
- pseudo_omega
- pure_reference_types = ()¶
Tuple of types of
thermo.utils.TDependentPropertyorthermo.utils.TPDependentPropertycorresponding to pure_references.
- pure_references = ()¶
Tuple of attribute names which hold lists of
thermo.utils.TDependentPropertyorthermo.utils.TPDependentPropertyinstances.
- reference_pointer_dicts = ()¶
Tuple of dictionaries for object -> string
- result¶
- rho()[source]¶
Method to calculate and return the molar density of the phase.
- Returns:
- rho
float Molar density, [mol/m^3]
- rho
- rho_gas()¶
Method to calculate and return the ideal-gas molar density of the phase at the chosen reference temperature and pressure, according to the temperature variable T_gas_ref and pressure variable P_gas_ref of the
thermo.bulk.BulkSettings.- Returns:
- rho_gas
float Ideal gas molar density at the reference temperature and pressure, [mol/m^3]
- rho_gas
- rho_gas_normal()¶
Method to calculate and return the ideal-gas molar density of the phase at the normal temperature and pressure, according to the temperature variable T_normal and pressure variable P_normal of the
thermo.bulk.BulkSettings.- Returns:
- rho_gas_normal
float Ideal gas molar density at normal temperature and pressure, [mol/m^3]
- rho_gas_normal
- rho_gas_standard()¶
Method to calculate and return the ideal-gas molar density of the phase at the standard temperature and pressure, according to the temperature variable T_standard and pressure variable P_standard of the
thermo.bulk.BulkSettings.- Returns:
- rho_gas_standard
float Ideal gas molar density at standard temperature and pressure, [mol/m^3]
- rho_gas_standard
- rho_mass()[source]¶
Method to calculate and return mass density of the phase.
- Returns:
- rho_mass
float Mass density, [kg/m^3]
- rho_mass
- rho_mass_gas()¶
Method to calculate and return the ideal-gas mass density of the phase at the chosen reference temperature and pressure, according to the temperature variable T_gas_ref and pressure variable P_gas_ref of the
thermo.bulk.BulkSettings.- Returns:
- rho_mass_gas
float Ideal gas molar density at the reference temperature and pressure, [kg/m^3]
- rho_mass_gas
- rho_mass_gas_normal()¶
Method to calculate and return the ideal-gas mass density of the phase at the normal temperature and pressure, according to the temperature variable T_normal and pressure variable P_normal of the
thermo.bulk.BulkSettings.- Returns:
- rho_mass_gas_normal
float Ideal gas molar density at normal temperature and pressure, [kg/m^3]
- rho_mass_gas_normal
- rho_mass_gas_standard()¶
Method to calculate and return the ideal-gas mass density of the phase at the standard temperature and pressure, according to the temperature variable T_standard and pressure variable P_standard of the
thermo.bulk.BulkSettings.- Returns:
- rho_mass_gas_standard
float Ideal gas molar density at standard temperature and pressure, [kg/m^3]
- rho_mass_gas_standard
- rho_mass_liquid_ref()¶
Method to calculate and return the liquid reference mass density according to the temperature variable T_liquid_volume_ref of
thermo.bulk.BulkSettingsand the composition of the phase.- Returns:
- rho_mass_liquid_ref
float Liquid mass density at the reference condition, [kg/m^3]
- rho_mass_liquid_ref
- property rhocs¶
Molar densities at the critical point for each component, [mol/m^3].
- property rhocs_mass¶
Densities at the critical point for each component, [kg/m^3].
- property rhog_STPs¶
Molar gas densities at STP for each component; metastable if normally another state, [mol/m^3].
- property rhog_STPs_mass¶
Gas densities at STP for each component; metastable if normally another state, [kg/m^3].
- property rhol_60Fs¶
Liquid molar densities for each component at 60 °F, [mol/m^3].
- property rhol_60Fs_mass¶
Liquid mass densities for each component at 60 °F, [kg/m^3].
- property rhol_STPs¶
Molar liquid densities at STP for each component, [mol/m^3].
- property rhol_STPs_mass¶
Liquid densities at STP for each component, [kg/m^3].
- property rhos_Tms¶
Solid molar densities for each component at their respective melting points, [mol/m^3].
- property rhos_Tms_mass¶
Solid mass densities for each component at their melting point, [kg/m^3].
- sigma()[source]¶
Calculate and return the surface tension of the phase. For details of the implementation, see
SurfaceTensionMixture.This property is strictly the ideal-gas to liquid surface tension, not a true inter-phase property.
- Returns:
- sigma
float Surface tension, [N/m]
- sigma
- property sigma_STPs¶
Liquid-air surface tensions at 298.15 K and the higher of 101325 Pa or the saturation pressure, [N/m].
- property sigma_Tbs¶
Liquid-air surface tensions at the normal boiling point and 101325 Pa, [N/m].
- property sigma_Tms¶
Liquid-air surface tensions at the melting point and 101325 Pa, [N/m].
- sigmas()¶
Method to calculate and return the pure-component surface tensions of each species from the
thermo.interface.SurfaceTensionobjects.
- property similarity_variables¶
Similarity variables for each component, [mol/g].
- property smiless¶
SMILES identifiers for each component, [-].
- property solubility_parameters¶
Solubility parameters for each component at 298.15 K, [Pa^0.5].
- speed_of_sound()[source]¶
Method to calculate and return the molar speed of sound of the phase.
A similar expression based on molar density is:
- Returns:
- w
float Speed of sound for a real gas, [m*kg^0.5/(s*mol^0.5)]
- w
- speed_of_sound_ideal_gas()[source]¶
Method to calculate and return the molar speed of sound of an ideal gas phase at the current conditions.
- Returns:
- w
float Speed of sound for a real gas, [m*kg^0.5/(s*mol^0.5)]
- w
- speed_of_sound_ideal_gas_mass()[source]¶
Method to calculate and return the mass speed of sound of an ideal gas phase at the current conditions.
- Returns:
- w
float Speed of sound for an ideal gas, [m/s]
- w
- speed_of_sound_mass()[source]¶
Method to calculate and return the speed of sound of the phase.
- Returns:
- w
float Speed of sound for a real gas, [m/s]
- w
- state_hash()[source]¶
Basic method to calculate a hash of the state of the phase and its model parameters.
Note that the hashes should only be compared on the same system running in the same process!
- Returns:
- state_hash
int Hash of the object’s model parameters and state, [-]
- state_hash
- supports_lnphis_args = False¶
- thermal_diffusivity()¶
Method to calculate and return the thermal diffusivity of the phase.
- Returns:
- alpha
float Thermal diffusivity, [m^2/s]
- alpha
- to(zs, T=None, P=None, V=None)[source]¶
Method to create a new Phase object with the same constants as the existing Phase but at different conditions. Mole fractions zs are always required and any two of T, P, and V are required.
- Parameters:
- Returns:
- new_phase
Phase New phase at the specified conditions, [-]
- new_phase
Examples
These sample cases illustrate the three combinations of inputs. Note that some thermodynamic models may have multiple solutions for some inputs!
>>> from thermo import IdealGas, HeatCapacityGas >>> from scipy.constants import R >>> phase = IdealGas(T=300, P=1e5, zs=[.79, .21], HeatCapacityGases=[HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*-9.9e-13, R*1.57e-09, R*7e-08, R*-0.000261, R*3.539])), HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*-9.9e-13, R*1.57e-09, R*7e-08, R*-0.000261, R*3.539]))]) >>> TP = phase.to(T=1e5, P=1e3, zs=[.5, .5]) >>> PV = phase.to(V=1e-4, P=1e3, zs=[.1, .9]) >>> TV = phase.to(T=1e5, V=1e12, zs=[.2, .8])
- to_TP_zs(T, P, zs)[source]¶
Method to create a new Phase object with the same constants as the existing Phase but at a different T and P.
- Parameters:
- Returns:
- new_phase
Phase New phase at the specified conditions, [-]
- new_phase
Notes
This method is marginally faster than
Phase.toas it does not need to check what the inputs are.Examples
>>> from thermo import IdealGas, HeatCapacityGas >>> from scipy.constants import R >>> phase = IdealGas(T=300, P=1e5, zs=[.79, .21], HeatCapacityGases=[HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*-9.9e-13, R*1.57e-09, R*7e-08, R*-0.000261, R*3.539])), HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*-9.9e-13, R*1.57e-09, R*7e-08, R*-0.000261, R*3.539]))]) >>> state = phase.to_TP_zs(T=1e5, P=1e3, zs=[.5, .5])
- value(name)[source]¶
Method to retrieve a property from a string. This more or less wraps getattr.
name could be a python property like ‘Tms’ or a callable method like ‘H’.
- Parameters:
- name
str String representing the property, [-]
- name
- Returns:
- value
various Value specified, [various]
- value
- vectorized = False¶
- water_molar_weight()¶
Method to calculate and return the effective quantiy of water in the phase as a molar weight, [g/mol].
This is the molecular weight of the phase times the mass fraction of the water component.
- water_partial_pressure()¶
Method to calculate and return the ideal partial pressure of water, [Pa]
- property ws_calc¶
- ws_no_water()¶
Method to calculate and return the mass fractions of all species in the phase, normalized to a water-free basis (the mass fraction of water returned is zero).
- property zs_calc¶
Ideal Gas Equation of State¶
- class thermo.phases.IdealGas(HeatCapacityGases=None, Hfs=None, Gfs=None, Sfs=None, T=298.15, P=101325.0, zs=None)[source]¶
Bases:
PhaseClass for representing an ideal gas as a phase object. All departure properties are zero.
- Parameters:
- HeatCapacityGases
list[HeatCapacityGas] Objects proiding pure-component heat capacity correlations, [-]
- Hfs
list[float] Molar ideal-gas standard heats of formation at 298.15 K and 1 atm, [J/mol]
- Gfs
list[float] Molar ideal-gas standard Gibbs energies of formation at 298.15 K and 1 atm, [J/mol]
- T
float,optional Temperature, [K]
- P
float,optional Pressure, [Pa]
- zs
list[float],optional Mole fractions of each component, [-]
- HeatCapacityGases
Methods
Cp()Method to calculate and return the molar heat capacity of the phase.
H()Method to calculate and return the enthalpy of the phase.
S()Method to calculate and return the entropy of the phase.
d2H_dP2()Method to calculate and return the second pressure derivative of molar enthalpy of the phase.
d2H_dT2()Method to calculate and return the first temperature derivative of molar heat capacity of the phase.
d2P_dT2()Method to calculate and return the second temperature derivative of pressure of the phase.
d2P_dTdV()Method to calculate and return the second derivative of pressure with respect to temperature and volume of the phase.
d2P_dV2()Method to calculate and return the second volume derivative of pressure of the phase.
d2S_dP2()Method to calculate and return the second pressure derivative of molar entropy of the phase.
dH_dP()Method to calculate and return the first pressure derivative of molar enthalpy of the phase.
dH_dP_V()Method to calculate and return the pressure derivative of molar enthalpy at constant volume of the phase.
dH_dT_V()Method to calculate and return the molar heat capacity of the phase.
dH_dV_P()Method to calculate and return the volume derivative of molar enthalpy at constant pressure of the phase.
dH_dV_T()Method to calculate and return the volume derivative of molar enthalpy at constant temperature of the phase.
dP_dT()Method to calculate and return the first temperature derivative of pressure of the phase.
dP_dV()Method to calculate and return the first volume derivative of pressure of the phase.
dS_dP()Method to calculate and return the first pressure derivative of molar entropy of the phase.
dS_dP_V()Method to calculate and return the first pressure derivative of molar entropy at constant volume of the phase.
dS_dT()Method to calculate and return the first temperature derivative of molar entropy of the phase.
dS_dT_V()Method to calculate and return the first temperature derivative of molar entropy at constant volume of the phase.
Method to calculate and return the pressure derivative of the log of fugacity coefficients of each component in the phase.
Method to calculate and return the temperature derivative of the log of fugacity coefficients of each component in the phase.
dphis_dP()Method to calculate and return the pressure derivative of fugacity coefficients of each component in the phase.
dphis_dT()Method to calculate and return the temperature derivative of fugacity coefficients of each component in the phase.
Method to calculate and return the fugacities of each component in the phase.
lnphis()Method to calculate and return the log of fugacity coefficients of each component in the phase.
phis()Method to calculate and return the fugacity coefficients of each component in the phase.
Examples
T-P initialization for oxygen and nitrogen, using Poling’s polynomial heat capacities:
>>> from scipy.constants import R >>> HeatCapacityGases = [HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*-9.9e-13, R*1.57e-09, R*7e-08, R*-0.000261, R*3.539])), ... HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*1.79e-12, R*-6e-09, R*6.58e-06, R*-0.001794, R*3.63]))] >>> phase = IdealGas(T=300, P=1e5, zs=[.79, .21], HeatCapacityGases=HeatCapacityGases) >>> phase.Cp() 29.1733530
- Cp()[source]¶
Method to calculate and return the molar heat capacity of the phase.
- Returns:
- Cp
float Molar heat capacity, [J/(mol*K)]
- Cp
- H()[source]¶
Method to calculate and return the enthalpy of the phase.
- Returns:
- H
float Molar enthalpy, [J/(mol)]
- H
- S()[source]¶
Method to calculate and return the entropy of the phase.
- Returns:
- S
float Molar entropy, [J/(mol*K)]
- S
- __repr__()[source]¶
Method to create a string representation of the phase object, with the goal of making it easy to obtain standalone code which reproduces the current state of the phase. This is extremely helpful in creating new test cases.
- Returns:
- recreation
str String which is valid Python and recreates the current state of the object if ran, [-]
- recreation
Examples
>>> from thermo import HeatCapacityGas, IdealGas >>> from scipy.constants import R >>> HeatCapacityGases = [HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*-9.9e-13, R*1.57e-09, R*7e-08, R*-0.000261, R*3.539])), ... HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*1.79e-12, R*-6e-09, R*6.58e-06, R*-0.001794, R*3.63]))] >>> phase = IdealGas(T=300, P=1e5, zs=[.79, .21], HeatCapacityGases=HeatCapacityGases) >>> phase IdealGas(HeatCapacityGases=[HeatCapacityGas(extrapolation="linear", method="POLY_FIT", poly_fit=(50.0, 1000.0, [-8.23131799e-12, 1.30537063e-08, 5.82012383e-07, -0.0021700747, 29.42488320])), HeatCapacityGas(extrapolation="linear", method="POLY_FIT", poly_fit=(50.0, 1000.0, [1.48828880e-11, -4.988677570e-08, 5.470916402e-05, -0.01491614593, 30.1814993]))], T=300, P=100000.0, zs=[0.79, 0.21])
- d2H_dP2()[source]¶
Method to calculate and return the second pressure derivative of molar enthalpy of the phase.
- Returns:
- d2H_dP2
float Second pressure derivative of molar enthalpy, [J/(mol*Pa^2)]
- d2H_dP2
- d2H_dT2()[source]¶
Method to calculate and return the first temperature derivative of molar heat capacity of the phase.
- Returns:
- d2H_dT2
float Second temperature derivative of enthalpy, [J/(mol*K^2)]
- d2H_dT2
- d2P_dT2()[source]¶
Method to calculate and return the second temperature derivative of pressure of the phase.
- Returns:
- d2P_dT2
float Second temperature derivative of pressure, [Pa/K^2]
- d2P_dT2
- d2P_dTdV()[source]¶
Method to calculate and return the second derivative of pressure with respect to temperature and volume of the phase.
- Returns:
- d2P_dTdV
float Second volume derivative of pressure, [mol*Pa^2/(J*K)]
- d2P_dTdV
- d2P_dV2()[source]¶
Method to calculate and return the second volume derivative of pressure of the phase.
- Returns:
- d2P_dV2
float Second volume derivative of pressure, [Pa*mol^2/m^6]
- d2P_dV2
- d2S_dP2()[source]¶
Method to calculate and return the second pressure derivative of molar entropy of the phase.
- Returns:
- d2S_dP2
float Second pressure derivative of molar entropy, [J/(mol*K*Pa^2)]
- d2S_dP2
- dH_dP()[source]¶
Method to calculate and return the first pressure derivative of molar enthalpy of the phase.
- Returns:
- dH_dP
float First pressure derivative of molar enthalpy, [J/(mol*Pa)]
- dH_dP
- dH_dP_V()[source]¶
Method to calculate and return the pressure derivative of molar enthalpy at constant volume of the phase.
- Returns:
- dH_dP_V
float First pressure derivative of molar enthalpy at constant volume, [J/(mol*Pa)]
- dH_dP_V
- dH_dT_V()¶
Method to calculate and return the molar heat capacity of the phase.
- Returns:
- Cp
float Molar heat capacity, [J/(mol*K)]
- Cp
- dH_dV_P()[source]¶
Method to calculate and return the volume derivative of molar enthalpy at constant pressure of the phase.
- Returns:
- dH_dV_T
float First pressure derivative of molar enthalpy at constant volume, [J/(m^3)]
- dH_dV_T
- dH_dV_T()[source]¶
Method to calculate and return the volume derivative of molar enthalpy at constant temperature of the phase.
- Returns:
- dH_dV_T
float First pressure derivative of molar enthalpy at constant volume, [J/(m^3)]
- dH_dV_T
- dP_dT()[source]¶
Method to calculate and return the first temperature derivative of pressure of the phase.
- Returns:
- dP_dT
float First temperature derivative of pressure, [Pa/K]
- dP_dT
- dP_dV()[source]¶
Method to calculate and return the first volume derivative of pressure of the phase.
- Returns:
- dP_dV
float First volume derivative of pressure, [Pa*mol/m^3]
- dP_dV
- dS_dP()[source]¶
Method to calculate and return the first pressure derivative of molar entropy of the phase.
- Returns:
- dS_dP
float First pressure derivative of molar entropy, [J/(mol*K*Pa)]
- dS_dP
- dS_dP_V()[source]¶
Method to calculate and return the first pressure derivative of molar entropy at constant volume of the phase.
- Returns:
- dS_dP_V
float First pressure derivative of molar entropy at constant volume, [J/(mol*K*Pa)]
- dS_dP_V
- dS_dT()[source]¶
Method to calculate and return the first temperature derivative of molar entropy of the phase.
- Returns:
- dS_dT
float First temperature derivative of molar entropy, [J/(mol*K^2)]
- dS_dT
- dS_dT_V()[source]¶
Method to calculate and return the first temperature derivative of molar entropy at constant volume of the phase.
- Returns:
- dS_dT_V
float First temperature derivative of molar entropy at constant volume, [J/(mol*K^2)]
- dS_dT_V
- dlnphis_dP()[source]¶
Method to calculate and return the pressure derivative of the log of fugacity coefficients of each component in the phase.
- dlnphis_dT()[source]¶
Method to calculate and return the temperature derivative of the log of fugacity coefficients of each component in the phase.
- dphis_dP()[source]¶
Method to calculate and return the pressure derivative of fugacity coefficients of each component in the phase.
- dphis_dT()[source]¶
Method to calculate and return the temperature derivative of fugacity coefficients of each component in the phase.
- fugacities()[source]¶
Method to calculate and return the fugacities of each component in the phase.
Examples
>>> from scipy.constants import R >>> HeatCapacityGases = [HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*-9.9e-13, R*1.57e-09, R*7e-08, R*-0.000261, R*3.539])), ... HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*1.79e-12, R*-6e-09, R*6.58e-06, R*-0.001794, R*3.63]))] >>> phase = IdealGas(T=300, P=1e5, zs=[.79, .21], HeatCapacityGases=HeatCapacityGases) >>> phase.fugacities() [79000.0, 21000.0]
Cubic Equations of State¶
Gas Phases¶
- class thermo.phases.CEOSGas(eos_class, eos_kwargs, HeatCapacityGases=None, Hfs=None, Gfs=None, Sfs=None, T=298.15, P=101325.0, zs=None)[source]¶
Bases:
CEOSPhaseClass for representing a cubic equation of state gas phase as a phase object. All departure properties are actually calculated by the code in
thermo.eosandthermo.eos_mix.- Parameters:
- eos_class
GCEOSMIX EOS class, [-]
- eos_kwargs
dict Parameters to be passed to the created EOS, [-]
- HeatCapacityGases
list[HeatCapacityGas] Objects proiding pure-component heat capacity correlations, [-]
- Hfs
list[float] Molar ideal-gas standard heats of formation at 298.15 K and 1 atm, [J/mol]
- Gfs
list[float] Molar ideal-gas standard Gibbs energies of formation at 298.15 K and 1 atm, [J/mol]
- T
float,optional Temperature, [K]
- P
float,optional Pressure, [Pa]
- zs
list[float],optional Mole fractions of each component, [-]
- eos_class
Methods
Cp()Method to calculate and return the constant-pressure heat capacity of the phase.
Cv()Method to calculate and return the constant-volume heat capacity Cv of the phase.
H()Method to calculate and return the enthalpy of the phase.
S()Method to calculate and return the entropy of the phase.
V_iter([force])Method to calculate and return the volume of the phase in a way suitable for a TV resolution to converge on the same pressure.
d2P_dT2()Method to calculate and return the second temperature derivative of pressure of the phase.
d2P_dTdV()Method to calculate and return the second derivative of pressure with respect to temperature and volume of the phase.
d2P_dV2()Method to calculate and return the second volume derivative of pressure of the phase.
dP_dT()Method to calculate and return the first temperature derivative of pressure of the phase.
dP_dV()Method to calculate and return the first volume derivative of pressure of the phase.
dS_dT_V()Method to calculate and return the first temperature derivative of molar entropy at constant volume of the phase.
Method to calculate and return the first pressure derivative of the log of fugacity coefficients of each component in the phase.
Method to calculate and return the first temperature derivative of the log of fugacity coefficients of each component in the phase.
lnphis()Method to calculate and return the log of fugacity coefficients of each component in the phase.
to_TP_zs(T, P, zs[, other_eos])Method to create a new Phase object with the same constants as the existing Phase but at a different T and P.
Examples
T-P initialization for oxygen and nitrogen with the PR EOS, using Poling’s polynomial heat capacities:
>>> from scipy.constants import R >>> from thermo import HeatCapacityGas, PRMIX, CEOSGas >>> eos_kwargs = dict(Tcs=[154.58, 126.2], Pcs=[5042945.25, 3394387.5], omegas=[0.021, 0.04], kijs=[[0.0, -0.0159], [-0.0159, 0.0]]) >>> HeatCapacityGases = [HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*-9.9e-13, R*1.57e-09, R*7e-08, R*-0.000261, R*3.539])), ... HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*1.79e-12, R*-6e-09, R*6.58e-06, R*-0.001794, R*3.63]))] >>> phase = CEOSGas(eos_class=PRMIX, eos_kwargs=eos_kwargs, T=300, P=1e5, zs=[.79, .21], HeatCapacityGases=HeatCapacityGases) >>> phase.Cp() 29.2285050
- Cp()¶
Method to calculate and return the constant-pressure heat capacity of the phase.
- Returns:
- Cp
float Molar heat capacity, [J/(mol*K)]
- Cp
- Cv()¶
Method to calculate and return the constant-volume heat capacity Cv of the phase.
- Returns:
- Cv
float Constant volume molar heat capacity, [J/(mol*K)]
- Cv
- H()¶
Method to calculate and return the enthalpy of the phase. The reference state for most subclasses is an ideal-gas enthalpy of zero at 298.15 K and 101325 Pa.
- Returns:
- H
float Molar enthalpy, [J/(mol)]
- H
- S()¶
Method to calculate and return the entropy of the phase. The reference state for most subclasses is an ideal-gas entropy of zero at 298.15 K and 101325 Pa.
- Returns:
- S
float Molar entropy, [J/(mol*K)]
- S
- V_iter(force=False)¶
Method to calculate and return the volume of the phase in a way suitable for a TV resolution to converge on the same pressure. This often means the return value of this method is an mpmath mpf. This dummy method simply returns the implemented V method.
- Returns:
- V
floatormpf Molar volume, [m^3/mol]
- V
- __repr__()¶
Method to create a string representation of the phase object, with the goal of making it easy to obtain standalone code which reproduces the current state of the phase. This is extremely helpful in creating new test cases.
- Returns:
- recreation
str String which is valid Python and recreates the current state of the object if ran, [-]
- recreation
- d2P_dT2()[source]¶
Method to calculate and return the second temperature derivative of pressure of the phase.
- Returns:
- d2P_dT2
float Second temperature derivative of pressure, [Pa/K^2]
- d2P_dT2
- d2P_dTdV()[source]¶
Method to calculate and return the second derivative of pressure with respect to temperature and volume of the phase.
- Returns:
- d2P_dTdV
float Second volume derivative of pressure, [mol*Pa^2/(J*K)]
- d2P_dTdV
- d2P_dV2()[source]¶
Method to calculate and return the second volume derivative of pressure of the phase.
- Returns:
- d2P_dV2
float Second volume derivative of pressure, [Pa*mol^2/m^6]
- d2P_dV2
- dP_dT()[source]¶
Method to calculate and return the first temperature derivative of pressure of the phase.
- Returns:
- dP_dT
float First temperature derivative of pressure, [Pa/K]
- dP_dT
- dP_dV()[source]¶
Method to calculate and return the first volume derivative of pressure of the phase.
- Returns:
- dP_dV
float First volume derivative of pressure, [Pa*mol/m^3]
- dP_dV
- dS_dT_V()¶
Method to calculate and return the first temperature derivative of molar entropy at constant volume of the phase.
- Returns:
- dS_dT_V
float First temperature derivative of molar entropy at constant volume, [J/(mol*K^2)]
- dS_dT_V
- dlnphis_dP()[source]¶
Method to calculate and return the first pressure derivative of the log of fugacity coefficients of each component in the phase. The calculation is performed by
thermo.eos_mix.GCEOSMIX.dlnphis_dPor a simpler formula in the case of most specific models.
- dlnphis_dT()[source]¶
Method to calculate and return the first temperature derivative of the log of fugacity coefficients of each component in the phase. The calculation is performed by
thermo.eos_mix.GCEOSMIX.dlnphis_dTor a simpler formula in the case of most specific models.
- lnphis()[source]¶
Method to calculate and return the log of fugacity coefficients of each component in the phase. The calculation is performed by
thermo.eos_mix.GCEOSMIX.fugacity_coefficientsor a simpler formula in the case of most specific models.
- to_TP_zs(T, P, zs, other_eos=None)¶
Method to create a new Phase object with the same constants as the existing Phase but at a different T and P. This method has a special parameter other_eos.
This is added to allow a gas-type phase to be created from a liquid-type phase at the same conditions (and vice-versa), as
GCEOSMIXobjects were designed to have vapor and liquid properties in the same phase. This argument is mostly for internal use.- Parameters:
- Returns:
- new_phase
Phase New phase at the specified conditions, [-]
- new_phase
Notes
This method is marginally faster than
Phase.toas it does not need to check what the inputs are.Examples
>>> from thermo.eos_mix import PRMIX >>> eos_kwargs = dict(Tcs=[305.32, 369.83], Pcs=[4872000.0, 4248000.0], omegas=[0.098, 0.152]) >>> gas = CEOSGas(PRMIX, T=300.0, P=1e6, zs=[.2, .8], eos_kwargs=eos_kwargs) >>> liquid = CEOSLiquid(PRMIX, T=500.0, P=1e7, zs=[.3, .7], eos_kwargs=eos_kwargs) >>> new_liq = liquid.to_TP_zs(T=gas.T, P=gas.P, zs=gas.zs, other_eos=gas.eos_mix) >>> new_liq CEOSLiquid(eos_class=PRMIX, eos_kwargs={"Tcs": [305.32, 369.83], "Pcs": [4872000.0, 4248000.0], "omegas": [0.098, 0.152]}, HeatCapacityGases=[], T=300.0, P=1000000.0, zs=[0.2, 0.8]) >>> new_liq.eos_mix is gas.eos_mix True
Liquid Phases¶
- class thermo.phases.CEOSLiquid(eos_class, eos_kwargs, HeatCapacityGases=None, Hfs=None, Gfs=None, Sfs=None, T=298.15, P=101325.0, zs=None)[source]¶
Bases:
CEOSPhaseClass for representing a cubic equation of state gas phase as a phase object. All departure properties are actually calculated by the code in
thermo.eosandthermo.eos_mix.- Parameters:
- eos_class
GCEOSMIX EOS class, [-]
- eos_kwargs
dict Parameters to be passed to the created EOS, [-]
- HeatCapacityGases
list[HeatCapacityGas] Objects proiding pure-component heat capacity correlations, [-]
- Hfs
list[float] Molar ideal-gas standard heats of formation at 298.15 K and 1 atm, [J/mol]
- Gfs
list[float] Molar ideal-gas standard Gibbs energies of formation at 298.15 K and 1 atm, [J/mol]
- T
float,optional Temperature, [K]
- P
float,optional Pressure, [Pa]
- zs
list[float],optional Mole fractions of each component, [-]
- eos_class
Examples
T-P initialization for oxygen and nitrogen with the PR EOS, using Poling’s polynomial heat capacities:
>>> from scipy.constants import R >>> from thermo import HeatCapacityGas, PRMIX, CEOSGas >>> eos_kwargs = dict(Tcs=[154.58, 126.2], Pcs=[5042945.25, 3394387.5], omegas=[0.021, 0.04], kijs=[[0.0, -0.0159], [-0.0159, 0.0]]) >>> HeatCapacityGases = [HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*-9.9e-13, R*1.57e-09, R*7e-08, R*-0.000261, R*3.539])), ... HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*1.79e-12, R*-6e-09, R*6.58e-06, R*-0.001794, R*3.63]))] >>> phase = CEOSGas(eos_class=PRMIX, eos_kwargs=eos_kwargs, T=300, P=1e5, zs=[.79, .21], HeatCapacityGases=HeatCapacityGases) >>> phase.Cp() 29.2285050
Virial Equations of State¶
Gas Phase Object¶
- class thermo.phases.VirialGas(model, HeatCapacityGases=None, Hfs=None, Gfs=None, T=298.15, P=101325.0, zs=None, B_mixing_rule='theory', C_mixing_rule='Orentlicher-Prausnitz')[source]¶
Bases:
IdealGasDeparturePhaseClass for representing a real gas defined by the virial equation of state (density form), as a phase object. The equation includes the B and C coefficients but not further coefficients as they cannot be accurately estimated. Only limited experimental data for third virial coefficients is available.
This model is generic, and allows any source of virial coefficients to be plugged it, so long as it provides the right methods. See
VirialCSP.- Parameters:
- model
object Object which provides pure component and interaction second and third virial coefficients;
VirialCSP, [-]- HeatCapacityGases
list[HeatCapacityGas] Objects proiding pure-component heat capacity correlations, [-]
- Hfs
list[float] Molar ideal-gas standard heats of formation at 298.15 K and 1 atm, [J/mol]
- Gfs
list[float] Molar ideal-gas standard Gibbs energies of formation at 298.15 K and 1 atm, [J/mol]
- T
float,optional Temperature, [K]
- P
float,optional Pressure, [Pa]
- zs
list[float],optional Mole fractions of each component, [-]
- B_mixing_rule
str,optional The method used to combine the pure and/or interaction second B virial coefficients into a single B coefficient.
‘linear’:
‘theory’:
- C_mixing_rule
str,optional The method used to combine the pure and/or interaction third C virial coefficients into a single C coefficient.
‘linear’: ; this is considerably faster
‘Orentlicher-Prausnitz’: where
- model
Methods
B()Method to calculate and return the B second virial coefficient.
C()Method to calculate and return the C third virial coefficient.
H_dep()Method to calculate and return the molar departure enthalpy.
S_dep()Method to calculate and return the molar departure entropy.
V()Method to calculate and return the molar volume.
d2B_dT2()Method to calculate and return the second temperature derivative of the B second virial coefficient.
Method to calculate and return the temperature derivative of the first mole fraction derivatives of the B second virial coefficient.
Method to calculate and return the second mole fraction derivatives of the B second virial coefficient.
d2C_dT2()Method to calculate and return the second temperature derivative of the C third virial coefficient.
Method to calculate and return the first temperature derivative of the first mole fraction derivatives of the C third virial coefficient.
Method to calculate and return the second mole fraction derivatives of the C third virial coefficient.
d2P_dT2()Method to calculate and return the second derivative of pressure with respect to temperature.
d2P_dTdV()Method to calculate and return the second derivative of pressure with respect to volume and temperature.
d2P_dV2()Method to calculate and return the second derivative of pressure with respect to volume.
Method to calculate and return the second mole fraction derivatives of the molar volume.
d3B_dT3()Method to calculate and return the third temperature derivative of the B second virial coefficient.
d3C_dT3()Method to calculate and return the third temperature derivative of the C third virial coefficient.
dB_dT()Method to calculate and return the first temperature derivative of the B second virial coefficient.
dB_dzs()Method to calculate and return the first mole fraction derivatives of the B second virial coefficient.
dC_dT()Method to calculate and return the first temperature derivative of the C third virial coefficient.
dC_dzs()Method to calculate and return the first mole fraction derivatives of the C third virial coefficient.
Method to calculate and return the first mole fraction derivatives of the departure Gibbs energy.
Method to calculate and return the first temperature derivative of molar departure enthalpy.
dP_dT()Method to calculate and return the first derivative of pressure with respect to temperature.
dP_dV()Method to calculate and return the first derivative of pressure with respect to volume.
Method to calculate and return the first temperature derivative of molar departure entropy.
dV_dzs()Method to calculate and return the first mole fraction derivatives of the molar volume.
lnphis()Method to calculate and return the log fugacity coefficients of the phase.
Examples
T-P initialization for nitrogen, oxygen, and argon, using Poling’s polynomial heat capacities:
>>> Tcs=[126.2, 154.58, 150.8] >>> Pcs=[3394387.5, 5042945.25, 4873732.5] >>> Vcs=[8.95e-05, 7.34e-05, 7.49e-05] >>> omegas=[0.04, 0.021, -0.004] >>> model = VirialCSP(T=298.15, Tcs=Tcs, Pcs=Pcs, Vcs=Vcs, omegas=omegas, B_model='VIRIAL_B_PITZER_CURL', cross_B_model='Tarakad-Danner', C_model='VIRIAL_C_ORBEY_VERA') >>> HeatCapacityGases = [HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*1.79e-12, R*-6e-09, R*6.58e-06, R*-0.001794, R*3.63])), ... HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*-9.9e-13, R*1.57e-09, R*7e-08, R*-0.000261, R*3.539])), ... HeatCapacityGas(poly_fit=(50.0, 1000.0, [0,0,0,0, R*2.5]))] >>> phase = VirialGas(model=model, T=300.0, P=1e5, zs=[.78, .21, .01], HeatCapacityGases=HeatCapacityGases, B_mixing_rule='theory', C_mixing_rule='Orentlicher-Prausnitz') >>> phase.V(), phase.isothermal_compressibility(), phase.speed_of_sound() (0.02493687, 1.00025907e-05, 59.062) >>> phase VirialGas(model=VirialCSP(T=300.0, Tcs=[126.2, 154.58, 150.8], Pcs=[3394387.5, 5042945.25, 4873732.5], Vcs=[8.95e-05, 7.34e-05, 7.49e-05], omegas=[0.04, 0.021, -0.004], B_model='VIRIAL_B_PITZER_CURL', cross_B_model='Tarakad-Danner', cross_B_model_kijs=[[0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0]], B_model_Meng_as=[[0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0]], B_model_Tsonopoulos_extended_as=[[0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0]], B_model_Tsonopoulos_extended_bs=[[0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0]], C_model='VIRIAL_C_ORBEY_VERA', cross_C_model='Tarakad-Danner'), HeatCapacityGases=[HeatCapacityGas(extrapolation="linear", method="POLY_FIT", poly_fit=(50.0, 1000.0, [1.48828880864943e-11, -4.9886775708919434e-08, 5.4709164027448316e-05, -0.014916145936966912, 30.18149930389626])), HeatCapacityGas(extrapolation="linear", method="POLY_FIT", poly_fit=(50.0, 1000.0, [-8.231317991971707e-12, 1.3053706310500586e-08, 5.820123832707268e-07, -0.0021700747433379955, 29.424883205644317])), HeatCapacityGas(extrapolation="linear", method="POLY_FIT", poly_fit=(50.0, 1000.0, [0, 0, 0, 0, 20.7861565453831]))], B_mixing_rule='theory', C_mixing_rule='Orentlicher-Prausnitz', T=300.0, P=100000.0, zs=[0.78, 0.21, 0.01])
- B()[source]¶
Method to calculate and return the B second virial coefficient.
- Returns:
- B
float Second molar virial coefficient [m^3/mol]
- B
- C()[source]¶
Method to calculate and return the C third virial coefficient.
- Returns:
- C
float Third molar virial coefficient [m^6/mol^2]
- C
- H_dep()[source]¶
Method to calculate and return the molar departure enthalpy.
- Returns:
- H_dep
float Departure enthalpy [J/mol]
- H_dep
- S_dep()[source]¶
Method to calculate and return the molar departure entropy.
- Returns:
- S_dep
float Departure enthalpy [J/(mol*K)]
- S_dep
- __repr__()[source]¶
Method to create a string representation of the phase object, with the goal of making it easy to obtain standalone code which reproduces the current state of the phase. This is extremely helpful in creating new test cases.
- Returns:
- recreation
str String which is valid Python and recreates the current state of the object if ran, [-]
- recreation
- d2B_dT2()[source]¶
Method to calculate and return the second temperature derivative of the B second virial coefficient.
- Returns:
- d2B_dT2
float Second temperature derivative of second molar virial coefficient [m^3/(mol*K^2)]
- d2B_dT2
- d2B_dTdzs()[source]¶
Method to calculate and return the temperature derivative of the first mole fraction derivatives of the B second virial coefficient.
- d2B_dzizjs()[source]¶
Method to calculate and return the second mole fraction derivatives of the B second virial coefficient.
- d2C_dT2()[source]¶
Method to calculate and return the second temperature derivative of the C third virial coefficient.
- Returns:
- d2C_dT2
float Second temperature derivative of third molar virial coefficient [m^6/(mol^2*K^2)]
- d2C_dT2
- d2C_dTdzs()[source]¶
Method to calculate and return the first temperature derivative of the first mole fraction derivatives of the C third virial coefficient.
- d2C_dzizjs()[source]¶
Method to calculate and return the second mole fraction derivatives of the C third virial coefficient.
- d2P_dT2()[source]¶
Method to calculate and return the second derivative of pressure with respect to temperature.
- Returns:
- d2P_dT2
float Second derivative of pressure with respect to temperature at constant volume [Pa/K^2]
- d2P_dT2
- d2P_dTdV()[source]¶
Method to calculate and return the second derivative of pressure with respect to volume and temperature.
- Returns:
- d2P_dTdV
float Second derivative of pressure with respect to volume at and temperature [Pa*mol/(m^3*K)]
- d2P_dTdV
- d2P_dV2()[source]¶
Method to calculate and return the second derivative of pressure with respect to volume.
- Returns:
- d2P_dV2
float Second derivative of pressure with respect to volume at constant temperature [Pa*mol^2/(m^6)]
- d2P_dV2
- d2V_dzizjs()[source]¶
Method to calculate and return the second mole fraction derivatives of the molar volume. See
chemicals.virial.d2V_dzizjs_virialfor further details.
- d3B_dT3()[source]¶
Method to calculate and return the third temperature derivative of the B second virial coefficient.
- Returns:
- d3B_dT3
float Third temperature derivative of second molar virial coefficient [m^3/(mol*K^3)]
- d3B_dT3
- d3C_dT3()[source]¶
Method to calculate and return the third temperature derivative of the C third virial coefficient.
- Returns:
- d3C_dT3
float Third temperature derivative of third molar virial coefficient [m^6/(mol^2*K^3)]
- d3C_dT3
- dB_dT()[source]¶
Method to calculate and return the first temperature derivative of the B second virial coefficient.
- Returns:
- dB_dT
float First temperature derivative of second molar virial coefficient [m^3/(mol*K)]
- dB_dT
- dB_dzs()[source]¶
Method to calculate and return the first mole fraction derivatives of the B second virial coefficient.
- dC_dT()[source]¶
Method to calculate and return the first temperature derivative of the C third virial coefficient.
- Returns:
- dC_dT
float First temperature derivative of third molar virial coefficient [m^6/(mol^2*K)]
- dC_dT
- dC_dzs()[source]¶
Method to calculate and return the first mole fraction derivatives of the C third virial coefficient.
- dG_dep_dzs()[source]¶
Method to calculate and return the first mole fraction derivatives of the departure Gibbs energy.
- dH_dep_dT()[source]¶
Method to calculate and return the first temperature derivative of molar departure enthalpy.
- Returns:
- dH_dep_dT
float First temperature derivative of departure enthalpy [J/(mol*K)]
- dH_dep_dT
- dP_dT()[source]¶
Method to calculate and return the first derivative of pressure with respect to temperature.
- Returns:
- dP_dT
float First derivative of pressure with respect to temperature at constant volume [Pa/K]
- dP_dT
- dP_dV()[source]¶
Method to calculate and return the first derivative of pressure with respect to volume.
- Returns:
- dP_dV
float First derivative of pressure with respect to volume at constant temperature [Pa*mol/(m^3)]
- dP_dV
- dS_dep_dT()[source]¶
Method to calculate and return the first temperature derivative of molar departure entropy.
- Returns:
- dS_dep_dT
float First temperature derivative of departure enthalpy [J/(mol*K^2)]
- dS_dep_dT
- dV_dzs()[source]¶
Method to calculate and return the first mole fraction derivatives of the molar volume. See
chemicals.virial.dV_dzs_virialfor further details.
Corresponding States Virial Model¶
- class thermo.phases.VirialCSP(Tcs, Pcs, Vcs, omegas, B_model='VIRIAL_B_XIANG', cross_B_model='Tarakad-Danner', cross_B_model_kijs=None, B_model_Meng_as=None, B_model_Tsonopoulos_extended_as=None, B_model_Tsonopoulos_extended_bs=None, C_model='VIRIAL_C_XIANG', cross_C_model='Tarakad-Danner', T=298.15)[source]¶
Bases:
objectClass for calculating the B virial coefficients of pure components and their B interaction matrix, and the C virial coefficients of pure components and their mixtures. It is configurable which corresponding states model is used. Either the B or C model can be disabled; if both are off, this will revert to the ideal-gas equation of state.
- Parameters:
- Tcs
list[float] Critical temperatures of all components, [K]
- Pcs
list[float] Critical pressures of all components, [Pa]
- Vcs
list[float] Critical volumes of all components, [m^3/mol]
- omegas
list[float] Acentric factors of all components, [-]
- B_model
str,optional The model used to calculate the B pure component and interaction virial coefficients, [-]
VIRIAL_B_ZERO: The B virial coefficient is always zero
VIRIAL_B_PITZER_CURL The model of [2],
chemicals.virial.BVirial_Pitzer_CurlVIRIAL_B_ABBOTT The model of [3],
chemicals.virial.BVirial_AbbottVIRIAL_B_TSONOPOULOS The model of [4],
chemicals.virial.BVirial_TsonopoulosVIRIAL_B_TSONOPOULOS_EXTENDED The model of [5] and [6],
chemicals.virial.BVirial_Tsonopoulos_extendedVIRIAL_B_OCONNELL_PRAUSNITZ The model of [1],
chemicals.virial.BVirial_Oconnell_PrausnitzVIRIAL_B_XIANG The model of [7],
chemicals.virial.BVirial_XiangVIRIAL_B_MENG The model of [8],
chemicals.virial.BVirial_Meng
- cross_B_model
str,optional The model used to calculate the B cross virial coefficient
VIRIAL_CROSS_B_TARAKAD_DANNER : This model uses the mixing rules for estimating interaction critical components according to the rules
chemicals.virial.Tarakad_Danner_virial_CSP_Tcijs,chemicals.virial.Tarakad_Danner_virial_CSP_Pcijs,chemicals.virial.Lee_Kesler_virial_CSP_Vcijsandchemicals.virial.Tarakad_Danner_virial_CSP_omegaijs; note that this mixing rule has an interaction parameter for the interaction critical temperature, which defaults to zero and can be provided.chemicals.virial.Meng_Duan_2005_virial_CSP_kijsorchemicals.virial.Tarakad_Danner_virial_CSP_kijsare two sample models for estimating these parameters; additional models are available in the literature and also the value can be regressed from experimental values.Zeros : No cross parameters are used
- cross_B_model_kijs
list[list[float]],optional Cross parameters kijs for VIRIAL_CROSS_B_TARAKAD_DANNER cross rule; specified or set to zero [-]
- B_model_Meng_as
list[list[float]],optional Meng a parameters; this is essentially a correction for polar behavior, and must be provided for all components as well as their interactions; see
chemicals.virial.Meng_virial_a. This is used only for the model VIRIAL_B_MENG [-]- B_model_Tsonopoulos_extended_as
list[list[float]],optional Tsonopoulos extended a parameters; this is essentially a correction for polar behavior, and must be provided for all components as well as their interactions; see
thermo.functional_groups.BVirial_Tsonopoulos_extended_ab. This is used only for the model VIRIAL_B_TSONOPOULOS_EXTENDED [-]- B_model_Tsonopoulos_extended_bs
list[list[float]],optional Meng a parameters; this is essentially a correction for polar behavior, and must be provided for all components as well as their interactions; see
thermo.functional_groups.BVirial_Tsonopoulos_extended_ab. This is used only for the model VIRIAL_B_TSONOPOULOS_EXTENDED [-]- C_model
str,optional The model used to calculate the C pure component and interaction virial coefficients, [-]
VIRIAL_C_ZERO: The C virial coefficient is always zero
VIRIAL_C_ORBEY_VERA The model of [9],
chemicals.virial.CVirial_Orbey_VeraVIRIAL_C_XIANG The model of [10],
chemicals.virial.CVirial_Liu_Xiang
- cross_C_model
str,optional The model used to calculate the C cross virial coefficient; inputs are the same as cross_C_model
- T
float,optional The specified temperature for the model; the calculations are cached based only on temperature, use
VirialCSP.toto obtain a new object at a different temperature, [K]
- Tcs
Methods
Method to calculate and return the matrix of interaction component virial coefficients at the specified temperature.
B_pures()Method to calculate and return the pure component virial coefficients at the specified temperature.
Method to calculate and return the matrix of interaction third virial coefficients at the specified temperature.
C_pures()Method to calculate and return the pure component third virial coefficients at the specified temperature.
Method to calculate and return the second temperature derivative of the B virial interaction coefficients at the specified temperature.
Method to calculate and return the second temperature derivative of pure component virial coefficients at the specified temperature.
Method to calculate and return the matrix of second temperature derivatives of interaction third virial coefficients at the specified temperature.
Method to calculate and return the second temperature derivative of pure component third virial coefficients at the specified temperature.
Method to calculate and return the third temperature derivative of the B virial interaction coefficients at the specified temperature.
Method to calculate and return the third temperature derivative of pure component virial coefficients at the specified temperature.
Method to calculate and return the matrix of third temperature derivatives of interaction third virial coefficients at the specified temperature.
Method to calculate and return the third temperature derivative of pure component third virial coefficients at the specified temperature.
Method to calculate and return the first temperature derivative of the B virial interaction coefficients at the specified temperature.
Method to calculate and return the first temperature derivative of pure component virial coefficients at the specified temperature.
Method to calculate and return the matrix of first temperature derivatives of interaction third virial coefficients at the specified temperature.
Method to calculate and return the first temperature derivative of pure component third virial coefficients at the specified temperature.
to(T)Method to construct a new object at a new temperature.
References
[1]O`Connell, J. P., and J. M. Prausnitz. “Empirical Correlation of Second Virial Coefficients for Vapor-Liquid Equilibrium Calculations.” Industrial & Engineering Chemistry Process Design and Development 6, no. 2 (April 1, 1967): 245-50. https://doi.org/10.1021/i260022a016.
[2]Pitzer, Kenneth S., and R. F. Curl. “The Volumetric and Thermodynamic Properties of Fluids. III. Empirical Equation for the Second Virial Coefficient1.” Journal of the American Chemical Society 79, no. 10 (May 1, 1957): 2369-70. doi:10.1021/ja01567a007.
[3]Smith, H. C. Van Ness Joseph M. Introduction to Chemical Engineering Thermodynamics 4E 1987.
[4]Tsonopoulos, Constantine. “An Empirical Correlation of Second Virial Coefficients.” AIChE Journal 20, no. 2 (March 1, 1974): 263-72. doi:10.1002/aic.690200209.
[5]Tsonopoulos, C., and J. L. Heidman. “From the Virial to the Cubic Equation of State.” Fluid Phase Equilibria 57, no. 3 (1990): 261-76. doi:10.1016/0378-3812(90)85126-U
[6]Tsonopoulos, Constantine, and John H. Dymond. “Second Virial Coefficients of Normal Alkanes, Linear 1-Alkanols (and Water), Alkyl Ethers, and Their Mixtures.” Fluid Phase Equilibria, International Workshop on Vapour-Liquid Equilibria and Related Properties in Binary and Ternary Mixtures of Ethers, Alkanes and Alkanols, 133, no. 1-2 (June 1997): 11-34. doi:10.1016/S0378-3812(97)00058-7.
[7]Xiang, H. W. “The New Simple Extended Corresponding-States Principle: Vapor Pressure and Second Virial Coefficient.” Chemical Engineering Science 57, no. 8 (April 2002): 1439049. https://doi.org/10.1016/S0009-2509(02)00017-9.
[8]Meng, Long, Yuan-Yuan Duan, and Lei Li. “Correlations for Second and Third Virial Coefficients of Pure Fluids.” Fluid Phase Equilibria 226 (December 10, 2004): 109-20. https://doi.org/10.1016/j.fluid.2004.09.023.
[9]Orbey, Hasan, and J. H. Vera. “Correlation for the Third Virial Coefficient Using Tc, Pc and ω as Parameters.” AIChE Journal 29, no. 1 (January 1, 1983): 107-13. https://doi.org/10.1002/aic.690290115.
[10]Liu, D. X., and H. W. Xiang. “Corresponding-States Correlation and Prediction of Third Virial Coefficients for a Wide Range of Substances.” International Journal of Thermophysics 24, no. 6 (November 1, 2003): 1667-80. https://doi.org/10.1023/B:IJOT.0000004098.98614.38.
- B_interactions()[source]¶
Method to calculate and return the matrix of interaction component virial coefficients at the specified temperature.
- B_pures()[source]¶
Method to calculate and return the pure component virial coefficients at the specified temperature.
- C_interactions()[source]¶
Method to calculate and return the matrix of interaction third virial coefficients at the specified temperature.
- C_pures()[source]¶
Method to calculate and return the pure component third virial coefficients at the specified temperature.
- __repr__()[source]¶
Method to create a string representation of the VirialCSP object, with the goal of making it easy to obtain standalone code which reproduces the current state of the phase. This is extremely helpful in creating new test cases.
- Returns:
- recreation
str String which is valid Python and recreates the current state of the object if ran, [-]
- recreation
Examples
>>> from thermo import VirialCSP >>> model = VirialCSP(T=298.15, Tcs=[126.2, 154.58], Pcs=[3394387.5, 5042945.25], Vcs=[8.95e-05, 7.34e-05], omegas=[0.04, 0.021], B_model='VIRIAL_B_PITZER_CURL', cross_B_model='Tarakad-Danner', C_model='VIRIAL_C_ORBEY_VERA') >>> model VirialCSP(T=298.15, Tcs=[126.2, 154.58], Pcs=[3394387.5, 5042945.25], Vcs=[8.95e-05, 7.34e-05], omegas=[0.04, 0.021], B_model='VIRIAL_B_PITZER_CURL', cross_B_model='Tarakad-Danner', cross_B_model_kijs=[[0.0, 0.0], [0.0, 0.0]], B_model_Meng_as=[[0.0, 0.0], [0.0, 0.0]], B_model_Tsonopoulos_extended_as=[[0.0, 0.0], [0.0, 0.0]], B_model_Tsonopoulos_extended_bs=[[0.0, 0.0], [0.0, 0.0]], C_model='VIRIAL_C_ORBEY_VERA', cross_C_model='Tarakad-Danner')
- d2B_dT2_interactions()[source]¶
Method to calculate and return the second temperature derivative of the B virial interaction coefficients at the specified temperature.
- d2B_dT2_pures()[source]¶
Method to calculate and return the second temperature derivative of pure component virial coefficients at the specified temperature.
- d2C_dT2_interactions()[source]¶
Method to calculate and return the matrix of second temperature derivatives of interaction third virial coefficients at the specified temperature.
- d2C_dT2_pures()[source]¶
Method to calculate and return the second temperature derivative of pure component third virial coefficients at the specified temperature.
- d3B_dT3_interactions()[source]¶
Method to calculate and return the third temperature derivative of the B virial interaction coefficients at the specified temperature.
- d3B_dT3_pures()[source]¶
Method to calculate and return the third temperature derivative of pure component virial coefficients at the specified temperature.
- d3C_dT3_interactions()[source]¶
Method to calculate and return the matrix of third temperature derivatives of interaction third virial coefficients at the specified temperature.
- d3C_dT3_pures()[source]¶
Method to calculate and return the third temperature derivative of pure component third virial coefficients at the specified temperature.
- dB_dT_interactions()[source]¶
Method to calculate and return the first temperature derivative of the B virial interaction coefficients at the specified temperature.
- dB_dT_pures()[source]¶
Method to calculate and return the first temperature derivative of pure component virial coefficients at the specified temperature.
- dC_dT_interactions()[source]¶
Method to calculate and return the matrix of first temperature derivatives of interaction third virial coefficients at the specified temperature.
Activity Based Liquids¶
- class thermo.phases.GibbsExcessLiquid(VaporPressures, VolumeLiquids=None, HeatCapacityGases=None, GibbsExcessModel=None, eos_pure_instances=None, EnthalpyVaporizations=None, HeatCapacityLiquids=None, VolumeSupercriticalLiquids=None, use_Hvap_caloric=False, use_Poynting=False, use_phis_sat=False, use_Tait=False, use_eos_volume=False, Hfs=None, Gfs=None, Sfs=None, henry_components=None, henry_abcdef=None, henry_as=None, henry_bs=None, henry_cs=None, henry_ds=None, henry_es=None, henry_fs=None, henry_mode='solvents_with_parameters', T=298.15, P=101325.0, zs=None, Psat_extrpolation='AB', equilibrium_basis=None, caloric_basis=None)[source]¶
Bases:
PhasePhase based on combining Raoult’s law with a
GibbsExcessmodel, optionally including saturation fugacity coefficient corrections (if the vapor phase is a cubic equation of state) and Poynting correction factors (if more accuracy is desired).The equilibrium equation options (controlled by equilibrium_basis) are as follows:
‘Psat’:
‘Poynting&PhiSat’:
‘Poynting’:
‘PhiSat’:
In all cases, the activity coefficient is derived from the
GibbsExcessmodel specified as input; use theIdealSolutionclass as an input to set the activity coefficients to one.The enthalpy H and entropy S (and other caloric properties U, G, A) equation options are similar to the equilibrium ones. If the same option is selected for equilibrium_basis and caloric_basis, the phase will be thermodynamically consistent. This is recommended for many reasons. The full ‘Poynting&PhiSat’ equations for H and S are as follows; see
GibbsExcessLiquid.HandGibbsExcessLiquid.Sfor all of the other equations:An additional caloric mode is Hvap, which uses enthalpy of vaporization; this mode can never be thermodynamically consistent, but is still widely used.
Warning
Note that above the critical point, there is no definition for what vapor pressure is. The vapor pressure also tends to reach zero at temperatures in the 4-20 K range. These aspects mean extrapolation in the supercritical and very low temperature region is critical to ensure the equations will still converge. Extrapolation can be performed using either the equation or by setting Psat_extrpolation to either ‘AB’ or ‘ABC’ respectively. The extremely low temperature region’s issue is solved by calculating the logarithm of vapor pressures instead of the actual value. While floating point values in Python (doubles) can reach a minimum value of around 1e-308, if only the logarithm of that number is computed no issues arise. Both of these features only work when the vapor pressure correlations are polynomials.
Warning
When using ‘PhiSat’ as an option, note that the factor cannot be calculated when a compound is supercritical, as there is no longer any vapor-liquid pure-component equilibrium (by definition).
- Parameters:
- VaporPressures
list[thermo.vapor_pressure.VaporPressure] Objects holding vapor pressure data and methods, [-]
- VolumeLiquids
list[thermo.volume.VolumeLiquid],optional Objects holding liquid volume data and methods; required for Poynting factors and volumetric properties, [-]
- HeatCapacityGases
list[thermo.heat_capacity.HeatCapacityGas],optional Objects proiding pure-component heat capacity correlations; required for caloric properties, [-]
- GibbsExcessModel
GibbsExcess,optional Configured instance for calculating activity coefficients and excess properties; set to
IdealSolutionif not provided, [-]- eos_pure_instances
list[thermo.eos.GCEOS],optional Cubic equation of state object instances for each pure component, [-]
- EnthalpyVaporizations
list[thermo.phase_change.EnthalpyVaporization],optional Objects holding enthalpy of vaporization data and methods; used only with the ‘Hvap’ optional, [-]
- HeatCapacityLiquids
list[thermo.heat_capacity.HeatCapacityLiquid],optional Objects holding liquid heat capacity data and methods; not used at present, [-]
- VolumeSupercriticalLiquids
list[thermo.volume.VolumeLiquid],optional Objects holding liquid volume data and methods but that are used for supercritical temperatures on a per-component basis only; required for Poynting factors and volumetric properties at supercritical conditions; VolumeLiquids is used if not provided, [-]
- Hfs
list[float],optional Molar ideal-gas standard heats of formation at 298.15 K and 1 atm, [J/mol]
- Gfs
list[float],optional Molar ideal-gas standard Gibbs energies of formation at 298.15 K and 1 atm, [J/mol]
- T
float,optional Temperature, [K]
- P
float,optional Pressure, [Pa]
- zs
list[float],optional Mole fractions of each component, [-]
- equilibrium_basis
str,optional Which set of equilibrium equations to use when calculating fugacities and related properties; valid options are ‘Psat’, ‘Poynting&PhiSat’, ‘Poynting’, ‘PhiSat’, [-]
- caloric_basis
str,optional Which set of caloric equations to use when calculating fugacities and related properties; valid options are ‘Psat’, ‘Poynting&PhiSat’, ‘Poynting’, ‘PhiSat’, ‘Hvap’ [-]
- Psat_extrpolation
str,optional One of ‘AB’ or ‘ABC’; configures extrapolation for vapor pressure, [-]
- henry_abcdef
tuple[list[list[float]], 6],optional Contains the parameters used for henry’s law constant, [-]
- henry_as
list[list[float]],optional a parameters used in calculating henry’s law constant, [-]
- henry_bs
list[list[float]],optional b parameters used in calculating henry’s law constant, [K]
- henry_cs
list[list[float]],optional c parameters used in calculating henry’s law constant, [-]
- henry_ds
list[list[float]],optional d paraemeters used in calculating henry’s law constant, [1/K]
- henry_es
list[list[float]],optional e parameters used in calculating henry’s law constant, [K^2]
- henry_fs
list[list[float]],optional f parameters used in calculating henry’s law constant, [1/K^2]
- henry_mode
str The setting for henry’s law. ‘solvents’ to consider all components set not to be henry’s law components a solvent (if any parameters are missing this will not make sense at all); ‘solvents_with_parameters’ to consider only the solvents with parameters (vapor pressures will be used if a component has no solvents whatsoever)
- use_Hvap_caloricbool,
optional If True, enthalpy and entropy will be calculated using ideal-gas heat capacity and the heat of vaporization of the fluid only. This forces enthalpy to be pressure-independent. This supersedes other options which would otherwise impact these properties. The molar volume of the fluid has no impact on enthalpy or entropy if this option is True. This option is not thermodynamically consistent, but is still often an assumption that is made.
- VaporPressures
Methods
Cp()Method to calculate and return the constant-pressure heat capacity of the phase.
H()Method to calculate the enthalpy of the
GibbsExcessLiquidphase.Method to calculate and return the Poynting pressure correction factors of the phase, [-].
S()Method to calculate the entropy of the
GibbsExcessLiquidphase.Method to calculate and return the second temperature derivative of the matrix of log Henry's law constants as required by the traditional mixing rule, [-].
Method to calculate and return the first temperature derivative of the matrix of log Henry's law constants as required by the traditional mixing rule, [-].
gammas()Method to calculate and return the activity coefficients of the phase, [-].
Method to calculate and return the matrix of log Henry's law constants as required by the traditional mixing rule, [-].
phis_sat()Method to calculate and return the saturation fugacity coefficient correction factors of the phase, [-].
- Cp()[source]¶
Method to calculate and return the constant-pressure heat capacity of the phase.
- Returns:
- Cp
float Molar heat capacity, [J/(mol*K)]
- Cp
- H()[source]¶
Method to calculate the enthalpy of the
GibbsExcessLiquidphase. Depending on the settings of the phase, this can include the effects of activity coefficientsgammas, pressure correction termsPoyntings, and pure component saturation fugacitiesphis_satas well as the pure component vapor pressures.When caloric_basis is ‘Poynting&PhiSat’:
When caloric_basis is ‘PhiSat’:
When caloric_basis is ‘Poynting’:
When caloric_basis is ‘Psat’:
When caloric_basis is ‘Hvap’:
- Returns:
- H
float Enthalpy of the phase, [J/(mol)]
- H
- Poyntings()[source]¶
Method to calculate and return the Poynting pressure correction factors of the phase, [-].
Notes
The above formula is correct for pressure-independent molar volumes. When the volume does depend on pressure, the full expression is:
When a specified model e.g. the Tait equation is used, an analytical integral of this term is normally available.
- S()[source]¶
Method to calculate the entropy of the
GibbsExcessLiquidphase. Depending on the settings of the phase, this can include the effects of activity coefficientsgammas, pressure correction termsPoyntings, and pure component saturation fugacitiesphis_satas well as the pure component vapor pressures.When caloric_basis is ‘Poynting&PhiSat’:
When caloric_basis is ‘PhiSat’:
When caloric_basis is ‘Poynting’:
When caloric_basis is ‘Psat’:
When caloric_basis is ‘Hvap’:
- Returns:
- S
float Entropy of the phase, [J/(mol*K)]
- S
- d2lnHenry_matrix_dT2()[source]¶
Method to calculate and return the second temperature derivative of the matrix of log Henry’s law constants as required by the traditional mixing rule, [-].
- dlnHenry_matrix_dT()[source]¶
Method to calculate and return the first temperature derivative of the matrix of log Henry’s law constants as required by the traditional mixing rule, [-].
- gammas()[source]¶
Method to calculate and return the activity coefficients of the phase, [-]. This is a direct call to
GibbsExcess.gammas.
- lnHenry_matrix()[source]¶
Method to calculate and return the matrix of log Henry’s law constants as required by the traditional mixing rule, [-].
Notes
Solvent/solvent and gas/gas values are all 0.
- phis_sat()[source]¶
Method to calculate and return the saturation fugacity coefficient correction factors of the phase, [-].
These are calculated from the provided pure-component equations of state. This term should only be used with a consistent vapor-phase cubic equation of state.
Notes
Warning
This factor cannot be calculated when a compound is supercritical, as there is no longer any vapor-liquid pure-component equilibrium (by definition).
Fundamental Equations of State¶
HelmholtzEOS is the base class for all Helmholtz energy fundamental equations of state.
- class thermo.phases.HelmholtzEOS[source]¶
Bases:
PhaseMethods
Cp()Method to calculate and return the constant-pressure heat capacity of the phase.
Cv()Method to calculate and return the constant-volume heat capacity Cv of the phase.
H()Method to calculate and return the enthalpy of the phase.
S()Method to calculate and return the entropy of the phase.
V_iter([force])Method to calculate and return the volume of the phase in a way suitable for a TV resolution to converge on the same pressure.
d2P_dT2()Method to calculate and return the second temperature derivative of pressure of the phase.
d2P_dTdV()Method to calculate and return the second derivative of pressure with respect to temperature and volume of the phase.
d2P_dV2()Method to calculate and return the second volume derivative of pressure of the phase.
dH_dP()Method to calculate and return the pressure derivative of enthalpy of the phase at constant pressure.
dP_dT()Method to calculate and return the first temperature derivative of pressure of the phase.
dP_dV()Method to calculate and return the first volume derivative of pressure of the phase.
dS_dP()Method to calculate and return the pressure derivative of entropy of the phase at constant pressure.
lnphis()Method to calculate and return the log of fugacity coefficients of each component in the phase.
to_TP_zs(T, P, zs)Method to create a new Phase object with the same constants as the existing Phase but at a different T and P.
- Cp()[source]¶
Method to calculate and return the constant-pressure heat capacity of the phase.
- Returns:
- Cp
float Molar heat capacity, [J/(mol*K)]
- Cp
- Cv()[source]¶
Method to calculate and return the constant-volume heat capacity Cv of the phase.
- Returns:
- Cv
float Constant volume molar heat capacity, [J/(mol*K)]
- Cv
- H()[source]¶
Method to calculate and return the enthalpy of the phase. The reference state for most subclasses is an ideal-gas enthalpy of zero at 298.15 K and 101325 Pa.
- Returns:
- H
float Molar enthalpy, [J/(mol)]
- H
- S()[source]¶
Method to calculate and return the entropy of the phase. The reference state for most subclasses is an ideal-gas entropy of zero at 298.15 K and 101325 Pa.
- Returns:
- S
float Molar entropy, [J/(mol*K)]
- S
- V_iter(force=False)¶
Method to calculate and return the volume of the phase in a way suitable for a TV resolution to converge on the same pressure. This often means the return value of this method is an mpmath mpf. This dummy method simply returns the implemented V method.
- Returns:
- V
floatormpf Molar volume, [m^3/mol]
- V
- __repr__()[source]¶
Method to create a string representation of the phase object, with the goal of making it easy to obtain standalone code which reproduces the current state of the phase. This is extremely helpful in creating new test cases.
- Returns:
- recreation
str String which is valid Python and recreates the current state of the object if ran, [-]
- recreation
Examples
>>> from thermo import IAPWS95Gas >>> phase = IAPWS95Gas(T=300.0, P=1e5, zs=[1.0]) >>> phase IAPWS95Gas(T=300.0, P=100000.0, zs=[1.0])
- d2P_dT2()[source]¶
Method to calculate and return the second temperature derivative of pressure of the phase.
- Returns:
- d2P_dT2
float Second temperature derivative of pressure, [Pa/K^2]
- d2P_dT2
- d2P_dTdV()[source]¶
Method to calculate and return the second derivative of pressure with respect to temperature and volume of the phase.
- Returns:
- d2P_dTdV
float Second volume derivative of pressure, [mol*Pa^2/(J*K)]
- d2P_dTdV
- d2P_dV2()[source]¶
Method to calculate and return the second volume derivative of pressure of the phase.
- Returns:
- d2P_dV2
float Second volume derivative of pressure, [Pa*mol^2/m^6]
- d2P_dV2
- dH_dP()¶
Method to calculate and return the pressure derivative of enthalpy of the phase at constant pressure.
- Returns:
- dH_dP_T
float Pressure derivative of enthalpy, [J/(mol*Pa)]
- dH_dP_T
- dP_dT()[source]¶
Method to calculate and return the first temperature derivative of pressure of the phase.
- Returns:
- dP_dT
float First temperature derivative of pressure, [Pa/K]
- dP_dT
- dP_dV()[source]¶
Method to calculate and return the first volume derivative of pressure of the phase.
- Returns:
- dP_dV
float First volume derivative of pressure, [Pa*mol/m^3]
- dP_dV
- dS_dP()¶
Method to calculate and return the pressure derivative of entropy of the phase at constant pressure.
- Returns:
- dS_dP_T
float Pressure derivative of entropy, [J/(mol*K*Pa)]
- dS_dP_T
- lnphis()[source]¶
Method to calculate and return the log of fugacity coefficients of each component in the phase.
- to_TP_zs(T, P, zs)¶
Method to create a new Phase object with the same constants as the existing Phase but at a different T and P.
- Parameters:
- Returns:
- new_phase
Phase New phase at the specified conditions, [-]
- new_phase
Notes
This method is marginally faster than
Phase.toas it does not need to check what the inputs are.Examples
>>> from thermo import IdealGas, HeatCapacityGas >>> from scipy.constants import R >>> phase = IdealGas(T=300, P=1e5, zs=[.79, .21], HeatCapacityGases=[HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*-9.9e-13, R*1.57e-09, R*7e-08, R*-0.000261, R*3.539])), HeatCapacityGas(poly_fit=(50.0, 1000.0, [R*-9.9e-13, R*1.57e-09, R*7e-08, R*-0.000261, R*3.539]))]) >>> state = phase.to_TP_zs(T=1e5, P=1e3, zs=[.5, .5])
IAPWS95 is the base class for the IAPWS-95 formulation for water; IAPWS95Gas and IAPWS95Liquid are the gas and liquid sub-phases respectively.
- class thermo.phases.IAPWS95(T=298.15, P=101325.0, zs=None)[source]¶
Bases:
HelmholtzEOSMethods
k()Calculate and return the thermal conductivity of water according to the IAPWS.
mu()Calculate and return the viscosity of water according to the IAPWS.
- k()[source]¶
Calculate and return the thermal conductivity of water according to the IAPWS. For details, see
chemicals.thermal_conductivity.k_IAPWS.- Returns:
- k
float Thermal conductivity of water, [W/m/K]
- k
- mu()[source]¶
Calculate and return the viscosity of water according to the IAPWS. For details, see
chemicals.viscosity.mu_IAPWS.- Returns:
- mu
float Viscosity of water, [Pa*s]
- mu
- class thermo.phases.IAPWS95Gas(T=298.15, P=101325.0, zs=None)[source]¶
Bases:
IAPWS95- force_phase = 'g'¶
Attribute which can be set to a global Phase object to force the phases identification routines to label it a certain phase. Accepts values of (‘g’, ‘l’, ‘s’).
- class thermo.phases.IAPWS95Liquid(T=298.15, P=101325.0, zs=None)[source]¶
Bases:
IAPWS95- force_phase = 'l'¶
Attribute which can be set to a global Phase object to force the phases identification routines to label it a certain phase. Accepts values of (‘g’, ‘l’, ‘s’).
DryAirLemmon is an implementation of thermophysical properties of air by Lemmon (2000).
- class thermo.phases.DryAirLemmon(T=298.15, P=298.15, zs=None)[source]¶
Bases:
HelmholtzEOSMethods
k()Calculate and return the thermal conductivity of air according to Lemmon and Jacobsen (2004) For details, see
chemicals.thermal_conductivity.k_air_lemmon.mu()Calculate and return the viscosity of air according to the Lemmon and Jacobsen (2003) .
- k()[source]¶
Calculate and return the thermal conductivity of air according to Lemmon and Jacobsen (2004) For details, see
chemicals.thermal_conductivity.k_air_lemmon.- Returns:
- k
float Thermal conductivity of air, [W/m/K]
- k
- mu()[source]¶
Calculate and return the viscosity of air according to the Lemmon and Jacobsen (2003) . For details, see
chemicals.viscosity.mu_air_lemmon.- Returns:
- mu
float Viscosity of air, [Pa*s]
- mu