Class PhaseGEUnifacUMRPRU
java.lang.Object
neqsim.thermo.phase.Phase
neqsim.thermo.phase.PhaseGE
neqsim.thermo.phase.PhaseGEUniquac
neqsim.thermo.phase.PhaseGEUnifac
neqsim.thermo.phase.PhaseGEUnifacUMRPRU
- All Implemented Interfaces:
Serializable, Cloneable, PhaseGEInterface, PhaseInterface, ThermodynamicConstantsInterface
PhaseGEUnifacUMRPRU class.
- Version:
- $Id: $Id
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) double(package private) String[](package private) static org.apache.logging.log4j.LoggerLogger object for class.(package private) double[](package private) double[][]private static final longSerialization version UID.(package private) doubleFields inherited from class PhaseGEUnifac
aij, bij, checkedGroups, cijFields inherited from class Phase
beta, calcMolarVolume, chemSyst, componentArray, diElectricConstant, mixingRuleType, molarVolume, numberOfComponents, numberOfMolesInPhase, phaseVolume, physicalPropertyHandler, pressure, pt, refPhase, temperature, thermoPropertyModelName, useVolumeCorrection, ZFields inherited from interface ThermodynamicConstantsInterface
atm, avagadroNumber, boltzmannConstant, electronCharge, faradayConstant, gravity, molarMassAir, normalStateTemperature, pi, planckConstant, R, referencePressure, referenceTemperature, standardStateTemperature, vacumPermittivity -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for PhaseGEUnifacUMRPRU.PhaseGEUnifacUMRPRU(PhaseInterface phase, double[][] alpha, double[][] Dij, String[][] mixRule, double[][] intparam) Constructor for PhaseGEUnifacUMRPRU. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(String name, double moles, double molesInPhase, int compNumber) Add component to component array and update moles variables.voidcalcaij()calcaij.voidcalcbij()calcbij.voidcalccij()calccij.voidcalcCommontemp(PhaseInterface phase, int numberOfComponents, double temperature, double pressure, PhaseType pt) Calculate common temp.doublegetExcessGibbsEnergy(PhaseInterface phase, int numberOfComponents, double temperature, double pressure, PhaseType pt) getExcessGibbsEnergy.doublegetFCommontemp.doublegetQmix.double[]getQmixdN.doublegetVCommontemp.voidinitQmix()initQmix.voidinitQmixdN.voidsetMixingRule.Methods inherited from class PhaseGEUnifac
checkGroups, getAij, getBij, getCij, getExcessGibbsEnergy, getGibbsEnergy, init, setAij, setBij, setCijMethods inherited from class PhaseGEUniquac
molarVolume, setAlpha, setDij, setDijTMethods inherited from class PhaseGE
getActivityCoefficient, getActivityCoefficientInfDil, getActivityCoefficientInfDilWater, getActivityCoefficientSymetric, getCp, getCv, getDensity, getEnthalpy, getEntropy, getJouleThomsonCoefficient, getMixingRule, getMolarVolume, getSoundSpeed, getZ, init, resetMixingRule, setMixingRuleGEModelMethods inherited from class Phase
addComponent, addMoles, addMolesChemReac, calcA, calcA, calcAi, calcAij, calcAiT, calcAT, calcB, calcBi, calcBij, calcDiElectricConstant, calcDiElectricConstantdT, calcDiElectricConstantdTdT, calcMolarVolume, calcR, clone, dFdT, dFdTdT, dFdTdV, dFdV, dFdVdV, equals, fb, FB, fBB, FBB, FBD, FBT, fBV, FBV, FD, FDT, FDV, Fn, FnB, FnV, FT, FTT, FTV, fv, FV, fVV, FVV, gb, gBB, gBV, geta, getA, getActivityCoefficient, getActivityCoefficient, getActivityCoefficientUnSymetric, getAiT, getAlpha0_EOSCG, getAlpha0_GERG2008, getAlpha0_Leachman, getAlpha0_Leachman, getAlpha0_Vega, getAlphares_EOSCG, getAlphares_GERG2008, getAlphares_Leachman, getAlphares_Leachman, getAlphares_Vega, getAntoineVaporPressure, getAT, getATT, getb, getB, getBeta, getBi, getComponent, getComponent, getcomponentArray, getComponentNames, getComponents, getComponentWithIndex, getComposition, getCompressibilityX, getCompressibilityY, getCorrectedVolume, getCp, getCp0, getCpres, getCv, getCvres, getDensity, getDensity_AGA8, getDensity_EOSCG, getDensity_GERG2008, getDensity_Leachman, getDensity_Leachman, getDensity_Vega, getDiElectricConstant, getdPdrho, getdPdTVn, getdPdVTn, getdrhodN, getdrhodP, getdrhodT, getEnthalpy, getEnthalpydP, getEnthalpydT, getEntropy, getEntropydP, getEntropydT, getExcessGibbsEnergySymetric, getFlowRate, getFugacity, getFugacity, getg, getGamma, getGresTP, getHelmholtzEnergy, getHID, getHresdP, getHresTP, getInfiniteDiluteFugacity, getInfiniteDiluteFugacity, getInitType, getInternalEnergy, getInternalEnergy, getIsobaricThermalExpansivity, getIsothermalCompressibility, getJouleThomsonCoefficient, getKappa, getLogActivityCoefficient, getLogInfiniteDiluteFugacity, getLogInfiniteDiluteFugacity, getLogPureComponentFugacity, getLogPureComponentFugacity, getMass, getMeanIonicActivity, getMixGibbsEnergy, getMixingRuleType, getModelName, getMolalMeanIonicActivity, getMolarComposition, getMolarMass, getMolarMass, getMolarVolume, getMoleFraction, getNumberOfComponents, getNumberOfIonicComponents, getNumberOfMolecularComponents, getNumberOfMolesInPhase, getOsmoticCoefficient, getOsmoticCoefficientOfWater, getOsmoticCoefficientOfWaterMolality, getpH, getpH, getPhase, getPhysicalProperties, getPhysicalPropertyModel, getPressure, getPressure, getProperties_EOSCG, getProperties_GERG2008, getProperties_Leachman, getProperties_Leachman, getProperties_Vega, getPseudoCriticalPressure, getPseudoCriticalTemperature, getPureComponentFugacity, getPureComponentFugacity, getRefPhase, getRefPhase, getSoundSpeed, getSresTP, getSresTV, getTemperature, getTemperature, getThermalConductivity, getThermalConductivity, getThermoPropertyModelName, getTotalVolume, getType, getViscosity, getViscosity, getVolume, getVolume, getWaterDensity, getWtFrac, getWtFrac, getWtFraction, getWtFractionOfWaxFormingComponents, getZvolcorr, groupTBPfractions, gV, gVV, hasComponent, hasPlusFraction, hasTBPFraction, initPhysicalProperties, initPhysicalProperties, initRefPhases, initRefPhases, isConstantPhaseVolume, isMixingRuleDefined, normalize, removeComponent, resetPhysicalProperties, setAttractiveTerm, setBeta, setComponentArray, setConstantPhaseVolume, setEmptyFluid, setInitType, setMolarVolume, setMoleFractions, setNumberOfComponents, setParams, setPhysicalProperties, setPhysicalPropertyModel, setPpm, setPressure, setProperties, setRefPhase, setRefPhase, setTemperature, setTotalVolume, setType, useVolumeCorrection, useVolumeCorrectionMethods inherited from class Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PhaseInterface
addMolesChemReac, getGamma2, getPhaseFraction, getPhaseTypeName, hasComponent, init, init, initPhysicalProperties, isAsphalteneRich, setMixingRule, setPhaseTypeName, setPhysicalProperties
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
logger
static org.apache.logging.log4j.Logger loggerLogger object for class. -
Qmix
double[] Qmix -
QmixdN
double[][] QmixdN -
gropuNames
String[] gropuNames -
VCommontemp
double VCommontemp -
FCommontemp
double FCommontemp
-
-
Constructor Details
-
PhaseGEUnifacUMRPRU
public PhaseGEUnifacUMRPRU()Constructor for PhaseGEUnifacUMRPRU.
-
PhaseGEUnifacUMRPRU
public PhaseGEUnifacUMRPRU(PhaseInterface phase, double[][] alpha, double[][] Dij, String[][] mixRule, double[][] intparam) Constructor for PhaseGEUnifacUMRPRU.
- Parameters:
phase- aPhaseInterfaceobjectalpha- an array of type doubleDij- an array of type doublemixRule- an array ofStringobjectsintparam- an array of type double
-
-
Method Details
-
calcCommontemp
public void calcCommontemp(PhaseInterface phase, int numberOfComponents, double temperature, double pressure, PhaseType pt) Calculate common temp.- Parameters:
phase- a PhaseInterfacenumberOfComponents- a inttemperature- a doublepressure- a doublept- the PhaseType of the phase
-
getVCommontemp
public double getVCommontemp()getVCommontemp.
- Returns:
- a double
-
getFCommontemp
public double getFCommontemp()getFCommontemp.
- Returns:
- a double
-
addComponent
Add component to component array and update moles variables.
- Specified by:
addComponentin interfacePhaseInterface- Overrides:
addComponentin classPhaseGEUnifac- Parameters:
name- Name of component.moles- Total number of moles of component.molesInPhase- Number of moles in phase.compNumber- Index number of component in phase object component array.
-
setMixingRule
setMixingRule.
- Specified by:
setMixingRulein interfacePhaseInterface- Overrides:
setMixingRulein classPhaseGEUnifac- Parameters:
mr- a MixingRuleTypeInterface
-
getExcessGibbsEnergy
public double getExcessGibbsEnergy(PhaseInterface phase, int numberOfComponents, double temperature, double pressure, PhaseType pt) getExcessGibbsEnergy.
- Specified by:
getExcessGibbsEnergyin interfacePhaseGEInterface- Overrides:
getExcessGibbsEnergyin classPhaseGEUnifac- Parameters:
phase- aPhaseInterfaceobjectnumberOfComponents- a inttemperature- a doublepressure- a doublept- the PhaseType of the phase- Returns:
- a double
-
initQmix
public void initQmix()initQmix.
-
initQmixdN
public void initQmixdN()initQmixdN.
-
getQmix
-
getQmixdN
-
calcaij
-
calcbij
public void calcbij()calcbij.
-
calccij
public void calccij()calccij.
-