flownet.ert.forward_models._render_realization module
- flownet.ert.forward_models._render_realization._dims2simulation_input(parameters: List[flownet.parameters._base_parameter.Parameter]) Dict
Lists all dims required by all parameters and creates a dictionary that will be included in the simulation_input.
- Parameters
parameters – List with used parameters
- Returns
Dictionary with dim-name and value
- flownet.ert.forward_models._render_realization._ert_samples2simulation_input(random_samples: pathlib.Path, parameters: List[flownet.parameters._base_parameter.Parameter], realization_index: int) Dict
Reads an ERT made json file with parameter values, or a previously stored parquet file for a whole ensemble. The parameter values are then plugged into the corresponding parameter, and finally the render method is called on the different parameters, returning the Flow INCLUDEs to ad to the simulation model.
- Parameters
random_samples – Path to the parameters.json or previously stored parquet file.
parameters – List of Parameters.
realization_index – Integer representing the realization number.
- Returns
Dictionary with include files per section
- flownet.ert.forward_models._render_realization.render_realization()
This function is called by a forward model in ERT, creating a simulation realization from drawn parameter values, and a previously stored network grid.
- Returns
Nothing