Class AttractiveTermPrLeeKesler
java.lang.Object
neqsim.thermo.component.attractiveeosterm.AttractiveTermBaseClass
neqsim.thermo.component.attractiveeosterm.AttractiveTermPr
neqsim.thermo.component.attractiveeosterm.AttractiveTermPrLeeKesler
- All Implemented Interfaces:
Serializable, Cloneable, AttractiveTermInterface
Alternative alpha function for the Peng-Robinson EOS using a Soave-form m-factor.
Uses the Soave (SRK) m-factor correlation applied within the PR EOS framework:
m = 0.480 + 1.574 \omega - 0.176 \omega^2
Note: Despite the class name, this implements the Soave m-factor — NOT the standard PR76
m-factor and NOT the Lee-Kesler BWR enthalpy method.
SystemPrLeeKeslerEos uses attractiveTermNumber=1 (standard
PR76 alpha), not this class. This class is retained at dispatch index 21 for backward
compatibility and research purposes.
The alpha function form is:
\alpha(T) = \left[1 + m \left(1 - \sqrt{T / T_c}\right)\right]^2
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerialization version UID.Fields inherited from class AttractiveTermBaseClass
logger, m, parameters, parametersSolid -
Constructor Summary
ConstructorsConstructorDescriptionAttractiveTermPrLeeKesler(ComponentEosInterface component) Constructs a Lee-Kesler alpha term for the given PR component. -
Method Summary
Methods inherited from class AttractiveTermPr
alpha, aT, diffalphaT, diffaT, diffdiffalphaT, diffdiffaTMethods inherited from class AttractiveTermBaseClass
equals, getComponent, getm, getParameters, setComponent, setParameters
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
-
Constructor Details
-
AttractiveTermPrLeeKesler
Constructs a Lee-Kesler alpha term for the given PR component.- Parameters:
component- the EOS component holding critical properties and acentric factor
-
-
Method Details
-
clone
clone.
- Specified by:
clonein interfaceAttractiveTermInterface- Overrides:
clonein classAttractiveTermPr- Returns:
- a
AttractiveTermInterfaceobject
-
init
public void init()init.
- Specified by:
initin interfaceAttractiveTermInterface- Overrides:
initin classAttractiveTermPr
-
setm
public void setm(double val) Back-calculates the acentric factor from m using the LK/Soave quadratic.Solves: -0.176 * omega^2 + 1.574 * omega + (0.480 - m) = 0
- Specified by:
setmin interfaceAttractiveTermInterface- Overrides:
setmin classAttractiveTermPr- Parameters:
val- a double
-