Aideal_contribution
despasito.equations_of_state.saft.Aideal.Aideal_contribution
- Aideal_contribution(rho, T, xi, massi, method='Abroglie')[source]
Return a vector of ideal contribution of the Helmholtz energy.
\(\frac{A^{ideal}}{N k_{B} T}\)
Supported methods include:
Abroglie(),- Parameters:
rho (numpy.ndarray) – Number density of system [\(mol/m^3\)]
T (float) – Temperature of the system [K]
xi (numpy.ndarray) – Mole fraction of each component, sum(xi) should equal 1.0
massi (numpy.ndarray) – Vector of component masses that correspond to the mole fractions in xi [kg/mol]
method (str, Optional, default=Abroglie) – The function name of the method to calculate the ideal contribution of the Helmholtz energy. To add a new one, add a function to: despasito.equations_of_state.saft.Aideal.py
- Returns:
Aideal – Helmholtz energy of ideal gas for each density given.
- Return type:
numpy.ndarray