opm-simulators icon indicating copy to clipboard operation
opm-simulators copied to clipboard

Well primaryvariable scaling

Open hnil opened this issue 3 years ago • 6 comments

  • make scaling of primary variables of wells
  • scale control equation if it is bhp control Idea is to be able to make scaling of the matrices more normal. It is a follow up on the scaling of the reservoir primary variables.

hnil avatar Oct 18 '22 14:10 hnil

jenkins build this please

GitPaean avatar Oct 19 '22 07:10 GitPaean

benchmark please

GitPaean avatar Oct 19 '22 07:10 GitPaean

Benchmark result overview:

Test Configuration Relative
opm-git OPM Benchmark: flow_mpi_extra - Threads: 1 1.004
opm-git OPM Benchmark: flow_mpi_extra - Threads: 8 0.998
opm-git OPM Benchmark: flow_mpi_norne - Threads: 1 0.999
opm-git OPM Benchmark: flow_mpi_norne - Threads: 8 0.991
opm-git OPM Benchmark: flow_mpi_norne_4c_msw - Threads: 1 0.997
opm-git OPM Benchmark: flow_mpi_norne_4c_msw - Threads: 8 0.996
  • Speed-up = Total time master / Total time pull request. Above 1.0 is an improvement. *

View result details @ https://www.ytelses.com/opm/?page=result&id=1830

ytelses avatar Oct 19 '22 15:10 ytelses

Do you have some ideas about what kind of number should be used to benefit a typical blackoil simulation running?

GitPaean avatar Oct 20 '22 13:10 GitPaean

Should bhp_scaling and bhp_control_scaling be same or same order or something very different?

GitPaean avatar Oct 20 '22 13:10 GitPaean

hei, one small thing is that, for the bhp_scaling, they are used to scale to reduce the values for the related primary variables through division, while for bhp_control_scaling, it is used to reduce the orders of the control_eq through multiplication. As a result, bhp_scaling will be a big value maybe in the order or bar level, while bhp_control_scaling will be a very small value.

Do you think it is easier to use if we can change this to make both bhp_scaling and bhp_control_scaling to be big values?

GitPaean avatar Oct 21 '22 08:10 GitPaean