pycopm.utils.runs_executer module#

Run TOML-based simulation studies and generate postprocessing plots.

run_simulations(cfg)[source]#

Run the configured OPM Flow or ERT workflow.

Job scripts are copied to the output project and made executable before a single realization or ERT study is started.

Parameters:
cfg

TOML configuration containing execution mode and commands.

Parameters:

cfg (ConfigViaTOML)

Return type:

None

generate_postprocessing_plots(cfg, elapsed_seconds, number_tables)[source]#

Render and execute the postprocessing script.

Parameters:
cfg

TOML configuration and plotting settings. let_parameters is sorted in place before rendering.

elapsed_seconds

Elapsed preprocessing and simulation time.

number_tables

Number of generated saturation-function tables.

Parameters:
  • cfg (ConfigViaTOML)

  • elapsed_seconds (float)

  • number_tables (int)

Return type:

None