Expand description
Document-walking helpers shared with powerio-pkg’s operating point
extractor, which must interpret a GOC3 document exactly as this parser
does: same section ordering, same device row assignment, same cost
mapping. Hidden: not part of the public format API.
Structs§
- Device
Row - One simple dispatchable device with the payload row index the parser assigns it.
- Section
Item
Enums§
- Device
Table - Which payload table a simple dispatchable device row lands in.
Functions§
- cost_at
- Piecewise marginal cost blocks for period
index, integrated into a cumulative MATPOWER piecewise linear curve. Shared with the operating point extractor so a materialized period matches what this parser builds for the static payload. - device_
rows - Enumerate simple dispatchable devices with their generator/load row
indices. Row assignment lives here and nowhere else: a consumer that
addresses payload rows by index (the operating point extractor in
powerio-pkg) must enumerate devices through this function so its indices match the parsed network, uid or no uid. - item_
uid - number
- section