Skip to content

Reserve-tree migration for 5-bus fixtures; required base_current on TModelHVDCLine - #124

Merged
jd-lara merged 4 commits into
psy6from
rh/service_refactor
Aug 15, 2026
Merged

Reserve-tree migration for 5-bus fixtures; required base_current on TModelHVDCLine#124
jd-lara merged 4 commits into
psy6from
rh/service_refactor

Conversation

@rodrigomha

@rodrigomha rodrigomha commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Fixture updates for the psy6 reserve-tree refactor and cost/struct API changes:

  • data_5bus_pu.jl: ConstantReserve/VariableReserve -> OnlineReserve, ORDC carries its demand curve on variable, VariableReserveNonSpinning -> OfflineReserve.
  • data_10bus_ac_dc_pu.jl: base_current = 200.0 A on the three DC lines (S_base/V_base = 100 MVA / 500 kV); the field is now required.
  • generation_cost_function_data.jl: keyword-form MarketBidCost for the static fixture; the TS fixture now builds a real MarketBidTimeSeriesCost (every field key-references an attached series), replacing the dead static-cost-plus-loose-series shape and unblocking removal of PSB's psy6_compat.jl.

Pairs with the PSY changes on jd/schema_matching and the PSB rh/service_refactor branch. Verified: affected systems force-build from raw, and the full POM suite is green against these fixtures.

🤖 Generated with Claude Code

ConstantReserve/VariableReserve -> OnlineReserve (keyword form where the
positional order changed), ReserveDemandCurve -> OnlineReserve carrying its
demand curve on `variable`, VariableReserveNonSpinning -> OfflineReserve.
TModelHVDCLine now requires base_current (A); its per-unit impedances are
normalized against a current base. Set to S_base/V_base = 100 MVA / 500 kV
= 200 A for the 10-bus AC/DC system.
Static fixture: keyword-form MarketBidCost (offer-curve defaults replace the
removed Nothing positional signatures). TS fixture: restore the original
intent with MarketBidTimeSeriesCost - every field references an attached
series by key - replacing the dead static-cost-plus-loose-series shape left
behind when PSY removed the TimeSeriesData set_variable_cost! overload.
Unblocks deleting PSB's psy6_compat.jl shims.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants