Equation of State Functions
Cubic equation-of-state models — component data, flash, volumetric properties and phase behavior.
31 functions
PO.EoS.Component.Props(name)
Returns component properties [Tc, Pc, omega, Mw] as a row array from the database. Spills horizontally into 4 cells.
PO.EoS.SCN.Props(CN)
Returns Katz-Firoozabadi SCN properties [Tc, Pc, omega, Mw] as a row array. Carbon number range: 6-45.
PO.EoS.Mixture.Mw(zi, props)
Calculates mixture molecular weight from mole fractions and property table, [kg/mol].
PO.EoS.Component.List()
Returns a list of all available component names in the database.
PO.EoS.Component.Exists(name)
Checks if a component exists in the database. Returns TRUE or FALSE.
PO.EoS.Kij.ChuehPrausnitz(Vc_i, Vc_j)
Estimates binary interaction parameter kij from critical volumes using Chueh-Prausnitz correlation, [-].
PO.EoS.Kij.Matrix(names, props, method, T)
Generates N×N binary interaction parameter matrix using correlation. Methods: 'Nikos' (PR, T-dependent), 'Elliot-Daubert' (SRK), 'Chueh-Prausnitz'. Returns N×N array.
PO.EoS.Flash.PR(T, P, zi, props, output, kij)
PT Flash calculation using Peng-Robinson EoS. Returns V (vapor fraction), L (liquid fraction), x (liquid composition), y (vapor composition), or K (K-values) based on output parameter.
PO.EoS.Flash.SRK(T, P, zi, props, output, kij)
PT Flash calculation using SRK EoS. Returns V (vapor fraction), L (liquid fraction), x (liquid composition), y (vapor composition), or K (K-values) based on output parameter.
PO.EoS.Ki.PR(T, P, x, y, props, kij)
Calculates K-values (equilibrium ratios Ki = φL/φV) using Peng-Robinson EoS, [-]. Returns array.
PO.EoS.Ki.SRK(T, P, x, y, props, kij)
Calculates K-values (equilibrium ratios Ki = φL/φV) using SRK EoS, [-]. Returns array.
PO.EoS.Z.PR(T, P, zi, props, phase, kij)
Calculates compressibility factor using Peng-Robinson EoS, [-]. Returns Z for specified phase.
PO.EoS.Z.SRK(T, P, zi, props, phase, kij)
Calculates compressibility factor using SRK EoS, [-]. Returns Z for specified phase.
PO.EoS.Rho.PR(T, P, zi, props, phase, kij)
Calculates density using Peng-Robinson EoS, [kg/m³].
PO.EoS.Rho.SRK(T, P, zi, props, phase, kij)
Calculates density using SRK EoS, [kg/m³].
PO.EoS.Vm.PR(T, P, zi, props, phase, kij)
Calculates molar volume using Peng-Robinson EoS, [m³/mol].
PO.EoS.Vm.SRK(T, P, zi, props, phase, kij)
Calculates molar volume using SRK EoS, [m³/mol].
PO.EoS.Phi.PR(T, P, zi, props, phase, kij)
Calculates fugacity coefficients for all components using Peng-Robinson EoS, [-]. Returns array.
PO.EoS.Phi.SRK(T, P, zi, props, phase, kij)
Calculates fugacity coefficients for all components using SRK EoS, [-]. Returns array.
PO.EoS.Fug.PR(T, P, zi, props, phase, kij)
Calculates fugacity for all components using Peng-Robinson EoS, [Pa]. Returns array.
PO.EoS.Fug.SRK(T, P, zi, props, phase, kij)
Calculates fugacity for all components using SRK EoS, [Pa]. Returns array.
PO.EoS.Pb.PR(T, zi, props, kij)
Calculates bubble point pressure using Peng-Robinson EoS, [Pa].
PO.EoS.Pb.SRK(T, zi, props, kij)
Calculates bubble point pressure using SRK EoS, [Pa].
PO.EoS.Pdew.PR(T, zi, props, kij)
Calculates dew point pressure using Peng-Robinson EoS, [Pa].
PO.EoS.Pdew.SRK(T, zi, props, kij)
Calculates dew point pressure using SRK EoS, [Pa].
PO.EoS.Tb.PR(P, zi, props, kij)
Calculates bubble point temperature using Peng-Robinson EoS, [K].
PO.EoS.Tb.SRK(P, zi, props, kij)
Calculates bubble point temperature using SRK EoS, [K].
PO.EoS.Tdew.PR(P, zi, props, kij)
Calculates dew point temperature using Peng-Robinson EoS, [K].
PO.EoS.Tdew.SRK(P, zi, props, kij)
Calculates dew point temperature using SRK EoS, [K].
PO.EoS.Envelope.PR(zi, props, output, kij, nPoints)
Phase envelope using Peng-Robinson EoS. Output: 'bubble_T', 'bubble_P', 'dew_T', 'dew_P' (arrays), or 'cricondenbar_P/T', 'cricondentherm_P/T', 'critical_P/T' (scalars).
PO.EoS.Envelope.SRK(zi, props, output, kij, nPoints)
Phase envelope using SRK EoS. Output: 'bubble_T', 'bubble_P', 'dew_T', 'dew_P' (arrays), or 'cricondenbar_P/T', 'cricondentherm_P/T', 'critical_P/T' (scalars).