flownet.ahm._assisted_history_matching module

class flownet.ahm._assisted_history_matching.AssistedHistoryMatching(network: flownet.network_model._network_model.NetworkModel, schedule: flownet.realization._schedule.Schedule, parameters: typing.List[flownet.parameters._base_parameter.Parameter], config: <property object at 0x7f15b0f78830>)

Bases: object

A class facilitating assisted history matching. Takes in a network of grid cells together with a dictionary of parameters with prior distributions.

create_ert_setup(args: argparse.Namespace, training_set_fraction: float)

Creates an ERT setup, for the assisted history matching method.

Parameters
  • args – The input argparse namespace

  • training_set_fraction – Fraction of observations in schedule to use in training set

Returns

Nothing

report()

Prints relevant information of the AHM setup to stdout.

Returns

Nothing

run_ert(weights: List[float])

This function will start running ert (assumes create_ert_setup has been called).

Currently, if you want to stop a previously started ERT run, it is not enough to stop the Python script. You will currently in addition need to manually run

killall ert

in the terminal.

Parameters

weights – Weights for the iterated ensemble smoother to use.

Returns

Nothing