Files
opm-common/tests
Bård Skaflestad 3eef45e87d Capture Preferred Phase When Processing WELPI Keyword
This is to handle the case of an injector changing its injected (and
therefore preferred) phase (e.g., in WCONINJE or WCONINJH) at the
same report step as a WELPI CTF rescaling, but logically after the
WELPI action is applied.

For instance, this happens in the following setup:

    WCONINJH
       INJ2   WATER   OPEN  5500 /
    /

    DATES
      1 'JAN' 2020 /
    /

    WELPI
      'INJ2' 0.1E5 /
    /

    WCONINJH
       INJ2   GAS   OPEN   701627 /
    /

    DATES
      1 'FEB' 2020 /
    /

In this case, the WELPI for 'INJ2' is supposed to be interpreted as
the water-phase PI (preferred phase is 'WATER' when we read WELPI),
but since the injecting phase is reset to 'GAS' at the same report
step we risk misinterpreting the PI as pertaining to the 'GAS' phase
when calculating the well's effective/dynamic PI in the simulator if
we just use Well::getPreferredPhase().

Switch the the well's input PI from an optional<double> to an
optional<struct> that captures both the input PI value (SI units)
and the preferred phase when processing the WELPI data.  Provide a
way to query that information from the simulator and update unit
tests accordingly.
2020-10-19 11:09:00 +02:00
..
2020-04-16 14:13:54 +02:00
2020-04-16 14:13:54 +02:00
2020-04-16 14:13:54 +02:00
2019-04-08 11:36:20 +02:00
2019-04-08 11:36:20 +02:00
2020-04-14 16:32:52 +02:00
2020-06-25 10:57:11 +02:00
2019-02-15 18:01:38 +01:00
2020-01-28 12:46:18 +01:00
2020-01-28 12:46:18 +01:00
2017-05-10 10:03:31 +02:00
2020-09-25 09:21:09 +02:00
2020-04-19 20:59:38 +02:00
2020-04-16 14:13:54 +02:00