equinor / flownet

FlowNet - Data-Driven Reservoir Predictions
GNU General Public License v3.0
63 stars 29 forks source link

Pyscal interpolation option causing large number of failing simulations #209

Closed edubarrosTNO closed 3 years ago

edubarrosTNO commented 4 years ago

I noticed that when using the interpolate: true entry in relative_permeability, a lot more simulations fail already with the prior ensemble as set up for the Norne case (current version on flownet-testdata / master). I also observed that the simulations take much longer to run when interpolate: true compared to interpolate: false

olelod commented 4 years ago

Do we have a simple way of plotting/comparing the relative permeability curves produced by either method for some flow tubes? A number close to -1 will in practice use low values for all the relative permeability parameters, and a number close to 1 will use all high values. Maybe the curves are getting numerically difficult due to that? When we are not interpolating, the different values are drawn independently, so we are maybe not ending up in a very pessimistic or very optimistic scenarios?

wouterjdb commented 4 years ago

You could potentially test with running pyscal in normal mode and not "fast mode" - that should spotted (obvious) errors.

olelod commented 4 years ago

I don't think the functionality around interpolating between low/base/high has a fast mode implemented. I could not find a way to pass along the fast parameter, at least.

wouterjdb commented 4 years ago

I don't think the functionality around interpolating between low/base/high has a fast mode implemented. I could not find a way to pass along the fast parameter, at least.

Ok, then that doesn't help.

olelod commented 3 years ago

I have been checking a little and thinking a bit. So, as of now, the most pessimistic relperm curve is made up from all the low input values, but come to think of it, some low values are actually good for us.... This makes the initial ensemble look quite weird in the interpolation case: image

Generating curves without interpolation gives an ensemble like this: image

olelod commented 3 years ago

231 will hopefully help here

olelod commented 3 years ago

231 has been merged so hopefully you will see improved performance now @edubarrosTNO

wouterjdb commented 3 years ago

@edubarrosTNO will test today.