Class ComponentHydratePVTsim
java.lang.Object
neqsim.thermo.component.Component
neqsim.thermo.component.ComponentHydrate
neqsim.thermo.component.ComponentHydratePVTsim
- All Implemented Interfaces:
Serializable, Cloneable, ComponentInterface, ThermodynamicConstantsInterface
ComponentHydratePVTsim class.
- Version:
- $Id: $Id
- Author:
- esol
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) double[][](package private) double[][](package private) static org.apache.logging.log4j.LoggerLogger object for class.private static final longSerialization version UID.Fields inherited from class ComponentHydrate
cavNumb, cavprwat, cavRadius, coordNumb, dGfHydrate, dHfHydrate, emptyHydrateVapourPressureConstant, hydrateStructure, reffug, refPhaseFields inherited from class Component
acentricFactor, aCPA, AntoineA, AntoineASolid, AntoineB, AntoineBSolid, AntoineC, AntoineCSolid, AntoineD, AntoineE, antoineLiqVapPresType, associationEnergy, associationScheme, associationVolume, attractiveTermNumber, bCPA, calcActivity, componentName, componentNumber, criticalPressure, criticalTemperature, criticalViscosity, criticalVolume, debyeDipoleMoment, dfugdn, dfugdp, dfugdt, dfugdx, dielectricParameter, dqPuredT, dqPuredTdT, elements, epsikSAFT, fugacityCoefficient, gibbsEnergyOfFormation, heatOfVaporizationCoefs, henryCoefParameter, Hsub, idealGasAbsoluteEntropy, idealGasGibbsEnergyOfFormation, index, ionicCharge, isIon, isNormalComponent, isPlusFraction, isTBPfraction, K, lennardJonesEnergyParameter, lennardJonesMolecularDiameter, liquidConductivityParameter, liquidDensityCoefs, liquidViscosityModel, liquidViscosityParameter, matiascopemanParams, matiascopemanParamsPR, matiascopemanParamsUMRPRU, matiascopemanSolidParams, mCPA, meltingPointTemperature, molarMass, mSAFTi, normalBoilingPoint, normalLiquidDensity, numberOfAssociationSites, numberOfMoles, numberOfMolesInPhase, parachorParameter, paulingAnionicDiameter, qPure, racketZ, referencePotential, referenceStateType, schwartzentruberParams, sigmaSAFTi, solidCheck, solidDensityCoefs, sphericalCoreRadius, srkacentricFactor, standardDensity, stokesCationicDiameter, surfTensInfluenceParam, triplePointDensity, triplePointPressure, TwuCoonParams, viscosityCorrectionFactor, viscosityFrictionK, voli, x, zFields inherited from interface ThermodynamicConstantsInterface
atm, avagadroNumber, boltzmannConstant, electronCharge, faradayConstant, gravity, molarMassAir, normalStateTemperature, pi, planckConstant, R, referencePressure, referenceTemperature, standardStateTemperature, vacumPermittivity -
Constructor Summary
ConstructorsConstructorDescriptionComponentHydratePVTsim(String name, double moles, double molesInPhase, int compIndex) Constructor for ComponentHydratePVTsim. -
Method Summary
Modifier and TypeMethodDescriptiondoublecalcCKI(int stucture, int cavityType, PhaseInterface phase) calcCKI.doublecalcDeltaChemPot(PhaseInterface phase, int numberOfComps, double temp, double pres, int hydrateStruct) calcDeltaChemPot.doublecalcYKI(int stucture, int cavityType, PhaseInterface phase) calcYKI.doublefugcoef(PhaseInterface phase, int numberOfComps, double temp, double pres) Calculate, set and return fugacity coefficient.Methods inherited from class ComponentHydrate
calcChemPotEmpty, calcChemPotIdealWater, delt, fugcoef, getCavprwat, getCavprwat, getDGfHydrate, getDHfHydrate, getEmptyHydrateStructureVapourPressure, getEmptyHydrateVapourPressureConstant, getHydrateStructure, getLennardJonesEnergyParameterHydrate, getLennardJonesMolecularDiameterHydrate, getMolarVolumeHydrate, getPot, getSphericalCoreRadiusHydrate, potIntegral, readHydrateParameters, setDGfHydrate, setDGfHydrate, setDHfHydrate, setDHfHydrate, setEmptyHydrateVapourPressureConstant, setHydrateStructure, setLennardJonesEnergyParameterHydrate, setLennardJonesMolecularDiameterHydrate, setRefFug, setSolidRefFluidPhase, setSphericalCoreRadiusHydrateMethods inherited from class Component
addMolesChemReac, calcActivity, clone, createComponent, doSolidCheck, equals, Finit, fugcoefDiffPresNumeric, fugcoefDiffTempNumeric, getAcentricFactor, getAntoineASolid, getAntoineBSolid, getAntoineCSolid, getAntoineVaporPressure, getAntoineVaporPressuredT, getAntoineVaporTemperature, getAssociationEnergy, getAssociationEnergySAFT, getAssociationScheme, getAssociationVolume, getAssociationVolumeSAFT, getAttractiveTerm, getAttractiveTermNumber, getCASnumber, getCCsolidVaporPressure, getCCsolidVaporPressuredT, getChemicalPotential, getChemicalPotential, getChemicalPotentialdN, getChemicalPotentialdNTV, getChemicalPotentialdP, getChemicalPotentialdP, getChemicalPotentialdT, getChemicalPotentialdV, getChemicalPotentialIdealReference, getComponentName, getComponentNumber, getComponentType, getCp0, getCpA, getCpB, getCpC, getCpD, getCpE, getCriticalCompressibilityFactor, getCriticalViscosity, getCriticalVolume, getCv0, getDebyeDipoleMoment, getdfugdn, getdfugdp, getdfugdt, getdfugdx, getDiElectricConstant, getDiElectricConstantdT, getDiElectricConstantdTdT, getdrhodN, getElements, getEnthalpy, getEntropy, getEpsikSAFT, getFlowRate, getFormulae, getFugacityCoefficient, getFugacitydN, getGibbsEnergy, getGibbsEnergyOfFormation, getGresTP, getHeatOfFusion, getHeatOfVapourization, getHenryCoef, getHenryCoefdT, getHenryCoefParameter, getHID, getHresTP, getHsub, getIdealGasAbsoluteEntropy, getIdealGasEnthalpyOfFormation, getIdealGasGibbsEnergyOfFormation, getIdEntropy, getIndex, getIonicCharge, getIonicDiameter, getK, getLennardJonesEnergyParameter, getLennardJonesMolecularDiameter, getLiquidConductivityParameter, getLiquidViscosityModel, getLiquidViscosityParameter, getMatiascopemanParams, getMatiascopemanParams, getMatiascopemanParamsPR, getMatiascopemanParamsUMRPRU, getMatiascopemanSolidParams, getMeltingPointTemperature, getMolality, getMolarity, getMolarMass, getMolarMass, getmSAFTi, getName, getNormalBoilingPoint, getNormalBoilingPoint, getNormalLiquidDensity, getNormalLiquidDensity, getNumberOfAssociationSites, getNumberOfmoles, getNumberOfMolesInPhase, getOrginalNumberOfAssociationSites, getParachorParameter, getPaulingAnionicDiameter, getPC, getPC, getPureComponentCpLiquid, getPureComponentCpSolid, getPureComponentHeatOfVaporization, getPureComponentLiquidDensity, getPureComponentSolidDensity, getRacketZ, getRacketZCPA, getRate, getReferenceEnthalpy, getReferencePotential, getReferenceStateType, getSchwartzentruberParams, getSigmaSAFTi, getSolidVaporPressure, getSolidVaporPressuredT, getSphericalCoreRadius, getSresTP, getStandardDensity, getStokesCationicDiameter, getSurfaceTenisionInfluenceParameter, getSurfTensInfluenceParam, getTC, getTC, getTotalFlowRate, getTriplePointDensity, getTriplePointPressure, getTriplePointTemperature, getTwuCoonParams, getViscosityCorrectionFactor, getViscosityFrictionK, getVoli, getVolumeCorrection, getVolumeCorrectionConst, getVolumeCorrectionT, getVolumeCorrectionT_CPA, getx, getz, hasVolumeCorrection, init, insertComponentIntoDatabase, isHydrateFormer, isHydrocarbon, isInert, isIsHydrateFormer, isIsIon, isIsNormalComponent, isIsPlusFraction, isIsTBPfraction, isWaxFormer, logfugcoefdN, logfugcoefdNi, logfugcoefdP, logfugcoefdT, reducedPressure, reducedTemperature, seta, setAcentricFactor, setAntoineASolid, setAntoineBSolid, setAntoineCSolid, setAssociationEnergy, setAssociationEnergySAFT, setAssociationScheme, setAssociationVolume, setAssociationVolumeSAFT, setAttractiveTerm, setb, setCASnumber, setComponentName, setComponentNumber, setComponentType, setCpA, setCpB, setCpC, setCpD, setCpE, setCriticalCompressibilityFactor, setCriticalViscosity, setCriticalVolume, setdfugdn, setdfugdp, setdfugdt, setdfugdx, setEpsikSAFT, setFormulae, setFugacityCoefficient, setHeatOfFusion, setHenryCoefParameter, setIdealGasEnthalpyOfFormation, setIsAllTypesFalse, setIsHydrateFormer, setIsIon, setIsNormalComponent, setIsPlusFraction, setIsTBPfraction, setK, setLennardJonesEnergyParameter, setLennardJonesMolecularDiameter, setLiquidConductivityParameter, setLiquidViscosityModel, setLiquidViscosityParameter, setMatiascopemanParams, setMatiascopemanParams, setMatiascopemanParamsPR, setMatiascopemanSolidParams, setMolarMass, setMolarMass, setmSAFTi, setNormalBoilingPoint, setNormalLiquidDensity, setNumberOfAssociationSites, setNumberOfmoles, setNumberOfMolesInPhase, setParachorParameter, setPaulingAnionicDiameter, setPC, setPC, setProperties, setRacketZ, setRacketZCPA, setReferenceEnthalpy, setReferencePotential, setSchwartzentruberParams, setSigmaSAFTi, setSolidCheck, setSphericalCoreRadius, setStandardDensity, setStokesCationicDiameter, setSurfTensInfluenceParam, setTC, setTC, setTriplePointTemperature, setTwuCoonParams, setViscosityAssociationFactor, setViscosityFrictionK, setVoli, setVolumeCorrection, setVolumeCorrectionConst, setVolumeCorrectionT, setVolumeCorrectionT_CPA, setWaxFormer, setx, setzMethods inherited from class Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ComponentInterface
addMoles, addMolesChemReac, getLogFugacityCoefficient
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
logger
static org.apache.logging.log4j.Logger loggerLogger object for class. -
Ak
double[][] Ak -
Bk
double[][] Bk
-
-
Constructor Details
-
ComponentHydratePVTsim
Constructor for ComponentHydratePVTsim.
- Parameters:
name- Name of component.moles- Total number of moles of component.molesInPhase- Number of moles in phase.compIndex- Index number of component in phase object component array.
-
-
Method Details
-
fugcoef
Calculate, set and return fugacity coefficient.
- Overrides:
fugcoefin classComponentHydrate- Parameters:
phase- aPhaseInterfaceobject to get fugacity coefficient of.numberOfComps- a inttemp- a doublepres- a double- Returns:
- Fugacity coefficient
-
calcYKI
calcYKI.
- Overrides:
calcYKIin classComponentHydrate- Parameters:
stucture- a intcavityType- a intphase- aPhaseInterfaceobject- Returns:
- a double
-
calcCKI
calcCKI.
- Overrides:
calcCKIin classComponentHydrate- Parameters:
stucture- a intcavityType- a intphase- aPhaseInterfaceobject- Returns:
- a double
-
calcDeltaChemPot
public double calcDeltaChemPot(PhaseInterface phase, int numberOfComps, double temp, double pres, int hydrateStruct) calcDeltaChemPot.
- Parameters:
phase- aPhaseInterfaceobjectnumberOfComps- a inttemp- a doublepres- a doublehydrateStruct- a int- Returns:
- a double
-