Interface LumpingModelInterface

All Known Implementing Classes:
LumpingModel.NoLumpingModel, LumpingModel.PVTLumpingModel, LumpingModel.StandardLumpingModel

public interface LumpingModelInterface

LumpingModelInterface interface.

Version:
$Id: $Id
Author:
ESOL
  • Method Details

    • setNumberOfLumpedComponents

      void setNumberOfLumpedComponents(int numb)

      setNumberOfLumpedComponents.

      Parameters:
      numb - a int
    • getName

      String getName()

      getName.

      Returns:
      a String object
    • generateLumpedComposition

      void generateLumpedComposition(Characterise charac)

      generateLumpedComposition.

      Parameters:
      charac - a Characterise object
    • 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

      String getLumpedComponentName(int i)

      getLumpedComponentName.

      Parameters:
      i - a int
      Returns:
      a String object
    • getLumpedComponentNames

      String[] getLumpedComponentNames()

      getLumpedComponentNames.

      Returns:
      an array of String objects
    • 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