bloc.stone_parser#
STONE YAML utilities for Bloc — thin shim around BlocRunner.
Previously backed by CanteraConverter (removed in Boulder 0.5.0); now
delegates to BlocRunner so the public API is preserved
while the implementation uses the same pipeline as everything else.
Functions#
|
Load and normalise a STONE config using Bloc's runner. |
|
Build a network and results from a STONE YAML file. |
Module Contents#
- bloc.stone_parser.load_config_boulder(yaml_path)#
Load and normalise a STONE config using Bloc’s runner.
Returns a Boulder-normalised config dict (including Bloc-specific deprecated-key validation).
- bloc.stone_parser.build_network_from_yaml(yaml_path)#
Build a network and results from a STONE YAML file.
Returns
(network, results)wherenetworkis the raw visualizationReactorNetproduced bybuild()(beforesolve()is called and upgrades it to theStagedReactorNetfacade).Callers that need the typed staged network facade should use
build_simulation_from_yaml()instead and accesssim.network(aStagedReactorNet). If a rawReactorNetis needed downstream, usesim.network.visualization_network.