Class SystemPrLeeKeslerEos
java.lang.Object
neqsim.thermo.system.SystemThermo
neqsim.thermo.system.SystemEos
neqsim.thermo.system.SystemPrEos
neqsim.thermo.system.SystemPrLeeKeslerEos
- All Implemented Interfaces:
Serializable, Cloneable, SystemInterface
Thermodynamic system combining the Peng-Robinson EOS with the Lee-Kesler BWR method for
enthalpy/entropy/Cp departures (PR-LK).
This property package uses two separate models:
- VLE (phase equilibrium): standard PR76 alpha function applied to all acentric factors:
m = 0.37464 + 1.54226 \omega - 0.26992 \omega^2
- Enthalpy / Entropy / Cp departures: Lee-Kesler BWR correlation instead of PR departure functions — hence the "PR-LK" label.
The key difference from SystemPrEos1978 is that the PR76 alpha applies to all
components including heavy pseudo-fractions (ω > 0.49), whereas PR1978 uses a modified
polynomial for those components. For typical natural-gas and oil systems the vapour fraction
predicted by this class will differ from the PR1978 formulation for components with ω > 0.49.
Note on enthalpy: the Lee-Kesler BWR enthalpy override is currently not implemented;
H/S/Cp departures are calculated using the standard PR EOS departure functions. A future
enhancement should override getEnthalpy in the phase classes to use LK BWR tables.
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerialization version UID.Fields inherited from class SystemThermo
a, allowPhaseShift, attractiveTermNumber, beta, CapeOpenProperties10, CapeOpenProperties11, characterization, checkStability, chemicalReactionOperations, chemicalSystem, componentNameTag, criticalPressure, criticalTemperature, enhancedMultiPhaseCheck, fluidInfo, fluidName, hydrateCheck, interfaceProp, isInitialized, logger, maxNumberOfPhases, modelName, multiPhaseCheck, numberOfComponents, numberOfPhases, numericDerivatives, oilAssayCharacterisation, phaseArray, phaseIndex, phaseType, resultTable, solidPhaseCheck, standard, waxCharacterisation -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor creating a PR-LK system at 298.15 K and 1 bara.SystemPrLeeKeslerEos(double T, double P) Constructs a PR-LK system at the specified temperature and pressure.SystemPrLeeKeslerEos(double T, double P, boolean checkForSolids) Constructs a PR-LK system with optional solid phase calculations. -
Method Summary
Methods inherited from class SystemThermo
addCapeOpenProperty, addCharacterized, addComponent, addComponent, addComponent, addComponent, addComponent, addComponent, addComponent, addComponent, addFluid, addFluid, addGasToLiquid, addHydratePhase, addHydratePhase2, addLiquidToGas, addOilFractions, addOilFractions, addPhase, addPhaseFractionToPhase, addPhaseFractionToPhase, addPlusFraction, addSalt, addSolidComplexPhase, addSolidPhase, addTBPfraction, addTBPfraction, addTBPfraction2, addTBPfraction3, addTBPfraction4, addToComponentNames, allowPhaseShift, allowPhaseShift, autoSelectMixingRule, autoSelectModel, calc_x_y, calc_x_y_nonorm, calcHenrysConstant, calcInterfaceProperties, calcKIJ, calculateDensityFromBoilingPoint, calculateMolarMassFromDensityAndBoilingPoint, changeComponentName, checkStability, checkStability, chemicalReactionInit, clearAll, createDatabase, createTable, deleteFluidPhase, display, doEnhancedMultiPhaseCheck, doMultiPhaseCheck, doSolidPhaseCheck, getAntoineVaporPressure, getBeta, getBeta, getCapeOpenProperties10, getCapeOpenProperties11, getCASNumbers, getCharacterization, getChemicalReactionOperations, getCompFormulaes, getCompIDs, getCompNames, getComponentNameTag, getCorrectedVolume, getCorrectedVolumeFraction, getCp, getCp, getCv, getCv, getDensity, getDensity, getdPdVtn, getdVdPtn, getdVdTpn, getEmptySystemClone, getEnthalpy, getEnthalpy, getEntropy, getEntropy, getExergy, getExergy, getFlowRate, getFluidInfo, getFluidName, getGamma, getGasPhase, getGibbsEnergy, getHeatOfVaporization, getHelmholtzEnergy, getHydrateCheck, getIdealLiquidDensity, getInterfacialTension, getInterfacialTension, getInterfacialTension, getInternalEnergy, getInternalEnergy, getInterphaseProperties, getJouleThomsonCoefficient, getJouleThomsonCoefficient, getKappa, getKinematicViscosity, getKinematicViscosity, getKvector, getLiquidPhase, getLiquidVolume, getLowestGibbsEnergyPhase, getMass, getMaxNumberOfPhases, getMixingRule, getMixingRuleName, getModelName, getMolarComposition, getMolarMass, getMolarMass, getMolarRate, getMolarVolume, getMolarVolume, getMolecularWeights, getMoleFraction, getMoleFractionsSum, getNormalBoilingPointTemperatures, getNumberOfComponents, getNumberOfOilFractionComponents, getNumberOfPhases, getOilAssayCharacterisation, getOilFractionIDs, getOilFractionLiquidDensityAt25C, getOilFractionMolecularMass, getOilFractionNormalBoilingPoints, getPC, getPhase, getPhase, getPhase, getPhaseFraction, getPhaseIndex, getPhaseIndex, getPhaseIndex, getPhaseNumberOfPhase, getPhaseOfType, getPhases, getPressure, getPressure, getPressure, getProperties, getProperty, getProperty, getProperty, getResultTable, getSoundSpeed, getSoundSpeed, getStandard, getStandard, getSumBeta, getTC, getTemperature, getTemperature, getTemperature, getThermalConductivity, getThermalConductivity, getTotalNumberOfMoles, getViscosity, getViscosity, getVolume, getVolume, getVolumeFraction, getWaxCharacterisation, getWaxModel, getWeightBasedComposition, getWtFraction, getZ, getzvector, getZvolcorr, hasPhaseType, hasPlusFraction, hasTBPFraction, init, init, init_x_y, initAnalytic, initAnalytic, initBeta, initNumeric, initNumeric, initNumeric, initPhysicalProperties, initPhysicalProperties, initRefPhases, initTotalNumberOfMoles, invertPhaseTypes, isBetaValid, isChemicalSystem, isChemicalSystem, isForcePhaseTypes, isImplementedCompositionDeriativesofFugacity, isImplementedCompositionDeriativesofFugacity, isImplementedPressureDeriativesofFugacity, isImplementedTemperatureDeriativesofFugacity, isInitialized, isMultiphaseWaxCheck, isNumericDerivatives, isPhase, normalizeBeta, orderByDensity, phaseToSystem, phaseToSystem, phaseToSystem, phaseToSystem, readFluid, readObject, readObjectFromFile, reInitPhaseInformation, reInitPhaseType, removeComponent, removePhase, removePhaseKeepTotalComposition, renameComponent, replacePhase, reset, reset_x_y, resetCharacterisation, resetDatabase, resetPhysicalProperties, save, saveFluid, saveFluid, saveObject, saveObjectToFile, saveToDataBase, setAllComponentsInPhase, setAllPhaseType, setAttractiveTerm, setBeta, setBeta, setBinaryInteractionParameter, setBinaryInteractionParameter, setBmixType, setComponentCriticalParameters, setComponentCriticalParameters, setComponentFlowRates, setComponentNames, setComponentNameTag, setComponentNameTagOnNormalComponents, setComponentVolumeCorrection, setComponentVolumeCorrection, setEmptyFluid, setEnhancedMultiPhaseCheck, setFluidInfo, setFluidName, setForcePhaseTypes, setForceSinglePhase, setForceSinglePhase, setHeavyTBPfractionAsPlusFraction, setHydrateCheck, setImplementedCompositionDeriativesofFugacity, setImplementedPressureDeriativesofFugacity, setImplementedTemperatureDeriativesofFugacity, setLastTBPasPlus, setMaxNumberOfPhases, setMixingRule, setMixingRule, setMixingRuleGEmodel, setMixingRuleParametersForComponent, setModel, setModelName, setMolarComposition, setMolarCompositionOfNamedComponents, setMolarCompositionOfPlusFluid, setMolarCompositionPlus, setMolarFlowRates, setMultiPhaseCheck, setMultiphaseWaxCheck, setNumberOfPhases, setNumericDerivatives, setPC, setPhase, setPhaseIndex, setPhaseType, setPhaseType, setPressure, setPressure, setSolidPhaseCheck, setSolidPhaseCheck, setStandard, setTC, setTemperature, setTemperature, setTemperature, setTotalFlowRate, setTotalNumberOfMoles, setUseTVasIndependentVariables, setWaxModelType, toCompJson, toJson, tuneModel, useTVasIndependentVariables, useVolumeCorrection, write, writeMethods inherited from class Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SystemInterface
addComponent, addComponents, addComponents, calcResultTable, display, getComponent, getComponent, getComponentNames, getDensityAtReferenceConditions, getGamma2, getHydrateFraction, getHydratePhase, getNumberOfMoles, getpH, getPhaseNumberOfPhase, hasComponent, hasComponent, hashCode, hasHydratePhase, hasIons, hasPhaseType, hasSolidPhase, initPhysicalProperties, initProperties, initThermoProperties, prettyPrint, setLiquidDensityModel, setLiquidDensityModel, setMixingRule, setMixingRule, setPhysicalPropertyModel, setPhysicalPropertyModel, validateSetup
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
-
Constructor Details
-
SystemPrLeeKeslerEos
public SystemPrLeeKeslerEos()Default constructor creating a PR-LK system at 298.15 K and 1 bara. -
SystemPrLeeKeslerEos
public SystemPrLeeKeslerEos(double T, double P) Constructs a PR-LK system at the specified temperature and pressure.- Parameters:
T- the temperature in KelvinP- the pressure in bara (absolute pressure)
-
SystemPrLeeKeslerEos
public SystemPrLeeKeslerEos(double T, double P, boolean checkForSolids) Constructs a PR-LK system with optional solid phase calculations.- Parameters:
T- the temperature in KelvinP- the pressure in bara (absolute pressure)checkForSolids- settrueto enable solid phase calculations
-
-
Method Details
-
clone
clone.
Creates a deep copy of this
SystemPrEosinstance.- Specified by:
clonein interfaceSystemInterface- Overrides:
clonein classSystemPrEos- Returns:
- a
SystemInterfaceobject
-