bloc.boulder_plugins.ch4_map_solver#
Config transform: derive a transient solver grid from a CH4-map residence spec.
Registered as a Boulder config_transform. When a STONE config declares a
CH4 reactor-map residence-time grid under export.ch4_map.residence_time_s but
no transient solver, this derives settings.solver (advance_grid over the
residence grid) in memory — so a live “Run Simulation” in the GUI produces the
same T(t) trajectory as the precomputed sweep scenarios, with no YAML edit.
The residence spec is authoritative (“export overwrites”): when present, it sets the solver grid even if a settings.solver was otherwise present.
This lives in Bloc (the CH4-map export key is Bloc/sandbox-specific); Boulder
core never interprets export:.
Attributes#
Functions#
|
Boulder |
Module Contents#
- bloc.boulder_plugins.ch4_map_solver.logger#
- bloc.boulder_plugins.ch4_map_solver.derive_ch4_map_solver(config)#
Boulder
config_transform: residence grid → transientsettings.solver.