poyinting_correction_factors#
- class PoyintingCorrectionFactors(chemicals)[source]#
Abstract class for the estimation of Poyinting correction factors. Non-abstract subclasses should implement the following methods:
- __init__(self, chemicals: Iterable[
Chemical
]): Should use pure component data from chemicals to setup future calculations of Poyinting correction factors.
- __call__(self, T: float, P: float):
Should accept the temperature T (in Kelvin) and pressure P (in Pascal), and return an array of Poyinting correction factors.
- __init__(self, chemicals: Iterable[
- class MockPoyintingCorrectionFactors(chemicals)[source]#
Create a MockPoyintingCorrectionFactors object that estimates all poyinting correction factors to be 1 when called with a temperature (K) and pressure (Pa).
- Parameters:
chemicals (Iterable[
Chemical
])