Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple example: missing logic #76

Open
patnr opened this issue Jun 13, 2023 · 0 comments
Open

Simple example: missing logic #76

patnr opened this issue Jun 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@patnr
Copy link

patnr commented Jun 13, 2023

Consider

VALUE: SIM;WATER_INJ {-} SIM;WATER_PROD {+} SIM;WATER_PROD {*} (SIM;WATER_PROD < 1500) {+} (SIM;WATER_PROD {-} 17000) {*} (SIM;WATER_PROD > 17000) {*} (SIM;WATER_PROD < 18500)

I recommend splitting the line into its logical components

    VALUE: >
      SIM;WATER_INJ {-} SIM;WATER_PROD
      {+} SIM;WATER_PROD {*} (SIM;WATER_PROD < 1500)
      {+} (SIM;WATER_PROD {-} 17000) {*} (SIM;WATER_PROD > 17000) {*} (SIM;WATER_PROD < 18500)

Now, the last line specifies a 2nd condition. But unlike the 1st condition, the 2nd condition is not reflected in the produced water reinjection, relating to produced_water_reinjection_total_system_rate_m3_per_day.

@patnr patnr added the bug Something isn't working label Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant