Skip to content

Per-component power_units emission and the OpenAPI package split - #50

Merged
jd-lara merged 3 commits into
psy6from
jd/power-units-rename
Sep 1, 2026
Merged

jd-lara merged 3 commits into
psy6from
jd/power-units-rename

Conversation

@jd-lara

@jd-lara jd-lara commented Sep 1, 2026

Copy link
Copy Markdown
Member

The parser emits self-interpretable component blobs per the 0.1.0 schemas: no document-level unit_system/base_power, per-component power_units stamps, variable_operation_cost, and vom_cost on every cost curve. Follows the PowerOpenAPIModels package split (Sienna-Platform/PowerOpenAPIModels#11): domain-neutral shapes and the document registry resolve from InfrastructureCoreOpenAPIModels.

Verification: full suite 2419/2419; emitted 14-bus documents pass the Python cross-language compatibility check in both directions.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FYWx3EqRR3kUCf1efCAxHn

Power-bearing components carry power_units in place of parameter_units, and
the OpenAPI read/write paths and their fixtures follow the renamed field.

Pins the schema-generated packages at PowerOpenAPIModels jd/schemas-0.1.0 and
PowerSystems at jd/power-units-rename, which carry the matching rename.
The CostCurve schema marks vom_cost required and declares a zero linear
input-output curve as its default, but the 0.1.0 regeneration no longer
carries object defaults into the generated models, so a writer that omits the
field emits a document that fails validation.
Domain-neutral value shapes and the document registry moved to
InfrastructureCoreOpenAPIModels; qualified references follow (IC alias), the
time-series package rename lands in the pins, and the pins track the split
branches until they merge. Full suite: 2419/2419; emitted documents pass the
cross-language compatibility check both directions.
@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@jd-lara
jd-lara merged commit 3b5715a into psy6 Sep 1, 2026
6 of 7 checks passed
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.

1 participant