-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
The current configuration of parameter-parameter dependencies (e.g., in the Radial General Rate Model) is not ideal. For example, axial dispersion is set as follows:
model.root.input.model.unit_001.col_dispersion = 1e-6
model.root.input.model.unit_001.col_dispersion_dep = 'POWER_LAW'
model.root.input.model.unit_001.col_dispersion_dep_base = 1
model.root.input.model.unit_001.col_dispersion_dep_exponent = 1
model.root.input.model.unit_001.col_dispersion_dep_abs = 1
Note that the current approach lacks modularity. Dependency parameters are not hierarchically grouped; they are only distinguished by name prefixes. This makes it difficult to swap or modify dependencies.
To enhance modularity, we can restructure the configuration hierarchically:
model.root.input.model.unit_001.col_dispersion = 1e-6
model.root.input.model.unit_001.col_dispersion_dep.dependency_type = 'POWER_LAW'
model.root.input.model.unit_001.col_dispersion_dep.base = 1
model.root.input.model.unit_001.col_dispersion_dep.exponent = 1
model.root.input.model.unit_001.col_dispersion_dep.abs = 1
For more information refer to the relevant section of our documentation.