poyinting_correction_factors
- class thermosteam.equilibrium.poyinting_correction_factors.PoyintingCorrectionFactors(chemicals)[source]
Abstract class for the estimation of Poyinting correction factors. Non-abstract subclasses should implement the following methods:
- __init__(self, chemicals: Iterable[Chemicals]):
Should use pure component data from chemicals to setup future calculations of Poyinting correction factors.
- __call__(self, y: 1d array, T: float):
Should accept an array of vapor molar compositions y, and temperature T (in Kelvin), and return an array of Poyinting correction factors. Note that the molar compositions must be in the same order as the chemicals defined when creating the PoyintingCorrectionFactors object.
- class thermosteam.equilibrium.poyinting_correction_factors.IdealPoyintingCorrectionFactors(chemicals)[source]
Create an IdealPoyintingCorrectionFactor object that estimates all poyinting correction factors to be 1 when called with composition and temperature (K).
- Parameters
chemicals (Iterable[Chemical]) –