Skip to content

Regenerate the Python and TypeScript models for remote and shared voltage control - #14

Draft
m-bossart wants to merge 4 commits into
mainfrom
mb/remote-control
Draft

m-bossart wants to merge 4 commits into
mainfrom
mb/remote-control

Conversation

@m-bossart

@m-bossart m-bossart commented Sep 28, 2026 •

Copy link
Copy Markdown

Remote and shared voltage control

Regenerates the Python and TypeScript models from the SiennaSchemas mb/remote-control branch.

What changes

  • The generated models carry the new remote regulation, transformer, LCC and voltage control group fields and types.
  • SystemDocument gains voltage_control_associations in both languages, optional and empty by default like trading_hub_associations.
  • The cross-language fixtures carry the renamed regulated-bus fields, generator voltage setpoints, split load-drop compensation and the LCC references.
  • DEGOV1 is recognized as a governor model distinct from DEGOV, not a generated alias.

Before merge

.schema-version still pins SiennaSchemas v0.1.0, so CI tests against schemas without these fields.
Bump the pin to the SiennaSchemas release that includes Sienna-Platform/SiennaSchemas#67.

Verification

Python: 57 tests pass, ruff clean. TypeScript: 33 tests pass. The cross-language check agrees (2026-09-24).

Stack

Merge in this order.
The Julia branches pin each other's mb/remote-control branches in [sources], and each pin moves back to main or psy6 as its dependency merges.

Depends on: Sienna-Platform/SiennaSchemas#67.

🤖 Generated with Claude Code

Regenerated from SiennaSchemas main. The SystemDocument container gains
voltage_control_associations, optional and defaulting to empty like
trading_hub_associations. The cross-language fixtures carry the renamed
regulated-bus fields, the generator voltage setpoints, the transformer
load-drop compensation and the LCC references, and DEGOV1 is recognized as a
governor model distinct from DEGOV rather than a generated alias.
The SystemDocument container gains voltage_control_associations, optional and
defaulting to empty like trading_hub_associations. The cross-language checker
now reads a nullable enum (a union of an enum and null) as validated, the shape
regulated_bus_side and the association terminal generate. The Python dynamics
models pick up the numeric governor defaults.
…ecker

With no nullable enum left in the schemas the checker's union handling goes
back to what main has.

This branch has not been deployed

No deployments
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