Class WellScheduler.Intervention.Builder
java.lang.Object
neqsim.process.util.fielddevelopment.WellScheduler.Intervention.Builder
- Enclosing class:
WellScheduler.Intervention
Builder for creating Intervention instances.
- Version:
- 1.0
- Author:
- ESOL
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate Stringprivate Stringprivate intprivate doubleprivate intprivate LocalDateprivate WellScheduler.InterventionTypeprivate final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the Intervention instance.Sets the cost.description(String description) Sets the description.durationDays(int durationDays) Sets the duration in days.expectedGain(double gain) Sets the expected production gain as a fraction.priority(int priority) Sets the scheduling priority (lower = higher priority).Sets the start date.Sets the intervention type.
-
Field Details
-
wellName
-
type
-
startDate
-
durationDays
private int durationDays -
expectedProductionGain
private double expectedProductionGain -
cost
private double cost -
currency
-
description
-
priority
private int priority
-
-
Constructor Details
-
Builder
-
-
Method Details
-
type
Sets the intervention type.- Parameters:
type- intervention type- Returns:
- this builder
-
startDate
Sets the start date.- Parameters:
startDate- planned start date- Returns:
- this builder
-
durationDays
Sets the duration in days.- Parameters:
durationDays- number of days- Returns:
- this builder
-
expectedGain
Sets the expected production gain as a fraction.- Parameters:
gain- production improvement (e.g., 0.15 for 15%)- Returns:
- this builder
-
cost
Sets the cost.- Parameters:
cost- intervention costcurrency- currency code- Returns:
- this builder
-
description
Sets the description.- Parameters:
description- intervention description- Returns:
- this builder
-
priority
Sets the scheduling priority (lower = higher priority).- Parameters:
priority- priority value (1-10 recommended)- Returns:
- this builder
-
build
Builds the Intervention instance.- Returns:
- new Intervention
-