libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.ThermoMixture
@author: F. Ramognino <federico.ramognino@polimi.it> Last update: 12/06/2023
Classes
Class for computing thermodynamic data of a mixture. |
Module Contents
- class libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.ThermoMixture.ThermoMixture(mixture: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture, thermoType: dict[str, str], **thermoData)[source]
Bases:
libICEpost.src.base.Utilities.UtilitiesClass for computing thermodynamic data of a mixture.
- EoS
The equation of state of the mixture.
- Type:
- _mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture
The composition of the mixture
- _EoS: libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.EquationOfState.EquationOfStateMixing.EquationOfStateMixing
The equation of state of the mixture
- _Thermo: libICEpost.src.thermophysicalModels.thermoModels.thermoMixture.mixingRules.Thermo.ThermoMixing.ThermoMixing
The thermodynamic model of the mixture
- _db: libICEpost.Database._DatabaseClass
Database of thermodynamic data
- property mix: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture
The composition of the mixture (Mixture).
- property db: libICEpost.Database._DatabaseClass
Database of thermodynamic data (reference to database.chemistry.thermo)
- property Thermo: libICEpost.src.thermophysicalModels.specie.thermo.Thermo.Thermo.Thermo
Thermodynamic data of this mixture.
- property EoS: libICEpost.src.thermophysicalModels.specie.thermo.EquationOfState.EquationOfState.EquationOfState
The equation of state of this mixture.
- Returns:
EquationOfState
- __str__() ThermoMixture.__str__.str[source]
Printing the type of thermodynamic models and the mixture
- update(mixture: libICEpost.src.thermophysicalModels.specie.specie.Mixture.Mixture = None) ThermoMixture[source]
Update the mixture composition
- Parameters:
mixture (Mixture, optional) – The new mixture. Defaults to None.
- Returns:
self
- Return type: