pycopm.utils.runs_executer module

Run TOML-based simulation studies and generate postprocessing plots.

pycopm.utils.runs_executer.generate_postprocessing_plots(cfg: ConfigViaTOML, elapsed_seconds: float, number_tables: int) None

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.

pycopm.utils.runs_executer.run_simulations(cfg: ConfigViaTOML) None

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.