equinor / subscript

Equinor's collection of subsurface reservoir modelling scripts
https://equinor.github.io/subscript/
GNU General Public License v3.0
15 stars 34 forks source link

[sunsch] Add satellites schedules directly from csv #524

Open asnyv opened 1 year ago

asnyv commented 1 year ago

Multiple users have seen a need to create and merge satellite profiles with the rest of the schedule, ideally straight from a tabular format like csv. Today they are handling it with their own scripts, through RMS or manually creating a schedule.

Could it be an option for sunsch to read csv's and create schedules for keywords like (from the top of my head): GSATPROD GSATINJE GCONSUMP

asnyv commented 1 year ago

Proposed solution:

Add another key to the config, e.g. satellites Within satellite, one key per Eclipse keyword, e.g. GSATPROD. For each Eclipse keyword, a list of paths to csvs can be defined.

Format of csv depends on keyword (which input they take).

E.g. for GSATPROD the headers could be (columns other than date and group can be dropped and thus defaulted): (may also use the proposed entry names in the OPM manual.

date group oil_rate water_rate gas_rate reservoir_fluid_volume_rate lift_gas_rate mean_calorific_value_gas
berland commented 1 year ago

Creating schedule snippets might also fall into what ecl2df.wcon potentially could cover. Analogous to some other ecl2df-modules, there could be a reverse option in wcon to produce schedules snippets based on CSV files. There is unmerged (but mostly finished) code that aids in this in https://github.com/equinor/ecl2df/pull/381

asnyv commented 1 year ago

@berland Interesting, thanks 👍 Will probably contact you for a chat some day. Maybe also include @lindjoha who has also made an ad-hoc solution for satellite schedules in a model and might have input to the scope.