Interface LumpingModelInterface
- All Known Implementing Classes:
LumpingModel.NoLumpingModel, LumpingModel.PVTLumpingModel, LumpingModel.StandardLumpingModel
public interface LumpingModelInterface
LumpingModelInterface interface.
- Version:
- $Id: $Id
- Author:
- ESOL
-
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateLumpedComposition.default int[]Get the custom carbon number boundaries if set.doublegetFractionOfHeavyEnd(int i) getFractionOfHeavyEnd.getLumpedComponentName(int i) getLumpedComponentName.String[]getLumpedComponentNames.getName()getName.intgetNumberOfLumpedComponents.intgetNumberOfPseudoComponents.default booleanCheck if custom boundaries are being used.default voidsetCustomBoundaries(int[] boundaries) Set custom carbon number boundaries for lumping.voidsetNumberOfLumpedComponents(int numb) setNumberOfLumpedComponents.voidsetNumberOfPseudoComponents(int lumpedNumb) setNumberOfPseudoComponents.
-
Method Details
-
setNumberOfLumpedComponents
void setNumberOfLumpedComponents(int numb) setNumberOfLumpedComponents.
- Parameters:
numb- a int
-
getName
-
generateLumpedComposition
generateLumpedComposition.
- Parameters:
charac- aCharacteriseobject
-
getNumberOfLumpedComponents
int getNumberOfLumpedComponents()getNumberOfLumpedComponents.
- Returns:
- a int
-
getFractionOfHeavyEnd
double getFractionOfHeavyEnd(int i) getFractionOfHeavyEnd.
- Parameters:
i- a int- Returns:
- a double
-
setNumberOfPseudoComponents
void setNumberOfPseudoComponents(int lumpedNumb) setNumberOfPseudoComponents.
- Parameters:
lumpedNumb- a int
-
getNumberOfPseudoComponents
int getNumberOfPseudoComponents()getNumberOfPseudoComponents.
- Returns:
- a int
-
getLumpedComponentName
-
getLumpedComponentNames
-
setCustomBoundaries
default void setCustomBoundaries(int[] boundaries) Set custom carbon number boundaries for lumping.This allows matching specific PVT lab report groupings. For example, boundaries [6, 10, 15, 20] would create groups: C6-C9, C10-C14, C15-C19, C20+
- Parameters:
boundaries- array of starting carbon numbers for each group
-
getCustomBoundaries
default int[] getCustomBoundaries()Get the custom carbon number boundaries if set.- Returns:
- array of carbon number boundaries, or null if using automatic calculation
-
hasCustomBoundaries
default boolean hasCustomBoundaries()Check if custom boundaries are being used.- Returns:
- true if custom boundaries were set
-