Spaces:
Running
Running
Establish the validated 2:1 baseline and topology workflow
Browse files- README.md +7 -0
- docs/topology/2to1_corrections/architecture.md +3 -1
- docs/topology/architecture_discussion.md +15 -0
- docs/topology/baselines/validated-2to1-v1.0/README.md +29 -0
- docs/topology/baselines/validated-2to1-v1.0/manifest.json +596 -0
- docs/topology/baselines/validated-2to1-v1.0/post-validation-evidence.zip +3 -0
- docs/topology/baselines/validated-2to1-v1.0/reproducibility-evidence.zip +3 -0
- docs/topology/baselines/validated-2to1-v1.0/technical-reports.zip +3 -0
- docs/topology/baselines/verify_baseline.py +128 -0
- docs/topology/minjie_confirmation_list.md +4 -0
- docs/topology/next_topology.md +8 -0
- docs/topology/regression_test_registry.md +56 -0
- docs/topology/technical_validation_report_template.md +51 -0
- docs/topology/topology_addition_workflow.md +29 -25
- docs/topology/topology_validation_checklist.md +28 -1
README.md
CHANGED
|
@@ -36,6 +36,13 @@ Copyright notices are retained. Complete corresponding source, the dependency
|
|
| 36 |
lockfile and reproduction instructions are available through the application's
|
| 37 |
**Download complete source** footer link (`static/openpels-source.zip`).
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
## Run locally on macOS
|
| 40 |
|
| 41 |
From the checkout, install the runtime and restore the public release assets:
|
|
|
|
| 36 |
lockfile and reproduction instructions are available through the application's
|
| 37 |
**Download complete source** footer link (`static/openpels-source.zip`).
|
| 38 |
|
| 39 |
+
## Topology development and validation
|
| 40 |
+
|
| 41 |
+
Start with the [validated 2:1 baseline](docs/topology/baselines/validated-2to1-v1.0/README.md),
|
| 42 |
+
then follow the [standard development workflow](docs/topology/topology_addition_workflow.md).
|
| 43 |
+
The [next-topology guide](docs/topology/next_topology.md) links the reusable checklist,
|
| 44 |
+
technical report template and regression registry.
|
| 45 |
+
|
| 46 |
## Run locally on macOS
|
| 47 |
|
| 48 |
From the checkout, install the runtime and restore the public release assets:
|
docs/topology/2to1_corrections/architecture.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
-
#
|
|
|
|
|
|
|
| 2 |
|
| 3 |
## Physical loss and FSL bookkeeping
|
| 4 |
|
|
|
|
| 1 |
+
# 2:1 post-validation architecture record for Minjie
|
| 2 |
+
|
| 3 |
+
Track current cross-topology issues in the [consolidated architecture discussion](../architecture_discussion.md).
|
| 4 |
|
| 5 |
## Physical loss and FSL bookkeeping
|
| 6 |
|
docs/topology/architecture_discussion.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Architecture discussion for Minjie
|
| 2 |
+
|
| 3 |
+
The [validated 2:1 baseline](baselines/validated-2to1-v1.0/README.md) records current choices. The [Minjie review log](minjie_confirmation_list.md) retains prior decisions and local changes.
|
| 4 |
+
|
| 5 |
+
| Issue | Established behavior and evidence | Open decision and evidence needed |
|
| 6 |
+
|---|---|---|
|
| 7 |
+
| Delivered versus nominal efficiency | SI2, SP2, RSC2 and BUCK2Φ use delivered power at the stated operating point. Original paper cells retain nominal-power comparison. | Consider a versioned interface with distinctly named delivered-stage, auxiliary-inclusive and nominal comparison metrics. Establish supply boundaries, positive-output behavior and backward compatibility first. |
|
| 8 |
+
| Physical RMS and FSL bookkeeping | SP2’s FSL baselines plus increment and its physical RMS channel/ESR terms reconstruct one series total. RSC2 already integrates tank dissipation. SI2 uses channel, winding and output ESR terms. | Consider a schema recording component, mechanism and boundary. Require topology-specific proof of nonoverlap and regression evidence for export and rating consumers. |
|
| 9 |
+
| Rdrop versus Rpower | SI2 gets droop from mean volt-seconds and power from RMS currents. The two resistances differ even at 50% duty due to ripple. | Preserve named topology-specific quantities in any shared law. Check that voltage/headroom callers and energy/efficiency callers receive the appropriate resistance. |
|
| 10 |
+
| Validity domains | Analysis assumptions, Simulator admission and tested combinations are distinct. Finite Cout shifts SP2 resistance and changes both RSC2 loss and commutation current. | Assess explicit domain metadata and point-specific diagnostics. Any finite-Cout model or wider timing/load qualification requires independent derivation and tests. |
|
| 11 |
+
| Coupled resonant sizing | The RSC2 optimizer constrains all areas equal. A detuned 80/20 split at fixed total width reduced modeled conduction resistance and changed tank moments. | A coupled solver would solve periodic currents at each allocation and check objective and constraints for droop, damping, stress, charge sharing and commutation. The observed case motivates studying a wider feasible set. |
|
| 12 |
+
| Device-specific Coss and commutation | Gate demand is tracked separately. Idealized linear Coss experiments support only their declared device and timing models. | Obtain calibrated device charge or dissipated energy, actual timing and supply boundaries before characterizing nonlinear Coss, overlap, recovery, dead time, startup or hardware efficiency. |
|
| 13 |
+
| Generalization and evidence | Existing operating conditions, UI and test tooling support topology-specific models. Matched and finite-port records identify model, method and case separately. | Expand shared case schemas, measurements or residual infrastructure when compatible use is demonstrated. Keep switching graphs, equations and admissibility in topology fixtures. Preserve exact source/bench versions and curate evidence independently of working traces. |
|
| 14 |
+
|
| 15 |
+
Record review scope, affected consumers and acceptance tests before changing shared conventions. The [2:1 correction record](2to1_corrections/architecture.md) supplies the original detailed rationale.
|
docs/topology/baselines/validated-2to1-v1.0/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# First validated 2:1 baseline
|
| 2 |
+
|
| 3 |
+
The local annotated tag **validated-2to1-v1.0** points to **659f8088111bf639bdfe2e4236cc48a66af50f28**. The documentation milestone adds this index and the permanent artifacts. The [manifest](manifest.json) pins both the corrected implementation and the separate pre-correction snapshot. The original 4:1 tag **local-baseline-v1.0** remains the functional reference.
|
| 4 |
+
|
| 5 |
+
**Classification.** SI2, SP2 and RSC2 are analytically and numerically validated under their stated assumptions. The benchmark includes idealized and generic-device simulation, with separate finite-port and matched-model comparisons. Hardware efficiency, device-specific switching behavior and extrapolation across all joint parameter combinations remain unqualified.
|
| 6 |
+
|
| 7 |
+
| Topology | Source of circuit and timing definition | Validated analytical scope | Permanent cases |
|
| 8 |
+
|---|---|---|---:|
|
| 9 |
+
| SI2 | [Reviewed inverse-coupled buck](../../2to1_switched_inductor/README.md#circuit-provenance-and-verification) | Ripple-aware, positive-current CCM at duty 0.25–0.75 with separate power and droop resistances. Includes direct duty and loaded output-voltage commands. | 33 |
|
| 10 |
+
| SP2 | [Approved eight-switch graph and state table](../../2to1_switching_capacitors/analytical_derivation.md#approved-modeling-circuit-and-scope) | Matched fixed 2:1, stiff-port periodic finite RC with two equivalent loss ledgers. The approved local graph omits the parallel sites in the original drawing. | 20 |
|
| 11 |
+
| RSC2 | [Reviewed synchronized timing and uncoupled tank graph](../../2to1_resonant/README.md#topology-and-switching-state-verification) | Matched fixed 2:1, constant-port periodic RLC, with equal-area constrained sizing. Finite-port edge-current changes are recorded separately. | 27 |
|
| 12 |
+
|
| 13 |
+
Counts include mathematical or out-of-domain witnesses tagged in the evidence. The manifest gives the sampled bounds and links each topology’s preset for input and coupled guards. It also identifies analytical source blobs, switches, signs, portable starter projects, executed bench paths and exact zero-state witness IDs.
|
| 14 |
+
|
| 15 |
+
| Frozen artifact | Contents |
|
| 16 |
+
|---|---|
|
| 17 |
+
| [Original evidence ZIP](reproducibility-evidence.zip) | Original 80-point data, quality results, analytical snapshot at 9a63775, 191 executed decks with matching logs, selected waveforms and source. Exact copy of the pre-correction archive. |
|
| 18 |
+
| [Correction evidence ZIP](post-validation-evidence.zip) | Standardized matched and finite-port data, six zero-state cases at two resolutions, four additional matched SI2 replays, test logs and source. Exact copy of the post-correction archive. |
|
| 19 |
+
| [Technical reports ZIP](technical-reports.zip) | Three cross-validation reports, three updated topology reports and the consolidated correction report. Editable sources are in the evidence ZIPs and linked topology records. |
|
| 20 |
+
|
| 21 |
+
The complete ngspice trace population and working browser jobs are not part of the baseline. The published deck, log and measurement sets and selected traces are sufficient to replay the documented fixtures. The private reference PDF used for the cross-validation is outside the repository. Its fingerprint and cited equations are in the [review record](../../2to1_cross_validation/README.md#scope-and-normalization). One concurrent RSC2 handoff timed out before a passing serial rerun, as recorded in the archived Chrome logs.
|
| 22 |
+
|
| 23 |
+
From the repository root run the [baseline verifier](../verify_baseline.py). It checks both Git tags, analytical source versions, inventory, archive hashes and integrity, the case sets and the packaged test-count record.
|
| 24 |
+
|
| 25 |
+
```sh
|
| 26 |
+
python3 docs/topology/baselines/verify_baseline.py
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
The evidence ZIPs are Git LFS assets. Use repository copies with populated LFS objects. The [regression registry](../../regression_test_registry.md) explains replay and applicability. Use the [standard workflow](../../topology_addition_workflow.md) for new qualification.
|
docs/topology/baselines/validated-2to1-v1.0/manifest.json
ADDED
|
@@ -0,0 +1,596 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"id": "validated-2to1-v1.0",
|
| 4 |
+
"implementation": {
|
| 5 |
+
"tag": "validated-2to1-v1.0",
|
| 6 |
+
"git_commit": "659f8088111bf639bdfe2e4236cc48a66af50f28",
|
| 7 |
+
"analytical_source_archive": "static/openpels-source.zip",
|
| 8 |
+
"analytical_source_sha256": "6bed1f6145ee8cd1bab10dcfe39476ae1be5dbdaf35037d8aef334bfb910c1f7",
|
| 9 |
+
"historical_model_snapshot_commit": "9a63775fb7cbd76311e161426305ac75b1cae467",
|
| 10 |
+
"shared_analysis_blobs": {
|
| 11 |
+
"static/compare/engine.js": "9489f7a99715b7f20d50d45d6cda28fa0c6b7ee4",
|
| 12 |
+
"static/compare/recommend.js": "2eb60ae79047d052e754f119da438935eb546292",
|
| 13 |
+
"static/compare/technology.js": "34cb72b9db9fbc8c2701326f5ff410eca55ad63e",
|
| 14 |
+
"static/compare/operating-point.js": "99a5675d9b7c04d0f2f19865d07e2ea1002aa094",
|
| 15 |
+
"static/compare/operating-conditions.json": "5fe3a260cb59a94bcb98cbc7bb4a489951dcfcab"
|
| 16 |
+
}
|
| 17 |
+
},
|
| 18 |
+
"functional_reference": {
|
| 19 |
+
"tag": "local-baseline-v1.0",
|
| 20 |
+
"git_commit": "4cbae7715292e963c65e12e90d13699234ab26fe",
|
| 21 |
+
"analysis": "xfly2p",
|
| 22 |
+
"gallery_and_simulator": "xfly6s",
|
| 23 |
+
"simulator_regressions": [
|
| 24 |
+
"xfly6s",
|
| 25 |
+
"xfly8s",
|
| 26 |
+
"c3l"
|
| 27 |
+
]
|
| 28 |
+
},
|
| 29 |
+
"scope": "Validation applies to sampled operating points and stated model assumptions. Input ranges and admission rules do not establish a qualified Cartesian product, hardware efficiency, or new feature-parity status.",
|
| 30 |
+
"topologies": {
|
| 31 |
+
"si2": {
|
| 32 |
+
"name": "Two-phase inverse-coupled switched-inductor buck",
|
| 33 |
+
"circuit_reference": "docs/topology/2to1_switched_inductor/README.md#circuit-provenance-and-verification",
|
| 34 |
+
"states": {
|
| 35 |
+
"clock": "Complementary high/low per leg. B displaced by T/2.",
|
| 36 |
+
"regions": [
|
| 37 |
+
{
|
| 38 |
+
"duty": "D<0.5",
|
| 39 |
+
"sequence": [
|
| 40 |
+
"10",
|
| 41 |
+
"00",
|
| 42 |
+
"01",
|
| 43 |
+
"00"
|
| 44 |
+
],
|
| 45 |
+
"duration_over_period": [
|
| 46 |
+
"D",
|
| 47 |
+
"0.5-D",
|
| 48 |
+
"D",
|
| 49 |
+
"0.5-D"
|
| 50 |
+
]
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"duty": "D=0.5",
|
| 54 |
+
"sequence": [
|
| 55 |
+
"10",
|
| 56 |
+
"01"
|
| 57 |
+
],
|
| 58 |
+
"duration_over_period": [
|
| 59 |
+
"0.5",
|
| 60 |
+
"0.5"
|
| 61 |
+
]
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"duty": "D>0.5",
|
| 65 |
+
"sequence": [
|
| 66 |
+
"11",
|
| 67 |
+
"10",
|
| 68 |
+
"11",
|
| 69 |
+
"01"
|
| 70 |
+
],
|
| 71 |
+
"duration_over_period": [
|
| 72 |
+
"D-0.5",
|
| 73 |
+
"1-D",
|
| 74 |
+
"D-0.5",
|
| 75 |
+
"1-D"
|
| 76 |
+
]
|
| 77 |
+
}
|
| 78 |
+
],
|
| 79 |
+
"symbols": "Each bit commands the corresponding leg high. State 10 enables M1 and M6, and state 01 enables M2 and M5. Positive winding current is directed toward Vout. Reversed dots give signed mutual term -kL."
|
| 80 |
+
},
|
| 81 |
+
"analysis": {
|
| 82 |
+
"id": "si2",
|
| 83 |
+
"family": "Piecewise-linear ripple-aware positive-current CCM with first-order droop",
|
| 84 |
+
"model_path": "static/compare/switched-inductor.js",
|
| 85 |
+
"assumptions": [
|
| 86 |
+
"Matched windings and half-cycle phase displacement",
|
| 87 |
+
"Ideal switching levels and stiff output for current slopes",
|
| 88 |
+
"RMS channel and winding loss plus output capacitor ESR. Voltage droop uses conditional means."
|
| 89 |
+
],
|
| 90 |
+
"operating_modes": [
|
| 91 |
+
"duty_cycle",
|
| 92 |
+
"output_voltage"
|
| 93 |
+
],
|
| 94 |
+
"duty_range": [
|
| 95 |
+
0.25,
|
| 96 |
+
0.75
|
| 97 |
+
],
|
| 98 |
+
"guard": "Positive winding-current valley, positive output headroom, and topology-specific design limits.",
|
| 99 |
+
"git_blob": "470eaa1b5865c4108498e6dd8d2bd5c896f2fa31"
|
| 100 |
+
},
|
| 101 |
+
"audit_sampled_inputs": {
|
| 102 |
+
"vin_V": [
|
| 103 |
+
1.8,
|
| 104 |
+
4
|
| 105 |
+
],
|
| 106 |
+
"load_A": [
|
| 107 |
+
0.3,
|
| 108 |
+
3
|
| 109 |
+
],
|
| 110 |
+
"fs_MHz": [
|
| 111 |
+
0.8,
|
| 112 |
+
4
|
| 113 |
+
],
|
| 114 |
+
"duty": [
|
| 115 |
+
0.25,
|
| 116 |
+
0.75
|
| 117 |
+
],
|
| 118 |
+
"L_per_winding_uH": [
|
| 119 |
+
0.3,
|
| 120 |
+
2.5
|
| 121 |
+
],
|
| 122 |
+
"k": [
|
| 123 |
+
0,
|
| 124 |
+
0.85
|
| 125 |
+
],
|
| 126 |
+
"Ron_reference_mohm": [
|
| 127 |
+
4,
|
| 128 |
+
60
|
| 129 |
+
],
|
| 130 |
+
"Rw_mohm": [
|
| 131 |
+
1,
|
| 132 |
+
40
|
| 133 |
+
],
|
| 134 |
+
"Cout_uF": [
|
| 135 |
+
10,
|
| 136 |
+
100
|
| 137 |
+
],
|
| 138 |
+
"Cout_ESR_mohm": [
|
| 139 |
+
0.5,
|
| 140 |
+
40
|
| 141 |
+
]
|
| 142 |
+
},
|
| 143 |
+
"out_of_preset_witnesses": [
|
| 144 |
+
"near_ccm_edge (0.238 A)",
|
| 145 |
+
"ccm_reject (forced synchronous)",
|
| 146 |
+
"flat_limit (20 µH)"
|
| 147 |
+
],
|
| 148 |
+
"installed_decks": [
|
| 149 |
+
"si2/switched-inductor.cir"
|
| 150 |
+
],
|
| 151 |
+
"installed_generator": "si2/preset.py",
|
| 152 |
+
"corrected_report": "corrected/switched-inductor-buck.pdf",
|
| 153 |
+
"historical_report": "cross-validation/switched-inductor-buck.pdf",
|
| 154 |
+
"limitations": [
|
| 155 |
+
"No DCM or reverse-current operation qualification.",
|
| 156 |
+
"First-order operating law. Rdrop and Rpower differ."
|
| 157 |
+
],
|
| 158 |
+
"ids": {
|
| 159 |
+
"gallery": "si2",
|
| 160 |
+
"analysis": "si2",
|
| 161 |
+
"starter": "si2",
|
| 162 |
+
"simulator": "si2"
|
| 163 |
+
},
|
| 164 |
+
"starter": [
|
| 165 |
+
"static/starters/si2.icproj.json",
|
| 166 |
+
"static/starters/si2.sp"
|
| 167 |
+
],
|
| 168 |
+
"preset_contract": "si2/preset_contract.json",
|
| 169 |
+
"validation": {
|
| 170 |
+
"classification": "Analytically and numerically validated under stated assumptions",
|
| 171 |
+
"hardware_validated": false,
|
| 172 |
+
"sweep_points": 33,
|
| 173 |
+
"zero_state_cases": [
|
| 174 |
+
"nominal",
|
| 175 |
+
"unequal_switches"
|
| 176 |
+
],
|
| 177 |
+
"historical_execution_prefix": "runs/si2/",
|
| 178 |
+
"zero_state_execution_prefix": "cold/si2/"
|
| 179 |
+
},
|
| 180 |
+
"regression_tests": [
|
| 181 |
+
"docs/topology/2to1_switched_inductor/verify_model.py",
|
| 182 |
+
"docs/topology/2to1_switched_inductor/verify_ngspice.py",
|
| 183 |
+
"docs/topology/2to1_switched_inductor/verify_operating_conditions.py",
|
| 184 |
+
"docs/topology/2to1_switched_inductor/verify_voltage.py",
|
| 185 |
+
"docs/topology/2to1_switched_inductor/verify_browser.mjs",
|
| 186 |
+
"docs/topology/2to1_switched_inductor/verify_voltage_browser.mjs",
|
| 187 |
+
"docs/topology/2to1_switched_inductor/verify_sweeps.mjs"
|
| 188 |
+
],
|
| 189 |
+
"nominal_step_down_ratio": 2
|
| 190 |
+
},
|
| 191 |
+
"sp2": {
|
| 192 |
+
"name": "Series-parallel switched capacitor",
|
| 193 |
+
"circuit_reference": "docs/topology/2to1_switching_capacitors/analytical_derivation.md#approved-modeling-circuit-and-scope",
|
| 194 |
+
"states": {
|
| 195 |
+
"clock": "50% complementary half-period commands, 180-degree interleaving.",
|
| 196 |
+
"sequence": [
|
| 197 |
+
{
|
| 198 |
+
"state": "A high",
|
| 199 |
+
"active": [
|
| 200 |
+
"Q1",
|
| 201 |
+
"Q3",
|
| 202 |
+
"Q6",
|
| 203 |
+
"Q8"
|
| 204 |
+
],
|
| 205 |
+
"path": "Left charge, right discharge"
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"state": "B high",
|
| 209 |
+
"active": [
|
| 210 |
+
"Q2",
|
| 211 |
+
"Q4",
|
| 212 |
+
"Q5",
|
| 213 |
+
"Q7"
|
| 214 |
+
],
|
| 215 |
+
"path": "Left discharge, right charge"
|
| 216 |
+
}
|
| 217 |
+
],
|
| 218 |
+
"symbols": "Qualified eight-switch graph uses one device per Q1–Q8. Q1′ and Q5′ belong to the original drawing and are omitted from the approved local graph. Capacitor current is positive into plate 1."
|
| 219 |
+
},
|
| 220 |
+
"analysis": {
|
| 221 |
+
"id": "sp2",
|
| 222 |
+
"family": "Exact periodic finite-RC conduction",
|
| 223 |
+
"model_path": "static/compare/engine.js",
|
| 224 |
+
"assumptions": [
|
| 225 |
+
"Two matched capacitors and linear on-state resistance with equal analyzed switch sizes",
|
| 226 |
+
"Stiff input and output, 50% ideal timing, no dead time or Coss in the paired conduction fixtures",
|
| 227 |
+
"Physical MOSFET/ESR RMS partition and FSL plus finite-RC increment reconstruct the same loss"
|
| 228 |
+
],
|
| 229 |
+
"operating_modes": [
|
| 230 |
+
"fixed_ratio"
|
| 231 |
+
],
|
| 232 |
+
"duty_range": [
|
| 233 |
+
0.5,
|
| 234 |
+
0.5
|
| 235 |
+
],
|
| 236 |
+
"guard": "Fixed ideal 2:1. Positive delivered voltage for efficiency and applicable headroom limits.",
|
| 237 |
+
"git_blob": "9489f7a99715b7f20d50d45d6cda28fa0c6b7ee4"
|
| 238 |
+
},
|
| 239 |
+
"audit_sampled_inputs": {
|
| 240 |
+
"vin_V": [
|
| 241 |
+
1.8,
|
| 242 |
+
4
|
| 243 |
+
],
|
| 244 |
+
"load_A": [
|
| 245 |
+
0.05,
|
| 246 |
+
4
|
| 247 |
+
],
|
| 248 |
+
"fs_MHz": [
|
| 249 |
+
0.2,
|
| 250 |
+
20
|
| 251 |
+
],
|
| 252 |
+
"Cf_per_leg_uF": [
|
| 253 |
+
0.1,
|
| 254 |
+
5
|
| 255 |
+
],
|
| 256 |
+
"Cout_uF": [
|
| 257 |
+
1,
|
| 258 |
+
50
|
| 259 |
+
],
|
| 260 |
+
"Ron_mohm": [
|
| 261 |
+
10,
|
| 262 |
+
200
|
| 263 |
+
],
|
| 264 |
+
"Cf_ESR_mohm": [
|
| 265 |
+
0.1,
|
| 266 |
+
150
|
| 267 |
+
]
|
| 268 |
+
},
|
| 269 |
+
"out_of_preset_witnesses": [
|
| 270 |
+
"reference_midpoint (8 mΩ)",
|
| 271 |
+
"reference_asymmetric (unequal duty)",
|
| 272 |
+
"unequal_path (unequal device resistance)"
|
| 273 |
+
],
|
| 274 |
+
"installed_decks": [
|
| 275 |
+
"sp2/sp2_ideal.cir",
|
| 276 |
+
"sp2/sp2_physical.cir"
|
| 277 |
+
],
|
| 278 |
+
"installed_generator": "sp2/sp2_preset.py",
|
| 279 |
+
"corrected_report": "corrected/series-parallel-switched-capacitor.pdf",
|
| 280 |
+
"historical_report": "cross-validation/series-parallel-switched-capacitor.pdf",
|
| 281 |
+
"limitations": [
|
| 282 |
+
"Finite Cout changed the loss resistance by up to 15.27% relative to the finite-port witness on the audited relative-error sweep.",
|
| 283 |
+
"The installed generic Level-1 MOSFET bench includes dead time and linear terminal capacitance and has a different loss boundary from the independent paired bench.",
|
| 284 |
+
"At the zero-path SSL limit the total is defined and its physical component split requires a limiting resistance ratio."
|
| 285 |
+
],
|
| 286 |
+
"ids": {
|
| 287 |
+
"gallery": "sp2",
|
| 288 |
+
"analysis": "sp2",
|
| 289 |
+
"starter": "sp2",
|
| 290 |
+
"simulator": "sp2"
|
| 291 |
+
},
|
| 292 |
+
"starter": [
|
| 293 |
+
"static/starters/sp2.icproj.json",
|
| 294 |
+
"static/starters/sp2.sp"
|
| 295 |
+
],
|
| 296 |
+
"preset_contract": "sp2/preset_contract.json",
|
| 297 |
+
"validation": {
|
| 298 |
+
"classification": "Analytically and numerically validated under stated assumptions",
|
| 299 |
+
"hardware_validated": false,
|
| 300 |
+
"sweep_points": 20,
|
| 301 |
+
"zero_state_cases": [
|
| 302 |
+
"nominal",
|
| 303 |
+
"fs_1"
|
| 304 |
+
],
|
| 305 |
+
"historical_execution_prefix": "runs/sp2/",
|
| 306 |
+
"zero_state_execution_prefix": "cold/sp2/"
|
| 307 |
+
},
|
| 308 |
+
"regression_tests": [
|
| 309 |
+
"docs/topology/2to1_switching_capacitors/verify_phase_b.py",
|
| 310 |
+
"docs/topology/2to1_switching_capacitors/integration/verify_live.mjs",
|
| 311 |
+
"docs/topology/2to1_switching_capacitors/integration/verify_editor.mjs",
|
| 312 |
+
"docs/topology/2to1_switching_capacitors/integration/verify_analysis_parity.mjs",
|
| 313 |
+
"docs/topology/2to1_switching_capacitors/integration/verify_simulator_parity.mjs"
|
| 314 |
+
],
|
| 315 |
+
"nominal_step_down_ratio": 2
|
| 316 |
+
},
|
| 317 |
+
"rsc2": {
|
| 318 |
+
"name": "Two-phase resonant switched capacitor",
|
| 319 |
+
"circuit_reference": "docs/topology/2to1_resonant/README.md#topology-and-switching-state-verification",
|
| 320 |
+
"states": {
|
| 321 |
+
"clock": "50% complementary half-period commands with matched uncoupled tanks.",
|
| 322 |
+
"sequence": [
|
| 323 |
+
{
|
| 324 |
+
"state": "A high",
|
| 325 |
+
"active": [
|
| 326 |
+
"M9",
|
| 327 |
+
"M12",
|
| 328 |
+
"M3",
|
| 329 |
+
"M14"
|
| 330 |
+
],
|
| 331 |
+
"path": "Left tank VIN–VOUT, right tank VOUT–ground"
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"state": "B high",
|
| 335 |
+
"active": [
|
| 336 |
+
"M11",
|
| 337 |
+
"M13",
|
| 338 |
+
"M1",
|
| 339 |
+
"M4"
|
| 340 |
+
],
|
| 341 |
+
"path": "Left tank VOUT–ground, right tank VIN–VOUT"
|
| 342 |
+
}
|
| 343 |
+
],
|
| 344 |
+
"symbols": "Signed tank current is referenced into the positive flying capacitor plate. Capacitor voltage and inductor current are continuous at switching boundaries."
|
| 345 |
+
},
|
| 346 |
+
"analysis": {
|
| 347 |
+
"id": "rsc2",
|
| 348 |
+
"family": "Exact matched constant-port periodic RLC",
|
| 349 |
+
"model_path": "static/compare/resonant.js",
|
| 350 |
+
"assumptions": [
|
| 351 |
+
"Two matched linear tanks with equal one-half-period commands and constant input/output over each period",
|
| 352 |
+
"Full physical RMS partition of tank dissipation",
|
| 353 |
+
"Optimizer searches total width with equal area per device."
|
| 354 |
+
],
|
| 355 |
+
"operating_modes": [
|
| 356 |
+
"fixed_ratio"
|
| 357 |
+
],
|
| 358 |
+
"duty_range": [
|
| 359 |
+
0.5,
|
| 360 |
+
0.5
|
| 361 |
+
],
|
| 362 |
+
"guard": "Fixed ideal 2:1. Installed preset requires 0.65 <= fs/f0 <= 1.35, damping ratio < 0.8, and positive headroom.",
|
| 363 |
+
"git_blob": "e4db3e77b5fa0848cd23e56e1530adb6f1ec1bae"
|
| 364 |
+
},
|
| 365 |
+
"audit_sampled_inputs": {
|
| 366 |
+
"vin_V": [
|
| 367 |
+
1.8,
|
| 368 |
+
4
|
| 369 |
+
],
|
| 370 |
+
"load_A": [
|
| 371 |
+
0.15,
|
| 372 |
+
2
|
| 373 |
+
],
|
| 374 |
+
"fs_MHz": [
|
| 375 |
+
1.42,
|
| 376 |
+
2.85
|
| 377 |
+
],
|
| 378 |
+
"Cf_per_leg_uF": [
|
| 379 |
+
0.5,
|
| 380 |
+
2
|
| 381 |
+
],
|
| 382 |
+
"Cout_uF": [
|
| 383 |
+
10,
|
| 384 |
+
100
|
| 385 |
+
],
|
| 386 |
+
"L_per_tank_nH": [
|
| 387 |
+
3,
|
| 388 |
+
10
|
| 389 |
+
],
|
| 390 |
+
"Ron_mohm": [
|
| 391 |
+
4,
|
| 392 |
+
40
|
| 393 |
+
],
|
| 394 |
+
"Cf_ESR_mohm": [
|
| 395 |
+
0.5,
|
| 396 |
+
30
|
| 397 |
+
],
|
| 398 |
+
"Rw_mohm": [
|
| 399 |
+
0.5,
|
| 400 |
+
30
|
| 401 |
+
]
|
| 402 |
+
},
|
| 403 |
+
"out_of_preset_witnesses": [
|
| 404 |
+
"critical_math",
|
| 405 |
+
"overdamped_math",
|
| 406 |
+
"weak_tuned",
|
| 407 |
+
"width_split_asymmetric",
|
| 408 |
+
"width_split_in_range_asym"
|
| 409 |
+
],
|
| 410 |
+
"installed_decks": [
|
| 411 |
+
"rsc2/resonant.cir"
|
| 412 |
+
],
|
| 413 |
+
"installed_generator": "rsc2/preset.py",
|
| 414 |
+
"corrected_report": "corrected/resonant-switched-capacitor.pdf",
|
| 415 |
+
"historical_report": "cross-validation/resonant-switched-capacitor.pdf",
|
| 416 |
+
"limitations": [
|
| 417 |
+
"At 10 µF Cout, the largest in-preset relative resistance difference was 6.15%. The same case shifted the commutation edge by 46.739 mA versus the stiff prediction.",
|
| 418 |
+
"The 80/20 split is a detuned equal-total-area witness. Coupled area optimization and switching-energy calibration are separate work.",
|
| 419 |
+
"One parallel Chrome handoff missed timing. The full serial rerun passed."
|
| 420 |
+
],
|
| 421 |
+
"ids": {
|
| 422 |
+
"gallery": "rsc2",
|
| 423 |
+
"analysis": "rsc2",
|
| 424 |
+
"starter": "rsc2",
|
| 425 |
+
"simulator": "rsc2"
|
| 426 |
+
},
|
| 427 |
+
"starter": [
|
| 428 |
+
"static/starters/rsc2.icproj.json",
|
| 429 |
+
"static/starters/rsc2.sp"
|
| 430 |
+
],
|
| 431 |
+
"preset_contract": "rsc2/preset_contract.json",
|
| 432 |
+
"validation": {
|
| 433 |
+
"classification": "Analytically and numerically validated under stated assumptions",
|
| 434 |
+
"hardware_validated": false,
|
| 435 |
+
"sweep_points": 27,
|
| 436 |
+
"zero_state_cases": [
|
| 437 |
+
"nominal",
|
| 438 |
+
"damped_tune"
|
| 439 |
+
],
|
| 440 |
+
"historical_execution_prefix": "runs/rsc2/",
|
| 441 |
+
"zero_state_execution_prefix": "cold/rsc2/"
|
| 442 |
+
},
|
| 443 |
+
"regression_tests": [
|
| 444 |
+
"docs/topology/2to1_resonant/verify_model.py",
|
| 445 |
+
"docs/topology/2to1_resonant/verify_browser.mjs",
|
| 446 |
+
"docs/topology/2to1_resonant/verify_sweeps.mjs"
|
| 447 |
+
],
|
| 448 |
+
"nominal_step_down_ratio": 2
|
| 449 |
+
}
|
| 450 |
+
},
|
| 451 |
+
"evidence": {
|
| 452 |
+
"archives": {
|
| 453 |
+
"original": {
|
| 454 |
+
"path": "reproducibility-evidence.zip",
|
| 455 |
+
"sha256": "abf0007daa45a157742457f1524431c8d1660dd180d4e44d35a66124ba43095c",
|
| 456 |
+
"members": 524,
|
| 457 |
+
"required_members": [
|
| 458 |
+
"baseline/revision.txt",
|
| 459 |
+
"baseline/SHA256SUMS",
|
| 460 |
+
"baseline/source.tar.gz",
|
| 461 |
+
"baseline/inputs.json",
|
| 462 |
+
"baseline/current-analysis.json",
|
| 463 |
+
"baseline/current-sizing.json",
|
| 464 |
+
"results/sweep.json",
|
| 465 |
+
"results/sweep.csv",
|
| 466 |
+
"results/quality.json",
|
| 467 |
+
"results/independent-sizing.json"
|
| 468 |
+
],
|
| 469 |
+
"member_counts": {
|
| 470 |
+
"runs/*/deck.cir": 191,
|
| 471 |
+
"runs/*/ngspice.log": 191
|
| 472 |
+
}
|
| 473 |
+
},
|
| 474 |
+
"post_correction": {
|
| 475 |
+
"path": "post-validation-evidence.zip",
|
| 476 |
+
"sha256": "39a6e75c4fb49ec6c258357717863d8b47f590e9eb0791c3f0f6bc5f6f48daac",
|
| 477 |
+
"members": 65,
|
| 478 |
+
"required_members": [
|
| 479 |
+
"results/comparison.json",
|
| 480 |
+
"results/matched.csv",
|
| 481 |
+
"results/finite-port.csv",
|
| 482 |
+
"results/cold-start.json",
|
| 483 |
+
"results/pre-correction.sha256",
|
| 484 |
+
"logs/packaged-analysis-tests.log",
|
| 485 |
+
"logs/chrome-cache-transition.log",
|
| 486 |
+
"logs/rsc2-browser-retry.log",
|
| 487 |
+
"logs/sp2-analysis-retry.log",
|
| 488 |
+
"logs/sp2-simulator.log",
|
| 489 |
+
"logs/si2-voltage.log"
|
| 490 |
+
],
|
| 491 |
+
"member_counts": {
|
| 492 |
+
"cold/*/deck.cir": 12,
|
| 493 |
+
"cold/*/ngspice.log": 12,
|
| 494 |
+
"matched-si2/*/deck.cir": 4,
|
| 495 |
+
"matched-si2/*/ngspice.log": 4
|
| 496 |
+
}
|
| 497 |
+
},
|
| 498 |
+
"reports": {
|
| 499 |
+
"path": "technical-reports.zip",
|
| 500 |
+
"sha256": "bd8a4a75c1f2e7e66949c3a3ec7493c9cd65d0991a11891f16d837a60992dbf4",
|
| 501 |
+
"members": 7,
|
| 502 |
+
"required_members": [
|
| 503 |
+
"corrected/consolidated-correction-report.pdf",
|
| 504 |
+
"corrected/switched-inductor-buck.pdf",
|
| 505 |
+
"cross-validation/switched-inductor-buck.pdf",
|
| 506 |
+
"corrected/series-parallel-switched-capacitor.pdf",
|
| 507 |
+
"cross-validation/series-parallel-switched-capacitor.pdf",
|
| 508 |
+
"corrected/resonant-switched-capacitor.pdf",
|
| 509 |
+
"cross-validation/resonant-switched-capacitor.pdf"
|
| 510 |
+
],
|
| 511 |
+
"member_counts": {
|
| 512 |
+
"*/*.pdf": 7
|
| 513 |
+
}
|
| 514 |
+
}
|
| 515 |
+
},
|
| 516 |
+
"datasets": {
|
| 517 |
+
"original": "results/sweep.json",
|
| 518 |
+
"original_csv": "results/sweep.csv",
|
| 519 |
+
"matched": "results/matched.csv",
|
| 520 |
+
"finite_port": "results/finite-port.csv",
|
| 521 |
+
"pairwise": "results/comparison.json",
|
| 522 |
+
"cold_start": "results/cold-start.json"
|
| 523 |
+
},
|
| 524 |
+
"sweep_points": 80,
|
| 525 |
+
"zero_state_cases": [
|
| 526 |
+
{
|
| 527 |
+
"id": "si2",
|
| 528 |
+
"case": "nominal"
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"id": "si2",
|
| 532 |
+
"case": "unequal_switches"
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"id": "sp2",
|
| 536 |
+
"case": "nominal"
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"id": "sp2",
|
| 540 |
+
"case": "fs_1"
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"id": "rsc2",
|
| 544 |
+
"case": "nominal"
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"id": "rsc2",
|
| 548 |
+
"case": "damped_tune"
|
| 549 |
+
}
|
| 550 |
+
],
|
| 551 |
+
"packaged_analysis_tests": 45,
|
| 552 |
+
"solvers": {
|
| 553 |
+
"periodic": "docs/topology/2to1_cross_validation/circuit.py",
|
| 554 |
+
"fixture_generator": "docs/topology/2to1_cross_validation/spice.py",
|
| 555 |
+
"case_inputs": "docs/topology/2to1_cross_validation/cases.py",
|
| 556 |
+
"original_runner": "docs/topology/2to1_cross_validation/validate.py",
|
| 557 |
+
"original_quality_gates": "docs/topology/2to1_cross_validation/check_results.py",
|
| 558 |
+
"pairwise_runner": "docs/topology/2to1_corrections/standardize_evidence.py",
|
| 559 |
+
"zero_state_runner": "docs/topology/2to1_corrections/verify_cold_start.py",
|
| 560 |
+
"ngspice_major_version": 47
|
| 561 |
+
},
|
| 562 |
+
"shared_tests": [
|
| 563 |
+
"docs/topology/2to1_corrections/verify_models.cjs",
|
| 564 |
+
"docs/topology/2to1_corrections/verify_browser.cjs",
|
| 565 |
+
"docs/topology/2to1_switching_capacitors/integration/verify_analysis_parity.mjs",
|
| 566 |
+
"docs/topology/2to1_switching_capacitors/integration/verify_simulator_parity.mjs"
|
| 567 |
+
],
|
| 568 |
+
"packaged_test_directory": "openpels-analysis",
|
| 569 |
+
"settling": {
|
| 570 |
+
"zero_state_cycles": 1200,
|
| 571 |
+
"refined_max_step": "T/1000",
|
| 572 |
+
"coarse_max_step": "T/500",
|
| 573 |
+
"window": "Final four whole periods offset from an edge, compared with the preceding four periods."
|
| 574 |
+
},
|
| 575 |
+
"limits": {
|
| 576 |
+
"finite_port_resistance_relative": 0.001,
|
| 577 |
+
"mean_output_voltage_V": 0.0002,
|
| 578 |
+
"charge_fraction_of_delivered": 0.002,
|
| 579 |
+
"cycle_voltage_state_drift_V": 1e-05,
|
| 580 |
+
"cycle_current_state_drift_A": 0.0002,
|
| 581 |
+
"mean_winding_voltage_V": 0.0001,
|
| 582 |
+
"energy_residual_abs_floor_W": 1e-05,
|
| 583 |
+
"energy_residual_relative": 0.02,
|
| 584 |
+
"matched_sc_analytical_to_independent_relative": 1e-05,
|
| 585 |
+
"clamped_sc_resistance_and_current_relative": 0.001
|
| 586 |
+
}
|
| 587 |
+
},
|
| 588 |
+
"shared_limitations": [
|
| 589 |
+
"Generic switch fixtures and separate gate budget establish modeled stage behavior only.",
|
| 590 |
+
"Device-specific nonlinear Coss, recovery, dead time, startup and calibrated hardware efficiency remain open.",
|
| 591 |
+
"Historical browser logs include failed attempts. The correction archive identifies successful reruns and the completed cache transition."
|
| 592 |
+
],
|
| 593 |
+
"workflow": "../../topology_addition_workflow.md",
|
| 594 |
+
"registry": "../../regression_test_registry.md",
|
| 595 |
+
"architecture": "../../architecture_discussion.md"
|
| 596 |
+
}
|
docs/topology/baselines/validated-2to1-v1.0/post-validation-evidence.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39a6e75c4fb49ec6c258357717863d8b47f590e9eb0791c3f0f6bc5f6f48daac
|
| 3 |
+
size 497733
|
docs/topology/baselines/validated-2to1-v1.0/reproducibility-evidence.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:abf0007daa45a157742457f1524431c8d1660dd180d4e44d35a66124ba43095c
|
| 3 |
+
size 14241219
|
docs/topology/baselines/validated-2to1-v1.0/technical-reports.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd8a4a75c1f2e7e66949c3a3ec7493c9cd65d0991a11891f16d837a60992dbf4
|
| 3 |
+
size 3141908
|
docs/topology/baselines/verify_baseline.py
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Check the Git provenance and preserved evidence for an OpenPELS baseline."""
|
| 2 |
+
|
| 3 |
+
import argparse
|
| 4 |
+
from collections import Counter
|
| 5 |
+
from contextlib import ExitStack
|
| 6 |
+
import csv
|
| 7 |
+
from fnmatch import filter as match
|
| 8 |
+
from hashlib import sha256
|
| 9 |
+
import io
|
| 10 |
+
import json
|
| 11 |
+
from pathlib import Path
|
| 12 |
+
import re
|
| 13 |
+
import subprocess
|
| 14 |
+
from zipfile import BadZipFile, ZipFile
|
| 15 |
+
|
| 16 |
+
REPO = Path(__file__).resolve().parents[3]
|
| 17 |
+
HERE = Path(__file__).resolve().parent
|
| 18 |
+
DEFAULT = HERE / "validated-2to1-v1.0" / "manifest.json"
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
def require(condition, message):
|
| 22 |
+
if not condition:
|
| 23 |
+
raise ValueError(message)
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def git(*args):
|
| 27 |
+
return subprocess.check_output(["git", *args], cwd=REPO).decode().strip()
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
def keys(rows):
|
| 31 |
+
result = {(row["id"], row["case"]) for row in rows}
|
| 32 |
+
require(len(result) == len(rows), "duplicate topology/case pairs")
|
| 33 |
+
return result
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
def open_archive(stack, directory, spec):
|
| 37 |
+
path = directory / spec["path"]
|
| 38 |
+
digest = sha256(path.read_bytes()).hexdigest()
|
| 39 |
+
require(digest == spec["sha256"], f"{path}: SHA-256 mismatch")
|
| 40 |
+
archive = stack.enter_context(ZipFile(path))
|
| 41 |
+
names = archive.namelist()
|
| 42 |
+
require(len(names) == len(set(names)) == spec["members"], f"{path}: archive size or member duplication")
|
| 43 |
+
require(archive.testzip() is None, f"{path}: corrupt member")
|
| 44 |
+
for member in spec["required_members"]:
|
| 45 |
+
require(member in names, f"{path}: missing {member}")
|
| 46 |
+
for pattern, count in spec["member_counts"].items():
|
| 47 |
+
require(len(match(names, pattern)) == count, f"{path}: unexpected count for {pattern}")
|
| 48 |
+
for deck in match(names, "*/deck.cir"):
|
| 49 |
+
log = deck.rsplit("/", 1)[0] + "/ngspice.log"
|
| 50 |
+
require(log in names, f"{path}: unpaired executed deck {deck}")
|
| 51 |
+
return archive
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def check(manifest_path):
|
| 55 |
+
manifest = json.loads(manifest_path.read_text())
|
| 56 |
+
require(manifest["schema_version"] == 1, "unsupported baseline manifest version")
|
| 57 |
+
impl = manifest["implementation"]
|
| 58 |
+
base = impl["git_commit"]
|
| 59 |
+
for ref in (impl, manifest["functional_reference"]):
|
| 60 |
+
require(git("rev-parse", f"refs/tags/{ref['tag']}^{{commit}}") == ref["git_commit"],
|
| 61 |
+
f"unexpected commit for {ref['tag']}")
|
| 62 |
+
require(git("cat-file", "-t", f"refs/tags/{impl['tag']}") == "tag",
|
| 63 |
+
"implementation baseline must use an annotated tag")
|
| 64 |
+
source_pointer = git("show", f"{base}:{impl['analytical_source_archive']}")
|
| 65 |
+
require(f"oid sha256:{impl['analytical_source_sha256']}" in source_pointer.splitlines(),
|
| 66 |
+
"corresponding-source archive does not match the tagged LFS object")
|
| 67 |
+
for path, blob in impl["shared_analysis_blobs"].items():
|
| 68 |
+
require(git("rev-parse", f"{base}:{path}") == blob, f"incorrect shared Analysis version: {path}")
|
| 69 |
+
evidence = manifest["evidence"]
|
| 70 |
+
paths = list(evidence["shared_tests"])
|
| 71 |
+
paths += [p for p in evidence["solvers"].values() if isinstance(p, str)]
|
| 72 |
+
topologies = manifest["topologies"]
|
| 73 |
+
for name, topology in topologies.items():
|
| 74 |
+
analysis = topology["analysis"]
|
| 75 |
+
require(git("rev-parse", f"{base}:{analysis['model_path']}") == analysis["git_blob"],
|
| 76 |
+
f"{name}: incorrect analytical model version")
|
| 77 |
+
paths.extend([*topology["starter"], *topology["installed_decks"], *topology["regression_tests"],
|
| 78 |
+
topology["installed_generator"], topology["preset_contract"],
|
| 79 |
+
topology["circuit_reference"].split("#")[0]])
|
| 80 |
+
require(topology["validation"]["hardware_validated"] is False,
|
| 81 |
+
f"{name}: hardware claim exceeds baseline scope")
|
| 82 |
+
for path in sorted(set(paths)):
|
| 83 |
+
git("cat-file", "-e", f"{base}:{path}")
|
| 84 |
+
for key in ("workflow", "registry", "architecture"):
|
| 85 |
+
require((manifest_path.parent / manifest[key]).is_file(), f"missing linked {key} document")
|
| 86 |
+
|
| 87 |
+
with ExitStack() as stack:
|
| 88 |
+
archives = {name: open_archive(stack, manifest_path.parent, spec)
|
| 89 |
+
for name, spec in evidence["archives"].items()}
|
| 90 |
+
original, current, reports = (archives[name] for name in ("original", "post_correction", "reports"))
|
| 91 |
+
data = evidence["datasets"]
|
| 92 |
+
sweep = json.loads(original.read(data["original"]))
|
| 93 |
+
expected_counts = {name: row["validation"]["sweep_points"] for name, row in topologies.items()}
|
| 94 |
+
require(len(sweep) == evidence["sweep_points"] and Counter(row["id"] for row in sweep) == expected_counts,
|
| 95 |
+
"unexpected original sweep counts")
|
| 96 |
+
sweep_keys = keys(sweep)
|
| 97 |
+
for archive, member in [(original, data["original_csv"]), (current, data["matched"]),
|
| 98 |
+
(current, data["finite_port"])]:
|
| 99 |
+
with archive.open(member) as stream:
|
| 100 |
+
require(keys(list(csv.DictReader(io.TextIOWrapper(stream, encoding="utf-8")))) == sweep_keys,
|
| 101 |
+
f"{member}: case set differs from original sweep")
|
| 102 |
+
require(original.read("baseline/revision.txt").decode().strip() == impl["historical_model_snapshot_commit"],
|
| 103 |
+
"wrong pre-correction analytical revision")
|
| 104 |
+
cold = json.loads(current.read(data["cold_start"]))
|
| 105 |
+
require(keys(cold) == keys(evidence["zero_state_cases"]), "wrong zero-state witness set")
|
| 106 |
+
for row in cold:
|
| 107 |
+
require(row["cycles"] == evidence["settling"]["zero_state_cycles"], "wrong zero-state duration")
|
| 108 |
+
for step in ("coarse", "fine"):
|
| 109 |
+
prefix = f"cold/{row['id']}/{row['case']}/{step}"
|
| 110 |
+
require(f"{prefix}/deck.cir" in current.namelist(), f"{prefix}: missing executed fixture")
|
| 111 |
+
log = current.read("logs/packaged-analysis-tests.log").decode()
|
| 112 |
+
require(re.search(rf"Ran {evidence['packaged_analysis_tests']} tests\b", log) and log.rstrip().endswith("OK"),
|
| 113 |
+
"missing passing packaged Analysis test record")
|
| 114 |
+
for filename in reports.namelist():
|
| 115 |
+
with reports.open(filename) as report:
|
| 116 |
+
require(report.read(5) == b"%PDF-", f"{filename}: missing PDF header")
|
| 117 |
+
print(f"{manifest['id']}: {len(topologies)} topologies, {len(sweep)} sweep cases, "
|
| 118 |
+
f"{len(cold)} zero-state cases and {evidence['packaged_analysis_tests']} packaged Analysis tests verified")
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
if __name__ == "__main__":
|
| 122 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 123 |
+
parser.add_argument("--manifest", type=Path, default=DEFAULT)
|
| 124 |
+
args = parser.parse_args()
|
| 125 |
+
try:
|
| 126 |
+
check(args.manifest.resolve())
|
| 127 |
+
except (OSError, ValueError, KeyError, BadZipFile, subprocess.CalledProcessError) as error:
|
| 128 |
+
parser.exit(1, f"Baseline verification failed: {error}\n")
|
docs/topology/minjie_confirmation_list.md
CHANGED
|
@@ -97,3 +97,7 @@ The independent comparison at `9a63775` covers [switched inductor, SP-SC, and re
|
|
| 97 |
## 2:1 post-validation implementation
|
| 98 |
|
| 99 |
The [correction report](2to1_corrections/README.md) and [architecture discussion](2to1_corrections/architecture.md) record delivered-power accounting for SP2 and independently confirmed BUCK2Φ, dual SP2 loss disclosures, the RSC2 equal-area sizing label, and the matched-model and finite-port evidence. The frozen pre-correction archive and original 4:1 metrics remain the comparison references. Global schema, finite-output Analysis and unrestricted resonant sizing are separate review topics.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
## 2:1 post-validation implementation
|
| 98 |
|
| 99 |
The [correction report](2to1_corrections/README.md) and [architecture discussion](2to1_corrections/architecture.md) record delivered-power accounting for SP2 and independently confirmed BUCK2Φ, dual SP2 loss disclosures, the RSC2 equal-area sizing label, and the matched-model and finite-port evidence. The frozen pre-correction archive and original 4:1 metrics remain the comparison references. Global schema, finite-output Analysis and unrestricted resonant sizing are separate review topics.
|
| 100 |
+
|
| 101 |
+
## Validated 2:1 baseline and future qualification
|
| 102 |
+
|
| 103 |
+
The annotated local tag `validated-2to1-v1.0` pins `659f808`. The [baseline manifest](baselines/validated-2to1-v1.0/manifest.json) retains the 80-point and zero-state cases, source versions, reports and evidence. The [standard workflow](topology_addition_workflow.md), [regression registry](regression_test_registry.md) and [consolidated architecture discussion](architecture_discussion.md) guide future additions. Existing 4:1 functional parity and the requirement to distinguish analytical/numerical validation from hardware claims remain in effect.
|
docs/topology/next_topology.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Apply the workflow to the next converter
|
| 2 |
+
|
| 3 |
+
1. **Set up the candidate record.** Use the current suitable development checkout or a feature branch. Start a candidate folder under `docs/topology/` with its circuit definition, [checklist](topology_validation_checklist.md) and [report](technical_validation_report_template.md). Record provisional IDs, ratio, source ownership, gating and the chosen implementation base. Use the [validated 2:1 models](baselines/validated-2to1-v1.0/README.md) as examples and the original XFLY6S as the feature-parity reference.
|
| 4 |
+
2. **Review the circuit.** Export the original and switching-state cells from Analog Canvas. Prepare a timeline and state table. Have a reviewer confirm the exact circuit, polarities, timing and intended operating domain. Fingerprint the results and explain local graph corrections.
|
| 5 |
+
3. **Build independent validation paths.** Derive the analytical model in the candidate record. Build a switched circuit solve and NGSpice model from the reviewed states and primitive device laws. Reuse integration, measurement and reporting code when its assumptions fit. The 2:1 fixture dispatch is specific to those three circuits. Expose any new state mapping and model parameters in candidate fixtures or adapters. Preserve the frozen 80-point dataset.
|
| 6 |
+
4. **Qualify before registering.** Set thresholds, perform matched and sensitivity comparisons, and record nominal points, boundaries, combined settings and independently initialized transients. Record deviations and unresolved items. Use the [architecture discussion](architecture_discussion.md) for proposed shared changes.
|
| 7 |
+
5. **Integrate and verify.** Follow the [registration and packaging guide](topology_addition_workflow.md#integration-guide). Check identifiers, analysis, Simulator handoffs, editable project and the source package. Run the [registry](regression_test_registry.md) and [parity checks](feature_parity_checklist.md) in Chrome at port 8765.
|
| 8 |
+
6. **Publish the milestone.** Complete the report, record the implementation revision and register new witness IDs, reproducible commands and bundle hashes. Commit the curated artifacts and the Minjie review-log entry locally. Keep jobs under the ignored runtime directory and leave existing tags on their original commits.
|
docs/topology/regression_test_registry.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# OpenPELS regression test registry
|
| 2 |
+
|
| 3 |
+
The [validated 2:1 manifest](baselines/validated-2to1-v1.0/manifest.json) identifies SI2, SP2 and RSC2 as permanent cases. Use the registry to select suites on candidate builds or reproduce results at the tagged implementation. Preserve the original reference and immutable inputs. A new model gets its own candidate fixtures and tolerances.
|
| 4 |
+
|
| 5 |
+
| Permanent suite | Registered cases and coverage | Existing executable entry |
|
| 6 |
+
|---|---|---|
|
| 7 |
+
| 2:1 baseline inventory | Both tags, source pins, three archive hashes and membership, 80 original/matched/finite-port case keys, six zero-state IDs and packaged Analysis count | [verify_baseline.py](baselines/verify_baseline.py) |
|
| 8 |
+
| 2:1 independent comparison | SI2 33, SP2 20, RSC2 27. Periodic circuit solution, exact switched decks, component loss, nominal and limiting points, window/refinement and energy gates | [validate.py](2to1_cross_validation/validate.py), [check_results.py](2to1_cross_validation/check_results.py), [standardize_evidence.py](2to1_corrections/standardize_evidence.py) |
|
| 9 |
+
| 2:1 independent initialization | SI2 nominal and unequal switches, SP2 nominal and 0.2 MHz, RSC2 nominal and damped tune. 1,200 cycles each at T/500 and T/1000 | [verify_cold_start.py](2to1_corrections/verify_cold_start.py) |
|
| 10 |
+
| Packaged Analysis | All 45 tests from the matching source ZIP, including browser/Python parity, normalized coefficients and technology calculations | Unpack `openpels-analysis/` from [the matching source package](../../static/openpels-source.zip) and use `unittest discover`. |
|
| 11 |
+
| 2:1 model contracts | SP2 delivered efficiency and low headroom, both component ledgers, historical nominal metrics, SI2 duty inverse, CCM edge and flat-current limit. Pairwise suite retains RSC2 detuned 80/20 witness. | [verify_models.cjs](2to1_corrections/verify_models.cjs), [standardize_evidence.py](2to1_corrections/standardize_evidence.py) |
|
| 12 |
+
| SI2 workflow | Gallery, editor, Analysis and Simulator defaults and edited jobs, loaded-voltage mode/handoff, 16 swept inputs and downloads | [Chrome workflow](2to1_switched_inductor/verify_browser.mjs), [target voltage](2to1_switched_inductor/verify_voltage_browser.mjs), [sweeps](2to1_switched_inductor/verify_sweeps.mjs) |
|
| 13 |
+
| SP2 workflow | Gallery and analysis/scoreboard controls, editor import and roundtrip, nonlinear nominal and multi-input jobs, sweeps, handoffs/downloads and failure recovery | [Analysis parity](2to1_switching_capacitors/integration/verify_analysis_parity.mjs), [Simulator parity](2to1_switching_capacitors/integration/verify_simulator_parity.mjs), [full workflow](2to1_switching_capacitors/integration/verify_live.mjs), [editor](2to1_switching_capacitors/integration/verify_editor.mjs) |
|
| 14 |
+
| RSC2 workflow | Gallery, editor, constrained sizing, operating-point handoffs, real run and sweep, artifact hashes and partial-sweep recovery | [Chrome workflow](2to1_resonant/verify_browser.mjs), [sweeps](2to1_resonant/verify_sweeps.mjs) |
|
| 15 |
+
| 2:1 release/normal reload | SP2 absolute API, both CSV ledgers, RSC2 label and SI2 continuity. Fresh and warmed Chrome contexts. | [verify_browser.cjs](2to1_corrections/verify_browser.cjs), plus normal reload in [Analysis parity](2to1_switching_capacitors/integration/verify_analysis_parity.mjs). |
|
| 16 |
+
| Original 4:1 | Tagged XFLY6S Analysis controls, lineup and exports and original design exports. XFLY6S, XFLY8S and C3L tagged versus live Simulator measurements. Protect historical analytical semantics and gating. | Existing [Analysis parity](2to1_switching_capacitors/integration/verify_analysis_parity.mjs) and [Simulator parity](2to1_switching_capacitors/integration/verify_simulator_parity.mjs), using `local-baseline-v1.0`. |
|
| 17 |
+
|
| 18 |
+
## Run and retain evidence
|
| 19 |
+
|
| 20 |
+
Use the local [setup instructions](../../README.md#run-locally-on-macos). Run from the repository root. For exact replay use the tagged implementation and its source ZIP in an appropriate checkout. The baseline documentation and archive bundle were committed after the implementation tag. Keep a copy of the evidence when working at the tag. Use an existing suitable development checkout for candidate regressions.
|
| 21 |
+
|
| 22 |
+
The existing post-correction scripts expect the frozen original archive in the former report output location. From the documentation checkout, restore it there if missing. Existing files must match the frozen checksum before use.
|
| 23 |
+
|
| 24 |
+
```sh
|
| 25 |
+
bundle=docs/topology/baselines/validated-2to1-v1.0
|
| 26 |
+
mkdir -p output/pdf/2to1-cross-validation .openpels-runtime/2to1-corrections
|
| 27 |
+
target=output/pdf/2to1-cross-validation/reproducibility-evidence.zip
|
| 28 |
+
if [ ! -e "$target" ]; then
|
| 29 |
+
cp "$bundle/reproducibility-evidence.zip" "$target"
|
| 30 |
+
fi
|
| 31 |
+
cmp "$bundle/reproducibility-evidence.zip" "$target" || exit 1
|
| 32 |
+
|
| 33 |
+
python3 docs/topology/baselines/verify_baseline.py
|
| 34 |
+
node docs/topology/2to1_corrections/verify_models.cjs
|
| 35 |
+
.venv/bin/python docs/topology/2to1_corrections/standardize_evidence.py
|
| 36 |
+
.venv/bin/python docs/topology/2to1_corrections/verify_cold_start.py
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
Replay the full independent 80-point fixture using the existing original runner and quality checks. These are compute- and disk-intensive and write ignored runtime output.
|
| 40 |
+
|
| 41 |
+
```sh
|
| 42 |
+
.venv/bin/python docs/topology/2to1_cross_validation/validate.py
|
| 43 |
+
.venv/bin/python docs/topology/2to1_cross_validation/check_results.py
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
Extract a fresh matching source copy for packaged tests. This avoids missing modules or staleness in a previously extracted local tree.
|
| 47 |
+
|
| 48 |
+
```sh
|
| 49 |
+
source_dir=$(mktemp -d "$PWD/.openpels-runtime/2to1-analysis.XXXXXX")
|
| 50 |
+
unzip -q static/openpels-source.zip 'openpels-analysis/*' -d "$source_dir"
|
| 51 |
+
.venv/bin/python -m unittest discover -s "$source_dir/openpels-analysis" -p 'test*.py'
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
Run each applicable Chrome entry with Node from the repository root while [OpenPELS is serving port 8765](../../README.md#run-locally-on-macos). Tests use the installed Chrome channel and the packaged workspace Playwright dependencies. Prefer individual runs for timing-sensitive handoffs. Use a same-origin old/new static fixture for release cache-transition tests and verify ordinary reload plus a fresh context. Record actual comparison results, failures, reruns, model and simulation versions, and the matched versus changed assumptions. Keep bulk output in `.openpels-runtime/` and commit only curated evidence.
|
| 55 |
+
|
| 56 |
+
For the preserved SP2 old/new cache witness, use a disposable static copy on one local origin, with the pre-correction files at startup. Start `verify_browser.cjs --warm` with `OPENPELS_URL` set to that origin and `OPENPELS_CORRECTION_RUN` set to a fresh capture directory. After `chrome-warm-ready.json` appears, publish the corrected files to that same static path and create `chrome-published` in the capture directory. The test verifies the served engine, API/CSV values and a fresh session. For a future feature, assert its changed behavior through the same cache pattern in the candidate’s applicable browser tests.
|
docs/topology/technical_validation_report_template.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Technical validation report — [topology and ratio]
|
| 2 |
+
|
| 3 |
+
| Record item | Value |
|
| 4 |
+
|---|---|
|
| 5 |
+
| Trial ID, source commit and evidence archive | [stable identifiers and checksum] |
|
| 6 |
+
| Authors, reviewer and reviewed schematic | [names, date, project revision and provenance] |
|
| 7 |
+
| Gallery, Analysis, starter and Simulator | [IDs and aliases] |
|
| 8 |
+
| Validation claim | [analytical assumptions, numerical qualification, integration status and hardware evidence] |
|
| 9 |
+
| Regression references | [validated implementation and original 4:1 refs] |
|
| 10 |
+
|
| 11 |
+
## 1. Circuit and operation
|
| 12 |
+
|
| 13 |
+
Link the original and local Analog Canvas schematic, editable project, SVG, timing and structural SPICE. Map devices and ports. Identify passive polarity, winding dots and current signs.
|
| 14 |
+
|
| 15 |
+
| Region | State and normalized duration | Conducting devices | Signed paths and storage dynamics | Timing or validity note |
|
| 16 |
+
|---|---|---|---|---|
|
| 17 |
+
| [region] | [state and duration] | [IDs] | [paths, signs and continuity] | [dead time, overlap or exception] |
|
| 18 |
+
|
| 19 |
+
## 2. Analytical model and validity
|
| 20 |
+
|
| 21 |
+
Derive ideal and loaded gain, duty convention, applicable average and RMS currents, component losses, Rdrop, Rpower and delivered efficiency. State port assumptions, normalization, model limits, and optimizer objective and constraints. Identify unsupported regimes and inapplicable controls.
|
| 22 |
+
|
| 23 |
+
| Loss term | Equation or method | Energy boundary | Coverage | Evidence |
|
| 24 |
+
|---|---|---|---|---|
|
| 25 |
+
| [channel, ESR, winding, redistribution, gate, Coss and commutation] | [expression and units] | [series path, rail or auxiliary supply] | [included, excluded, unknown or inapplicable] | [test or missing information] |
|
| 26 |
+
|
| 27 |
+
## 3. Physics checks and independent methods
|
| 28 |
+
|
| 29 |
+
Explain state-level KCL/KVL, capacitor charge, winding volt-seconds, periodic continuity and energy closure. Explain how the independent solver avoids using the analytical relations tested. Record the actual NGSpice switch law, component models, probes, initialization, solver settings, time-step controls and measurement windows.
|
| 30 |
+
|
| 31 |
+
| Check | Residual and units | Absolute floor and relative limit | Worst case | Disposition |
|
| 32 |
+
|---|---|---|---|---|
|
| 33 |
+
| [charge, volt-seconds, state drift, energy, step refinement or gating] | [definition and scaling] | [limit set before comparison] | [case ID and result] | [pass, fail or open with evidence] |
|
| 34 |
+
|
| 35 |
+
## 4. Three-way comparison and operating ranges
|
| 36 |
+
|
| 37 |
+
Use separate tables for matched assumptions and changed assumptions. Include nominal, one-axis sweeps, meaningful combinations, boundaries, unsupported conditions and independent initialization. Preserve all case inputs and executed deck and log hashes.
|
| 38 |
+
|
| 39 |
+
| Case and model | Quantity and units | Analytical | Independent numerical | NGSpice | A/N, A/S and N/S errors | Disposition |
|
| 40 |
+
|---|---|---:|---:|---:|---|---|
|
| 41 |
+
| [case and configuration] | [Vout, current, component loss, resistance, efficiency or other] | [value] | [value] | [value] | [absolute and relative differences] | [status and explanation] |
|
| 42 |
+
|
| 43 |
+
List worst witnesses, separately identifying numerical disagreement and model sensitivity. State joint constraints and unsupported extrapolation. Mark imposed quantities in clamped tests and identify the independently measured quantities. Link plot sources.
|
| 44 |
+
|
| 45 |
+
## 5. Integration and regressions
|
| 46 |
+
|
| 47 |
+
Link the candidate’s validation checklist, feature parity checklist and both parity matrices. Record versions, test commands, Chrome controls, cache reload and fresh session, downloads and error recovery. Summarize the 2:1 and tagged 4:1 results. Explain failures, their disposition, and any remaining applicable item that blocks integration.
|
| 48 |
+
|
| 49 |
+
## 6. Conclusion and archive
|
| 50 |
+
|
| 51 |
+
State the validated scope, main limits and unresolved device/hardware issues. Link the architecture discussion when appropriate. List committed source, case inputs, tool versions, evidence checksums and curated outputs. Identify ignored temporary artifacts separately.
|
docs/topology/topology_addition_workflow.md
CHANGED
|
@@ -2,45 +2,49 @@
|
|
| 2 |
|
| 3 |
Use the original 4:1 XFLY6S implementation as the functional reference across ratios. Staged schematic and standalone model work is useful during qualification. A completed entry requires Gallery, editable schematic, analytical loss and efficiency analysis, applicable sizing and sweeps, integrated NGSpice, waveforms, and result downloads. Necessary local extensions to existing contracts are authorized. Record important decisions and limitations in the Minjie review log and preserve the behavior of existing topologies. [Inventory](topology_inventory.md) · [Registration requirements](topology_requirements.md)
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
Record the circuit source and provenance, component and switch count, winding orientation and coupling, operating mode, switching sequence, and nominal conversion ratio. Align the reference drawing with the model's graph. XFLY6S uses analytical ID `xfly2p`, starter ID `xfly6s` and simulator ID `xfly6s` in the explicit Gallery mapping. The similar alias for XFLY8S represents a documented circuit difference. For a draft, the existing deliverables are an SVG and an optional portable project. Open the project explicitly in Schematic while qualification is pending. [Gallery mapping](../../static/gallery.js#L4), [starter metadata](../../static/starters/index.json#L16), [XFLY6S model notes](../../static/compare/models-data.json#L4), [draft path](topology_requirements.md#schematic-only-entries-today)
|
| 26 |
|
| 27 |
-
## 2. Prepare a qualified Gallery entry
|
| 28 |
|
| 29 |
1. Prepare the base SVG and a candidate SVG with a suitable viewBox. Confirm wiring, junctions, winding dots, ports, and labels against the intended circuit. For the existing XFLY6S display chain, `annotate_schematics.py` reads the base drawing and produces loss and candidate variants. A new verified base SVG can come from the editor's SVG export. Both Gallery and Analysis use static assets at runtime. One image does not create the editor project or an executable testbench. [reference assets](../../local-source/openpels-analysis/annotate_schematics.py#L17), [candidate assets](../../local-source/openpels-analysis/annotate_schematics.py#L40), [gallery rendering](../../static/gallery.js#L61), [Analysis image resolution](../../static/compare/app.js#L113)
|
| 30 |
2. Add the catalog record and formula descriptions, and implement the qualified numeric model in the existing analytical engine. Check the valid gain/duty domain, resistance normalization and sizing, charging treatment, output resistance, and losses excluded by the assumptions. Supply the `specs` and `excitation` data used by `familyIds()` and `ripplePoint()`. Review topology-specific branches in the current analysis and technology presentation where the new circuit needs distinct area labels, capacitor count, or supported operating limits. The XFLY6S formula table and executable code both encode a piecewise law at `D = 0.5`. The executable expressions define the calculation. The archive also has a Python reference and Python/JavaScript parity tests to update if they cover the changed model. [formula table](../../static/compare/models-data.json#L163), [coefficient code](../../static/compare/engine.js#L8), [recommendation code](../../static/compare/recommend.js#L3), [area labels](../../static/compare/app.js#L29), [technology](../../static/compare/technology.js#L6), [parity test](../../local-source/openpels-analysis/test_static_engine.py#L8)
|
| 31 |
3. Add a `gallery.js` preset keyed by the same catalog ID, with the Gallery image and qualified starter and simulator IDs. Confirm the intended ratio is already among the published filter choices. For **6:1**, the existing filter and Analysis handoff accept the ratio but have no qualified family yet, so a valid model and family entry must precede a card. Review the empty-state text and tests when this changes. For **3:1**, the Gallery filter list, Analysis controls and handoff validation lack 3:1, as does the editor shelf if a starter tab is needed. Update the selectors and their round-trip tests together when a 3:1 topology qualifies. Adding a catalog row alone cannot surface a 3:1 card. [Gallery filters and registration](../../static/gallery.js#L94), [Analysis controls](../../static/compare/index.html#L5), [Analysis handoff](../../static/compare/app.js#L153), [starter tabs](../../static/index.html#L104)
|
| 32 |
|
| 33 |
-
## 3. Add an editable starter when supplied
|
| 34 |
|
| 35 |
Define the structural circuit and draft the native project using the existing editor/import pipeline. For the XFLY6S generator, the definition contains `parts`, `positions`, and descriptive metadata. `importSpiceSources()` creates the project. The generator binds bulk and model parameters, places and routes it, then emits the project, structural `.sp`, and manifest entry. Regenerate those outputs with the current starter packaging and update the topology-specific checker where needed. Confirm the manifest `ratio`, `model` and `project` and the Gallery `starter` mapping. With a qualified starter, **Edit schematic** loads it explicitly. Gallery selection alone preserves the current edited project. [generator definition](../../local-source/openpels/scripts/openpels/generate-starters.mjs#L47), [import](../../local-source/openpels/scripts/openpels/generate-starters.mjs#L131), [generation](../../local-source/openpels/scripts/openpels/generate-starters.mjs#L445), [fixture checker](../../local-source/openpels/scripts/openpels/check-starters.mjs#L9), [workbench handoff](../../static/pe.js#L100)
|
| 36 |
|
| 37 |
-
## 4. Add an NGSpice testbench when qualified
|
| 38 |
|
| 39 |
1. Prepare a runnable deck with models, loads, sources, switching expressions and timing, parasitics, initial conditions, `.save` probes, `.tran`, and output and measurement controls. XFLY6S uses `xfly6s_transient.cir` as the parameterized template. It also has original long-settling and winding-DCR-mismatch cases. The current packager has an explicit circuit list and iterates all three variants per listed circuit. It checks deck and schematic PNG hashes against `testbenches-source.json` and writes case metadata, images, deck files and the download archive. Record the provenance of any future decks accurately. The existing manifest and test cases are pinned to a specific XFLY source revision. [XFLY6S deck](../../static/testbenches/netlists/xfly6s_transient.cir#L5), [timing and control](../../static/testbenches/netlists/xfly6s_transient.cir#L101), [source index](../../local-source/openpels/scripts/openpels/testbenches-source.json#L1), [packager](../../local-source/openpels/scripts/openpels/package-testbenches.py#L14)
|
| 40 |
2. A registered Simulator preset also requires a coordinated engine entry for label, switch count, duty calibration, template output names, capacitor differences and required signals. The UI and bridge have topology-specific selector, image, label and frequency assumptions. The service has its own allowlist and substitutes the packaged `*_transient.cir` path. The pinned engine file is checksum-verified on startup. A deck or manifest row supplies the testbench material. Register the qualified topology at its ratio throughout the Gallery, job service, and browser handoff. Use its own duty law, parameter domain, waveform probes, and measurement contract. Adding a previously unsupported runtime ID would require reviewing these existing integration points and the engine lock rather than silently changing the pinned original. [engine registry](../../simulator/library/ngspice/studies/xfly6s_xfly8s_c3l_scaled_comparison/gui/xfly_compare_gui.py#L62), [engine deck preparation](../../simulator/library/ngspice/studies/xfly6s_xfly8s_c3l_scaled_comparison/gui/xfly_compare_gui.py#L1123), [service allowlist](../../simulator_service.py#L17), [engine check](../../simulator_service.py#L94), [simulator frame](../../simulator_frame.py#L10), [simulator bridge](../../simulator_bridge.js#L57)
|
| 41 |
-
3. Associate the Gallery `simulator` ID only after real deck and result qualification. Use the related-preset note if the reference graph differs. The integrated Simulator
|
| 42 |
|
| 43 |
-
## 5. Rebuild the matching artifacts locally
|
| 44 |
|
| 45 |
The tracked checkout serves prebuilt `static/`. The corresponding sources are in [`static/openpels-source.zip`](../../static/openpels-source.zip) and available locally under `local-source/`. Use the source-side files when preparing a future change. Workbench packaging copies the source assets into `openpels/apps/editor/dist-pe/`. The parent repository's `local-source/` tree is ignored, so a release snapshot needs the corresponding source ZIP as well as changed runtime artifacts. [Build guide](../../README.md#L66), [local ignores](../../.gitignore#L1), [packaging](../../local-source/openpels/scripts/openpels/package-site.py#L5)
|
| 46 |
|
|
@@ -53,7 +57,7 @@ The tracked checkout serves prebuilt `static/`. The corresponding sources are in
|
|
| 53 |
|
| 54 |
The [local rebuild instructions](../../README.md#L66) cover the installed toolchain and alternate port. The archived `build.py` runs type checks, the Vite PE build, starter generation and checks, testbench packaging, and `package-site.py`. `pnpm build` prepares the workspace packages used by the starter scripts. The full build regenerates the editor bundle even when only library data changes. Compare the generated tree and retain the matched sources and changed output. Validate `dist-pe` first through `OPENPELS_STATIC_DIR`, with a separate `PORT` and `OPENPELS_RUN_DIR`. The archived `deploy.py` contacts and modifies the original Space and is outside the local workflow. [build.py](../../local-source/openpels/scripts/openpels/build.py#L5), [package-site.py](../../local-source/openpels/scripts/openpels/package-site.py#L24), [local launcher](../../run-local.sh#L14), [deployment script](../../local-source/openpels/scripts/openpels/deploy.py#L61)
|
| 55 |
|
| 56 |
-
## 6. Verify the addition in the existing app
|
| 57 |
|
| 58 |
Previously validated simulation parameter sets are regression benchmarks. For each applicable input, provide a continuous numeric range and support simultaneous edits. Check physical and numerical bounds before execution, use the entered values in the netlist, and report result reliability after execution.
|
| 59 |
|
|
|
|
| 2 |
|
| 3 |
Use the original 4:1 XFLY6S implementation as the functional reference across ratios. Staged schematic and standalone model work is useful during qualification. A completed entry requires Gallery, editable schematic, analytical loss and efficiency analysis, applicable sizing and sweeps, integrated NGSpice, waveforms, and result downloads. Necessary local extensions to existing contracts are authorized. Record important decisions and limitations in the Minjie review log and preserve the behavior of existing topologies. [Inventory](topology_inventory.md) · [Registration requirements](topology_requirements.md)
|
| 4 |
|
| 5 |
+
The first reusable validation reference is [SI2, SP2 and RSC2 at validated-2to1-v1.0](baselines/validated-2to1-v1.0/README.md). Use XFLY6S at local-baseline-v1.0 for functional parity. Start with the [validation checklist](topology_validation_checklist.md), [report template](technical_validation_report_template.md) and [next-topology instructions](next_topology.md). Select tests from the [regression registry](regression_test_registry.md).
|
| 6 |
+
|
| 7 |
+
## Standard qualification sequence
|
| 8 |
+
|
| 9 |
+
| Stage | Work | Evidence required to advance |
|
| 10 |
+
|---|---|---|
|
| 11 |
+
| 1. Acquire or create the schematic | Use Analog Canvas and record the original project revision, permissions and editable source. | Fingerprinted SVG, portable project and structural SPICE netlist. Record local graph differences. |
|
| 12 |
+
| 2. Generate states and timing | Produce the gate timeline and individual switching states, including overlap, dead time, boundary modes and invalid combinations where applicable. | State table with switch IDs, durations, conducting paths, signed currents, voltage polarities and winding dots. |
|
| 13 |
+
| 3. Review circuit identity | Have a human reviewer compare the base and state drawings, netlist and timing. Resolve or document graph and sign discrepancies. | Reviewed revision and date, decision log, and confirmed circuit definition for all three methods. Circuit review is distinct from approval for routine local integration. |
|
| 14 |
+
| 4. Derive the analytical model | Define gain and duty, ideal and loaded output, signed currents, RMS, losses and sizing. | Numbered derivation, loss ledger and validity envelope. |
|
| 15 |
+
| 5. Check physical and mathematical consistency | Evaluate KCL, KVL, periodic charge, volt-seconds, energy, units and limiting cases. | Residual definitions, scaling, boundary tests and exceptions. |
|
| 16 |
+
| 6. Solve independently | Derive a switched numerical circuit solve from reviewed connectivity and primitive component laws. | Independent source, convergence evidence and measured quantities. The solver must avoid analytical gain, loss, RMS or sizing formulas under test. |
|
| 17 |
+
| 7. Simulate independently in NGSpice | Create an executable switch-level deck. Run matched models and separately vary assumptions such as finite Cout or nonlinear devices. | Executed decks, logs, settings, probes, window checks and representative waveforms. |
|
| 18 |
+
| 8. Qualify with three-way comparison | Compare analytical, independent numerical and NGSpice results on common points. Distinguish model sensitivity from solver or implementation error. | Pairwise metrics, component losses, thresholds, worst witnesses and unresolved issues. |
|
| 19 |
+
| 9. Integrate with OpenPELS | Use the local registration, Analysis, editor and Simulator packaging procedure below. Align handoff and capability contracts. | Stable IDs, matching source/runtime assets, editable starter, continuous applicable controls and outputs. |
|
| 20 |
+
| 10. Exercise user and regression workflows | Complete the Analysis and Simulator parity matrices and run permanent regressions, including the tagged 4:1 reference. | Row-by-row Chrome evidence at port 8765, normal cache reload and fresh context, download and error recovery checks. |
|
| 21 |
+
| 11. Publish the decision and evidence | Complete the technical report, register witnesses and commit documentation, reproducible inputs and curated evidence. | Source and artifact hashes, conditions and limits, manifest, test inventory and Minjie review-log entry. Keep temporary files under the ignored runtime directory. |
|
| 22 |
+
|
| 23 |
+
Complete physics and independent qualification before Gallery registration. Review a draft starter through **Open project**. Keep blocked or unverified applicable controls open in the parity records. Analytical/numerical validation, workbench feature qualification and hardware validation require separate evidence.
|
| 24 |
+
|
| 25 |
+
## Integration guide
|
| 26 |
+
|
| 27 |
+
### 1. Define the reference and its intended coverage
|
| 28 |
|
| 29 |
Record the circuit source and provenance, component and switch count, winding orientation and coupling, operating mode, switching sequence, and nominal conversion ratio. Align the reference drawing with the model's graph. XFLY6S uses analytical ID `xfly2p`, starter ID `xfly6s` and simulator ID `xfly6s` in the explicit Gallery mapping. The similar alias for XFLY8S represents a documented circuit difference. For a draft, the existing deliverables are an SVG and an optional portable project. Open the project explicitly in Schematic while qualification is pending. [Gallery mapping](../../static/gallery.js#L4), [starter metadata](../../static/starters/index.json#L16), [XFLY6S model notes](../../static/compare/models-data.json#L4), [draft path](topology_requirements.md#schematic-only-entries-today)
|
| 30 |
|
| 31 |
+
### 2. Prepare a qualified Gallery entry
|
| 32 |
|
| 33 |
1. Prepare the base SVG and a candidate SVG with a suitable viewBox. Confirm wiring, junctions, winding dots, ports, and labels against the intended circuit. For the existing XFLY6S display chain, `annotate_schematics.py` reads the base drawing and produces loss and candidate variants. A new verified base SVG can come from the editor's SVG export. Both Gallery and Analysis use static assets at runtime. One image does not create the editor project or an executable testbench. [reference assets](../../local-source/openpels-analysis/annotate_schematics.py#L17), [candidate assets](../../local-source/openpels-analysis/annotate_schematics.py#L40), [gallery rendering](../../static/gallery.js#L61), [Analysis image resolution](../../static/compare/app.js#L113)
|
| 34 |
2. Add the catalog record and formula descriptions, and implement the qualified numeric model in the existing analytical engine. Check the valid gain/duty domain, resistance normalization and sizing, charging treatment, output resistance, and losses excluded by the assumptions. Supply the `specs` and `excitation` data used by `familyIds()` and `ripplePoint()`. Review topology-specific branches in the current analysis and technology presentation where the new circuit needs distinct area labels, capacitor count, or supported operating limits. The XFLY6S formula table and executable code both encode a piecewise law at `D = 0.5`. The executable expressions define the calculation. The archive also has a Python reference and Python/JavaScript parity tests to update if they cover the changed model. [formula table](../../static/compare/models-data.json#L163), [coefficient code](../../static/compare/engine.js#L8), [recommendation code](../../static/compare/recommend.js#L3), [area labels](../../static/compare/app.js#L29), [technology](../../static/compare/technology.js#L6), [parity test](../../local-source/openpels-analysis/test_static_engine.py#L8)
|
| 35 |
3. Add a `gallery.js` preset keyed by the same catalog ID, with the Gallery image and qualified starter and simulator IDs. Confirm the intended ratio is already among the published filter choices. For **6:1**, the existing filter and Analysis handoff accept the ratio but have no qualified family yet, so a valid model and family entry must precede a card. Review the empty-state text and tests when this changes. For **3:1**, the Gallery filter list, Analysis controls and handoff validation lack 3:1, as does the editor shelf if a starter tab is needed. Update the selectors and their round-trip tests together when a 3:1 topology qualifies. Adding a catalog row alone cannot surface a 3:1 card. [Gallery filters and registration](../../static/gallery.js#L94), [Analysis controls](../../static/compare/index.html#L5), [Analysis handoff](../../static/compare/app.js#L153), [starter tabs](../../static/index.html#L104)
|
| 36 |
|
| 37 |
+
### 3. Add an editable starter when supplied
|
| 38 |
|
| 39 |
Define the structural circuit and draft the native project using the existing editor/import pipeline. For the XFLY6S generator, the definition contains `parts`, `positions`, and descriptive metadata. `importSpiceSources()` creates the project. The generator binds bulk and model parameters, places and routes it, then emits the project, structural `.sp`, and manifest entry. Regenerate those outputs with the current starter packaging and update the topology-specific checker where needed. Confirm the manifest `ratio`, `model` and `project` and the Gallery `starter` mapping. With a qualified starter, **Edit schematic** loads it explicitly. Gallery selection alone preserves the current edited project. [generator definition](../../local-source/openpels/scripts/openpels/generate-starters.mjs#L47), [import](../../local-source/openpels/scripts/openpels/generate-starters.mjs#L131), [generation](../../local-source/openpels/scripts/openpels/generate-starters.mjs#L445), [fixture checker](../../local-source/openpels/scripts/openpels/check-starters.mjs#L9), [workbench handoff](../../static/pe.js#L100)
|
| 40 |
|
| 41 |
+
### 4. Add an NGSpice testbench when qualified
|
| 42 |
|
| 43 |
1. Prepare a runnable deck with models, loads, sources, switching expressions and timing, parasitics, initial conditions, `.save` probes, `.tran`, and output and measurement controls. XFLY6S uses `xfly6s_transient.cir` as the parameterized template. It also has original long-settling and winding-DCR-mismatch cases. The current packager has an explicit circuit list and iterates all three variants per listed circuit. It checks deck and schematic PNG hashes against `testbenches-source.json` and writes case metadata, images, deck files and the download archive. Record the provenance of any future decks accurately. The existing manifest and test cases are pinned to a specific XFLY source revision. [XFLY6S deck](../../static/testbenches/netlists/xfly6s_transient.cir#L5), [timing and control](../../static/testbenches/netlists/xfly6s_transient.cir#L101), [source index](../../local-source/openpels/scripts/openpels/testbenches-source.json#L1), [packager](../../local-source/openpels/scripts/openpels/package-testbenches.py#L14)
|
| 44 |
2. A registered Simulator preset also requires a coordinated engine entry for label, switch count, duty calibration, template output names, capacitor differences and required signals. The UI and bridge have topology-specific selector, image, label and frequency assumptions. The service has its own allowlist and substitutes the packaged `*_transient.cir` path. The pinned engine file is checksum-verified on startup. A deck or manifest row supplies the testbench material. Register the qualified topology at its ratio throughout the Gallery, job service, and browser handoff. Use its own duty law, parameter domain, waveform probes, and measurement contract. Adding a previously unsupported runtime ID would require reviewing these existing integration points and the engine lock rather than silently changing the pinned original. [engine registry](../../simulator/library/ngspice/studies/xfly6s_xfly8s_c3l_scaled_comparison/gui/xfly_compare_gui.py#L62), [engine deck preparation](../../simulator/library/ngspice/studies/xfly6s_xfly8s_c3l_scaled_comparison/gui/xfly_compare_gui.py#L1123), [service allowlist](../../simulator_service.py#L17), [engine check](../../simulator_service.py#L94), [simulator frame](../../simulator_frame.py#L10), [simulator bridge](../../simulator_bridge.js#L57)
|
| 45 |
+
3. Associate the Gallery `simulator` ID only after real deck and result qualification. Use the related-preset note if the reference graph differs. The integrated Simulator includes the original 4:1 presets and the SI2, SP2 and RSC2 2:1 presets. A deck in qualification can stay standalone until its controls, operating domain and return handoff are verified. [Gallery note pattern](../../static/gallery.js#L11), [workbench ratio gate](../../static/pe.js#L61), [frame handoff guard](../../simulator_bridge.js#L129)
|
| 46 |
|
| 47 |
+
### 5. Rebuild the matching artifacts locally
|
| 48 |
|
| 49 |
The tracked checkout serves prebuilt `static/`. The corresponding sources are in [`static/openpels-source.zip`](../../static/openpels-source.zip) and available locally under `local-source/`. Use the source-side files when preparing a future change. Workbench packaging copies the source assets into `openpels/apps/editor/dist-pe/`. The parent repository's `local-source/` tree is ignored, so a release snapshot needs the corresponding source ZIP as well as changed runtime artifacts. [Build guide](../../README.md#L66), [local ignores](../../.gitignore#L1), [packaging](../../local-source/openpels/scripts/openpels/package-site.py#L5)
|
| 50 |
|
|
|
|
| 57 |
|
| 58 |
The [local rebuild instructions](../../README.md#L66) cover the installed toolchain and alternate port. The archived `build.py` runs type checks, the Vite PE build, starter generation and checks, testbench packaging, and `package-site.py`. `pnpm build` prepares the workspace packages used by the starter scripts. The full build regenerates the editor bundle even when only library data changes. Compare the generated tree and retain the matched sources and changed output. Validate `dist-pe` first through `OPENPELS_STATIC_DIR`, with a separate `PORT` and `OPENPELS_RUN_DIR`. The archived `deploy.py` contacts and modifies the original Space and is outside the local workflow. [build.py](../../local-source/openpels/scripts/openpels/build.py#L5), [package-site.py](../../local-source/openpels/scripts/openpels/package-site.py#L24), [local launcher](../../run-local.sh#L14), [deployment script](../../local-source/openpels/scripts/openpels/deploy.py#L61)
|
| 59 |
|
| 60 |
+
### 6. Verify the addition in the existing app
|
| 61 |
|
| 62 |
Previously validated simulation parameter sets are regression benchmarks. For each applicable input, provide a continuous numeric range and support simultaneous edits. Check physical and numerical bounds before execution, use the entered values in the netlist, and report result reliability after execution.
|
| 63 |
|
docs/topology/topology_validation_checklist.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# Topology validation checklist
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
## 1. Establish reference identity and model scope
|
| 6 |
|
|
@@ -8,12 +8,19 @@ This checklist applies to future topology-library additions. Every new entry nee
|
|
| 8 |
- [ ] Trace the schematic, netlist and analyzed states. Record device order and width allocation, phase/pulse frequencies, physical gate duty versus comparison duty, overlaps/dead time, capacitor charge balance, winding volt-second balance, device conduction orientation and state-specific current signs. Include intentional assumptions for CCM, sharing, switching region, limits and guarantee of valid gate states. Use the existing editor and exports when an editable starter is supplied. [circuit data model](../architecture/circuit_data_model.md), [state checks](../../static/compare/engine.js#L14)
|
| 9 |
- [ ] Define a component-by-component loss ledger. Include MOSFET conduction, capacitor ESR, inductor DCR, charging and the applicable switching, gate and Coss treatment. Document how each term is evaluated, included in another term, or excluded with justification and a bound or operating limit where appropriate. If a material loss remains unknown in the claimed domain, the model is incomplete for registration. No loss component may be assigned zero solely because a model or measurement is unavailable. [analytical specification](analytical_model_specification.md), [loss ledger](analytical_simulation_consistency.md#loss-ledger-and-double-counting)
|
| 10 |
|
|
|
|
|
|
|
| 11 |
## 2. Verify analytical results
|
| 12 |
|
| 13 |
- [ ] Derive executable coefficients independently of the displayed strings. Match `valid()` and the nominal family to the verified state sequence and gain relation. Check native ratio, region boundaries, invalid inputs, and the FSL/SSL limiting regimes. Verify capacitor/path units and any finite-RC calculation at zero/nonzero limits. For XFLY6S verify both sides of `D = 0.5`, the correct branch at nominal 4:1, and continuity there. [engine.js:8](../../static/compare/engine.js#L8), [technology.js:5](../../static/compare/technology.js#L5), [model boundary tests](../../local-source/openpels-analysis/test_models.py#L8)
|
| 14 |
- [ ] Reconcile `Rs`, `Rc`, `Rl`, `Cf`, `fs`, `Req` and actual device budgets between absolute and per-unit outputs. Verify `Iout²·Req` and `Req = RFSL + Radd`. Use one charging increment and a separate gate/optional Coss term where applicable. Verify width/area share totals, bounded sizing and the optimization objective independently. Use an explicit `Eoss` value if the calculation includes that loss and record its source. [engine.js:20](../../static/compare/engine.js#L20), [allocation](../../static/compare/engine.js#L12), [technology calculation](../../static/compare/technology.js#L7), [recommendation objective](../../static/compare/recommend.js#L16)
|
| 15 |
- [ ] Run existing and candidate-specific tests for coefficients and absolute/per-unit parity, valid/invalid domains, and shortlist coverage. Verify affected browser inspection and exports show the same coefficient definitions, units, sizing reference and known exclusions. [per-unit tests](../../local-source/openpels-analysis/test_per_unit.py#L5), [browser/Python parity](../../local-source/openpels-analysis/test_static_engine.py#L8), [reference export](../../static/compare/app.js#L70)
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
## 3. Verify the executable transient and measurement contract
|
| 18 |
|
| 19 |
- [ ] Preserve authoritative source-case decks and provenance. Provide executable models, gate drives, parasitic values, load and supply, ICs, analysis and `.save`/output statements. Document the safe nominal point, valid bounds, duty rule and named probe contract. Check that the generated deck reproduces the intended circuit and gate sequence. A manifest row alone does not supply an integrated preset. [testbench packager](../../local-source/openpels/scripts/openpels/package-testbenches.py#L14), [deck preparation:1123](../../simulator/library/ngspice/studies/xfly6s_xfly8s_c3l_scaled_comparison/gui/xfly_compare_gui.py#L1123), [preset registration](../../simulator_service.py#L17)
|
|
@@ -21,6 +28,11 @@ This checklist applies to future topology-library additions. Every new entry nee
|
|
| 21 |
- [ ] Demonstrate steady state separately from the service's end-window rule. Compare several common whole periods, successive windows and longer runs. Check cycle-to-cycle capacitor and winding states, voltage/current bounds, and power/energy closure. Repeat with finer maximum step and stated tolerances, especially around dead time and duty-region boundaries. Check exposed sweep points for domain, clamps, and actual measured load. [end-window rule:1454](../../simulator/library/ngspice/studies/xfly6s_xfly8s_c3l_scaled_comparison/gui/xfly_compare_gui.py#L1454), [XFLY6S sensitivity](analytical_simulation_consistency.md#xfly6s-overlap-and-local-verification)
|
| 22 |
- [ ] Compare analytical and simulated losses at matched *delivered* voltage and current, aligned gate/event rates and equivalent passive/device budgets. Track the power boundary, external gate proxy, Coss treatment and any unmodeled stored energy. Inspect per-element loss waveforms separately when attribution is needed. Record unexplained differences and their impact on qualification. [comparison crosswalk](analytical_simulation_consistency.md#operating-point-and-parameter-crosswalk), [energy processing:1247](../../simulator/library/ngspice/studies/xfly6s_xfly8s_c3l_scaled_comparison/gui/xfly_compare_gui.py#L1247)
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
## 4. Separate routine registration from approval-dependent changes
|
| 25 |
|
| 26 |
Local topology expansion and the shared interface changes necessary for parity are authorized. Retain this heading for links from historical review records.
|
|
@@ -35,3 +47,18 @@ Local topology expansion and the shared interface changes necessary for parity a
|
|
| 35 |
- [ ] Complete the mandatory [Feature Parity Validation checklist](feature_parity_checklist.md) for this topology, including the per-control comparison and Chrome cache check at port 8765. Link the completed record in [Batch 3 acceptance evidence](feature_parity_checklist.md#batch-3-acceptance) when applicable.
|
| 36 |
- [ ] Build only from the existing local source workflow. Verify generated assets, the source ZIP, and Git LFS integrity. Smoke-test a fresh localhost instance using Chrome: the proper ratio filter, Gallery→Analysis→Simulator handoff, initial and returned operating point, run results and downloads, and any starter's edit/undo/export path. Re-run XFLY6S, XFLY8S and C3L on their existing 4:1 paths and check sweep behavior where affected. [build and browser suites](../../local-source/openpels/scripts/openpels/README.md#L9), [existing Gallery tests](../../local-source/openpels/scripts/openpels/gallery.browser.mjs#L9), [existing simulator tests](../../local-source/openpels/scripts/openpels/simulator.browser.mjs#L40)
|
| 37 |
- [ ] Report source and generated changes, evidence and tolerances for loss and waveform results, tests run and failures/retries, remaining assumptions and scope limits, and any work outside the authorized scope. Commit the validated milestone locally under `openpels-dev` or its feature branch. Do not alter the baseline tag or commit runtime outputs. [Git and reporting rules](../../AGENTS.md#L12)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Topology validation checklist
|
| 2 |
|
| 3 |
+
Copy this checklist into the candidate’s qualification record and attach an evidence link or reason for each item. Follow the [standard development sequence](topology_addition_workflow.md#standard-qualification-sequence) and use the [report template](technical_validation_report_template.md). Every new entry needs both a complete analytical loss model for its declared scope and a validated, integrated NGSpice preset at its declared ratio. A completed job, a structural editor netlist, or a topology-only drawing is insufficient for entry. Minjie Chen owns the overall functional definition and architecture. Backward-compatible extensions for local parity are authorized. Use the original 4:1 XFLY6S workflows as the functional reference. [Development rules](../../AGENTS.md#L5), [addition workflow](topology_addition_workflow.md), [current inventory](topology_inventory.md)
|
| 4 |
|
| 5 |
## 1. Establish reference identity and model scope
|
| 6 |
|
|
|
|
| 8 |
- [ ] Trace the schematic, netlist and analyzed states. Record device order and width allocation, phase/pulse frequencies, physical gate duty versus comparison duty, overlaps/dead time, capacitor charge balance, winding volt-second balance, device conduction orientation and state-specific current signs. Include intentional assumptions for CCM, sharing, switching region, limits and guarantee of valid gate states. Use the existing editor and exports when an editable starter is supplied. [circuit data model](../architecture/circuit_data_model.md), [state checks](../../static/compare/engine.js#L14)
|
| 9 |
- [ ] Define a component-by-component loss ledger. Include MOSFET conduction, capacitor ESR, inductor DCR, charging and the applicable switching, gate and Coss treatment. Document how each term is evaluated, included in another term, or excluded with justification and a bound or operating limit where appropriate. If a material loss remains unknown in the claimed domain, the model is incomplete for registration. No loss component may be assigned zero solely because a model or measurement is unavailable. [analytical specification](analytical_model_specification.md), [loss ledger](analytical_simulation_consistency.md#loss-ledger-and-double-counting)
|
| 10 |
|
| 11 |
+
- [ ] Record human review of the exact base drawing, state diagrams, timing table and structural netlist. Confirm active paths, passive sign conventions, intervals and any excluded dead-time or overlap states. Save the approved project revision and local graph corrections.
|
| 12 |
+
|
| 13 |
## 2. Verify analytical results
|
| 14 |
|
| 15 |
- [ ] Derive executable coefficients independently of the displayed strings. Match `valid()` and the nominal family to the verified state sequence and gain relation. Check native ratio, region boundaries, invalid inputs, and the FSL/SSL limiting regimes. Verify capacitor/path units and any finite-RC calculation at zero/nonzero limits. For XFLY6S verify both sides of `D = 0.5`, the correct branch at nominal 4:1, and continuity there. [engine.js:8](../../static/compare/engine.js#L8), [technology.js:5](../../static/compare/technology.js#L5), [model boundary tests](../../local-source/openpels-analysis/test_models.py#L8)
|
| 16 |
- [ ] Reconcile `Rs`, `Rc`, `Rl`, `Cf`, `fs`, `Req` and actual device budgets between absolute and per-unit outputs. Verify `Iout²·Req` and `Req = RFSL + Radd`. Use one charging increment and a separate gate/optional Coss term where applicable. Verify width/area share totals, bounded sizing and the optimization objective independently. Use an explicit `Eoss` value if the calculation includes that loss and record its source. [engine.js:20](../../static/compare/engine.js#L20), [allocation](../../static/compare/engine.js#L12), [technology calculation](../../static/compare/technology.js#L7), [recommendation objective](../../static/compare/recommend.js#L16)
|
| 17 |
- [ ] Run existing and candidate-specific tests for coefficients and absolute/per-unit parity, valid/invalid domains, and shortlist coverage. Verify affected browser inspection and exports show the same coefficient definitions, units, sizing reference and known exclusions. [per-unit tests](../../local-source/openpels-analysis/test_per_unit.py#L5), [browser/Python parity](../../local-source/openpels-analysis/test_static_engine.py#L8), [reference export](../../static/compare/app.js#L70)
|
| 18 |
|
| 19 |
+
- [ ] Verify signed KCL for every relevant state and interface and KVL around each conducting path. Check capacitor charge, winding volt-seconds, switching-state continuity, units and conservation over a full steady-state period. Report absolute and normalized residuals with signs and scales.
|
| 20 |
+
- [ ] Derive the independent numerical solve from the reviewed states, primitive component laws and ports. Keep topology-specific state definitions and assumptions in their fixture or adapter. Share integration, sampling, residual checks and reporting. A second evaluation or translation of the analytical expressions is a parity check only.
|
| 21 |
+
- [ ] Before running comparisons, choose model, solver and physical acceptance thresholds. Define units, the relative denominator, an absolute floor near zero and failure conditions. Use tighter solver limits than the claimed model accuracy, with justified exceptions.
|
| 22 |
+
- [ ] Sweep nominal, parameter limits and regime transitions. Exercise coupled parameter changes, boundary and rejection witnesses. Individual input ranges do not establish qualification across their full Cartesian product.
|
| 23 |
+
|
| 24 |
## 3. Verify the executable transient and measurement contract
|
| 25 |
|
| 26 |
- [ ] Preserve authoritative source-case decks and provenance. Provide executable models, gate drives, parasitic values, load and supply, ICs, analysis and `.save`/output statements. Document the safe nominal point, valid bounds, duty rule and named probe contract. Check that the generated deck reproduces the intended circuit and gate sequence. A manifest row alone does not supply an integrated preset. [testbench packager](../../local-source/openpels/scripts/openpels/package-testbenches.py#L14), [deck preparation:1123](../../simulator/library/ngspice/studies/xfly6s_xfly8s_c3l_scaled_comparison/gui/xfly_compare_gui.py#L1123), [preset registration](../../simulator_service.py#L17)
|
|
|
|
| 28 |
- [ ] Demonstrate steady state separately from the service's end-window rule. Compare several common whole periods, successive windows and longer runs. Check cycle-to-cycle capacitor and winding states, voltage/current bounds, and power/energy closure. Repeat with finer maximum step and stated tolerances, especially around dead time and duty-region boundaries. Check exposed sweep points for domain, clamps, and actual measured load. [end-window rule:1454](../../simulator/library/ngspice/studies/xfly6s_xfly8s_c3l_scaled_comparison/gui/xfly_compare_gui.py#L1454), [XFLY6S sensitivity](analytical_simulation_consistency.md#xfly6s-overlap-and-local-verification)
|
| 29 |
- [ ] Compare analytical and simulated losses at matched *delivered* voltage and current, aligned gate/event rates and equivalent passive/device budgets. Track the power boundary, external gate proxy, Coss treatment and any unmodeled stored energy. Inspect per-element loss waveforms separately when attribution is needed. Record unexplained differences and their impact on qualification. [comparison crosswalk](analytical_simulation_consistency.md#operating-point-and-parameter-crosswalk), [energy processing:1247](../../simulator/library/ngspice/studies/xfly6s_xfly8s_c3l_scaled_comparison/gui/xfly_compare_gui.py#L1247)
|
| 30 |
|
| 31 |
+
- [ ] Repeat selected nominal and difficult NGSpice cases from independently chosen states, preferably zero stored voltage/current when the circuit permits it. Record initialization, last and preceding whole-period windows, step refinement and failures. Treat startup behavior as a separate validation claim.
|
| 32 |
+
- [ ] Report analytical/numerical, analytical/NGSpice and numerical/NGSpice errors with units, thresholds and worst cases for total and component results. Keep matched assumptions separate from finite ports, timing, leakage and nonlinear devices. Identify voltage clamps as imposed conditions and compare independently measured current or losses.
|
| 33 |
+
- [ ] Account for applicable channel, ESR, winding, redistribution, overlap, recovery, gate and Coss terms. State the power boundaries and which losses are measured, modeled, unknown or inapplicable. Check that alternative physical and asymptotic ledgers reconstruct one series total. Retain separate Rdrop and Rpower where appropriate. State constraints on any sizing or optimization result.
|
| 34 |
+
- [ ] Use the [2:1 baseline manifest](baselines/validated-2to1-v1.0/manifest.json) for example residuals. Its paired finite-port limits include 0.10% power resistance, 0.20 mV mean output, 0.20% charge fraction and an energy tolerance of max(10 µW, 2% of stage loss). Matched SC targets include 10 ppm analytical-to-ODE resistance and 0.10% for clamped resistance and load current. Adopt or justify different thresholds from the candidate’s physics, instrument and numerical scales.
|
| 35 |
+
|
| 36 |
## 4. Separate routine registration from approval-dependent changes
|
| 37 |
|
| 38 |
Local topology expansion and the shared interface changes necessary for parity are authorized. Retain this heading for links from historical review records.
|
|
|
|
| 47 |
- [ ] Complete the mandatory [Feature Parity Validation checklist](feature_parity_checklist.md) for this topology, including the per-control comparison and Chrome cache check at port 8765. Link the completed record in [Batch 3 acceptance evidence](feature_parity_checklist.md#batch-3-acceptance) when applicable.
|
| 48 |
- [ ] Build only from the existing local source workflow. Verify generated assets, the source ZIP, and Git LFS integrity. Smoke-test a fresh localhost instance using Chrome: the proper ratio filter, Gallery→Analysis→Simulator handoff, initial and returned operating point, run results and downloads, and any starter's edit/undo/export path. Re-run XFLY6S, XFLY8S and C3L on their existing 4:1 paths and check sweep behavior where affected. [build and browser suites](../../local-source/openpels/scripts/openpels/README.md#L9), [existing Gallery tests](../../local-source/openpels/scripts/openpels/gallery.browser.mjs#L9), [existing simulator tests](../../local-source/openpels/scripts/openpels/simulator.browser.mjs#L40)
|
| 49 |
- [ ] Report source and generated changes, evidence and tolerances for loss and waveform results, tests run and failures/retries, remaining assumptions and scope limits, and any work outside the authorized scope. Commit the validated milestone locally under `openpels-dev` or its feature branch. Do not alter the baseline tag or commit runtime outputs. [Git and reporting rules](../../AGENTS.md#L12)
|
| 50 |
+
|
| 51 |
+
- [ ] Register permanent tests and reference artifacts in the [regression registry](regression_test_registry.md). Include a versioned manifest with source and evidence hashes, case IDs, exact decks, solver versions, report links and unresolved issues. Archive curated evidence with the milestone and keep temporary jobs under the ignored runtime directory.
|
| 52 |
+
|
| 53 |
+
## Residual and comparison definitions
|
| 54 |
+
|
| 55 |
+
Use signed, declared port and passive-component conventions throughout. Integrate over a common whole switching period, or the full modulation cycle when it spans several switching periods. Set numerical floors and reference scales in the candidate report before inspecting the results.
|
| 56 |
+
|
| 57 |
+
| Check | Calculation and required evidence |
|
| 58 |
+
|---|---|
|
| 59 |
+
| State KCL/KVL | Sum signed branch currents at the reviewed nodes in A, and signed drops around the reviewed loops in V. Report worst residuals by state. Retain edge discontinuities and distinguish them from the adjacent-interval values. |
|
| 60 |
+
| Charge and volt-seconds | Integrate each capacitor current in C and each ideal winding voltage in V·s over a period. Include output-capacitor charge and per-leg quantities. Normalize to a meaningful transported charge or voltage × period when applicable. |
|
| 61 |
+
| Periodic convergence | Report state changes per common period, adjacent measurement-window differences and change after reducing the time step. Verify observed switch states and timing. Use another initial state or a longer run for selected points. |
|
| 62 |
+
| Energy conservation | Under passive sign conventions, compare input energy minus delivered energy with dissipated energy plus the change of stored energy. Include auxiliary sources only within the declared boundary. Record both the absolute residual and its normalization, including small-loss behavior. |
|
| 63 |
+
| Component loss | For linear resistance use period-average current squared times resistance. For nonlinear components use signed terminal power with the declared energy/storage account. Reconcile each component and total and identify charging or shunt terms that would otherwise be counted twice. |
|
| 64 |
+
| Cross-method error | Report absolute analytical/independent, analytical/NGSpice, and independent/NGSpice differences. Also report relative errors against a named denominator when it is well conditioned. Evaluate model differences and solver refinement with separate thresholds. |
|