Skip to content

Commit

Permalink
Adapt everest to run_reservoirsimulator
Browse files Browse the repository at this point in the history
  • Loading branch information
berland committed Jan 13, 2025
1 parent 4480295 commit 87045d2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/everest/simulator/everest_to_ert.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,13 @@ def _extract_forward_model(ever_config: EverestConfig, ert_config):
fm_steps = ert_config.get(ErtConfigKeys.FORWARD_MODEL, [])
for job in forward_model:
job_name, *args = job.split()
match job_name:
case "eclipse100":
args = ["eclipse", *args]
case "eclipse300":
args = ["e300", *args]
case "flow":
args = ["flow", *args]
fm_steps.append([job_name, args])

ert_config[ErtConfigKeys.FORWARD_MODEL] = fm_steps
Expand Down

0 comments on commit 87045d2

Please sign in to comment.