Giter Site home page Giter Site logo

wells status by default about flownet HOT 7 CLOSED

equinor avatar equinor commented on July 24, 2024
wells status by default

from flownet.

Comments (7)

tayloris avatar tayloris commented on July 24, 2024

I understand now what Anders said about having "WSTAT" in the summary anyhow, I can add a warning there specifying that the default value will be imposed. So we want "CLOSED" as the default?

from flownet.

anders-kiaer avatar anders-kiaer commented on July 24, 2024

Maybe we should simply throw a RuntimeError in FlowNet if WSTAT is not in the given input model (since we basically depend on it existing)? Then it will be clear for the user how to fix the input model, and get FlowNet to proceed (with correct behavior of well status).

from flownet.

tayloris avatar tayloris commented on July 24, 2024

I agreed,

from flownet.

tayloris avatar tayloris commented on July 24, 2024

I'm able now to determine if there any WSTAT = NaN by asking

if df_production_data["WSTAT"].isna().any():
          raise RuntimeError(f"The status of each well must be define (OPEN, SHUT, STOP). Please add keyword WSTAT in the SUMMARY section of eclipse case.")
      else:
          df_production_data["WSTAT"] = df_production_data["WSTAT"].map(
              {
                  1: "OPEN",  # Producer OPEN
                  2: "OPEN",  # Injector OPEN
                  3: "SHUT",
                  4: "STOP",
                  5: "SHUT",  # PSHUT
                  6: "STOP",  # PSTOP
                  np.nan: "STOP",
              }
          )

However, I add WSTAT inside the summary section of my eclipse file and flownet doesn't read the corresponding well status WSTAT :( Where do I add WSTAT on my eclipse file?

from flownet.

anders-kiaer avatar anders-kiaer commented on July 24, 2024

Adding WSTAT in SUMMARY should be enough, however, Flow does not support it as of today so the input case has to be run with Eclipse. Could that be the reason?

from flownet.

tayloris avatar tayloris commented on July 24, 2024

Yes that's the reason then

from flownet.

wouterjdb avatar wouterjdb commented on July 24, 2024

I now ran into the same problem with Norne it looks like.

from flownet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.