Michelsen Flash Class
Definition
Namespace: DWSIM.Thermodynamics.PropertyPackages
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
[SerializableAttribute]
public class MichelsenFlashVB
<SerializableAttribute>
Public Class MichelsenFlash- Inheritance
- Object MichelsenFlash
Constructors
Properties
| FlashFallbackType | Gets or sets the fallback flash algorithm type used when the primary Michelsen stability test fails. |
| FlashType | Gets or sets the flash algorithm type to use for phase stability and split calculations ("VL" or "LL"). |
| KeyComponentIndex | Gets or sets the zero-based index of the key component used in three-phase (VLL) flash calculations. |
| MaxExtIterations | Gets or sets the maximum number of outer (K-value update) iterations allowed per flash calculation. |
| MaxIntIterations | Gets or sets the maximum number of inner (composition update) iterations allowed per flash calculation. |
| TBase | Gets the underlying thermodynamic plug (EOS base) used by this flash algorithm. |
| Tolerance | Gets or sets the convergence tolerance used by the iterative flash and bubble/dew point algorithms. |
Methods
| _dKdP | Calculates the numerical derivative of equilibrium K-values with respect to pressure using a finite difference scheme. |
| _dKdT | Calculates the numerical derivative of equilibrium K-values with respect to temperature using a finite difference scheme. |
| BrentFunc | |
| BubP | Calculates the bubble point pressure of a mixture at the given temperature using successive substitution. |
| BubT | Calculates the bubble point temperature of a mixture at the given pressure using successive substitution. |
| CalcV | |
| CriticalPoints | Locates critical points of a mixture by searching for volumes where both the Qij matrix determinant and the cubic stability criterion (TripleSum) vanish simultaneously. |
| d2lnfug_i_dn_j_dn_k | Calculates the second derivative of ln(fugacity coefficient) of each component i with respect to mole numbers n_j and n_k, using a four-point central finite difference scheme applied to dlnfug_i_dn_j(Int32, Double, Double, Array, Object, Array, Array, Array, Object). |
| DewP | Calculates the dew point pressure of a mixture at the given temperature using successive substitution. |
| DewT | Calculates the dew point temperature of a mixture at the given pressure using successive substitution. |
| dlnfug_i_dn_j | Calculates the derivative of ln(fugacity coefficient) of each component i with respect to the mole number of component j, using a four-point central finite difference scheme at constant T and V. |
| Flash_TP | |
| Flash_TP_Ideal | |
| Flash_TP_RR | |
| Flash_TP_RR_3P | |
| FlashFunc | |
| GeneralFlash | Performs a general flash calculation for the specified pair of thermodynamic specifications (T, P, H, S, or vapor fraction). |
| OFunc_V | |
| perturb_n | |
| Qij | |
| QijDetBrent | |
| StabilityCurve | Generates points along the spinodal (stability limit) curve of a mixture by sweeping molar volumes and finding the critical temperature at each volume where the Qij matrix becomes singular. |
| StabTest | |
| TripleSum | |
| TripleSum2 | |
| TripleSumBrent |
Fields
Extension Methods
| GetEnumNames | (Defined by General) |
| IsValidDouble | (Defined by General) |