Class LumpingModel.StandardLumpingModel
java.lang.Object
neqsim.thermo.characterization.LumpingModel.StandardLumpingModel
- All Implemented Interfaces:
Serializable, Cloneable, LumpingModelInterface
- Direct Known Subclasses:
LumpingModel.NoLumpingModel, LumpingModel.PVTLumpingModel
- Enclosing class:
LumpingModel
public class LumpingModel.StandardLumpingModel
extends Object
implements LumpingModelInterface, Cloneable, Serializable
StandardLumpingModel distributes the pseudo components into equal weight fractions starting
with the first TBP fraction in the fluid.
- Version:
- 1.0
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerialization version UID. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateLumpedComposition.doublegetFractionOfHeavyEnd(int i) getFractionOfHeavyEnd.getLumpedComponentName(int i) getLumpedComponentName.String[]getLumpedComponentNames.getName()getName.intgetNumberOfLumpedComponents.intgetNumberOfPseudoComponents.voidsetNumberOfLumpedComponents(int lumpedNumb) setNumberOfLumpedComponents.voidsetNumberOfPseudoComponents(int lumpedNumb) setNumberOfPseudoComponents.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
-
Constructor Details
-
StandardLumpingModel
public StandardLumpingModel()
-
-
Method Details
-
setNumberOfLumpedComponents
public void setNumberOfLumpedComponents(int lumpedNumb) setNumberOfLumpedComponents.
- Specified by:
setNumberOfLumpedComponentsin interfaceLumpingModelInterface- Parameters:
lumpedNumb- a int
-
getNumberOfLumpedComponents
public int getNumberOfLumpedComponents()getNumberOfLumpedComponents.
- Specified by:
getNumberOfLumpedComponentsin interfaceLumpingModelInterface- Returns:
- a int
-
setNumberOfPseudoComponents
public void setNumberOfPseudoComponents(int lumpedNumb) setNumberOfPseudoComponents.
- Specified by:
setNumberOfPseudoComponentsin interfaceLumpingModelInterface- Parameters:
lumpedNumb- a int
-
getNumberOfPseudoComponents
public int getNumberOfPseudoComponents()getNumberOfPseudoComponents.
- Specified by:
getNumberOfPseudoComponentsin interfaceLumpingModelInterface- Returns:
- a int
-
getName
getName.
- Specified by:
getNamein interfaceLumpingModelInterface- Returns:
- a
Stringobject
-
getLumpedComponentName
getLumpedComponentName.
- Specified by:
getLumpedComponentNamein interfaceLumpingModelInterface- Parameters:
i- a int- Returns:
- a
Stringobject
-
getLumpedComponentNames
getLumpedComponentNames.
- Specified by:
getLumpedComponentNamesin interfaceLumpingModelInterface- Returns:
- an array of
Stringobjects
-
generateLumpedComposition
generateLumpedComposition.
- Specified by:
generateLumpedCompositionin interfaceLumpingModelInterface- Parameters:
charac- aCharacteriseobject
-
getFractionOfHeavyEnd
public double getFractionOfHeavyEnd(int i) getFractionOfHeavyEnd.
- Specified by:
getFractionOfHeavyEndin interfaceLumpingModelInterface- Parameters:
i- a int- Returns:
- a double
-