laurel.pipelines.build_scenarios package
Submodules
laurel.pipelines.build_scenarios.nodes module
Kedro pipeline nodes for the build_scenarios pipeline (scenario configuration generation).
Generates the per-scenario configuration files (YAML partitions) that drive
HPC batch execution of the States-of-the-World (SoW) array on the
Stanford Sherlock cluster. Each generated partition encodes the full
parameter override set for one scenario run of the electrify_trips and
evaluate_impacts pipelines.
Pipeline overview
generate_scenario_configs — Discovers the appropriate
ScenarioBuildersubclass by name, instantiates it, and returns a dict of YAML partition callables—one per scenario—that Kedro writes toconf/scenarios/.
Key design decisions
Registry-based dispatch:
generate_scenario_configs()is imported fromlaurel.scenario_framework.nodesand uses_registry, which is populated automatically when builder modules are imported. Theimport laurel.scenario_buildersline below triggers registration of all bundled builders as a side effect; no manual registry update is required when a new builder is added to that package.Separation of config generation from execution: the
build_scenariospipeline only produces configuration files and a shell script; actual scenario execution is handled by scripts inscripts/that read those files.
References
Passow, F., & Rajagopal, R. (2026). Identifying indicators to inform proactive substation upgrades for charging electric heavy-duty trucks. Applied Energy.
laurel.pipelines.build_scenarios.pipeline module
Kedro pipeline definition for the build_scenarios pipeline.
Wires the nodes from laurel.pipelines.build_scenarios.nodes into a single Pipeline object.
For full documentation of each node’s inputs, outputs, and algorithm,
see laurel.pipelines.build_scenarios.nodes.
Module contents
This is a boilerplate pipeline ‘build_scenarios’ generated using Kedro 0.18.13