Class WellScheduler.Intervention
java.lang.Object
neqsim.process.util.fielddevelopment.WellScheduler.Intervention
- All Implemented Interfaces:
Serializable, Comparable<WellScheduler.Intervention>
- Enclosing class:
WellScheduler
public static final class WellScheduler.Intervention
extends Object
implements Serializable, Comparable<WellScheduler.Intervention>
Scheduled intervention record.
Represents a planned well intervention with timing, cost, and expected outcome information.
- Version:
- 1.0
- Author:
- ESOL
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for creating Intervention instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final Stringprivate final Stringprivate final intprivate final doubleprivate final intprivate static final longprivate final LocalDateprivate final WellScheduler.InterventionTypeprivate final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new builder for an intervention.intdoublegetCost()Gets the intervention cost.Gets the currency for cost.Gets the intervention description.intGets the intervention duration in days.Gets the expected end date.doubleGets the expected production gain as a fraction.intGets the scheduling priority (lower = higher priority).Gets the scheduled start date.getType()Gets the intervention type.Gets the well name.booleanisActiveOn(LocalDate date) Checks if the intervention is active on a specific date.booleanChecks if the intervention overlaps with a date range.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
wellName
-
type
-
startDate
-
durationDays
private final int durationDays -
expectedProductionGain
private final double expectedProductionGain -
cost
private final double cost -
currency
-
description
-
priority
private final int priority
-
-
Constructor Details
-
Intervention
-
-
Method Details
-
builder
Creates a new builder for an intervention.- Parameters:
wellName- name of the well for intervention- Returns:
- new builder instance
-
getWellName
-
getType
Gets the intervention type.- Returns:
- intervention type
-
getStartDate
-
getDurationDays
public int getDurationDays()Gets the intervention duration in days.- Returns:
- duration in days
-
getEndDate
Gets the expected end date.- Returns:
- end date (startDate + durationDays - 1)
-
getExpectedProductionGain
public double getExpectedProductionGain()Gets the expected production gain as a fraction.- Returns:
- production improvement fraction (e.g., 0.15 for 15% improvement)
-
getCost
public double getCost()Gets the intervention cost.- Returns:
- cost in specified currency
-
getCurrency
-
getDescription
-
getPriority
public int getPriority()Gets the scheduling priority (lower = higher priority).- Returns:
- priority value
-
overlaps
-
isActiveOn
Checks if the intervention is active on a specific date.- Parameters:
date- date to check- Returns:
- true if intervention is ongoing on this date
-
compareTo
- Specified by:
compareToin interfaceComparable<WellScheduler.Intervention>
-
toString
-