Streams (thermo.stream)¶
- class thermo.stream.EnergyStream(Q)[source]¶
Bases:
object
Creates an EnergyStream object which contains an energy flow rate. This object is made available to help make mass and energy balances easier.
- Parameters
- Q
float
,optional
Energy flow rate, None if unknown [W]
- Q
Examples
>>> EnergyStream(Q=10.0) EnergyStream(Q=10.0) >>> EnergyStream(Q=None) EnergyStream(Q=None)
- Attributes
energy
Getter/setter for the energy of the stream.
energy_calc
Getter/setter for the energy of the stream.
Methods
as_json
([cache, option])Method to create a JSON-friendly representation of the EnergyStream object which can be stored, and reloaded later.
copy
()Method to copy the EnergyStream.
from_json
(json_repr[, cache])Method to create a EnergyStream object from a JSON-friendly serialization of another EnergyStream.
- as_json(cache=None, option=0)[source]¶
Method to create a JSON-friendly representation of the EnergyStream object which can be stored, and reloaded later.
- Returns
- json_repr
dict
JSON-friendly representation, [-]
- json_repr
Examples
>>> import json >>> obj = EnergyStream(Q=325.0) >>> json_view = obj.as_json() >>> json_str = json.dumps(json_view) >>> assert type(json_str) is str >>> obj_copy = EnergyStream.from_json(json.loads(json_str)) >>> assert obj_copy == obj
- copy()[source]¶
Method to copy the EnergyStream.
- Returns
- copy
EnergyStream
Copied Energy Stream, [-]
- copy
- property energy¶
Getter/setter for the energy of the stream. This method is a compatibility shim to make this object work the same way as StreamArgs, so energy balances can treat the two objects the same way.
- property energy_calc¶
Getter/setter for the energy of the stream. This method is a compatibility shim to make this object work the same way as StreamArgs, so energy balances can treat the two objects the same way.
- classmethod from_json(json_repr, cache=None)[source]¶
Method to create a EnergyStream object from a JSON-friendly serialization of another EnergyStream.
- Parameters
- json_repr
dict
JSON-friendly representation, [-]
- json_repr
- Returns
- model
EnergyStream
Newly created object from the json serialization, [-]
- model
Notes
It is important that the input string be in the same format as that created by
EnergyStream.as_json
.Examples
>>> obj = EnergyStream(Q=550) >>> json_view = obj.as_json() >>> new_obj = EnergyStream.from_json(json_view) >>> assert obj == new_obj
- json_version = 1¶
- non_json_attributes = []¶
- obj_references = []¶
- vectorized = False¶
- class thermo.stream.EquilibriumStream(flasher, *, zs=None, ws=None, Vfls=None, Vfgs=None, ns=None, ms=None, Qls=None, Qgs=None, n=None, m=None, Q=None, Ql=None, Qg=None, T=None, P=None, V=None, rho=None, rho_mass=None, VF=None, H=None, H_mass=None, S=None, S_mass=None, U=None, U_mass=None, G=None, G_mass=None, A=None, A_mass=None, energy=None, energy_reactive=None, H_reactive=None, Vf_TP=None, Q_TP=None, hot_start=None, existing_flash=None, spec_fun=None)[source]¶
Bases:
thermo.equilibrium.EquilibriumState
Creates an EquilibriumStream object, built off
EquilibriumState
to contain flow rate amounts, making mass and energy balances easier.EquilibriumStreams can have their flow rate, state, and composition defined using any sufficient set of the following. Note that not all sets of specs will have a solution, or a unique solution, or an algorithm to solve the problem implemented.
The state can be specified using any two of:
Temperature T [K]
Pressure P [Pa]
Vapor fraction VF
Enthalpy H [J/mol] or H_mass [J/kg]
Entropy S [J/mol/K] or S_mass [J/kg/K]
Internal energy U [J/mol] or U_mass [J/kg]
Gibbs free energy G [J/mol] or G_mass [J/kg]
Helmholtz energy A [J/mol] or A_mass [J/kg]
Energy energy [W] and energy_reactive [W] which count as a enthalpy spec only when flow rate is given
Reactive enthalpy H_reactive [J/mol]
Molar volume V [m^3/mol], molar density rho [mol/m^3], or mass density rho_mass, [kg/m^3]
The composition can be specified using any of:
Mole fractions zs
Mass fractions ws
Liquid standard volume fractions Vfls
Gas standard volume fractions Vfgs
Mole flow rates of each component ns [mol/s]
Mass flow rates of each component ms [kg/s]
Liquid standard volume flow rates of each component Qls [m^3/s]
Gas standard flow rates of each component Qgs [m^3/s]
Total flow rates can be specified using:
Mole flow rate n [mol/s]
Mass flow rate m [kg/s]
Actual volume flow rate Q [m^3/s]
Liquid volume standard flow rate Ql [m^3/s]
Gas standard volume flow rate Qg [m^3/s]
Note that the liquid flow rates Ql and Qls will by default use the pure component liquid standard molar densities, but the temperature and pressure used to calculate the liquid molar densities can be set with the two-tuple Vf_TP. See
EquilibriumState.V_liquids_ref
for details.- Parameters
- flasher
One
of
thermo.flash.FlashPureVLS
,thermo.flash.FlashVL
,thermo.flash.FlashVLN
, The configured flash object which can perform flashes for the configured components, [-]
- zs
list
,optional
Mole fractions of all components [-]
- ws
list
,optional
Mass fractions of all components [-]
- Vfls
list
,optional
Volume fractions of all components as a hypothetical liquid phase based on pure component densities [-]
- Vfgs
list
,optional
Volume fractions of all components as a hypothetical gas phase based on pure component densities [-]
- ns
list
,optional
Mole flow rates of each component [mol/s]
- ms
list
,optional
Mass flow rates of each component [kg/s]
- Qls
list
,optional
Component volumetric flow rate specs for a hypothetical liquid phase based on
EquilibriumState.V_liquids_ref
[m^3/s]- Qgs
list
,optional
Component volumetric flow rate specs for a hypothetical gas phase based on
EquilibriumState.V_gas
[m^3/s]- Ql
float
,optional
Total volumetric flow rate spec for a hypothetical liquid phase based on
EquilibriumState.V_liquids_ref
[m^3/s]- Qg
float
,optional
Total volumetric flow rate spec for a hypothetical gas phase based on
EquilibriumState.V_gas
[m^3/s]- Q
float
,optional
Total actual volumetric flow rate of the stream based on the density of the stream at the specified conditions [m^3/s]
- n
float
,optional
Total mole flow rate of all components in the stream [mol/s]
- m
float
,optional
Total mass flow rate of all components in the stream [kg/s]
- T
float
,optional
Temperature of the stream, [K]
- P
float
,optional
Pressure of the stream [Pa]
- VF
float
,optional
Vapor fraction (mole basis) of the stream, [-]
- V
float
,optional
Molar volume of the overall stream [m^3/mol]
- rho
float
,optional
Molar density of the overall stream [mol/m^3]
- rho_mass
float
,optional
Mass density of the overall stream [kg/m^3]
- H
float
,optional
Molar enthalpy of the stream [J/mol]
- H_mass
float
,optional
Mass enthalpy of the stream [J/kg]
- S
float
,optional
Molar entropy of the stream [J/mol/K]
- S_mass
float
,optional
Mass entropy of the stream [J/kg/K]
- U
float
,optional
Molar internal energy of the stream [J/mol]
- U_mass
float
,optional
Mass internal energy of the stream [J/kg]
- G
float
,optional
Molar Gibbs free energy of the stream [J/mol]
- G_mass
float
,optional
Mass Gibbs free energy of the stream [J/kg]
- A
float
,optional
Molar Helmholtz energy of the stream [J/mol]
- A_mass
float
,optional
Mass Helmholtz energy of the stream [J/kg]
- energy
float
,optional
Flowing energy of the stream [W]
- energy_reactive
float
,optional
Flowing energy of the stream on a reactive basis [W]
- H_reactive
float
,optional
Reactive molar enthalpy of the stream [J/mol]
- hot_start
EquilibriumState
,optional
See
EquilibriumState.hot_start
; not recommended as an input, [-]- existing_flash
EquilibriumState
,optional
Previously calculated
EquilibriumState
at the exact conditions, will be used instead of performing a new flash calculation if provided [-]
- flasher
- Attributes
CASis
CAS registration numbers as integeres for each component, [-].
CASs
CAS registration numbers for each component, [-].
Carcinogens
Status of each component in cancer causing registries, [-].
Ceilings
Ceiling exposure limits to chemicals (and their units; ppm or mg/m^3), [various].
EnthalpySublimations
Wrapper to obtain the list of EnthalpySublimations objects of the associated
PropertyCorrelationsPackage
.EnthalpyVaporizations
Wrapper to obtain the list of EnthalpyVaporizations objects of the associated
PropertyCorrelationsPackage
.GWPs
Global Warming Potentials for each component (impact/mass chemical)/(impact/mass CO2), [-].
Gfgs
Ideal gas standard molar Gibbs free energy of formation for each component, [J/mol].
Gfgs_mass
Ideal gas standard Gibbs free energy of formation for each component, [J/kg].
- H_calc
Hcs
Higher standard molar heats of combustion for each component, [J/mol].
Hcs_lower
Lower standard molar heats of combustion for each component, [J/mol].
Hcs_lower_mass
Lower standard heats of combustion for each component, [J/kg].
Hcs_mass
Higher standard heats of combustion for each component, [J/kg].
HeatCapacityGasMixture
Wrapper to obtain the list of HeatCapacityGasMixture objects of the associated
PropertyCorrelationsPackage
.HeatCapacityGases
Wrapper to obtain the list of HeatCapacityGases objects of the associated
PropertyCorrelationsPackage
.HeatCapacityLiquidMixture
Wrapper to obtain the list of HeatCapacityLiquidMixture objects of the associated
PropertyCorrelationsPackage
.HeatCapacityLiquids
Wrapper to obtain the list of HeatCapacityLiquids objects of the associated
PropertyCorrelationsPackage
.HeatCapacitySolidMixture
Wrapper to obtain the list of HeatCapacitySolidMixture objects of the associated
PropertyCorrelationsPackage
.HeatCapacitySolids
Wrapper to obtain the list of HeatCapacitySolids objects of the associated
PropertyCorrelationsPackage
.Hf_STPs
Standard state molar enthalpies of formation for each component, [J/mol].
Hf_STPs_mass
Standard state mass enthalpies of formation for each component, [J/kg].
Hfgs
Ideal gas standard molar enthalpies of formation for each component, [J/mol].
Hfgs_mass
Ideal gas standard enthalpies of formation for each component, [J/kg].
Hfus_Tms
Molar heats of fusion for each component at their respective melting points, [J/mol].
Hfus_Tms_mass
Heats of fusion for each component at their respective melting points, [J/kg].
Hsub_Tts
Heats of sublimation for each component at their respective triple points, [J/mol].
Hsub_Tts_mass
Heats of sublimation for each component at their respective triple points, [J/kg].
Hvap_298s
Molar heats of vaporization for each component at 298.15 K, [J/mol].
Hvap_298s_mass
Heats of vaporization for each component at 298.15 K, [J/kg].
Hvap_Tbs
Molar heats of vaporization for each component at their respective normal boiling points, [J/mol].
Hvap_Tbs_mass
Heats of vaporization for each component at their respective normal boiling points, [J/kg].
IDs
Alias of CASs.
InChI_Keys
InChI Keys for each component, [-].
InChIs
InChI strings for each component, [-].
LF
Method to return the liquid fraction of the equilibrium state.
LFLs
Lower flammability limits for each component, [-].
MWs
Molecular weights for each component, [g/mol].
- N
ODPs
Ozone Depletion Potentials for each component (impact/mass chemical)/(impact/mass CFC-11), [-].
- P
PSRK_groups
PSRK subgroup: count groups for each component, [-].
- P_calc
Parachors
Parachors for each component, [N^0.25*m^2.75/mol].
Pcs
Critical pressures for each component, [Pa].
PermittivityLiquids
Wrapper to obtain the list of PermittivityLiquids objects of the associated
PropertyCorrelationsPackage
.Psat_298s
Vapor pressures for each component at 298.15 K, [Pa].
Pts
Triple point pressures for each component, [Pa].
PubChems
Pubchem IDs for each component, [-].
Q
Method to return the actual volumetric flow rate of this phase.
Q_calc
Method to return the actual volumetric flow rate of this phase.
- Q_liquid_ref
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.
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.
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.
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.
Ql
Method to return the volume flow rate of this phase as an ideal liquid, using the configured standard molar volumes Vml_STPs.
Ql_calc
Method to return the volume flow rate of this phase as an ideal liquid, using the configured standard molar volumes Vml_STPs.
Qls
Method to return the volume flow rate of each component in this phase as an ideal liquid, using the configured V_liquids_ref.
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.
RI_Ts
Temperatures at which the refractive indexes were reported for each component, [K].
RIs
Refractive indexes for each component, [-].
S0gs
Ideal gas absolute molar entropies at 298.15 K at 1 atm for each component, [J/(mol*K)].
S0gs_mass
Ideal gas absolute entropies at 298.15 K at 1 atm for each component, [J/(kg*K)].
STELs
Short term exposure limits to chemicals (and their units; ppm or mg/m^3), [various].
Sfgs
Ideal gas standard molar entropies of formation for each component, [J/(mol*K)].
Sfgs_mass
Ideal gas standard entropies of formation for each component, [J/(kg*K)].
Skins
Whether each compound can be absorbed through the skin or not, [-].
StielPolars
Stiel polar factors for each component, [-].
Stockmayers
Lennard-Jones Stockmayer parameters (depth of potential-energy minimum over k) for each component, [K].
SublimationPressures
Wrapper to obtain the list of SublimationPressures objects of the associated
PropertyCorrelationsPackage
.SurfaceTensionMixture
Wrapper to obtain the list of SurfaceTensionMixture objects of the associated
PropertyCorrelationsPackage
.SurfaceTensions
Wrapper to obtain the list of SurfaceTensions objects of the associated
PropertyCorrelationsPackage
.- T
TWAs
Time-weighted average exposure limits to chemicals (and their units; ppm or mg/m^3), [various].
- T_calc
Tautoignitions
Autoignition temperatures for each component, [K].
Tbs
Boiling temperatures for each component, [K].
Tcs
Critical temperatures for each component, [K].
Tflashs
Flash point temperatures for each component, [K].
ThermalConductivityGasMixture
Wrapper to obtain the list of ThermalConductivityGasMixture objects of the associated
PropertyCorrelationsPackage
.ThermalConductivityGases
Wrapper to obtain the list of ThermalConductivityGases objects of the associated
PropertyCorrelationsPackage
.ThermalConductivityLiquidMixture
Wrapper to obtain the list of ThermalConductivityLiquidMixture objects of the associated
PropertyCorrelationsPackage
.ThermalConductivityLiquids
Wrapper to obtain the list of ThermalConductivityLiquids objects of the associated
PropertyCorrelationsPackage
.ThermalConductivitySolids
Wrapper to obtain the list of ThermalConductivitySolids objects of the associated
PropertyCorrelationsPackage
.Tms
Melting temperatures for each component, [K].
Tts
Triple point temperatures for each component, [K].
UFLs
Upper flammability limits for each component, [-].
UNIFAC_Dortmund_groups
UNIFAC_Dortmund_group: count groups for each component, [-].
UNIFAC_Qs
UNIFAC Q parameters for each component, [-].
UNIFAC_Rs
UNIFAC R parameters for each component, [-].
UNIFAC_groups
UNIFAC_group: count groups for each component, [-].
VF
Method to return the vapor fraction of the equilibrium state.
- VF_calc
Van_der_Waals_areas
Unnormalized Van der Waals areas for each component, [m^2/mol].
Van_der_Waals_volumes
Unnormalized Van der Waals volumes for each component, [m^3/mol].
VaporPressures
Wrapper to obtain the list of VaporPressures objects of the associated
PropertyCorrelationsPackage
.Vcs
Critical molar volumes for each component, [m^3/mol].
- Vfgs_calc
- Vfls_calc
ViscosityGasMixture
Wrapper to obtain the list of ViscosityGasMixture objects of the associated
PropertyCorrelationsPackage
.ViscosityGases
Wrapper to obtain the list of ViscosityGases objects of the associated
PropertyCorrelationsPackage
.ViscosityLiquidMixture
Wrapper to obtain the list of ViscosityLiquidMixture objects of the associated
PropertyCorrelationsPackage
.ViscosityLiquids
Wrapper to obtain the list of ViscosityLiquids objects of the associated
PropertyCorrelationsPackage
.Vmg_STPs
Gas molar volumes for each component at STP; metastable if normally another state, [m^3/mol].
Vml_60Fs
Liquid molar volumes for each component at 60 °F, [m^3/mol].
Vml_STPs
Liquid molar volumes for each component at STP, [m^3/mol].
Vml_Tms
Liquid molar volumes for each component at their respective melting points, [m^3/mol].
Vms_Tms
Solid molar volumes for each component at their respective melting points, [m^3/mol].
VolumeGasMixture
Wrapper to obtain the list of VolumeGasMixture objects of the associated
PropertyCorrelationsPackage
.VolumeGases
Wrapper to obtain the list of VolumeGases objects of the associated
PropertyCorrelationsPackage
.VolumeLiquidMixture
Wrapper to obtain the list of VolumeLiquidMixture objects of the associated
PropertyCorrelationsPackage
.VolumeLiquids
Wrapper to obtain the list of VolumeLiquids objects of the associated
PropertyCorrelationsPackage
.VolumeSolidMixture
Wrapper to obtain the list of VolumeSolidMixture objects of the associated
PropertyCorrelationsPackage
.VolumeSolids
Wrapper to obtain the list of VolumeSolids objects of the associated
PropertyCorrelationsPackage
.Zcs
Critical compressibilities for each component, [-].
aliases
Aliases for each component, [-].
atomss
Breakdown of each component into its elements and their counts, as a dict, [-].
- betas
betas_liquids
Method to calculate and return the fraction of the liquid phase that each liquid phase is, by molar phase fraction.
betas_mass
Method to calculate and return the mass fraction of all of the phases in the system.
betas_mass_liquids
Method to calculate and return the fraction of the liquid phase that each liquid phase is, by mass phase fraction.
betas_mass_states
Method to return the mass phase fractions of each of the three fundamental types of phases.
betas_states
Method to return the molar phase fractions of each of the three fundamental types of phases.
betas_volume
Method to calculate and return the volume fraction of all of the phases in the system.
betas_volume_liquid_ref
Method to calculate and return the standard liquid volume fraction of all of the phases in the bulk.
betas_volume_liquids
Method to calculate and return the fraction of the liquid phase that each liquid phase is, by volume phase fraction.
betas_volume_states
Method to return the volume phase fractions of each of the three fundamental types of phases.
- bulk
charges
Charge number (valence) for each component, [-].
composition_specified
Always needs a composition
conductivities
Electrical conductivities for each component, [S/m].
conductivity_Ts
Temperatures at which the electrical conductivities for each component were measured, [K].
- constants
- correlations
dipoles
Dipole moments for each component, [debye].
economic_statuses
Status of each component in in relation to import and export from various regions, [-].
energy
Method to return the energy (enthalpy times flow rate) of this phase.
energy_calc
Method to return the energy (enthalpy times flow rate) of this phase.
energy_reactive
Method to return the reactive energy (reactive enthalpy times flow rate) of this phase.
energy_reactive_calc
Method to return the reactive energy (reactive enthalpy times flow rate) of this phase.
- flash_convergence
- flash_specs
- flasher
flow_specified
Always needs a flow specified
formulas
Formulas of each component, [-].
functional_groups
Set of functional group constants present in each component, [-].
- gas
- gas_beta
- gas_count
heaviest_liquid
The liquid-like phase with the highest mass density, [-]
legal_statuses
Status of each component in in relation to import and export rules from various regions, [-].
lightest_liquid
The liquid-like phase with the lowest mass density, [-]
- liquid0
- liquid1
- liquid2
- liquid_bulk
- liquid_count
- liquid_zs
- liquids
- liquids_betas
logPs
Octanol-water partition coefficients for each component, [-].
- m_calc
molecular_diameters
Lennard-Jones molecular diameters for each component, [angstrom].
ms_calc
Method to return the mass flow rates of each component in this phase.
- n_calc
names
Names for each component, [-].
non_pressure_spec_specified
Cannot have a stream without an energy-type spec.
non_pressure_state_specs
List of state specifications which have been set, as tuples of (‘specification_name’, specification_value), excluding pressure.
ns_calc
Method to return the molar flow rates of each component in this phase.
omegas
Acentric factors for each component, [-].
phase
Method to calculate and return a string representing the phase of the mixture.
phase_STPs
Standard states (‘g’, ‘l’, or ‘s’) for each component, [-].
- phase_count
- phases
quality
Method to return the mass vapor fraction of the equilibrium state.
rhocs
Molar densities at the critical point for each component, [mol/m^3].
rhocs_mass
Densities at the critical point for each component, [kg/m^3].
rhog_STPs
Molar gas densities at STP for each component; metastable if normally another state, [mol/m^3].
rhog_STPs_mass
Gas densities at STP for each component; metastable if normally another state, [kg/m^3].
rhol_60Fs
Liquid molar densities for each component at 60 °F, [mol/m^3].
rhol_60Fs_mass
Liquid mass densities for each component at 60 °F, [kg/m^3].
rhol_STPs
Molar liquid densities at STP for each component, [mol/m^3].
rhol_STPs_mass
Liquid densities at STP for each component, [kg/m^3].
rhos_Tms
Solid molar densities for each component at their respective melting points, [mol/m^3].
rhos_Tms_mass
Solid mass densities for each component at their melting point, [kg/m^3].
- settings
sigma_STPs
Liquid-air surface tensions at 298.15 K and the higher of 101325 Pa or the saturation pressure, [N/m].
sigma_Tbs
Liquid-air surface tensions at the normal boiling point and 101325 Pa, [N/m].
sigma_Tms
Liquid-air surface tensions at the melting point and 101325 Pa, [N/m].
similarity_variables
Similarity variables for each component, [mol/g].
smiless
SMILES identifiers for each component, [-].
- solid_bulk
- solid_count
- solids
- solids_betas
solubility_parameters
Solubility parameters for each component at 298.15 K, [Pa^0.5].
specified_composition_vars
number of composition variables
specified_flow_vars
Always needs only one flow specified
specified_state_vars
Always needs two states
state_specified
Always needs a state
state_specs
Returns a list of tuples of (state_variable, state_value) representing the thermodynamic state of the system.
water_index
The index of the component water in the components.
water_phase
The liquid-like phase with the highest water mole fraction, [-]
water_phase_index
The liquid-like phase with the highest mole fraction of water, [-]
- ws_calc
- zs
- zs_calc
Methods
A
()Method to calculate and return the Helmholtz energy of the phase.
API
([phase])Method to calculate and return the API of the phase.
A_dep
()Method to calculate and return the departure Helmholtz energy of the phase.
A_dep_flow
([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.
A_dep_mass
()Method to calculate and return the departure mass Helmholtz energy of the phase.
A_flow
([phase])Method to return the flow rate of Helmholtz energy of this phase.
A_formation_ideal_gas
([phase])Method to calculate and return the ideal-gas Helmholtz energy of formation of the phase (as if the phase was an ideal gas).
A_formation_ideal_gas_mass
()Method to calculate and return the ideal-gas formation mass Helmholtz energy of the phase.
A_ideal_gas
([phase])Method to calculate and return the ideal-gas Helmholtz energy of the phase.
A_ideal_gas_mass
()Method to calculate and return the mass ideal-gas Helmholtz energy of the phase.
A_mass
([phase])Method to calculate and return mass Helmholtz energy of the phase.
A_reactive
()Method to calculate and return the Helmholtz free energy of the phase on a reactive basis.
A_reactive_mass
()Method to calculate and return mass Helmholtz energy on a reactive basis of the phase.
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, [-]
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, [-]
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
()Method to calculate and return the constant-temperature and constant phase-fraction heat capacity of the bulk phase.
Cp_Cv_ratio
()Method to calculate and return the Cp/Cv ratio of the phase.
Cp_Cv_ratio_ideal_gas
([phase])Method to calculate and return the ratio of the ideal-gas heat capacity to its constant-volume heat capacity.
Cp_dep
([phase])Method to calculate and return the difference between the actual Cp and the ideal-gas heat capacity of the phase.
Cp_dep_mass
()Method to calculate and return mass constant pressure departure heat capacity of the phase.
Cp_ideal_gas
([phase])Method to calculate and return the ideal-gas heat capacity of the phase.
Cp_ideal_gas_mass
()Method to calculate and return mass constant pressure departure heat capacity of the phase.
Cp_mass
([phase])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.HeatCapacityGas
objects.Cpls
()Method to calculate and return the pure-component liquid temperature-dependent heat capacities of each species from the
thermo.heat_capacity.HeatCapacityLiquid
objects.Cpss
()Method to calculate and return the pure-component solid heat capacities of each species from the
thermo.heat_capacity.HeatCapacitySolid
objects.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
()Method to calculate and return the constant-volume heat capacity Cv of the phase.
Cv_dep
([phase])Method to calculate and return the difference between the actual Cv and the ideal-gas constant volume heat capacity of the phase.
Cv_dep_mass
()Method to calculate and return mass constant pressure departure heat capacity of the phase.
Cv_ideal_gas
([phase])Method to calculate and return the ideal-gas constant volume heat capacity of the phase.
Cv_mass
([phase])Method to calculate and return mass constant volume heat capacity of the phase.
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
()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.
G_dep_flow
([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.
G_dep_mass
()Method to calculate and return the mass departure Gibbs free energy of the phase.
G_flow
([phase])Method to return the flow rate of Gibbs free energy of this phase.
G_formation_ideal_gas
([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).
G_formation_ideal_gas_mass
()Method to calculate and return the mass ideal-gas formation Gibbs free energy of the phase.
G_ideal_gas
([phase])Method to calculate and return the ideal-gas Gibbs free energy of the phase.
G_ideal_gas_mass
()Method to calculate and return the mass ideal-gas Gibbs free energy of the phase.
G_mass
([phase])Method to calculate and return mass Gibbs energy of the phase.
G_min_criteria
()Method to calculate and return the Gibbs energy criteria required for comparing phase stability.
G_reactive
()Method to calculate and return the Gibbs free energy of the phase on a reactive basis.
G_reactive_mass
()Method to calculate and return mass Gibbs free energy on a reactive basis of the phase.
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, [-]
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
()Method to calculate and return the constant-temperature and constant phase-fraction enthalpy of the bulk phase.
H_C_ratio
([phase])Method to calculate and return the atomic ratio of hydrogen atoms to carbon atoms, based on the current composition of the phase.
H_C_ratio_mass
([phase])Method to calculate and return the mass ratio of hydrogen atoms to carbon atoms, based on the current composition of the phase.
H_dep
([phase])Method to calculate and return the difference between the actual H and the ideal-gas enthalpy of the phase.
H_dep_flow
([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.
H_dep_mass
()Method to calculate and return the mass departure enthalpy of the phase.
H_flow
([phase])Method to return the flow rate of enthalpy of this phase.
H_formation_ideal_gas
([phase])Method to calculate and return the ideal-gas enthalpy of formation of the phase (as if the phase was an ideal gas).
H_formation_ideal_gas_mass
()Method to calculate and return the mass ideal-gas formation enthalpy of the phase.
H_ideal_gas
([phase])Method to calculate and return the ideal-gas enthalpy of the phase.
H_ideal_gas_mass
()Method to calculate and return the mass ideal-gas enthalpy of the phase.
H_mass
([phase])Method to calculate and return mass enthalpy of the phase.
H_reactive
()Method to calculate and return the constant-temperature and constant phase-fraction reactive enthalpy of the bulk phase.
H_reactive_mass
()Method to calculate and return mass enthalpy on a reactive basis of the phase.
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
([phase])Method to calculate and return the molar ideal-gas higher heat of combustion of the object, [J/mol]
Hc_lower
([phase])Method to calculate and return the molar ideal-gas lower heat of combustion of the object, [J/mol]
Hc_lower_mass
([phase])Method to calculate and return the mass ideal-gas lower heat of combustion of the object, [J/mol]
Hc_lower_normal
([phase])Method to calculate and return the volumetric ideal-gas lower heat of combustion of the object using the normal gas volume, [J/m^3]
Hc_lower_standard
([phase])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
([phase])Method to calculate and return the mass ideal-gas higher heat of combustion of the object, [J/mol]
Hc_normal
([phase])Method to calculate and return the volumetric ideal-gas higher heat of combustion of the object using the normal gas volume, [J/m^3]
Hc_standard
([phase])Method to calculate and return the volumetric ideal-gas higher heat of combustion of the object using the standard gas volume, [J/m^3]
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, [-]
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, [-]
Hsubs
()Method to calculate and return the pure-component enthalpy of sublimation of each species from the
thermo.phase_change.EnthalpySublimation
objects.Hvaps
()Method to calculate and return the pure-component enthalpy of vaporization of each species from the
thermo.phase_change.EnthalpyVaporization
objects.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, [-]
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
()Method to calculate and return the Joule-Thomson coefficient of the bulk according to the selected calculation methodology.
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, [-]
Ks
(phase[, ref_phase])Method to calculate and return the K-values of each phase.
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
([phase])Method to calculate and return the molecular weight of the phase.
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, [-]
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
()Method to calculate and return the phase identification parameter of the phase.
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, [-]
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
([phase])Method to calculate and return the mechanical critical pressure of the phase.
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
()Method to calculate and return the Prandtl number of the phase
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, [-]
Psats
()Method to calculate and return the pure-component vapor pressures of each species from the
thermo.vapor_pressure.VaporPressure
objects.Psubs
()Method to calculate and return the pure-component sublimation of each species from the
thermo.vapor_pressure.SublimationPressure
objects.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
()Method to calculate and return the constant-temperature and constant phase-fraction entropy of the bulk phase.
SG
([phase])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
([phase])Method to calculate and return the specific gravity of the phase with respect to a gas reference density.
S_dep
([phase])Method to calculate and return the difference between the actual S and the ideal-gas entropy of the phase.
S_dep_flow
([phase])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.
S_dep_mass
()Method to calculate and return the mass departure entropy of the phase.
S_flow
([phase])Method to return the flow rate of entropy of this phase.
S_formation_ideal_gas
([phase])Method to calculate and return the ideal-gas entropy of formation of the phase (as if the phase was an ideal gas).
S_formation_ideal_gas_mass
()Method to calculate and return the mass ideal-gas formation entropy of the phase.
S_ideal_gas
([phase])Method to calculate and return the ideal-gas entropy of the phase.
S_ideal_gas_mass
()Method to calculate and return the mass ideal-gas entropy of the phase.
S_mass
([phase])Method to calculate and return mass entropy of the phase.
S_reactive
()Method to calculate and return the constant-temperature and constant phase-fraction reactive entropy of the bulk phase.
S_reactive_mass
()Method to calculate and return mass entropy on a reactive basis of the phase.
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, [-]
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, [-]
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, [-]
Goal to create a StreamArgs instance, with the user specified variables always being here.
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, [-]
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, [-]
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, [-]
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
([phase])Method to calculate and return the mechanical critical temperature of the phase.
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
()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.
U_dep_flow
([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.
U_dep_mass
()Method to calculate and return the departure mass internal energy of the phase.
U_flow
([phase])Method to return the flow rate of internal energy of this phase.
U_formation_ideal_gas
([phase])Method to calculate and return the ideal-gas internal energy of formation of the phase (as if the phase was an ideal gas).
U_formation_ideal_gas_mass
()Method to calculate and return the ideal-gas formation mass internal energy of the phase.
U_ideal_gas
([phase])Method to calculate and return the ideal-gas internal energy of the phase.
U_ideal_gas_mass
()Method to calculate and return the mass ideal-gas internal energy of the phase.
U_mass
([phase])Method to calculate and return mass internal energy of the phase.
U_reactive
()Method to calculate and return the internal energy of the phase on a reactive basis.
U_reactive_mass
()Method to calculate and return mass internal energy on a reactive basis of the phase.
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, [-]
V
()Method to calculate and return the molar volume of the bulk phase.
V_dep
()Method to calculate and return the departure (from ideal gas behavior) molar volume of the phase.
V_gas
([phase])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
.V_gas_normal
([phase])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
.V_gas_standard
([phase])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
.V_ideal_gas
([phase])Method to calculate and return the ideal-gas molar volume of the phase.
V_iter
([phase, 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.
V_liquid_ref
([phase])Method to calculate and return the liquid reference molar volume according to the temperature variable T_liquid_volume_ref of
thermo.bulk.BulkSettings
and the composition of the phase.V_liquids_ref
()Method to calculate and return the liquid reference molar volumes according to the temperature variable T_liquid_volume_ref of
thermo.bulk.BulkSettings
.V_mass
([phase])Method to calculate and return the specific volume of the phase.
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, [-]
Vfgs
([phase])Method to calculate and return the ideal-gas volume fractions of the components of the phase.
Vfls
([phase])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.BulkSettings
and 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.VolumeLiquid
objects.Vmc
([phase])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.VolumeSolid
objects.Wobbe_index
([phase])Method to calculate and return the molar Wobbe index of the object, [J/mol].
Wobbe_index_lower
([phase])Method to calculate and return the molar lower Wobbe index of the
Wobbe_index_lower_mass
([phase])Method to calculate and return the lower mass Wobbe index of the object, [J/kg].
Wobbe_index_lower_normal
([phase])Method to calculate and return the volumetric normal lower Wobbe index of the object, [J/m^3].
Wobbe_index_lower_standard
([phase])Method to calculate and return the volumetric standard lower Wobbe index of the object, [J/m^3].
Wobbe_index_mass
([phase])Method to calculate and return the mass Wobbe index of the object, [J/kg].
Wobbe_index_normal
([phase])Method to calculate and return the volumetric normal Wobbe index of the object, [J/m^3].
Wobbe_index_standard
([phase])Method to calculate and return the volumetric standard Wobbe index of the object, [J/m^3].
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
()Method to calculate and return the compressibility factor of the phase.
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
([phase])Method to calculate and return the mechanical critical compressibility of the phase.
alpha
()Method to calculate and return the thermal diffusivity of the phase.
ammonia_molar_weight
()Method to calculate and return the effective quantiy of ammonia in the phase as a molar weight, [g/mol].
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].
argon_partial_pressure
()Method to calculate and return the ideal partial pressure of argon, [Pa]
atom_content
([phase])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
([phase])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
([phase])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
([phase])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
([phase])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
([phase])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.
carbon_dioxide_molar_weight
()Method to calculate and return the effective quantiy of carbon_dioxide in the phase as a molar weight, [g/mol].
carbon_dioxide_partial_pressure
()Method to calculate and return the ideal partial pressure of carbon_dioxide, [Pa]
concentrations
()Method to return the molar concentrations of each component in the phase in units of mol/m^3.
concentrations_gas
()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
()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
()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
()Method to return the mass concentrations of each component in the phase in units of kg/m^3.
concentrations_mass_gas
()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
()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
()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 bulk according to the selected calculation methodology.
d2P_dT2_frozen
()Method to calculate and return the second constant-volume derivative of pressure with respect to temperature of the bulk phase, at constant phase fractions and phase compositions.
d2P_dTdV
()Method to calculate and return the second derivative of pressure with respect to temperature and volume of the bulk according to the selected calculation methodology.
d2P_dTdV_frozen
()Method to calculate and return the second derivative of pressure with respect to volume and temperature of the bulk phase, at constant phase fractions and phase compositions.
d2P_dV2
()Method to calculate and return the second volume derivative of pressure of the bulk according to the selected calculation methodology.
d2P_dV2_frozen
()Method to calculate and return the constant-temperature second derivative of pressure with respect to volume of the bulk phase, at constant phase fractions and phase compositions.
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
()Method to calculate and return the pressure derivative of mass Helmholtz energy of the phase at constant temperature.
dA_mass_dP_T
()Method to calculate and return the pressure derivative of mass Helmholtz energy of the phase at constant temperature.
dA_mass_dP_V
()Method to calculate and return the pressure derivative of mass Helmholtz energy of the phase at constant volume.
dA_mass_dT
()Method to calculate and return the temperature derivative of mass Helmholtz energy of the phase at constant pressure.
dA_mass_dT_P
()Method to calculate and return the temperature derivative of mass Helmholtz energy of the phase at constant pressure.
dA_mass_dT_V
()Method to calculate and return the temperature derivative of mass Helmholtz energy of the phase at constant volume.
dA_mass_dV_P
()Method to calculate and return the volume derivative of mass Helmholtz energy of the phase at constant pressure.
dA_mass_dV_T
()Method to calculate and return the volume derivative of mass Helmholtz energy of the phase at constant temperature.
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
()Method to calculate and return the pressure derivative of mass Constant-volume heat capacity of the phase at constant temperature.
dCv_mass_dT_P
()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.
dG_mass_dP
()Method to calculate and return the pressure derivative of mass Gibbs free energy of the phase at constant temperature.
dG_mass_dP_T
()Method to calculate and return the pressure derivative of mass Gibbs free energy of the phase at constant temperature.
dG_mass_dP_V
()Method to calculate and return the pressure derivative of mass Gibbs free energy of the phase at constant volume.
dG_mass_dT
()Method to calculate and return the temperature derivative of mass Gibbs free energy of the phase at constant pressure.
dG_mass_dT_P
()Method to calculate and return the temperature derivative of mass Gibbs free energy of the phase at constant pressure.
dG_mass_dT_V
()Method to calculate and return the temperature derivative of mass Gibbs free energy of the phase at constant volume.
dG_mass_dV_P
()Method to calculate and return the volume derivative of mass Gibbs free energy of the phase at constant pressure.
dG_mass_dV_T
()Method to calculate and return the volume derivative of mass Gibbs free energy of the phase at constant temperature.
dH_dP
()Method to calculate and return the pressure derivative of enthalpy of the phase at constant pressure.
dH_dP_T
()Method to calculate and return the pressure derivative of enthalpy of the phase at constant pressure.
dH_dT
()Method to calculate and return the constant-temperature and constant phase-fraction heat capacity of the bulk phase.
dH_dT_P
()Method to calculate and return the temperature derivative of enthalpy of the phase at constant pressure.
dH_mass_dP
()Method to calculate and return the pressure derivative of mass enthalpy of the phase at constant temperature.
dH_mass_dP_T
()Method to calculate and return the pressure derivative of mass enthalpy of the phase at constant temperature.
dH_mass_dP_V
()Method to calculate and return the pressure derivative of mass enthalpy of the phase at constant volume.
dH_mass_dT
()Method to calculate and return the temperature derivative of mass enthalpy of the phase at constant pressure.
dH_mass_dT_P
()Method to calculate and return the temperature derivative of mass enthalpy of the phase at constant pressure.
dH_mass_dT_V
()Method to calculate and return the temperature derivative of mass enthalpy of the phase at constant volume.
dH_mass_dV_P
()Method to calculate and return the volume derivative of mass enthalpy of the phase at constant pressure.
dH_mass_dV_T
()Method to calculate and return the volume derivative of mass enthalpy of the phase at constant temperature.
dP_dT
()Method to calculate and return the first temperature derivative of pressure of the bulk according to the selected calculation methodology.
dP_dT_A
()Method to calculate and return the temperature derivative of pressure of the phase at constant Helmholtz energy.
dP_dT_G
()Method to calculate and return the temperature derivative of pressure of the phase at constant Gibbs energy.
dP_dT_H
()Method to calculate and return the temperature derivative of pressure of the phase at constant enthalpy.
dP_dT_S
()Method to calculate and return the temperature derivative of pressure of the phase at constant entropy.
dP_dT_U
()Method to calculate and return the temperature derivative of pressure of the phase at constant internal energy.
dP_dT_frozen
()Method to calculate and return the constant-volume derivative of pressure with respect to temperature of the bulk phase, at constant phase fractions and phase compositions.
dP_dV
()Method to calculate and return the first volume derivative of pressure of the bulk according to the selected calculation methodology.
dP_dV_A
()Method to calculate and return the volume derivative of pressure of the phase at constant Helmholtz energy.
dP_dV_G
()Method to calculate and return the volume derivative of pressure of the phase at constant Gibbs energy.
dP_dV_H
()Method to calculate and return the volume derivative of pressure of the phase at constant enthalpy.
dP_dV_S
()Method to calculate and return the volume derivative of pressure of the phase at constant entropy.
dP_dV_U
()Method to calculate and return the volume derivative of pressure of the phase at constant internal energy.
dP_dV_frozen
()Method to calculate and return the constant-temperature derivative of pressure with respect to volume of the bulk phase, at constant phase fractions and phase compositions.
dP_drho_A
()Method to calculate and return the density derivative of pressure of the phase at constant Helmholtz energy.
dP_drho_G
()Method to calculate and return the density derivative of pressure of the phase at constant Gibbs energy.
dP_drho_H
()Method to calculate and return the density derivative of pressure of the phase at constant enthalpy.
dP_drho_S
()Method to calculate and return the density derivative of pressure of the phase at constant entropy.
dP_drho_U
()Method to calculate and return the density derivative of pressure of the phase at constant internal energy.
dS_dP
()Method to calculate and return the pressure derivative of entropy of the phase at constant pressure.
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_mass_dP
()Method to calculate and return the pressure derivative of mass entropy of the phase at constant temperature.
dS_mass_dP_T
()Method to calculate and return the pressure derivative of mass entropy of the phase at constant temperature.
dS_mass_dP_V
()Method to calculate and return the pressure derivative of mass entropy of the phase at constant volume.
dS_mass_dT
()Method to calculate and return the temperature derivative of mass entropy of the phase at constant pressure.
dS_mass_dT_P
()Method to calculate and return the temperature derivative of mass entropy of the phase at constant pressure.
dS_mass_dT_V
()Method to calculate and return the temperature derivative of mass entropy of the phase at constant volume.
dS_mass_dV_P
()Method to calculate and return the volume derivative of mass entropy of the phase at constant pressure.
dS_mass_dV_T
()Method to calculate and return the volume derivative of mass entropy of the phase at constant temperature.
dT_dP_A
()Method to calculate and return the pressure derivative of temperature of the phase at constant Helmholtz energy.
dT_dP_G
()Method to calculate and return the pressure derivative of temperature of the phase at constant Gibbs energy.
dT_dP_H
()Method to calculate and return the pressure derivative of temperature of the phase at constant enthalpy.
dT_dP_S
()Method to calculate and return the pressure derivative of temperature of the phase at constant entropy.
dT_dP_U
()Method to calculate and return the pressure derivative of temperature of the phase at constant internal energy.
dT_dV_A
()Method to calculate and return the volume derivative of temperature of the phase at constant Helmholtz energy.
dT_dV_G
()Method to calculate and return the volume derivative of temperature of the phase at constant Gibbs energy.
dT_dV_H
()Method to calculate and return the volume derivative of temperature of the phase at constant enthalpy.
dT_dV_S
()Method to calculate and return the volume derivative of temperature of the phase at constant entropy.
dT_dV_U
()Method to calculate and return the volume derivative of temperature of the phase at constant internal energy.
dT_drho_A
()Method to calculate and return the density derivative of temperature of the phase at constant Helmholtz energy.
dT_drho_G
()Method to calculate and return the density derivative of temperature of the phase at constant Gibbs energy.
dT_drho_H
()Method to calculate and return the density derivative of temperature of the phase at constant enthalpy.
dT_drho_S
()Method to calculate and return the density derivative of temperature of the phase at constant entropy.
dT_drho_U
()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
()Method to calculate and return the pressure derivative of mass internal energy of the phase at constant temperature.
dU_mass_dP_T
()Method to calculate and return the pressure derivative of mass internal energy of the phase at constant temperature.
dU_mass_dP_V
()Method to calculate and return the pressure derivative of mass internal energy of the phase at constant volume.
dU_mass_dT
()Method to calculate and return the temperature derivative of mass internal energy of the phase at constant pressure.
dU_mass_dT_P
()Method to calculate and return the temperature derivative of mass internal energy of the phase at constant pressure.
dU_mass_dT_V
()Method to calculate and return the temperature derivative of mass internal energy of the phase at constant volume.
dU_mass_dV_P
()Method to calculate and return the volume derivative of mass internal energy of the phase at constant pressure.
dU_mass_dV_T
()Method to calculate and return the volume derivative of mass internal energy of the phase at constant temperature.
dV_dP_A
()Method to calculate and return the pressure derivative of volume of the phase at constant Helmholtz energy.
dV_dP_G
()Method to calculate and return the pressure derivative of volume of the phase at constant Gibbs energy.
dV_dP_H
()Method to calculate and return the pressure derivative of volume of the phase at constant enthalpy.
dV_dP_S
()Method to calculate and return the pressure derivative of volume of the phase at constant entropy.
dV_dP_U
()Method to calculate and return the pressure derivative of volume of the phase at constant internal energy.
dV_dT_A
()Method to calculate and return the temperature derivative of volume of the phase at constant Helmholtz energy.
dV_dT_G
()Method to calculate and return the temperature derivative of volume of the phase at constant Gibbs energy.
dV_dT_H
()Method to calculate and return the temperature derivative of volume of the phase at constant enthalpy.
dV_dT_S
()Method to calculate and return the temperature derivative of volume of the phase at constant entropy.
dV_dT_U
()Method to calculate and return the temperature derivative of volume of the phase at constant internal energy.
dV_drho_A
()Method to calculate and return the density derivative of volume of the phase at constant Helmholtz energy.
dV_drho_G
()Method to calculate and return the density derivative of volume of the phase at constant Gibbs energy.
dV_drho_H
()Method to calculate and return the density derivative of volume of the phase at constant enthalpy.
dV_drho_S
()Method to calculate and return the density derivative of volume of the phase at constant entropy.
dV_drho_U
()Method to calculate and return the density derivative of volume of the phase at constant internal energy.
drho_dP_A
()Method to calculate and return the pressure derivative of density of the phase at constant Helmholtz energy.
drho_dP_G
()Method to calculate and return the pressure derivative of density of the phase at constant Gibbs energy.
drho_dP_H
()Method to calculate and return the pressure derivative of density of the phase at constant enthalpy.
drho_dP_S
()Method to calculate and return the pressure derivative of density of the phase at constant entropy.
drho_dP_U
()Method to calculate and return the pressure derivative of density of the phase at constant internal energy.
drho_dT_A
()Method to calculate and return the temperature derivative of density of the phase at constant Helmholtz energy.
drho_dT_G
()Method to calculate and return the temperature derivative of density of the phase at constant Gibbs energy.
drho_dT_H
()Method to calculate and return the temperature derivative of density of the phase at constant enthalpy.
drho_dT_S
()Method to calculate and return the temperature derivative of density of the phase at constant entropy.
drho_dT_U
()Method to calculate and return the temperature derivative of density of the phase at constant internal energy.
drho_dV_A
()Method to calculate and return the volume derivative of density of the phase at constant Helmholtz energy.
drho_dV_G
()Method to calculate and return the volume derivative of density of the phase at constant Gibbs energy.
drho_dV_H
()Method to calculate and return the volume derivative of density of the phase at constant enthalpy.
drho_dV_S
()Method to calculate and return the volume derivative of density of the phase at constant entropy.
drho_dV_U
()Method to calculate and return the volume derivative of density of the phase at constant internal energy.
helium_molar_weight
()Method to calculate and return the effective quantiy of helium in the phase as a molar weight, [g/mol].
helium_partial_pressure
()Method to calculate and return the ideal partial pressure of helium, [Pa]
humidity_ratio
([phase])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) [-]
hydrogen_molar_weight
()Method to calculate and return the effective quantiy of hydrogen in the phase as a molar weight, [g/mol].
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].
hydrogen_sulfide_partial_pressure
()Method to calculate and return the ideal partial pressure of hydrogen_sulfide, [Pa]
isentropic_exponent
()Method to calculate and return the real gas isentropic exponent of the phase, which satisfies the relationship .
isentropic_exponent_PT
()Method to calculate and return the real gas isentropic exponent of the phase, which satisfies the relationship .
isentropic_exponent_PV
()Method to calculate and return the real gas isentropic exponent of the phase, which satisfies the relationship .
isentropic_exponent_TV
()Method to calculate and return the real gas isentropic exponent of the phase, which satisfies the relationship .
isobaric_expansion
()Method to calculate and return the isobatic expansion coefficient of the bulk according to the selected calculation methodology.
isothermal_bulk_modulus
()Method to calculate and return the isothermal bulk modulus of the phase.
k
()Calculate and return the thermal conductivity of the bulk according to the selected thermal conductivity settings in
BulkSettings
, the settings inThermalConductivityGasMixture
andThermalConductivityLiquidMixture
, and the configured pure-component settings inThermalConductivityGas
andThermalConductivityLiquid
.kappa
()Method to calculate and return the isothermal compressibility of the bulk according to the selected calculation methodology.
kgs
()Method to calculate and return the pure-component gas temperature-dependent thermal conductivity of each species from the
thermo.thermal_conductivity.ThermalConductivityGas
objects.kinematic_viscosity
()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.ThermalConductivityLiquid
objects.kss
()Method to calculate and return the pure-component solid temperature-dependent thermal conductivity of each species from the
thermo.thermal_conductivity.ThermalConductivitySolid
objects.log_zs
()Method to calculate and return the log of mole fractions specified.
m
()Method to return the mass flow rate of this phase.
methane_molar_weight
()Method to calculate and return the effective quantiy of methane in the phase as a molar weight, [g/mol].
methane_partial_pressure
()Method to calculate and return the ideal partial pressure of methane, [Pa]
ms
()Method to return the mass flow rates of each component in this phase.
mu
()Calculate and return the viscosity of the bulk according to the selected viscosity settings in
BulkSettings
, the settings inViscosityGasMixture
andViscosityLiquidMixture
, and the configured pure-component settings inViscosityGas
andViscosityLiquid
.mugs
()Method to calculate and return the pure-component gas temperature-dependent viscosity of each species from the
thermo.viscosity.ViscosityGas
objects.muls
()Method to calculate and return the pure-component liquid temperature-dependent viscosity of each species from the
thermo.viscosity.ViscosityLiquid
objects.n
()Method to return the molar flow rate of this phase.
nitrogen_molar_weight
()Method to calculate and return the effective quantiy of nitrogen in the phase as a molar weight, [g/mol].
nitrogen_partial_pressure
()Method to calculate and return the ideal partial pressure of nitrogen, [Pa]
ns
()Method to return the molar flow rates of each component in this phase.
nu
()Method to calculate and return the kinematic viscosity of the phase, [m^2/s]
oxygen_molar_weight
()Method to calculate and return the effective quantiy of oxygen in the phase as a molar weight, [g/mol].
oxygen_partial_pressure
()Method to calculate and return the ideal partial pressure of oxygen, [Pa]
partial_pressures
()Method to return the partial pressures of each component in the phase.
pseudo_Pc
([phase])Method to calculate and return the pseudocritical pressure calculated using Kay's rule (linear mole fractions):
pseudo_Tc
([phase])Method to calculate and return the pseudocritical temperature calculated using Kay's rule (linear mole fractions):
pseudo_Vc
([phase])Method to calculate and return the pseudocritical volume calculated using Kay's rule (linear mole fractions):
pseudo_Zc
([phase])Method to calculate and return the pseudocritical compressibility calculated using Kay's rule (linear mole fractions):
pseudo_omega
([phase])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
([phase])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
.rho_gas_normal
([phase])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
.rho_gas_standard
([phase])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
([phase])Method to calculate and return mass density of the phase.
rho_mass_gas
([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
.rho_mass_gas_normal
([phase])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
.rho_mass_gas_standard
([phase])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
.rho_mass_liquid_ref
([phase])Method to calculate and return the liquid reference mass density according to the temperature variable T_liquid_volume_ref of
thermo.bulk.BulkSettings
and the composition of the phase.sigma
()Calculate and return the surface tension of the bulk according to the selected surface tension settings in
BulkSettings
, the settings inSurfaceTensionMixture
and the configured pure-component settings inSurfaceTension
.sigmas
()Method to calculate and return the pure-component surface tensions of each species from the
thermo.interface.SurfaceTension
objects.speed_of_sound
()Method to calculate and return the molar speed of sound of the bulk according to the selected calculation methodology.
speed_of_sound_ideal_gas
()Method to calculate and return the molar speed of sound of an ideal gas phase at the current conditions.
speed_of_sound_ideal_gas_mass
()Method to calculate and return the mass speed of sound of an ideal gas phase at the current conditions.
speed_of_sound_mass
()Method to calculate and return the speed of sound of the phase.
thermal_diffusivity
()Method to calculate and return the thermal diffusivity of the phase.
value
(name[, phase])Method to retrieve a property from a string.
water_molar_weight
()Method to calculate and return the effective quantiy of water in the phase as a molar weight, [g/mol].
water_partial_pressure
()Method to calculate and return the ideal partial pressure of water, [Pa]
ws
([phase])Method to calculate and return the mass fractions of the phase, [-]
ws_no_water
([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).
zs_no_water
([phase])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).
B_from_Z
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
activities
as_json
d2G_dP2
d2G_dPdT
d2G_dT2
d2G_dTdP
d2G_mass_dP2
d2G_mass_dPdT
d2G_mass_dT2
d2G_mass_dTdP
dH_dP_V
dH_dT_V
dH_dV_P
dH_dV_T
dS_dP_V
dS_dT
dS_dT_P
dS_dT_V
dfugacities_dP
dfugacities_dT
dlnphis_dP
dlnphis_dT
dlnphis_dns
dphis_dP
dphis_dT
dphis_dzs
from_json
fugacities
lnphis
phis
- N¶
- P¶
- 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 Q_liquid_ref¶
- 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 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
- StreamArgs()[source]¶
Goal to create a StreamArgs instance, with the user specified variables always being here.
The state variables are currently correctly tracked. The flow rate and composition variable needs to be tracked as a function of what was specified as the input variables.
The flow rate needs to be changed wen the stream flow rate is changed. Note this stores unnormalized specs, but that this is OK.
- T¶
- betas¶
- bulk¶
- property composition_specified¶
Always needs a composition
- constants¶
- correlations¶
- flash_convergence¶
- flash_specs¶
- flashed = True¶
- flasher¶
- property flow_specified¶
Always needs a flow specified
- gas¶
- gas_beta¶
- gas_count¶
- liquid0¶
- liquid1¶
- liquid2¶
- liquid_count¶
- liquid_zs¶
- liquids¶
- liquids_betas¶
- property non_pressure_spec_specified¶
Cannot have a stream without an energy-type spec.
- property non_pressure_state_specs¶
List of state specifications which have been set, as tuples of (‘specification_name’, specification_value), excluding pressure. Energy is included regardless of whether it is being used as a state specification.
>>> StreamArgs(T=400, P=1e5, n=4).non_pressure_state_specs [('T', 400)]
- phase_count¶
- phases¶
- settings¶
- solid_count¶
- solids¶
- solids_betas¶
- property specified_composition_vars¶
number of composition variables
- property specified_flow_vars¶
Always needs only one flow specified
- property specified_state_vars¶
Always needs two states
- property state_specified¶
Always needs a state
- property state_specs¶
Returns a list of tuples of (state_variable, state_value) representing the thermodynamic state of the system.
- zs¶
- class thermo.stream.Stream(IDs=None, zs=None, ws=None, Vfls=None, Vfgs=None, ns=None, ms=None, Qls=None, Qgs=None, n=None, m=None, Q=None, T=None, P=None, VF=None, H=None, Hm=None, S=None, Sm=None, energy=None, pkg=None, Vf_TP=(None, None), Q_TP=(None, None, ''))[source]¶
Bases:
thermo.mixture.Mixture
Creates a Stream object which is useful for modeling mass and energy balances.
Streams have five variables. The flow rate, composition, and components are mandatory; and two of the variables temperature, pressure, vapor fraction, enthalpy, or entropy are required. Entropy and enthalpy may also be provided in a molar basis; energy can also be provided, which when combined with either a flow rate or enthalpy will calculate the other variable.
The composition and flow rate may be specified together or separately. The options for specifying them are:
Mole fractions zs
Mass fractions ws
Liquid standard volume fractions Vfls
Gas standard volume fractions Vfgs
Mole flow rates ns
Mass flow rates ms
Liquid flow rates Qls (based on pure component volumes at the T and P specified by Q_TP)
Gas flow rates Qgs (based on pure component volumes at the T and P specified by Q_TP)
If only the composition is specified by providing any of zs, ws, Vfls or Vfgs, the flow rate must be specified by providing one of these:
Mole flow rate n
Mass flow rate m
Volumetric flow rate Q at the provided T and P or if specified, Q_TP
Energy energy
The state variables must be two of the following. Not all combinations result in a supported flash.
Tempetarure T
Pressure P
Vapor fraction VF
Enthalpy H
Molar enthalpy Hm
Entropy S
Molar entropy Sm
Energy energy
- Parameters
- IDs
list
,optional
List of chemical identifiers - names, CAS numbers, SMILES or InChi strings can all be recognized and may be mixed [-]
- zs
list
ordict
,optional
Mole fractions of all components in the stream [-]
- ws
list
ordict
,optional
Mass fractions of all components in the stream [-]
- Vfls
list
ordict
,optional
Volume fractions of all components as a hypothetical liquid phase based on pure component densities [-]
- Vfgs
list
ordict
,optional
Volume fractions of all components as a hypothetical gas phase based on pure component densities [-]
- ns
list
ordict
,optional
Mole flow rates of each component [mol/s]
- ms
list
ordict
,optional
Mass flow rates of each component [kg/s]
- Qls
list
ordict
,optional
Liquid flow rates of all components as a hypothetical liquid phase based on pure component densities [m^3/s]
- Qgs
list
ordict
,optional
Gas flow rates of all components as a hypothetical gas phase based on pure component densities [m^3/s]
- n
float
,optional
Total mole flow rate of all components in the stream [mol/s]
- m
float
,optional
Total mass flow rate of all components in the stream [kg/s]
- Q
float
,optional
Total volumetric flow rate of all components in the stream based on the temperature and pressure specified by T and P [m^3/s]
- T
float
,optional
Temperature of the stream (default 298.15 K), [K]
- P
float
,optional
Pressure of the stream (default 101325 Pa) [Pa]
- VF
float
,optional
Vapor fraction (mole basis) of the stream, [-]
- H
float
,optional
Mass enthalpy of the stream, [J]
- Hm
float
,optional
Molar enthalpy of the stream, [J/mol]
- S
float
,optional
Mass entropy of the stream, [J/kg/K]
- Sm
float
,optional
Molar entropy of the stream, [J/mol/K]
- energy
float
,optional
Flowing energy of the stream (H`*`m), [W]
- pkg
object
The thermodynamic property package to use for flash calculations; one of the caloric packages in
thermo.property_package
; defaults to the ideal model [-]- Vf_TP
tuple
(2,float
),optional
The (T, P) at which the volume fractions are specified to be at, [K] and [Pa]
- Q_TP
tuple
(3,float
,float
,str
),optional
The (T, P, phase) at which the volumetric flow rate is specified to be at, [K] and [Pa]
- IDs
Notes
Warning
The Stream class is not designed for high-performance or the ability to use different thermodynamic models. It is especially limited in its multiphase support and the ability to solve with specifications other than temperature and pressure. It is impossible to change constant properties such as a compound’s critical temperature in this interface.
It is recommended to switch over to the
thermo.flash
andEquilibriumStream
interfaces which solves those problems and are better positioned to grow. That interface also requires users to be responsible for their chemical constants and pure component correlations; while default values can easily be loaded for most compounds, the user is ultimately responsible for them.Examples
Creating Stream objects:
A stream of vodka with volume fractions 60% water, 40% ethanol, 1 kg/s:
>>> from thermo import Stream >>> Stream(['water', 'ethanol'], Vfls=[.6, .4], T=300, P=1E5, m=1) <Stream, components=['water', 'ethanol'], mole fractions=[0.8299, 0.1701], mass flow=1.0 kg/s, mole flow=43.883974 mol/s, T=300.00 K, P=100000 Pa>
A stream of air at 400 K and 1 bar, flow rate of 1 mol/s:
>>> Stream('air', T=400, P=1e5, n=1) <Stream, components=['nitrogen', 'argon', 'oxygen'], mole fractions=[0.7812, 0.0092, 0.2096], mass flow=0.028958 kg/s, mole flow=1 mol/s, T=400.00 K, P=100000 Pa>
Instead of specifying the composition and flow rate separately, they can be specified as a list of flow rates in the appropriate units.
80 kg/s of furfuryl alcohol/water solution:
>>> Stream(['furfuryl alcohol', 'water'], ms=[50, 30]) <Stream, components=['furfuryl alcohol', 'water'], mole fractions=[0.2343, 0.7657], mass flow=80.0 kg/s, mole flow=2174.937359509809 mol/s, T=298.15 K, P=101325 Pa>
A stream of 100 mol/s of 400 K, 1 MPa argon:
>>> Stream(['argon'], ns=[100], T=400, P=1E6) <Stream, components=['argon'], mole fractions=[1.0], mass flow=3.9948 kg/s, mole flow=100 mol/s, T=400.00 K, P=1000000 Pa>
A large stream of vinegar, 8 volume %:
>>> Stream(['Acetic acid', 'water'], Qls=[1, 1/.088]) <Stream, components=['acetic acid', 'water'], mole fractions=[0.0269, 0.9731], mass flow=12372.158780648899 kg/s, mole flow=646268.5186913002 mol/s, T=298.15 K, P=101325 Pa>
A very large stream of 100 m^3/s of steam at 500 K and 2 MPa:
>>> Stream(['water'], Qls=[100], T=500, P=2E6) <Stream, components=['water'], mole fractions=[1.0], mole flow=4617174.33613 mol/s, T=500.00 K, P=2000000 Pa>
A real example of a stream from a pulp mill:
>>> Stream(['Methanol', 'Sulphuric acid', 'sodium chlorate', 'Water', 'Chlorine dioxide', 'Sodium chloride', 'Carbon dioxide', 'Formic Acid', 'sodium sulfate', 'Chlorine'], T=365.2, P=70900, ns=[0.3361749, 11.5068909, 16.8895876, 7135.9902928, 1.8538332, 0.0480655, 0.0000000, 2.9135162, 205.7106922, 0.0012694]) <Stream, components=['methanol', 'sulfuric acid', 'sodium chlorate', 'water', 'chlorine dioxide', 'sodium chloride', 'carbon dioxide', 'formic acid', 'sodium sulfate', 'chlorine'], mole fractions=[0.0, 0.0016, 0.0023, 0.9676, 0.0003, 0.0, 0.0, 0.0004, 0.0279, 0.0], mole flow=7375.2503227 mol/s, T=365.20 K, P=70900 Pa>
For streams with large numbers of components, it may be confusing to enter the composition separate from the names of the chemicals. For that case, the syntax using dictionaries as follows is supported with any composition specification:
>>> comp = OrderedDict([('methane', 0.96522), ... ('nitrogen', 0.00259), ... ('carbon dioxide', 0.00596), ... ('ethane', 0.01819), ... ('propane', 0.0046), ... ('isobutane', 0.00098), ... ('butane', 0.00101), ... ('2-methylbutane', 0.00047), ... ('pentane', 0.00032), ... ('hexane', 0.00066)]) >>> m = Stream(ws=comp, m=33)
- Attributes
A
Helmholtz energy of the mixture at its current state, in units of [J/kg].
API
API gravity of the hypothetical liquid phase of the mixture, [degrees].
Am
Helmholtz energy of the mixture at its current state, in units of [J/mol].
Bvirial
Second virial coefficient of the gas phase of the mixture at its current temperature, pressure, and composition in units of [mol/m^3].
Cp
Mass heat capacity of the mixture at its current phase and temperature, in units of [J/kg/K].
Cpg
Gas-phase heat capacity of the mixture at its current temperature , and composition in units of [J/kg/K].
Cpgm
Gas-phase heat capacity of the mixture at its current temperature and composition, in units of [J/mol/K].
Cpgms
Gas-phase ideal gas heat capacity of the chemicals at its current temperature, in units of [J/mol/K].
Cpgs
Gas-phase pure component heat capacity of the chemicals in the mixture at its current temperature, in units of [J/kg/K].
Cpl
Liquid-phase heat capacity of the mixture at its current temperature and composition, in units of [J/kg/K].
Cplm
Liquid-phase heat capacity of the mixture at its current temperature and composition, in units of [J/mol/K].
Cplms
Liquid-phase pure component heat capacity of the chemicals in the mixture at its current temperature, in units of [J/mol/K].
Cpls
Liquid-phase pure component heat capacity of the chemicals in the mixture at its current temperature, in units of [J/kg/K].
Cpm
Molar heat capacity of the mixture at its current phase and temperature, in units of [J/mol/K].
Cps
Solid-phase heat capacity of the mixture at its current temperature and composition, in units of [J/kg/K].
Cpsm
Solid-phase heat capacity of the mixture at its current temperature and composition, in units of [J/mol/K].
Cpsms
Solid-phase pure component heat capacity of the chemicals in the mixture at its current temperature, in units of [J/mol/K].
Cpss
Solid-phase pure component heat capacity of the chemicals in the mixture at its current temperature, in units of [J/kg/K].
Cvg
Gas-phase ideal-gas contant-volume heat capacity of the mixture at its current temperature, in units of [J/kg/K].
Cvgm
Gas-phase ideal-gas contant-volume heat capacity of the mixture at its current temperature and composition, in units of [J/mol/K].
Cvgms
Gas-phase pure component ideal-gas contant-volume heat capacities of the chemicals in the mixture at its current temperature, in units of [J/mol/K].
Cvgs
Gas-phase pure component ideal-gas contant-volume heat capacities of the chemicals in the mixture at its current temperature, in units of [J/kg/K].
- H
Hc
Standard higher heat of combustion of the mixture, in units of [J/kg].
Hc_lower
Standard lower heat of combustion of the mixture, in units of [J/kg].
Hcm
Standard higher molar heat of combustion of the mixture, in units of [J/mol].
Hcm_lower
Standard lower molar heat of combustion of the mixture, in units of [J/mol].
- Hm
Hvapms
Pure component enthalpies of vaporization of the chemicals in the mixture at its current temperature, in units of [J/mol].
Hvaps
Enthalpy of vaporization of the chemicals in the mixture at its current temperature, in units of [J/kg].
IUPAC_names
IUPAC names for all chemicals in the mixture.
InChI_Keys
InChI keys for all chemicals in the mixture.
InChIs
InChI strings for all chemicals in the mixture.
JT
Joule Thomson coefficient of the mixture at its current phase, temperature, and pressure in units of [K/Pa].
JTg
Joule Thomson coefficient of the gas phase of the mixture if one exists at its current temperature and pressure, in units of [K/Pa].
JTgs
Pure component Joule Thomson coefficients of the chemicals in the mixture in the gas phase at its current temperature and pressure, in units of [K/Pa].
JTl
Joule Thomson coefficient of the liquid phase of the mixture if one exists at its current temperature and pressure, in units of [K/Pa].
JTls
Pure component Joule Thomson coefficients of the chemicals in the mixture in the liquid phase at its current temperature and pressure, in units of [K/Pa].
PSRK_groups
List of dictionaries of PSRK subgroup: count groups for each chemical in the mixture.
Parachor
Parachor of the mixture at its current temperature and pressure, in units of [N^0.25*m^2.75/mol].
Parachors
Pure component Parachor parameters of the chemicals in the mixture at its current temperature and pressure, in units of [N^0.25*m^2.75/mol].
Pbubble
Bubble point pressure of the mixture at its current temperature and composition, in units of [Pa].
Pdew
Dew point pressure of the mixture at its current temperature and composition, in units of [Pa].
Pr
Prandtl number of the mixture at its current temperature, pressure, and phase; [dimensionless].
Prg
Prandtl number of the gas phase of the mixture if one exists at its current temperature and pressure, [dimensionless].
Prgs
Pure component Prandtl numbers of the gas phase of the chemicals in the mixture at its current temperature and pressure, [dimensionless].
Prl
Prandtl number of the liquid phase of the mixture if one exists at its current temperature and pressure, [dimensionless].
Prls
Pure component Prandtl numbers of the liquid phase of the chemicals in the mixture at its current temperature and pressure, [dimensionless].
Psats
Pure component vapor pressures of the chemicals in the mixture at its current temperature, in units of [Pa].
PubChems
PubChem Component ID numbers for all chemicals in the mixture.
R_specific
Specific gas constant of the mixture, in units of [J/kg/K].
SG
Specific gravity of the mixture, [dimensionless].
SGg
Specific gravity of a hypothetical gas phase of the mixture, .
SGl
Specific gravity of a hypothetical liquid phase of the mixture at the specified temperature and pressure, [dimensionless].
SGs
Specific gravity of a hypothetical solid phase of the mixture at the specified temperature and pressure, [dimensionless].
Tbubble
Bubble point temperature of the mixture at its current pressure and composition, in units of [K].
Tdew
Dew point temperature of the mixture at its current pressure and composition, in units of [K].
U
Internal energy of the mixture at its current state, in units of [J/kg].
UNIFAC_Dortmund_groups
List of dictionaries of Dortmund UNIFAC subgroup: count groups for each chemcial in the mixture.
UNIFAC_Qs
UNIFAC Q (normalized Van der Waals area) values, dimensionless.
UNIFAC_Rs
UNIFAC R (normalized Van der Waals volume) values, dimensionless.
UNIFAC_groups
List of dictionaries of UNIFAC subgroup: count groups for each chemical in the mixture.
Um
Internal energy of the mixture at its current state, in units of [J/mol].
- V_over_F
Van_der_Waals_areas
List of unnormalized Van der Waals areas of all the chemicals in the mixture, in units of [m^2/mol].
Van_der_Waals_volumes
List of unnormalized Van der Waals volumes of all the chemicals in the mixture, in units of [m^3/mol].
Vm
Molar volume of the mixture at its current phase and temperature and pressure, in units of [m^3/mol].
Vmg
Gas-phase molar volume of the mixture at its current temperature, pressure, and composition in units of [m^3/mol].
Vmg_STP
Gas-phase molar volume of the mixture at 298.15 K and 101.325 kPa, and the current composition in units of [m^3/mol].
Vmgs
Pure component gas-phase molar volumes of the chemicals in the mixture at its current temperature and pressure, in units of [m^3/mol].
Vml
Liquid-phase molar volume of the mixture at its current temperature, pressure, and composition in units of [m^3/mol].
Vml_STP
Liquid-phase molar volume of the mixture at 298.15 K and 101.325 kPa, and the current composition in units of [m^3/mol].
Vmls
Pure component liquid-phase molar volumes of the chemicals in the mixture at its current temperature and pressure, in units of [m^3/mol].
- Vms
Vmss
Pure component solid-phase molar volumes of the chemicals in the mixture at its current temperature, in units of [m^3/mol].
Z
Compressibility factor of the mixture at its current phase and temperature and pressure, [dimensionless].
Zg
Compressibility factor of the mixture in the gas phase at the current temperature, pressure, and composition, [dimensionless].
Zg_STP
Gas-phase compressibility factor of the mixture at 298.15 K and 101.325 kPa, and the current composition, [dimensionless].
Zgs
Pure component compressibility factors of the chemicals in the mixture in the gas phase at the current temperature and pressure, [dimensionless].
Zl
Compressibility factor of the mixture in the liquid phase at the current temperature, pressure, and composition, [dimensionless].
Zl_STP
Liquid-phase compressibility factor of the mixture at 298.15 K and 101.325 kPa, and the current composition, [dimensionless].
Zls
Pure component compressibility factors of the chemicals in the liquid phase at the current temperature and pressure, [dimensionless].
Zss
Pure component compressibility factors of the chemicals in the mixture in the solid phase at the current temperature and pressure, [dimensionless].
alpha
Thermal diffusivity of the mixture at its current temperature, pressure, and phase in units of [m^2/s].
alphag
Thermal diffusivity of the gas phase of the mixture if one exists at its current temperature and pressure, in units of [m^2/s].
alphags
Pure component thermal diffusivities of the chemicals in the mixture in the gas phase at the current temperature and pressure, in units of [m^2/s].
alphal
Thermal diffusivity of the liquid phase of the mixture if one exists at its current temperature and pressure, in units of [m^2/s].
alphals
Pure component thermal diffusivities of the chemicals in the mixture in the liquid phase at the current temperature and pressure, in units of [m^2/s].
atom_fractions
Dictionary of atomic fractions for each atom in the mixture.
atom_fractionss
List of dictionaries of atomic fractions for all chemicals in the mixture.
atoms
Mole-averaged dictionary of atom counts for all atoms of the chemicals in the mixture.
atomss
List of dictionaries of atom counts for all chemicals in the mixture.
charge_balance
Charge imbalance of the mixture, in units of [faraday].
charges
Charges for all chemicals in the mixture, [faraday].
composition_specified
Always needs a composition
- conductivity
constants
Returns a :obj:`thermo.chemical_package.ChemicalConstantsPackage instance with constants from the mixture, [-].
economic_statuses
List of dictionaries of the economic status for all chemicals in the mixture.
eos
Equation of state object held by the mixture.
flow_specified
Always needs a flow specified
formulas
Chemical formulas for all chemicals in the mixture.
isentropic_exponent
Gas-phase ideal-gas isentropic exponent of the mixture at its current temperature, [dimensionless].
isentropic_exponents
Gas-phase pure component ideal-gas isentropic exponent of the chemicals in the mixture at its current temperature, [dimensionless].
isobaric_expansion
Isobaric (constant-pressure) expansion of the mixture at its current phase, temperature, and pressure in units of [1/K].
isobaric_expansion_g
Isobaric (constant-pressure) expansion of the gas phase of the mixture at its current temperature and pressure, in units of [1/K].
isobaric_expansion_gs
Pure component isobaric (constant-pressure) expansions of the chemicals in the mixture in the gas phase at its current temperature and pressure, in units of [1/K].
isobaric_expansion_l
Isobaric (constant-pressure) expansion of the liquid phase of the mixture at its current temperature and pressure, in units of [1/K].
isobaric_expansion_ls
Pure component isobaric (constant-pressure) expansions of the chemicals in the mixture in the liquid phase at its current temperature and pressure, in units of [1/K].
k
Thermal conductivity of the mixture at its current phase, temperature, and pressure in units of [W/m/K].
kg
Thermal conductivity of the mixture in the gas phase at its current temperature, pressure, and composition in units of [Pa*s].
kgs
Pure component thermal conductivies of the chemicals in the mixture in the gas phase at its current temperature and pressure, in units of [W/m/K].
kl
Thermal conductivity of the mixture in the liquid phase at its current temperature, pressure, and composition in units of [Pa*s].
kls
Pure component thermal conductivities of the chemicals in the mixture in the liquid phase at its current temperature and pressure, in units of [W/m/K].
- ks
legal_statuses
List of dictionaries of the legal status for all chemicals in the mixture.
mass_fractions
Dictionary of mass fractions for each atom in the mixture.
mass_fractionss
List of dictionaries of mass fractions for all chemicals in the mixture.
mu
Viscosity of the mixture at its current phase, temperature, and pressure in units of [Pa*s].
mug
Viscosity of the mixture in the gas phase at its current temperature, pressure, and composition in units of [Pa*s].
mugs
Pure component viscosities of the chemicals in the mixture in the gas phase at its current temperature and pressure, in units of [Pa*s].
mul
Viscosity of the mixture in the liquid phase at its current temperature, pressure, and composition in units of [Pa*s].
muls
Pure component viscosities of the chemicals in the mixture in the liquid phase at its current temperature and pressure, in units of [Pa*s].
non_pressure_spec_specified
Cannot have a stream without an energy-type spec.
nu
Kinematic viscosity of the the mixture at its current temperature, pressure, and phase in units of [m^2/s].
nug
Kinematic viscosity of the gas phase of the mixture if one exists at its current temperature and pressure, in units of [m^2/s].
nugs
Pure component kinematic viscosities of the gas phase of the chemicals in the mixture at its current temperature and pressure, in units of [m^2/s].
nul
Kinematic viscosity of the liquid phase of the mixture if one exists at its current temperature and pressure, in units of [m^2/s].
nuls
Pure component kinematic viscosities of the liquid phase of the chemicals in the mixture at its current temperature and pressure, in units of [m^2/s].
permittivites
Pure component relative permittivities of the chemicals in the mixture at its current temperature, [dimensionless].
- phase
rho
Mass density of the mixture at its current phase and temperature and pressure, in units of [kg/m^3].
rhog
Gas-phase mass density of the mixture at its current temperature, pressure, and composition in units of [kg/m^3].
rhog_STP
Gas-phase mass density of the mixture at 298.15 K and 101.325 kPa, and the current composition in units of [kg/m^3].
rhogm
Molar density of the mixture in the gas phase at the current temperature, pressure, and composition in units of [mol/m^3].
rhogm_STP
Molar density of the mixture in the gas phase at 298.15 K and 101.325 kPa, and the current composition, in units of [mol/m^3].
rhogms
Pure component molar densities of the chemicals in the gas phase at the current temperature and pressure, in units of [mol/m^3].
rhogs
Pure-component gas-phase mass densities of the chemicals in the mixture at its current temperature and pressure, in units of [kg/m^3].
rhol
Liquid-phase mass density of the mixture at its current temperature, pressure, and composition in units of [kg/m^3].
rhol_STP
Liquid-phase mass density of the mixture at 298.15 K and 101.325 kPa, and the current composition in units of [kg/m^3].
rholm
Molar density of the mixture in the liquid phase at the current temperature, pressure, and composition in units of [mol/m^3].
rholm_STP
Molar density of the mixture in the liquid phase at 298.15 K and 101.325 kPa, and the current composition, in units of [mol/m^3].
rholms
Pure component molar densities of the chemicals in the mixture in the liquid phase at the current temperature and pressure, in units of [mol/m^3].
rhols
Pure-component liquid-phase mass density of the chemicals in the mixture at its current temperature and pressure, in units of [kg/m^3].
rhom
Molar density of the mixture at its current phase and temperature and pressure, in units of [mol/m^3].
- rhos
rhosms
Pure component molar densities of the chemicals in the solid phase at the current temperature and pressure, in units of [mol/m^3].
rhoss
Pure component solid-phase mass density of the chemicals in the mixture at its current temperature, in units of [kg/m^3].
ringss
List of ring counts for all chemicals in the mixture.
sigma
Surface tension of the mixture at its current temperature and composition, in units of [N/m].
sigmas
Pure component surface tensions of the chemicals in the mixture at its current temperature, in units of [N/m].
similarity_variables
Similarity variables for all chemicals in the mixture, see
smiless
SMILES strings for all chemicals in the mixture.
solubility_parameters
Pure component solubility parameters of the chemicals in the mixture at its current temperature and pressure, in units of [Pa^0.5].
specified_composition_vars
number of composition variables
specified_flow_vars
Always needs only one flow specified
specified_state_vars
Always needs two states
speed_of_sound
Bulk speed of sound of the mixture at its current temperature, [m/s].
speed_of_sound_g
Gas-phase speed of sound of the mixture at its current temperature, [m/s].
speed_of_sound_l
Liquid-phase speed of sound of the mixture at its current temperature, [m/s].
state_specified
Always needs a state
state_specs
Returns a list of tuples of (state_variable, state_value) representing the thermodynamic state of the system.
synonymss
Lists of synonyms for all chemicals in the mixture.
- xs
- ys
Methods
Hc_volumetric_g
([T, P])Standard higher molar heat of combustion of the mixture, in units of [J/m^3] at the specified T and P in the gas phase.
Hc_volumetric_g_lower
([T, P])Standard lower molar heat of combustion of the mixture, in units of [J/m^3] at the specified T and P in the gas phase.
Vfgs
([T, P])Volume fractions of all species in a hypothetical pure-gas phase at the current or specified temperature and pressure.
Vfls
([T, P])Volume fractions of all species in a hypothetical pure-liquid phase at the current or specified temperature and pressure.
draw_2d
([Hs])Interface for drawing a 2D image of all the molecules in the mixture.
set_chemical_TP
([T, P])Basic method to change all chemical instances to be at the T and P specified.
set_chemical_constants
()Basic method which retrieves and sets constants of chemicals to be accessible as lists from a Mixture object.
Bond
Capillary
Grashof
Jakob
Peclet_heat
Reynolds
Weber
calculate
compound_index
eos_pures
flash
flash_caloric
properties
set_Chemical_property_objects
set_TP_sources
set_constant_sources
set_constants
set_eos
set_extensive_flow
set_extensive_properties
set_property_package
- property composition_specified¶
Always needs a composition
- flashed = True¶
- property flow_specified¶
Always needs a flow specified
- property non_pressure_spec_specified¶
Cannot have a stream without an energy-type spec.
- property specified_composition_vars¶
number of composition variables
- property specified_flow_vars¶
Always needs only one flow specified
- property specified_state_vars¶
Always needs two states
- property state_specified¶
Always needs a state
- property state_specs¶
Returns a list of tuples of (state_variable, state_value) representing the thermodynamic state of the system.
- class thermo.stream.StreamArgs(*, zs=None, ws=None, Vfls=None, Vfgs=None, T=None, P=None, VF=None, H=None, H_mass=None, S=None, S_mass=None, U=None, U_mass=None, G=None, G_mass=None, A=None, A_mass=None, V=None, rho=None, rho_mass=None, ns=None, ms=None, Qls=None, Qgs=None, m=None, n=None, Q=None, Ql=None, Qg=None, energy=None, energy_reactive=None, H_reactive=None, Vf_TP=(None, None), Q_TP=(None, None, ''), flasher=None, multiple_composition_basis=False)[source]¶
Bases:
object
Creates an StreamArgs object, which is a holder and specification tracking/counting utility object for the purposes of making heat and material balances. Unlike
EquilibriumStream
, this object is mutable and doesn’t require any specifications. Specifications can be set as they become available, and then aEquilibriumStream
can be generated from the methodStreamArgs.flash
.The specification tracking is the key purpose of this object. Once a T and P have been set, V can’t be set because there are no degrees of freedom. Another state specification mst be removed by setting it to None before a new specification can be set. The specifications supported are the same as those of
EquilibriumStream
. Handling flow flow vs. composition is fuzzier because of the common use cases where a flow rate may be known, but not composition; or the composition but not the flow, however later when the product flows are known it is desirable to set it. To allow this, the variables ns, ms, Qls, and Qgs are allowed to overwrite an existing flow and/or composition specification even if if multiple_composition_basis is False.Even if the property wasn’t set to this object, but if enough degrees of freedom are known, the actual value can usually be queried by adding _calc to the attribute, e.g. H_calc is available if T, P, and zs are known. This will perform the flash if it hasn’t already been done.
The state can be specified using any two of:
Temperature T [K]
Pressure P [Pa]
Vapor fraction VF
Enthalpy H [J/mol] or H_mass [J/kg]
Entropy S [J/mol/K] or S_mass [J/kg/K]
Internal energy U [J/mol] or U_mass [J/kg]
Gibbs free energy G [J/mol] or G_mass [J/kg]
Helmholtz energy A [J/mol] or A_mass [J/kg]
Energy energy [W] and energy_reactive [W] which count as a enthalpy spec only when flow rate is given
Reactive enthalpy H_reactive [J/mol]
Molar volume V [m^3/mol], molar density rho [mol/m^3], or mass density rho_mass, [kg/m^3]
The composition can be specified using any of:
Mole fractions zs
Mass fractions ws
Liquid standard volume fractions Vfls
Gas standard volume fractions Vfgs
Mole flow rates of each component ns [mol/s]
Mass flow rates of each component ms [kg/s]
Liquid standard volume flow rates of each component Qls [m^3/s]
Gas standard flow rates of each component Qgs [m^3/s]
In addition to setting flow rate via component flow rates, total flow rates can be specified using:
Mole flow rate n [mol/s]
Mass flow rate m [kg/s]
Actual volume flow rate Q [m^3/s]
Liquid volume standard flow rate Ql [m^3/s]
Gas standard volume flow rate Qg [m^3/s]
All parameters are also attributes.
- Parameters
- flasher
One
of
thermo.flash.FlashPureVLS
,thermo.flash.FlashVL
,thermo.flash.FlashVLN
, The configured flash object which can perform flashes for the configured components, [-]
- zs
list
,optional
Mole fractions of all components [-]
- ws
list
,optional
Mass fractions of all components [-]
- Vfls
list
,optional
Volume fractions of all components as a hypothetical liquid phase based on pure component densities [-]
- Vfgs
list
,optional
Volume fractions of all components as a hypothetical gas phase based on pure component densities [-]
- ns
list
,optional
Mole flow rates of each component [mol/s]
- ms
list
,optional
Mass flow rates of each component [kg/s]
- Qls
list
,optional
Component volumetric flow rate specs for a hypothetical liquid phase based on
EquilibriumState.V_liquids_ref
[m^3/s]- Qgs
list
,optional
Component volumetric flow rate specs for a hypothetical gas phase based on
EquilibriumState.V_gas
[m^3/s]- Ql
float
,optional
Total volumetric flow rate spec for a hypothetical liquid phase based on
EquilibriumState.V_liquids_ref
[m^3/s]- Qg
float
,optional
Total volumetric flow rate spec for a hypothetical gas phase based on
EquilibriumState.V_gas
[m^3/s]- Q
float
,optional
Total actual volumetric flow rate of the stream based on the density of the stream at the specified conditions [m^3/s]
- n
float
,optional
Total mole flow rate of all components in the stream [mol/s]
- m
float
,optional
Total mass flow rate of all components in the stream [kg/s]
- T
float
,optional
Temperature of the stream, [K]
- P
float
,optional
Pressure of the stream [Pa]
- VF
float
,optional
Vapor fraction (mole basis) of the stream, [-]
- V
float
,optional
Molar volume of the overall stream [m^3/mol]
- rho
float
,optional
Molar density of the overall stream [mol/m^3]
- rho_mass
float
,optional
Mass density of the overall stream [kg/m^3]
- H
float
,optional
Molar enthalpy of the stream [J/mol]
- H_mass
float
,optional
Mass enthalpy of the stream [J/kg]
- S
float
,optional
Molar entropy of the stream [J/mol/K]
- S_mass
float
,optional
Mass entropy of the stream [J/kg/K]
- U
float
,optional
Molar internal energy of the stream [J/mol]
- U_mass
float
,optional
Mass internal energy of the stream [J/kg]
- G
float
,optional
Molar Gibbs free energy of the stream [J/mol]
- G_mass
float
,optional
Mass Gibbs free energy of the stream [J/kg]
- A
float
,optional
Molar Helmholtz energy of the stream [J/mol]
- A_mass
float
,optional
Mass Helmholtz energy of the stream [J/kg]
- energy
float
,optional
Flowing energy of the stream [W]
- energy_reactive
float
,optional
Flowing energy of the stream on a reactive basis [W]
- H_reactive
float
,optional
Reactive molar enthalpy of the stream [J/mol]
- Q_TP
tuple
(3,float
,float
,str
),optional
The (T, P, phase) at which the actual volumetric flow rate (if specified) is calculated to be at, [K] and [Pa]
- multiple_composition_basisbool,
optional
Fun toggle to allow the object to recieve multiple different types of composition information - e.g. a partial list of mole fractions and a partial list of mass fractions. This can be useful for some problems
- flasher
- Attributes
A
Molar Hemholtz free energy of the stream specification if specified [J/mol]
A_mass
Mass Hemholtz free energy of the stream specification if specified [J/kg]
G
Molar Gibbs free energy of the stream specification if specified [J/mol]
G_mass
Mass Gibbs free energy of the stream specification if specified [J/kg]
H
Molar enthalpy of the stream specification if specified [J/mol]
H_calc
Molar enthalpy of the stream; specified or calculated if enough information is available [J/mol]
H_mass
Mass enthalpy of the stream specification if specified [J/kg]
H_mass_calc
Mass enthalpy of the stream; specified or calculated if enough information is available [J/kg]
H_reactive
Molar reactive enthalpy of the stream specification if specified [J/mol]
H_reactive_calc
Molar reactive enthalpy of the stream; specified or calculated if enough information is available [J/mol]
MW
Molecular weight of the stream; calculated if enough information is available [g/mol]
P
Pressure of the stream specification if specified [Pa]
P_calc
Pressure of the stream; specified or calculated if enough information is available [Pa]
Q
Actual volume flow of the stream if specified [m^3/s]
- Q_TP
Qg
Standard gas volume flow of the stream if specified [m^3/s]
Qg_calc
Standard gas volume flow of the stream; specified or calculated if enough information is available [m^3/s]
Qgs
Standard gas volume flows of the stream if specified [m^3/s]
Qgs_calc
Standard gas volume flows of the stream; specified or calculated if enough information is available [m^3/s]
Ql
Standard liquid volume flow of the stream if specified [m^3/s]
Ql_calc
Standard liquid volume flow of the stream; specified or calculated if enough information is available [m^3/s]
Qls
Standard liquid volume flows of the stream if specified [m^3/s]
Qls_calc
Standard liquid volume flows of the stream; specified or calculated if enough information is available [m^3/s]
S
Molar entropy of the stream specification if specified [J/(mol*K)]
S_mass
Mass entropy of the stream specification if specified [J/(kg*K)]
T
Temperature of the stream specification if specified [K]
T_calc
Temperature of the stream; specified or calculated if enough information is available [K]
U
Molar internal energy of the stream specification if specified [J/mol]
U_mass
Mass internal energy of the stream specification if specified [J/kg]
V
Molar volume of the stream specification if specified [m^3/mol]
VF
Vapor fraction of the stream specification if specified [-]
VF_calc
Vapor fraction of the stream; specified or calculated if enough information is available [-]
- Vf_TP
Vfgs
Gas volume fractions of the stream if specified [-]
Vfls
Liquid volume fractions of the stream if specified [-]
Vfls_calc
Liquid volume fractions of the stream; specified or calculated if enough information is available [-]
clean
If no variables have been specified, True, otherwis False.
composition_spec
Composition specification if one has been set, as a tuples of (‘specification_name’, specification_value); otherwise None.
composition_specified
True if a composition for the stream has been defined.
energy
Flowing energy of the stream specification if specified [W]
energy_calc
Energy flow of the stream; specified or calculated if enough information is available [W]
energy_reactive
Flowing energy of the stream on a reactive basis specification if specified [W]
energy_reactive_calc
Energy flow of the stream; specified or calculated if enough information is available [W]
- flasher
flow_spec
Flow specification if one has been set, as a tuples of (‘specification_name’, specification_value); otherwise None.
flow_specified
Whether or not the flow has been specified.
m
Mass flow of the stream if specified [kg/s]
m_calc
Mass flow of the stream; specified or calculated if enough information is available [kg/s]
ms
Mass flows of the stream if specified [kg/s]
ms_calc
Mass flows of the stream; specified or calculated if enough information is available [kg/s]
- multiple_composition_basis
n
Mole flow of the stream if specified [mol/s]
n_calc
Mole flow of the stream; specified or calculated if enough information is available [mol/s]
non_pressure_spec_specified
Whether there is at least one state specification excluding a pressure specification.
non_pressure_state_specs
List of state specifications which have been set, as tuples of (‘specification_name’, specification_value), excluding pressure.
ns
Mole flows of the stream if specified [mol/s]
ns_calc
Mole flows of the stream; specified or calculated if enough information is available [mol/s]
rho
Molar density of the stream specification if specified [mol/m^3]
rho_mass
Mass density of the stream specification if specified [kg/m^3]
- specifications
specified_flow_vars
Number of flow specifications which have been set.
specified_state_vars
Number of state specifications which have been set.
state_specified
Whether or not the state has been fully specified.
state_specs
List of state specifications which have been set, as tuples of (‘specification_name’, specification_value).
ws
Mass fractions of the stream if specified [-]
ws_calc
Mass fractions of the stream; specified or calculated if enough information is available [-]
zs
Mole fractions of the stream if specified [-]
zs_calc
Mole fractions of the stream; specified or calculated if enough information is available [-]
Methods
Removes any composition specification(s) that are set, otherwise does nothing.
Removes any flow specification(s) that are set, otherwise does nothing.
Removes any state specification(s) that are set, otherwise does nothing.
copy
()Create a deep copy of the StreamArgs instance.
flash_state
([hot_start])Create and return an EquilibriumState object using the set specifications.
reconcile_flows
([n_tol, m_tol])Evaluate the flow specifications provided to the StreamArgs instance in the event the original inputs are overspecified, in the assumption that the inputs are internally consistent.
stream
([existing_flash, hot_start])Create and return an EquilibriumStream object using the set specifications. If existing_flash is provided, that
EquilibriumState
object will be used as the state specifications without checking that it contains the same specs as set to this object. If insufficient information is available, return None.update
(**kwargs)Update the specifications of the StreamArgs instance with new values provided as keyword arguments.
value
(name)Wrapper around getattr that obtains a property specified.
as_json
from_json
- property A¶
Molar Hemholtz free energy of the stream specification if specified [J/mol]
- property A_mass¶
Mass Hemholtz free energy of the stream specification if specified [J/kg]
- property G¶
Molar Gibbs free energy of the stream specification if specified [J/mol]
- property G_mass¶
Mass Gibbs free energy of the stream specification if specified [J/kg]
- property H¶
Molar enthalpy of the stream specification if specified [J/mol]
- property H_calc¶
Molar enthalpy of the stream; specified or calculated if enough information is available [J/mol]
- property H_mass¶
Mass enthalpy of the stream specification if specified [J/kg]
- property H_mass_calc¶
Mass enthalpy of the stream; specified or calculated if enough information is available [J/kg]
- property H_reactive¶
Molar reactive enthalpy of the stream specification if specified [J/mol]
- property H_reactive_calc¶
Molar reactive enthalpy of the stream; specified or calculated if enough information is available [J/mol]
- property MW¶
Molecular weight of the stream; calculated if enough information is available [g/mol]
- property P¶
Pressure of the stream specification if specified [Pa]
- property P_calc¶
Pressure of the stream; specified or calculated if enough information is available [Pa]
- property Q¶
Actual volume flow of the stream if specified [m^3/s]
- Q_TP¶
- property Qg¶
Standard gas volume flow of the stream if specified [m^3/s]
- property Qg_calc¶
Standard gas volume flow of the stream; specified or calculated if enough information is available [m^3/s]
- property Qgs¶
Standard gas volume flows of the stream if specified [m^3/s]
- property Qgs_calc¶
Standard gas volume flows of the stream; specified or calculated if enough information is available [m^3/s]
- property Ql¶
Standard liquid volume flow of the stream if specified [m^3/s]
- property Ql_calc¶
Standard liquid volume flow of the stream; specified or calculated if enough information is available [m^3/s]
- property Qls¶
Standard liquid volume flows of the stream if specified [m^3/s]
- property Qls_calc¶
Standard liquid volume flows of the stream; specified or calculated if enough information is available [m^3/s]
- property S¶
Molar entropy of the stream specification if specified [J/(mol*K)]
- property S_mass¶
Mass entropy of the stream specification if specified [J/(kg*K)]
- property T¶
Temperature of the stream specification if specified [K]
- property T_calc¶
Temperature of the stream; specified or calculated if enough information is available [K]
- property U¶
Molar internal energy of the stream specification if specified [J/mol]
- property U_mass¶
Mass internal energy of the stream specification if specified [J/kg]
- property V¶
Molar volume of the stream specification if specified [m^3/mol]
- property VF¶
Vapor fraction of the stream specification if specified [-]
- property VF_calc¶
Vapor fraction of the stream; specified or calculated if enough information is available [-]
- Vf_TP¶
- property Vfgs¶
Gas volume fractions of the stream if specified [-]
- property Vfls¶
Liquid volume fractions of the stream if specified [-]
- property Vfls_calc¶
Liquid volume fractions of the stream; specified or calculated if enough information is available [-]
- as_json(cache=None, option=0)¶
- property clean¶
If no variables have been specified, True, otherwis False.
- clear_composition_spec()[source]¶
Removes any composition specification(s) that are set, otherwise does nothing.
>>> S = StreamArgs(T=400, H=500, ws=[.3, .7]) >>> S.clear_composition_spec() >>> S.ws
- clear_flow_spec()[source]¶
Removes any flow specification(s) that are set, otherwise does nothing. This will also remove the composition spec if it is coming from ns, ms, Qls, or Qgs.
>>> S = StreamArgs(T=400, H=500, ns=[30, 70]) >>> S.clear_flow_spec() >>> S.ns
- clear_state_specs()[source]¶
Removes any state specification(s) that are set, otherwise does nothing. Composition is not considered a state spec in this class.
>>> S = StreamArgs(T=400, H=500, ws=[.3, .7]) >>> S.clear_state_specs() >>> S.T >>> S.H
- property composition_spec¶
Composition specification if one has been set, as a tuples of (‘specification_name’, specification_value); otherwise None.
>>> StreamArgs(T=400, H=500, ws=[.3, .7]).composition_spec ('ws', [0.3, 0.7]) >>> StreamArgs(T=400, H=500).composition_spec >>> StreamArgs(T=400, H=500, Qls=[300.0, 1200.0]).composition_spec ('Qls', [300.0, 1200.0])
- property composition_specified¶
True if a composition for the stream has been defined. If component flow rates are the specification, requires all of them to be specified. If zs or ws or Vfls` or Vfgs is set, also requires all of them to be specified and additionally them not to be an empty list.
- copy()[source]¶
Create a deep copy of the StreamArgs instance. Parameters multiple_composition_basis, Vf_TP, Q_TP and flasher are set to the new object without copying.
- Returns
StreamArgs
A new instance of StreamArgs with the same specifications and configuration as the original.
Examples
>>> original_stream = StreamArgs(T=300, P=101325, zs=[0.5, 0.5]) >>> copied_stream = original_stream.copy() >>> # Modify the copy without affecting the original >>> copied_stream.T = 350 >>> original_stream.T 300 >>> original_stream.zs is copied_stream.zs False
- property energy¶
Flowing energy of the stream specification if specified [W]
- property energy_calc¶
Energy flow of the stream; specified or calculated if enough information is available [W]
- property energy_reactive¶
Flowing energy of the stream on a reactive basis specification if specified [W]
- property energy_reactive_calc¶
Energy flow of the stream; specified or calculated if enough information is available [W]
- flash_state(hot_start=None)[source]¶
Create and return an EquilibriumState object using the set specifications. If insufficient information is available, return None.
- Parameters
- hot_start
EquilibriumState
,optional
Flash at nearby conditions that may be used to initialize the flash [-]
- hot_start
- Returns
- flash
EquilibriumState
Created equilibrium state, [-]
- flash
- flashed = False¶
flashed can be checked to quickly determine if an object is already flashed. It is always False for StreamArgs, and True for EquilibriumState and EquilibriumStream
- flasher¶
- property flow_spec¶
Flow specification if one has been set, as a tuples of (‘specification_name’, specification_value); otherwise None. Energy is never included in this.
>>> StreamArgs(T=400, H=500, n=1234).flow_spec ('n', 1234) >>> StreamArgs(T=400, H=500).flow_spec
- property flow_specified¶
Whether or not the flow has been specified. Energy is never included regardless of whether it is being used as a flow specification.
>>> StreamArgs(T=400, P=1e5, n=4).flow_specified True >>> StreamArgs(T=400, P=1e5).flow_specified False
- classmethod from_json(json_repr, cache=None, ref_name='pyid_0')¶
- json_version = 1¶
- property m¶
Mass flow of the stream if specified [kg/s]
- property m_calc¶
Mass flow of the stream; specified or calculated if enough information is available [kg/s]
- property ms¶
Mass flows of the stream if specified [kg/s]
- property ms_calc¶
Mass flows of the stream; specified or calculated if enough information is available [kg/s]
- multiple_composition_basis¶
- property n¶
Mole flow of the stream if specified [mol/s]
- property n_calc¶
Mole flow of the stream; specified or calculated if enough information is available [mol/s]
- non_json_attributes = []¶
- property non_pressure_spec_specified¶
Whether there is at least one state specification excluding a pressure specification. Energy is included regardless of whether it is being used as a state specification.
>>> StreamArgs(T=400, P=1e5, n=4).non_pressure_spec_specified True >>> StreamArgs(S=400.0, VF=.3, n=4).non_pressure_spec_specified True >>> StreamArgs(P=1e5, n=4).non_pressure_spec_specified False
- property non_pressure_state_specs¶
List of state specifications which have been set, as tuples of (‘specification_name’, specification_value), excluding pressure. Energy is included regardless of whether it is being used as a state specification.
>>> StreamArgs(T=400, P=1e5, n=4).non_pressure_state_specs [('T', 400)]
- property ns¶
Mole flows of the stream if specified [mol/s]
- property ns_calc¶
Mole flows of the stream; specified or calculated if enough information is available [mol/s]
- obj_references = ('flasher', '_flash')¶
- reconcile_flows(n_tol=2e-15, m_tol=2e-15)[source]¶
Evaluate the flow specifications provided to the StreamArgs instance in the event the original inputs are overspecified, in the assumption that the inputs are internally consistent. If they are not consistent to the tolerances of this function, the
StreamArgs
instance will raise an error.Examples this function can check are both ms and m provided, or ms with one missing value and m provided (ms will be modified with the calculated value of the previously missing flow), if both ms and ns are set but with only some values in ms and some in ns (the spec will be set as ns and calculate as many values as possible), and the rather absurd case of specifying various inputs of zs, ns, and ws and expecting the software to make sense of it. Obviously if no flasher is available with molecular weights the number of checks that can be performed are limited.
- Parameters
Examples
>>> stream = StreamArgs(ns=[1.0, None], n=6.0) >>> stream.ns [1.0, 5.0]
>>> stream = StreamArgs(ms=[4.0, None], m=10.0) >>> stream.ms [4.0, 6.0]
- property rho¶
Molar density of the stream specification if specified [mol/m^3]
- property rho_mass¶
Mass density of the stream specification if specified [kg/m^3]
- specifications¶
- property specified_flow_vars¶
Number of flow specifications which have been set. Energy is never included regardless of whether it is being used as a flow specification.
>>> StreamArgs(T=400, P=1e5, n=4).specified_flow_vars 1 >>> StreamArgs(T=400, P=1e5).specified_flow_vars 0
- property specified_state_vars¶
Number of state specifications which have been set. Energy is included regardless of whether it is being used as a state specification.
>>> StreamArgs(T=400, P=1e5, n=4).specified_state_vars 2
- property state_specified¶
Whether or not the state has been fully specified. Energy is included regardless of whether it is being used as a state specification.
>>> StreamArgs(T=400, P=1e5, n=4).state_specified True >>> StreamArgs(P=1e5, n=4).state_specified False
- property state_specs¶
List of state specifications which have been set, as tuples of (‘specification_name’, specification_value). Energy is included regardless of whether it is being used as a state specification.
>>> StreamArgs(T=400, H=500).state_specs [('T', 400), ('H', 500)]
- stream(existing_flash=None, hot_start=None)[source]¶
Create and return an EquilibriumStream object using the set specifications. If existing_flash is provided, that
EquilibriumState
object will be used as the state specifications without checking that it contains the same specs as setto this object. If insufficient information is available, return None.
- Parameters
- existing_flash
EquilibriumState
,optional
Existing flash which will be used instead of the composition and state specs of this object [-]
- hot_start
EquilibriumState
,optional
Flash at nearby conditions that may be used to initialize the flash [-]
- existing_flash
- Returns
- stream
EquilibriumStream
Created stream, [-]
- stream
- update(**kwargs)[source]¶
Update the specifications of the StreamArgs instance with new values provided as keyword arguments.
- Parameters
- kwargs
dict
Key-value pairs of specification names and values, [various]
- kwargs
Notes
This can be convinient when creating a dictionary of specifications and setting them all at once
Examples
>>> stream = StreamArgs(T=300, P=101325) >>> stream.update(T=350, P=105000) >>> stream.T 350 >>> stream.P 105000
>>> stream = StreamArgs(S=100, P=101325) >>> stream.update(S=None, P=95000, H=5) >>> (stream.S, stream.P, stream.H) (None, 95000, 5)
>>> stream = StreamArgs(zs=[0.2, 0.8]) >>> stream.update(zs=None, ws=[0.15, 0.85]) >>> (stream.zs, stream.ws) (None, [0.15, 0.85])
- value(name)[source]¶
Wrapper around getattr that obtains a property specified. This method exists to unify e.g. H() on a EquilibriumState with H here which is a property. Either object can simply be called obj.value(“H”). [various]
- vectorized = False¶
- property ws¶
Mass fractions of the stream if specified [-]
- property ws_calc¶
Mass fractions of the stream; specified or calculated if enough information is available [-]
- property zs¶
Mole fractions of the stream if specified [-]
- property zs_calc¶
Mole fractions of the stream; specified or calculated if enough information is available [-]
- thermo.stream.energy_balance(inlets, outlets, reactive=False, use_mass=False)[source]¶
Basic function for performing energy balances between a set of inputs and outputs. The API of the function is to accept two lists of {EnergyStream, EquilibriumStream, StreamArgs} objects. The objects are subjected to the condition
If an overdetermined set of inputs is provided (energy known for all objects), objects are unchanged and the function returns False.
If an underdetermined set of inputs is provided (insufficient unknowns to calculate anything), objects are unchanged and the function returns False.
More usefully, if there is exactly one unknown, that unknown will be calculated. For an EnergyStream this means replacing Q=None with Q=value. For a StreamArgs object this means setting the .energy attribute. EquilibriumStream objects are never unknown by definition and are always unchanged.
If use_mass is True, it is possible in certain cases to solve for two unknowns using the additional equation if all stream enthalpies are known.
If reactive is True, the stream energies used is the form on a reactive basis.
- Parameters
- inlets
list
[EnergyStream
orEquilibriumStream
orStreamArgs
] Objects containing known or unknown inlet energies [-]
- outlets
list
[EnergyStream
orEquilibriumStream
orStreamArgs
] Objects containing known or unknown outlet energies [-]
- reactivebool
Whether to use the energy_reactive form of energy of the plain energy form. Note that this function will not be able to balance stream energies if the heats of formation are not available and reactive is True [-]
- use_massbool
Whether or not to utilize the mass balance at the same time as the energy balance in certain situations [-]
- inlets
- Returns
- progressbool
Whether or not the function was able to calculate any unknowns, [-]
Notes
The algorithm is formulaic, with equations spelled out and no numerical methods used. It is hoped all edge cases have been included. It is suggested that simple material and energy balances can be solved by repeatedly calling mole_balance and energy_balance until both functions return False.
Examples
>>> inlets = [EnergyStream(Q=10.0), EnergyStream(Q=400.0)] >>> outlets = [EnergyStream(Q=160.0), EnergyStream(Q=None)] >>> energy_balance(inlets, outlets) True >>> outlets [EnergyStream(Q=160.0), EnergyStream(Q=250.0)]
- thermo.stream.mole_balance(inlets, outlets, compounds, use_mass=True, use_volume=True)[source]¶
Basic function for performing material balances between a set of inputs and outputs. The API of the function is to accept two lists of {EquilibriumStream, StreamArgs} objects. The objects are subjected to the condition
If an overdetermined set of inputs is provided (flow known for all objects), objects are unchanged and the function returns False.
If an underdetermined set of inputs is provided (insufficient unknowns to calculate anything), objects are unchanged and the function returns False.
More usefully, if there is exactly one unknown flow, that unknown will be calculated. This means the
StreamArgs
object with the unknown flow will have the balanced mole flow n set to it. In certain cases where StreamArgs is used with multiple_composition_basis, it can also calculate for a single component flow as part of the specs ns, ms, Qls, or Qgs if that is the unknown. EquilibriumStream objects are never unknown by definition and are always unchanged.If use_mass is False, mass flows will never be used. If use_volume is False, volume flows will never be used. The volume flows mentioned are ‘Qls’ and ‘Qgs’, the not-actual component flow rates which can be balanced by definition.
- Parameters
- inlets
list
[EquilibriumStream
orStreamArgs
] Objects containing known or unknown inlet flows [-]
- outlets
list
[EquilibriumStream
orStreamArgs
] Objects containing known or unknown outlet flows [-]
- compounds
int
The number of components, [-]
- use_massbool
Whether or not to utilize the mass flows at the same time as the mole flows to calculate mole flows, if mole flows are not known [-]
- use_volumebool
Whether or not to utilize the standard volume flows at the same time as the mole flows to calculate mole flows, if mole flows are not known [-]
- inlets
- Returns
- progressbool
Whether or not the function was able to calculate any unknowns, [-]
Notes
The algorithm is formulaic, with equations spelled out and no numerical methods used. It is hoped all edge cases have been included. It is suggested that simple material and energy balances can be solved by repeatedly calling
mole_balance
andenergy_balance
until both functions return False.An exhaustive effort was put into ensuring every possible set of specifications is covered. Nevertheless, this is one of the more complex pieces of code in the library because of the number of inputs, so please reach out if you believe there is a missing case.
This function will hapilly set negative flows if the math calculates negative flows.
Examples
The examples here don’t use EquilirbiumStreams to make the examples concise.
>>> f0 = StreamArgs(ns=[1,2,3,4]) >>> f1 = StreamArgs(n=5, zs=[.5, 0, 0, .5]) >>> p0 = StreamArgs() >>> progress = mole_balance([f0, f1], [p0], compounds=4) >>> p0 StreamArgs(flasher=False, ns=[3.5, 2.0, 3.0, 6.5])
>>> f0 = StreamArgs(ns=[1, 2, 3, None]) >>> f1 = StreamArgs(ns=[3, 5, 9, 3]) >>> p0 = StreamArgs(ns=[None, None, None, 5]) >>> progress = mole_balance([f0, f1], [p0], compounds=4) >>> f0 StreamArgs(flasher=False, ns=[1, 2, 3, 2]) >>> f1 StreamArgs(flasher=False, ns=[3, 5, 9, 3]) >>> p0 StreamArgs(flasher=False, ns=[4, 7, 12, 5])