Class LumpingModel.PVTLumpingModel
java.lang.Object
neqsim.thermo.characterization.LumpingModel.StandardLumpingModel
neqsim.thermo.characterization.LumpingModel.PVTLumpingModel
- All Implemented Interfaces:
Serializable, Cloneable, LumpingModelInterface
- Enclosing class:
LumpingModel
PVTLumpingModel distributes the pseudo components into equal weight fractions starting with the
plus fractions. This model keeps TBP fractions (C6-C9) as separate pseudo-components and only
lumps the characterized plus fraction (C10+).
- Version:
- 1.0
- Author:
- Even Solbraa
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intOriginal requested numberOfPseudoComponents for warning purposes.private static final longSerialization version UID. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateLumpedComposition.doublegetFractionOfHeavyEnd(int i) getFractionOfHeavyEnd.voidsetNumberOfPseudoComponents(int lumpedNumb) Deprecated.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
requestedPseudoComponents
private int requestedPseudoComponentsOriginal requested numberOfPseudoComponents for warning purposes.
-
-
Constructor Details
-
PVTLumpingModel
public PVTLumpingModel()
-
-
Method Details
-
setNumberOfPseudoComponents
Deprecated.UseLumpingModel.StandardLumpingModel.setNumberOfLumpedComponents(int)for PVTlumpingModel to directly control the number of plus fraction groups without side effects.Set the total number of pseudo-components.Warning: For PVTlumpingModel, use
LumpingModel.StandardLumpingModel.setNumberOfLumpedComponents(int)instead. This method calculates numberOfLumpedComponents as (numberOfPseudoComponents - numberOfTBPfractions), which may lead to unexpected results if the calculated value is less than the current numberOfLumpedComponents.- Specified by:
setNumberOfPseudoComponentsin interfaceLumpingModelInterface- Overrides:
setNumberOfPseudoComponentsin classLumpingModel.StandardLumpingModel- Parameters:
lumpedNumb- total number of pseudo-components
-
generateLumpedComposition
generateLumpedComposition.
- Specified by:
generateLumpedCompositionin interfaceLumpingModelInterface- Overrides:
generateLumpedCompositionin classLumpingModel.StandardLumpingModel- Parameters:
charac- aCharacteriseobject
-
getFractionOfHeavyEnd
public double getFractionOfHeavyEnd(int i) getFractionOfHeavyEnd.
- Specified by:
getFractionOfHeavyEndin interfaceLumpingModelInterface- Overrides:
getFractionOfHeavyEndin classLumpingModel.StandardLumpingModel- Parameters:
i- a int- Returns:
- a double
-
LumpingModel.StandardLumpingModel.setNumberOfLumpedComponents(int)for PVTlumpingModel to directly control the number of plus fraction groups without side effects.