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

Node placement in volume of original model #372

Conversation

LonnekevB
Copy link
Contributor

Insert a description of your pull request (PR) here, and check off the boxes below when they are done.


Contributor checklist

  • 🎉 This PR closes Node placement in volume of original model #368.
  • 📜 I have broken down my PR into the following tasks:
    • Task 1
    • Task 2
  • 🤖 I have added tests, or extended existing tests, to cover any new features or bugs fixed in this PR.
  • 📖 I have considered adding a new entry in CHANGELOG.md.
  • 📚 I have considered updating the documentation.

@LonnekevB LonnekevB changed the title adding keyword place_nodes_in_reservoir_volume to config Node placement in volume of original model Mar 25, 2021
@LonnekevB LonnekevB self-assigned this Mar 25, 2021
@LonnekevB LonnekevB added the enhancement New feature or request label Mar 25, 2021
Copy link
Contributor

@wouterjdb wouterjdb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested the code - but had to make some minor changes such that the random point generation actually happens in the space of the original model.

This is a picture of the Norne model (top layer). Now stretching all the way to the west - the area that doesn't have any wells.

image

The full Norne model, with many nodes per layer, would now look like:

image

And for reference the real Norne model (initial pressure is quite off by the way, @edubarrosTNO I hope this is not the case in the cases you have been testing?):

image

src/flownet/config_parser/_config_parser.py Show resolved Hide resolved
src/flownet/network_model/_mitchell.py Outdated Show resolved Hide resolved
src/flownet/network_model/_mitchell.py Outdated Show resolved Hide resolved
@edubarrosTNO
Copy link
Contributor

edubarrosTNO commented Mar 29, 2021

And for reference the real Norne model (initial pressure is quite off by the way, @edubarrosTNO I hope this is not the case in the cases you have been testing?):

I will have to check that, but what I can say now is that those cases that I have been running are certainly using much fewer additional nodes than what we see in these pictures.

Are there any current hypotheses for the initial pressure being off? To me it looks like the pressure is in the right range in most of the model, except for those red spots in one of the "tentacles". It would be useful to check the EQUIL regions of the full grid and FlowNet models, and see if there is any overlapping with the red spots in pressure in the FlowNet grid. If that is the case, we will have to revise the EQUIL settings of that region

@LonnekevB LonnekevB requested a review from wouterjdb April 9, 2021 06:49
@LonnekevB LonnekevB marked this pull request as ready for review April 9, 2021 06:49
src/flownet/config_parser/_config_parser.py Outdated Show resolved Hide resolved
src/flownet/config_parser/_config_parser.py Outdated Show resolved Hide resolved
src/flownet/config_parser/_config_parser.py Outdated Show resolved Hide resolved
src/flownet/config_parser/_config_parser.py Outdated Show resolved Hide resolved
src/flownet/network_model/_mitchell.py Outdated Show resolved Hide resolved
src/flownet/network_model/_mitchell.py Outdated Show resolved Hide resolved
src/flownet/network_model/_mitchell.py Outdated Show resolved Hide resolved
LonnekevB and others added 3 commits April 13, 2021 10:24
@LonnekevB
Copy link
Contributor Author

@wouterjdb I realized we were using convex and concave hull interchangeably in the Mitchells code. But for the grid cell bounding boxes it is a concave hull, but for the perforations, we actually use a convex hull.
I think the naming is consistent now and once the tests have passed ready to merge!

olelod
olelod previously approved these changes Apr 13, 2021
Copy link
Collaborator

@olelod olelod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that during the time I did something else, all of my comments about convex/concave became outdated...

LGTM! Nice work.

src/flownet/network_model/_mitchell.py Outdated Show resolved Hide resolved
src/flownet/network_model/_mitchell.py Outdated Show resolved Hide resolved
src/flownet/network_model/_mitchell.py Outdated Show resolved Hide resolved
src/flownet/network_model/_mitchell.py Outdated Show resolved Hide resolved
src/flownet/network_model/_mitchell.py Outdated Show resolved Hide resolved
@olelod olelod self-requested a review April 14, 2021 07:04
@olelod olelod dismissed their stale review April 14, 2021 07:09

It all became a bit messy since there were commits addressing my requested changes before I submitted the review

Copy link
Collaborator

@olelod olelod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just have one comment about a docstring mentioning the hull_factor = 1.0. Other than that everything looks good to go! Nice job.

Co-authored-by: Ole Petter Lødøen <opl@equinor.com>
@wouterjdb wouterjdb merged commit c3c69b8 into equinor:master Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Node placement in volume of original model
4 participants