Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
67ae9e2
fix(dist): emit solvable IEEE European LV snapshots
frederikgeth Oct 9, 2026
0644ad0
feat(dist): preserve fixed OpenDSS line terminal states
frederikgeth Oct 9, 2026
e6e0e4c
feat(dist): calibrate OpenDSS overhead geometry calculations
frederikgeth Oct 9, 2026
a541a1e
feat(dist): resolve ordered overhead conductor definitions
frederikgeth Oct 9, 2026
bdc449d
Resolve native OpenDSS overhead geometry and qualify IEEE4 imports
frederikgeth Oct 9, 2026
aa906f4
Resolve OpenDSS transformer codes and expand IEEE4 qualification
frederikgeth Oct 9, 2026
bedefa1
fix: preserve IEEE feeder CVR load laws
frederikgeth Oct 9, 2026
0293a3b
feat: resolve copied OpenDSS line spacing definitions
frederikgeth Oct 9, 2026
ec9f1c1
feat: parse concentric-neutral cable geometry for IEEE feeders
frederikgeth Oct 9, 2026
a680b0a
feat: parse direct OpenDSS line spacing for IEEE9500
frederikgeth Oct 9, 2026
75b3cbc
refactor: reuse audited nominal load projection and pin CVR schemas
frederikgeth Oct 10, 2026
c457b48
ci: align generated data and consumer checks with this stack head
frederikgeth Oct 10, 2026
8d320ad
fix: include CVR voltage laws in the current schema catalog
frederikgeth Oct 16, 2026
8e1a8fb
docs: refresh generated BMOPF example metadata
frederikgeth Oct 17, 2026
7d4ab19
Restack DSS geometry and CVR with additive schema records
frederikgeth Oct 24, 2026
3f116fd
Merge branch 'codex/gridlabd-oct25-restack-09' into codex/gridlabd-oc…
frederikgeth Oct 24, 2026
45dde0b
Align shared consumer regressions and pin the refreshed Julia companion
frederikgeth Oct 24, 2026
1bcc998
Fix the single-law validation stage and retain later multi-law coverage
frederikgeth Oct 25, 2026
cd5d265
Merge commit '086a6d01be26459de153ea3b88921464680ce2c2' into codex/gr…
frederikgeth Oct 25, 2026
13cbb15
Merge branch 'codex/gridlabd-pr-09-static-imports' into codex/gridlab…
samtalki Oct 27, 2026
d26654d
Merge branch 'codex/gridlabd-pr-09-static-imports' into codex/gridlab…
samtalki Oct 27, 2026
12b554d
Merge branch 'codex/gridlabd-pr-09-static-imports' into codex/gridlab…
samtalki Oct 27, 2026
1674109
Merge branch 'codex/gridlabd-pr-09-static-imports' into codex/gridlab…
samtalki Oct 27, 2026
1f1c76b
Merge branch 'tmp-glm-09' into tmp-glm-10
samtalki Oct 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 124 additions & 0 deletions docs/schema/pio-ir/2/0.11.7/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6337,6 +6337,130 @@
"cutoff_pu"
],
"type": "object"
},
{
"description": "Exponential law inside a voltage band, with nominal-impedance\ncontinuation below `v_low_pu`, current interpolation up to `v_min_pu`,\nand impedance continuation above `v_max_pu`. The continuations apply\nequally to P and Q, independently of their middle-band exponents.\nSee [`Self::power_scale`] for the equations. Arrays follow active branches.",
"properties": {
"gamma_p": {
"items": {
"anyOf": [
{
"format": "double",
"type": "number"
},
{
"enum": [
"Infinity",
"-Infinity",
"NaN"
],
"type": "string"
}
]
},
"type": "array"
},
"gamma_q": {
"items": {
"anyOf": [
{
"format": "double",
"type": "number"
},
{
"enum": [
"Infinity",
"-Infinity",
"NaN"
],
"type": "string"
}
]
},
"type": "array"
},
"model": {
"const": "bounded_exponential",
"type": "string"
},
"v_low_pu": {
"anyOf": [
{
"format": "double",
"type": "number"
},
{
"enum": [
"Infinity",
"-Infinity",
"NaN"
],
"type": "string"
}
]
},
"v_max_pu": {
"anyOf": [
{
"format": "double",
"type": "number"
},
{
"enum": [
"Infinity",
"-Infinity",
"NaN"
],
"type": "string"
}
]
},
"v_min_pu": {
"anyOf": [
{
"format": "double",
"type": "number"
},
{
"enum": [
"Infinity",
"-Infinity",
"NaN"
],
"type": "string"
}
]
},
"v_nom": {
"items": {
"anyOf": [
{
"format": "double",
"type": "number"
},
{
"enum": [
"Infinity",
"-Infinity",
"NaN"
],
"type": "string"
}
]
},
"type": "array"
}
},
"required": [
"model",
"v_nom",
"gamma_p",
"gamma_q",
"v_low_pu",
"v_min_pu",
"v_max_pu"
],
"type": "object"
}
]
},
Expand Down
49 changes: 26 additions & 23 deletions docs/src/distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,28 +60,31 @@ returns using exact equivalent circuits. Reimport can introduce auxiliary
components, so canonical output is electrically equivalent rather than a text
fixed point. Unchanged source replay remains byte exact.

Direct `Open`/`Close` commands and explicit `SwtControl.State` are not yet
lowered and cause a parse error. Active `Action`/`Normal` control execution is
excluded and reported. Deferred geometry remains source-only and blocks
numerical use or canonical conversion. These restrictions are compatibility
gaps; they do not establish complete static OpenDSS support. OpenDSS load models
1, 5 and 8 carry a typed `BoundedZip` law, including low-voltage current
interpolation, upper-voltage impedance continuation and ZIP dropout. Model 2
remains constant impedance. The Rust `power_scale` method evaluates per-branch
active and reactive multipliers. IR retains this distinct tagged model; readers
without the configuration reject it. Canonical DSS writes the typed limits, including
native defaults, ahead of stale extras or writer defaults.

BMOPF and PMD currently project these bounded loads to their nominal laws with
a diagnostic. The multiconductor IVR OPF and LinDist3Flow preparations refuse
them by default; each has an explicit opt-in that projects to the nominal law
with a diagnostic (`BoundedLoadLawPolicy::ProjectToNominal`, and the
`approximate` or `permissive` LinDist3Flow policy), described in the
multiconductor IVR guide. Per-phase differences in bounded ZIP coefficients are retained
in the typed model but currently block DSS emission. The legacy C load views
cannot expose the voltage window and reject these loads; additive binding
views remain unfinished. Models 3, 4, 6 and 7 still need complete typed laws.
These are outstanding compatibility tasks, not supported approximations.
Direct `Open`/`Close` commands and explicit `SwtControl.State` on lines
preserve their fixed terminal states through equivalent circuits. Other device
classes remain unresolved. Active `Action`/`Normal` control execution is
excluded and reported. Unsupported geometry blocks numerical use or canonical
conversion. These restrictions do not establish complete static OpenDSS support.

OpenDSS load models 1, 5 and 8 carry a typed `BoundedZip` law, including
low-voltage current interpolation, upper-voltage impedance continuation and ZIP
dropout. Model 2 remains constant impedance. Models 3 and 4 carry a typed
`BoundedExponential` law: their middle-band P and Q exponents are respectively
`(0, 2)` and the native CVR exponents (default `(1, 2)`). Outside the band, both
powers follow the native fallback independently of those exponents. The Rust
`power_scale` method evaluates these per-branch multipliers. IR retains the
distinct tagged models; readers without a configuration reject it. Canonical DSS
writes the typed exponents and voltage limits ahead of stale extras or writer
defaults. Unequal per-branch parameters emit separate single-phase loads.

BMOPF and PMD project voltage-bounded loads to their nominal laws with a
diagnostic; PMD also diagnoses its lack of exponential load fields. The
multiconductor IVR OPF and LinDist3Flow preparations refuse these loads by
default; each has an explicit opt-in that projects to the nominal law with a
diagnostic (`BoundedLoadLawPolicy::ProjectToNominal`, and the `approximate` or
`permissive` LinDist3Flow policy), described in the multiconductor IVR guide. Legacy C
load views cannot expose the voltage window and reject these loads; additive
binding views remain unfinished. Models 6 and 7 still need complete typed laws.

```julia
emit(feeder, "dss", "copy.dss") # the source bytes, sidecars included
Expand Down Expand Up @@ -780,7 +783,7 @@ unique physical allocation of branch flows.
policy. `Reject` keeps the strict boundary. `Lower` applies audited static
neutral, switch, line-shunt and capacitor transformations. `Approximate` also
linearizes supported load models and maps IBRs to static generators while
freezing named controls. Bounded ZIP can be projected only when nominal
freezing named controls. Bounded ZIP and exponential laws can be projected only when nominal
voltage lies strictly inside its smooth law region, above dropout. The action
retains the original `source_voltage_model` and its bounds; strict preparation
keeps the complete piecewise law. The source network is not mutated.
Expand Down
Loading
Loading