Class UncertaintyRange
java.lang.Object
neqsim.process.fielddevelopment.concept.UncertaintyRange
- All Implemented Interfaces:
Serializable
Stores a P10/P50/P90 range for a field-development assumption.
- Version:
- 1.0
- Author:
- ESOL
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUncertaintyRange(String name, String unit, double p10, double p50, double p90) Creates an uncertainty range. -
Method Summary
Modifier and TypeMethodDescriptionstatic UncertaintyRangedeterministic(String name, String unit, double value) Creates a deterministic range where P10, P50, and P90 are equal.getName()Gets the assumption name.doublegetP10()Gets the P10 value.doublegetP50()Gets the P50 value.doublegetP90()Gets the P90 value.doublegetSpan()Gets the absolute range span.getUnit()Gets the value unit.booleanChecks whether the range is deterministic.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
name
-
unit
-
p10
private final double p10 -
p50
private final double p50 -
p90
private final double p90
-
-
Constructor Details
-
UncertaintyRange
-
-
Method Details
-
deterministic
Creates a deterministic range where P10, P50, and P90 are equal.- Parameters:
name- assumption nameunit- engineering unit for the valuevalue- deterministic value- Returns:
- deterministic uncertainty range
-
getName
-
getUnit
-
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
-