Thermodynamic Calculations
- thermo(Eos, calculation_type=None, **kwargs)[source]
Use factory design pattern to search for matching calculation_type with those supported in this module.
To add a new calculation type, add a new wrapper function to
calculation_types.py.- Parameters:
Eos (obj) – Equation of state object with the following methods:
pressure,density_max, andfugacity_coefficient.calculation_type (str) – Calculation type supported in
calculation_typeskwargs – Other keywords passed to the function, depends on calculation type
- Returns:
output_dict – Output of dictionary containing given and calculated values
- Return type:
dict
Available Calculation Types
Click below!
This thermodynamic module contains a series of wrappers to handle the inputs and outputs of these functions. |
Supporting Thermodynamic Functions
Click below!
This module contains our thermodynamic calculations. |