Class AllocationResult
java.lang.Object
neqsim.process.equipment.well.allocation.AllocationResult
- All Implemented Interfaces:
Serializable
Result of well production allocation.
- Version:
- 1.0
- Author:
- ESOL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final booleanprivate static final longprivate final Instantprivate final doubleprivate final doubleprivate final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets all gas rates.doubleGets the allocation error (imbalance).Gets all oil rates.Gets all water rates.doublegetGasRate(String wellName) Gets the gas rate for a specific well.doubleGets the GOR for a specific well.doublegetOilRate(String wellName) Gets the oil rate for a specific well.Gets the allocation timestamp.doubleGets the total gas rate.doubleGets the total oil rate.doubleGets the total water rate.doublegetUncertainty(String wellName) Gets the allocation uncertainty for a specific well.doublegetWaterCut(String wellName) Gets the water cut for a specific well.doublegetWaterRate(String wellName) Gets the water rate for a specific well.getWellAllocation(String wellName) Gets the allocation for a single well as a map.String[]Gets the well names.booleanChecks if the allocation is balanced.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
timestamp
-
oilRates
-
gasRates
-
waterRates
-
uncertainties
-
totalOilRate
private final double totalOilRate -
totalGasRate
private final double totalGasRate -
totalWaterRate
private final double totalWaterRate -
allocationError
private final double allocationError -
balanced
private final boolean balanced
-
-
Constructor Details
-
AllocationResult
public AllocationResult(Map<String, Double> oilRates, Map<String, Double> gasRates, Map<String, Double> waterRates, Map<String, Double> uncertainties, double allocationError) Creates an allocation result.- Parameters:
oilRates- oil rates by well name (Sm3/day)gasRates- gas rates by well name (Sm3/day)waterRates- water rates by well name (Sm3/day)uncertainties- allocation uncertainties by wellallocationError- total allocation error
-
-
Method Details
-
getTimestamp
-
getOilRate
Gets the oil rate for a specific well.- Parameters:
wellName- well name- Returns:
- oil rate in Sm3/day
-
getGasRate
Gets the gas rate for a specific well.- Parameters:
wellName- well name- Returns:
- gas rate in Sm3/day
-
getWaterRate
Gets the water rate for a specific well.- Parameters:
wellName- well name- Returns:
- water rate in Sm3/day
-
getUncertainty
Gets the allocation uncertainty for a specific well.- Parameters:
wellName- well name- Returns:
- uncertainty (0-1 scale)
-
getAllOilRates
-
getAllGasRates
-
getAllWaterRates
-
getTotalOilRate
public double getTotalOilRate()Gets the total oil rate.- Returns:
- total oil rate in Sm3/day
-
getTotalGasRate
public double getTotalGasRate()Gets the total gas rate.- Returns:
- total gas rate in Sm3/day
-
getTotalWaterRate
public double getTotalWaterRate()Gets the total water rate.- Returns:
- total water rate in Sm3/day
-
getAllocationError
public double getAllocationError()Gets the allocation error (imbalance).- Returns:
- allocation error (relative)
-
isBalanced
public boolean isBalanced()Checks if the allocation is balanced.- Returns:
- true if balanced
-
getGOR
Gets the GOR for a specific well.- Parameters:
wellName- well name- Returns:
- GOR (Sm3/Sm3)
-
getWaterCut
Gets the water cut for a specific well.- Parameters:
wellName- well name- Returns:
- water cut (0-1)
-
getWellNames
-
getWellAllocation
-
toString
-