Class UncertaintyRange

java.lang.Object
neqsim.process.fielddevelopment.concept.UncertaintyRange
All Implemented Interfaces:
Serializable

public final class UncertaintyRange extends Object implements Serializable
Stores a P10/P50/P90 range for a field-development assumption.
Version:
1.0
Author:
ESOL
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • name

      private final String name
    • unit

      private final String unit
    • p10

      private final double p10
    • p50

      private final double p50
    • p90

      private final double p90
  • Constructor Details

    • UncertaintyRange

      public UncertaintyRange(String name, String unit, double p10, double p50, double p90)
      Creates an uncertainty range.
      Parameters:
      name - assumption name
      unit - engineering unit for the values
      p10 - P10 case value
      p50 - P50 case value
      p90 - P90 case value
  • Method Details

    • deterministic

      public static UncertaintyRange deterministic(String name, String unit, double value)
      Creates a deterministic range where P10, P50, and P90 are equal.
      Parameters:
      name - assumption name
      unit - engineering unit for the value
      value - deterministic value
      Returns:
      deterministic uncertainty range
    • getName

      public String getName()
      Gets the assumption name.
      Returns:
      assumption name
    • getUnit

      public String getUnit()
      Gets the value unit.
      Returns:
      value unit
    • getP10

      public double getP10()
      Gets the P10 value.
      Returns:
      P10 value
    • getP50

      public double getP50()
      Gets the P50 value.
      Returns:
      P50 value
    • getP90

      public double getP90()
      Gets the P90 value.
      Returns:
      P90 value
    • getSpan

      public double getSpan()
      Gets the absolute range span.
      Returns:
      absolute difference between P90 and P10
    • isDeterministic

      public boolean isDeterministic()
      Checks whether the range is deterministic.
      Returns:
      true if P10, P50, and P90 are identical within numerical tolerance
    • toString

      public String toString()
      Overrides:
      toString in class Object