Class TBPCharacterize
java.lang.Object
neqsim.thermo.characterization.PlusCharacterize
neqsim.thermo.characterization.TBPCharacterize
- All Implemented Interfaces:
Serializable, CharacteriseInterface
TBPCharacterize class.
- Version:
- $Id: $Id
- Author:
- ESOL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) double[](package private) intprivate static final longSerialization version UID.(package private) int(package private) double[](package private) double[](package private) double[](package private) double[](package private) double[]Fields inherited from class PlusCharacterize
carbonNumberVector, coefs, densPlus, firstPlusFractionNumber, firsttime, lastPlusFractionNumber, length, logger, MPlus, numberOfPseudocomponents, plusCoefs, PRcoefs, pseudocomponents, SRKcoefs, system, TBPfractions, zPlusFields inherited from interface CharacteriseInterface
PVTsimMolarMass -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for TBPCharacterize.TBPCharacterize(SystemInterface system) Constructor for TBPCharacterize. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHeavyEnd.voidaddPlusFraction.voidaddTBPFractions.double[]Getter for property calcTBPfractions.int[]Getter for property carbonNumberVector.doublegetDensPlus.intGetter for property length.double[]getPlusCoefs.doublegetPlusCoefs(int i) getPlusCoefs.double[]getTBP_M()Getter for property TBP_M.double[]Getter for property TBPdens.doublegetTBPdens(int i) getTBPdens.double[]Getter for property TBPfractions.doublegetTBPfractions(int i) getTBPfractions.booleangroupTBPfractions.booleanisPseudocomponents.booleansaveCharacterizedFluid.voidsetCalcTBPfractions(double[] calcTBPfractions) Setter for property calcTBPfractions.voidsetCarbonNumberVector(int[] carbonNumberVector) Setter for property carbonNumberVector.voidsetCoefs(double[] coefs) setCoefs.voidsetCoefs(double coef, int i) setCoefs.voidsetDensPlus(double densPlus) Setter for property densPlus.voidsetPlusCoefs(double[] plusCoefs) setPlusCoefs.voidsetTBP_M(double[] TBP_M) Setter for property TBP_M.voidsetTBPdens(double[] TBPdens) Setter for property TBPdens.voidsetTBPfractions(double[] TBPfractions) Setter for property TBPfractions.voidsolve()solve.voidsolveAB()solveAB.Methods inherited from class PlusCharacterize
addCharacterizedPlusFraction, addPseudoTBPfraction, characterizePlusFraction, generatePlusFractions, generateTBPFractions, getCoef, getCoefs, getDensLastTBP, getFirstPlusFractionNumber, getLastPlusFractionNumber, getMPlus, getNumberOfPseudocomponents, getStartPlus, getZPlus, hasPlusFraction, removeTBPfraction, setDensLastTBP, setFirstPlusFractionNumber, setHeavyTBPtoPlus, setMPlus, setNumberOfPseudocomponents, setPseudocomponents, setZPlus
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
startPlus
int startPlus -
endPlus
int endPlus -
calcTBPfractions
double[] calcTBPfractions -
TBPdens
double[] TBPdens -
TBPmoles
double[] TBPmoles -
TBPdensDenom
double[] TBPdensDenom -
TBP_Mnom
double[] TBP_Mnom -
TBP_M
double[] TBP_M
-
-
Constructor Details
-
TBPCharacterize
public TBPCharacterize()Constructor for TBPCharacterize.
-
TBPCharacterize
Constructor for TBPCharacterize.
- Parameters:
system- aSystemInterfaceobject
-
-
Method Details
-
groupTBPfractions
public boolean groupTBPfractions()groupTBPfractions.
- Specified by:
groupTBPfractionsin interfaceCharacteriseInterface- Overrides:
groupTBPfractionsin classPlusCharacterize- Returns:
- a boolean
-
addTBPFractions
public void addTBPFractions()addTBPFractions.
- Specified by:
addTBPFractionsin interfaceCharacteriseInterface- Overrides:
addTBPFractionsin classPlusCharacterize
-
saveCharacterizedFluid
public boolean saveCharacterizedFluid()saveCharacterizedFluid.
- Returns:
- a boolean
-
getTBPfractions
public double[] getTBPfractions()Getter for property TBPfractions.- Returns:
- Value of property TBPfractions.
-
setCoefs
public void setCoefs(double coef, int i) setCoefs.
- Specified by:
setCoefsin interfaceCharacteriseInterface- Overrides:
setCoefsin classPlusCharacterize- Parameters:
coef- a doublei- a int
-
getTBPfractions
public double getTBPfractions(int i) getTBPfractions.
- Parameters:
i- a int- Returns:
- a double
-
setTBPfractions
public void setTBPfractions(double[] TBPfractions) Setter for property TBPfractions.- Parameters:
TBPfractions- New value of property TBPfractions.
-
solve
public void solve()solve.
- Specified by:
solvein interfaceCharacteriseInterface- Overrides:
solvein classPlusCharacterize
-
solveAB
public void solveAB()solveAB.
-
setCoefs
public void setCoefs(double[] coefs) setCoefs.
- Specified by:
setCoefsin interfaceCharacteriseInterface- Overrides:
setCoefsin classPlusCharacterize- Parameters:
coefs- an array of type double
-
getTBPdens
public double[] getTBPdens()Getter for property TBPdens.- Returns:
- Value of property TBPdens.
-
getTBPdens
public double getTBPdens(int i) getTBPdens.
- Parameters:
i- a int- Returns:
- a double
-
setTBPdens
public void setTBPdens(double[] TBPdens) Setter for property TBPdens.- Parameters:
TBPdens- New value of property TBPdens.
-
getLength
public int getLength()Getter for property length.- Overrides:
getLengthin classPlusCharacterize- Returns:
- Value of property length.
-
getTBP_M
public double[] getTBP_M()Getter for property TBP_M.- Returns:
- Value of property TBP_M.
-
setTBP_M
public void setTBP_M(double[] TBP_M) Setter for property TBP_M.- Parameters:
TBP_M- New value of property TBP_M.
-
getCarbonNumberVector
public int[] getCarbonNumberVector()Getter for property carbonNumberVector.- Overrides:
getCarbonNumberVectorin classPlusCharacterize- Returns:
- Value of property carbonNumberVector.
-
setCarbonNumberVector
public void setCarbonNumberVector(int[] carbonNumberVector) Setter for property carbonNumberVector.- Overrides:
setCarbonNumberVectorin classPlusCharacterize- Parameters:
carbonNumberVector- New value of property carbonNumberVector.
-
getCalcTBPfractions
public double[] getCalcTBPfractions()Getter for property calcTBPfractions.- Returns:
- Value of property calcTBPfractions.
-
setCalcTBPfractions
public void setCalcTBPfractions(double[] calcTBPfractions) Setter for property calcTBPfractions.- Parameters:
calcTBPfractions- New value of property calcTBPfractions.
-
getPlusCoefs
public double[] getPlusCoefs()getPlusCoefs.
- Specified by:
getPlusCoefsin interfaceCharacteriseInterface- Overrides:
getPlusCoefsin classPlusCharacterize- Returns:
- an array of type double
-
getPlusCoefs
public double getPlusCoefs(int i) getPlusCoefs.
- Specified by:
getPlusCoefsin interfaceCharacteriseInterface- Overrides:
getPlusCoefsin classPlusCharacterize- Parameters:
i- a int- Returns:
- a double
-
setPlusCoefs
public void setPlusCoefs(double[] plusCoefs) setPlusCoefs.
- Specified by:
setPlusCoefsin interfaceCharacteriseInterface- Overrides:
setPlusCoefsin classPlusCharacterize- Parameters:
plusCoefs- an array of type double
-
getDensPlus
public double getDensPlus()getDensPlus.
- Specified by:
getDensPlusin interfaceCharacteriseInterface- Overrides:
getDensPlusin classPlusCharacterize- Returns:
- a double
-
setDensPlus
public void setDensPlus(double densPlus) Setter for property densPlus.- Overrides:
setDensPlusin classPlusCharacterize- Parameters:
densPlus- New value of property densPlus.
-
isPseudocomponents
public boolean isPseudocomponents()isPseudocomponents.
- Specified by:
isPseudocomponentsin interfaceCharacteriseInterface- Overrides:
isPseudocomponentsin classPlusCharacterize- Returns:
- a boolean
-
addPlusFraction
public void addPlusFraction()addPlusFraction.
-
addHeavyEnd
public void addHeavyEnd()addHeavyEnd.
- Specified by:
addHeavyEndin interfaceCharacteriseInterface- Overrides:
addHeavyEndin classPlusCharacterize
-