OGS6_Ensemble
OGS6_Ensemble.RdConstructor for the OGS6_Ensemble base class
Active bindings
dp_parametersGetter for private parameter '.dp_parameters'
parameter_percsGetter for private parameter '.parameter_percs'
parameter_valuesGetter for private parameter '.parameter_values'
ens_pathGetter for private parameter '.ens_path'
ensembleGetter for private parameter '.ensemble'
Methods
Method new()
Creates new OGS6_Ensemble object
Usage
OGS6_Ensemble$new(
ogs6_obj,
parameters,
sequential_mode = FALSE,
percentages_mode = TRUE
)Arguments
ogs6_objOGS6: A simulation object.
parameterslist(sublist, length(sublist) == 2): The first element of a sublist references an OGS6 parameter, the second one is a list or vector of values. Note that the second elements of the sublists must have the same length.
sequential_modeflag: Defaults to `FALSE`
percentages_modeflag: Defaults to `TRUE`
Method run_simulation()
Runs the simulation. This calls r2ogs6::ogs6_run_simulation() internally. For ensembles, output will always be written to logfiles.
Method get_point_data()
Wrapper for `OGS6_pvd$get_point_data()` Returns combined dataframe with extra `name` and / or `perc` column depending on if `sequential_mode` and / or `percentages_mode` were used.
Usage
OGS6_Ensemble$get_point_data(
pvd_id = 1,
point_ids,
keys,
start_at_timestep,
end_at_timestep
)Arguments
pvd_idnumber: Optional: Which .pvd to consider in OGS6$pvds. Defaults to 1.
point_idsnumeric: Optional: Point IDs. Defaults to all.
keyscharacter: Optional: `Name` attributes of `DataArray` elements. Defaults to all.
start_at_timestepnumber: Optional: Timestep to start at. Defaults to first timestep.
end_at_timestepnumber: Optional: Timestep to end at. Defaults to last timestep.