|
Opm::WellPerformanceEventTracker Class Reference
Detailed DescriptionAccumulates the well and connection status changes that back the WPWE0 to WPWE7 summary vectors. The tracker forms the event values by comparing snapshots of dynamic status as the time step progresses. Connection changes are reported regardless of source: an economic-limit workover, a well test, or a deck keyword such as WELOPEN or COMPDAT. The exception is connections closed only by the reach of a '+CON' workover below the offending connection; WPWE2 excludes those closures. Well-status changes are reported only when made by the simulator: a well shut or stopped by the deck is not a WPWE4 or WPWE7 event. Injector/producer conversions come from the schedule and are tracked whether introduced directly by a keyword or through ACTIONX. The values cover a single time step – they are discarded when the next one starts – so a summary written after a step reports exactly the events of that step, which is what the WPWE indicators denote. A well test that reopens a well and a limit check that closes it again in the same step are both reported, rather than netted against each other. WPWE0, the drilled indicator, is not supported yet and stays zero. It reports a well taken off the drilling queue defined by QDRILL and WDRILTIM. Because QDRILL is unsupported, no run reaches this tracker with a drilling queue. Introducing a well through WELSPECS is not a drilling event. Member Function Documentation◆ accumulate()
Record the changes between the reference status and
◆ applyDeckChanges()
Record the connection changes the deck has just made, and adopt Well status changes are absorbed rather than reported: WPWE4 and WPWE7 denote the simulator's own decisions, not the deck's. ◆ beginTimeStep()
Start a new time step. Discards the counters of the previous step and adopts Injector/producer switches (WPWE5, WPWE6) are checked on every step, including ACTIONX changes within a report step.
◆ commitTimeStep()
Accept the current snapshot and injector/producer types after a successful time step. Call before applying any ACTIONX changes for the next time step. Failed attempts must not advance this baseline: beginTimeStep() will then report the same conversion again when the step is retried. ◆ events()
Event values accumulated for Returns a zeroed record for a well that has seen no events. ◆ operator==()
◆ recordWellStatusChangeForRetry()
Preserve a simulator-driven status change across time-step retries. A convergence failure may close a well and commit that decision before the time step is retried. The next beginTimeStep() sees the resulting status in its starting snapshot, where ordinary status differences are treated as deck changes. Keep the event separately until the retried time step is accepted so WPWE4 or WPWE7 is still reported. ◆ serializationTestObject()
◆ serializeOp()
template<class Serializer >
The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||