[Opm] GECON equivalent.

Stephen, Karl D K.D.Stephen at hw.ac.uk
Wed Apr 8 15:51:36 UTC 2020


Hi,
I like the GECON equivalent of Eclipse for truncating a run when the economic conditions of the group or field have been met. I see it is not supported in OPM flow, however. WECON gets me part way there and I can close producers but the simulation continues.

I can nearly replicate GECON it with ACTIONX. I can check for the field conditions I want and shut all wells.

ACTIONX
GECON 1   /
FOPR  < 400 OR /
FWCT  > 0.95 /
/
-- SHUT all wells
WELOPEN
'*' SHUT /
/
ENDACTIO

I can't get the simulator to terminate though. An "END" before ENDACTIO interferes with the syntax and causes an error:
Failed to create valid EclipseState object.
Exception caught: Index out of range

I am guessing that the END overrides the ACTIONX opener for the command and ENDACTIO is not found.

Is there any way to stop the run in this case (conditionally).

Karl
________________________________

Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campuses and students across the entire globe we span the world, delivering innovation and educational excellence in business, engineering, design and the physical, social and life sciences. This email is generated from the Heriot-Watt University Group, which includes:

  1.  Heriot-Watt University, a Scottish charity registered under number SC000278
  2.  Heriot- Watt Services Limited (Oriam), Scotland's national performance centre for sport. Heriot-Watt Services Limited is a private limited company registered is Scotland with registered number SC271030 and registered office at Research & Enterprise Services Heriot-Watt University, Riccarton, Edinburgh, EH14 4AS.

The contents (including any attachments) are confidential. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system.


More information about the Opm mailing list