Reactors¶
A Reactor loads a scenario from reactor.yaml, applies defaults, filters relations by tags, and solves for unknown variables.
Reactor Data Layout¶
Each reactor lives in one of these forms:
reactors/<reactor_id>/reactor.yamlreactors/<reactor_id>.yaml
High-level structure:
metadata: id/name/year/country/source informationtags: labels used for relation filteringsolver_tags: solve mode, verbosity, optional solving ordervariables: scalar/profile variable values and optional solver hints
Loading and Solving¶
from fusdb import Reactor
reactor = Reactor.from_yaml("reactors/ARC_2015")
reactor.solve()
Detailed Reactor Class Reference¶
See Reactor Class for the complete field and method description, including YAML examples.