Class ComponentHydrateKluda
java.lang.Object
neqsim.thermo.component.Component
neqsim.thermo.component.ComponentHydrateKluda
- All Implemented Interfaces:
Serializable, Cloneable, ComponentInterface, ThermodynamicConstantsInterface
ComponentHydrateKluda class.
- Version:
- $Id: $Id
- Author:
- esol
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) double[][](package private) double[][](package private) double[][][](package private) double[][][](package private) int(package private) static org.apache.logging.log4j.LoggerLogger object for class.(package private) double(package private) double(package private) double(package private) double(package private) double[]private static final longSerialization version UID.Fields 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
ConstructorsConstructorDescriptionComponentHydrateKluda(String name, double moles, double molesInPhase, int compIndex) Constructor for ComponentHydrateKluda. -
Method Summary
Modifier and TypeMethodDescriptiondoublecalcCKI(int stucture, int cavityType, PhaseInterface phase) calcCKI.doublecalcYKI(int stucture, int cavityType, PhaseInterface phase) calcYKI.doubledelt(int intnumb, double n, double radius, int struccture, int cavityType, PhaseInterface phase) delt.doubledfugdt(PhaseInterface phase, int numberOfComps, double temp, double pres) dfugdt.doublefugcoef(PhaseInterface phase, int numberOfComps, double temp, double pres) Calculate, set and return fugacity coefficient.doublegetEmptyHydrateStructureVapourPressure(int type, double temperature) getEmptyHydrateStructureVapourPressure.doublegetEmptyHydrateStructureVapourPressuredT(int type, double temperature) getEmptyHydrateStructureVapourPressuredT.doublegetPot(int intnumb, double radius, int struccture, int cavityType, PhaseInterface phase) getPot.doublepotIntegral(int intnumb, int stucture, int cavityType, PhaseInterface phase) potIntegral.voidsetRefFug(int compNumbm, double val) setRefFug.voidsetStructure(int structure) setStructure.Methods inherited from class Component
addMolesChemReac, calcActivity, clone, createComponent, doSolidCheck, equals, Finit, fugcoef, 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. -
par1_struc1
double par1_struc1 -
par2_struc1
double par2_struc1 -
par1_struc2
double par1_struc2 -
par2_struc2
double par2_struc2 -
hydrateStructure
int hydrateStructure -
coordNumb
double[][][] coordNumb -
cavRadius
double[][][] cavRadius -
cavNumb
double[][] cavNumb -
cavprwat
double[][] cavprwat -
reffug
double[] reffug
-
-
Constructor Details
-
ComponentHydrateKluda
Constructor for ComponentHydrateKluda.
- 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.
- Parameters:
phase- aPhaseInterfaceobject to get fugacity coefficient of.numberOfComps- a inttemp- a doublepres- a double- Returns:
- Fugacity coefficient
-
dfugdt
dfugdt.
- Parameters:
phase- aPhaseInterfaceobjectnumberOfComps- a inttemp- a doublepres- a double- Returns:
- a double
-
setStructure
public void setStructure(int structure) setStructure.
- Parameters:
structure- a int
-
getEmptyHydrateStructureVapourPressure
public double getEmptyHydrateStructureVapourPressure(int type, double temperature) getEmptyHydrateStructureVapourPressure.
- Parameters:
type- a inttemperature- a double- Returns:
- a double
-
getEmptyHydrateStructureVapourPressuredT
public double getEmptyHydrateStructureVapourPressuredT(int type, double temperature) getEmptyHydrateStructureVapourPressuredT.
- Parameters:
type- a inttemperature- a double- Returns:
- a double
-
calcYKI
calcYKI.
- Parameters:
stucture- a intcavityType- a intphase- aPhaseInterfaceobject- Returns:
- a double
-
calcCKI
calcCKI.
- Parameters:
stucture- a intcavityType- a intphase- aPhaseInterfaceobject- Returns:
- a double
-
setRefFug
public void setRefFug(int compNumbm, double val) setRefFug.
- Parameters:
compNumbm- a intval- a double
-
potIntegral
potIntegral.
- Parameters:
intnumb- a intstucture- a intcavityType- a intphase- aPhaseInterfaceobject- Returns:
- a double
-
getPot
public double getPot(int intnumb, double radius, int struccture, int cavityType, PhaseInterface phase) getPot.
- Parameters:
intnumb- a intradius- a doublestruccture- a intcavityType- a intphase- aPhaseInterfaceobject- Returns:
- a double
-
delt
public double delt(int intnumb, double n, double radius, int struccture, int cavityType, PhaseInterface phase) delt.
- Parameters:
intnumb- a intn- a doubleradius- a doublestruccture- a intcavityType- a intphase- aPhaseInterfaceobject- Returns:
- a double
-