AdvancedOptions#
- class AdvancedOptions(absolute_error=None, relative_error=None, coallescing_wells=None, well_separation=None, jet_model_version=None, plume_model_version=None, temperature_model_version=None, dissolution_factor=None, max_brine_sg=None, solid_density=None, entrainment_coeff=None, molecular_diffusion=None, eddy_coefficient=None, diffusion_beta=None)[source]#
Bases:
object
Advanced configuration options. Most of these can and should be left as None which will use the default C++ library values.
Summary
from_dict
(opts)Create a new object from a dictionary of options.
to_dict
([keep_empty])Convert the object's data to a dictionary of options.
ODE solver absolute error tolerance; CScenario default is 0.01
The number of wells for multi-well cavern construction; CScenario default is 1
Diffusion beta coefficient; default is 0.147
Dissolution factor; CScenario default is 1.0 - this should not be changed unless you are sure you know the effects
Eddy coefficient; CScenario default is 1.142e5
Dissolution entrainment coefficient; CScenario default is 0.09
Jet model version; CScenario default is 1
Maximum brine specific gravity; CSalt default is 1.2019
Molecular diffusion coefficient; CScenario default is 5.03e-5
Plume model version; CScenario default is 1
ODE solver absolute error tolerance; CScenario default is 0.0001
Rock density in solid form; CSalt default is 2.16 g/cc
Temperature model version; CScenario default is 0
The separation distance for multi-well cavern construction; CScenario default is 0.0
Details
- classmethod from_dict(opts)[source]#
Create a new object from a dictionary of options.
This method differs from the __init__ constructor by automatically converting non-underscore characters - e.g.,
-
or.
or `` `` to underscores and changing keys to lower-case prior to creating the object.See also:
to_dict()
- Parameters:
opts (dict) – The initialization values
- Returns:
the new stage
- Return type:
- to_dict(keep_empty=False)[source]#
Convert the object’s data to a dictionary of options.
This method differs from the
asdict()
method by automatically converting underscore characters to hyphens for a more readable dictionary. Specifically used when creating TOML, JSON and YAML files.See also:
from_dict()
- coallescing_wells: int = None#
The number of wells for multi-well cavern construction; CScenario default is 1