Elvis0001 commited on
Commit
90135c4
·
1 Parent(s): c6e45d7

Document OpenPELS topology library expansion workflow

Browse files
docs/topology/topology_addition_workflow.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Workflow for adding a converter topology
2
+
3
+ Use the existing OpenPELS boundaries established by Minjie Chen. Decide whether the contribution is a draft schematic, a qualified Gallery reference, a reference with an editable starter, or a reference with a simulator preset. Each stage calls for different evidence and build outputs. This workflow records the steps for future work. [Inventory](topology_inventory.md) · [Registration requirements](topology_requirements.md)
4
+
5
+ ```mermaid
6
+ flowchart LR
7
+ D[Reviewed reference schematic]
8
+ P[Portable Analog Canvas project]
9
+ O[Open project in Schematic]
10
+ A[Qualified analytical model and ratio]
11
+ G[Gallery entry]
12
+ T[Qualified NGSpice preset]
13
+ S[Simulator at supported ratio]
14
+ D --> A --> G
15
+ D --> P --> O
16
+ P -. Optional starter .-> G
17
+ T -. Optional preset .-> G
18
+ G -->|With a preset at 4 to 1| S
19
+ ```
20
+
21
+ ## 1. Define the reference and its intended coverage
22
+
23
+ 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)
24
+
25
+ ## 2. Prepare a qualified Gallery entry
26
+
27
+ 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)
28
+ 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)
29
+ 3. Add a `gallery.js` preset keyed by the same catalog ID, with the Gallery image and optional 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. Coordinate an explicit scope decision before changing those existing selectors. 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)
30
+
31
+ ## 3. Add an editable starter when supplied
32
+
33
+ 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)
34
+
35
+ ## 4. Add an NGSpice testbench when qualified
36
+
37
+ 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)
38
+ 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 by itself only supplies testbench material. 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)
39
+ 3. Associate the Gallery `simulator` ID only after real deck and result qualification. Use the related-preset note if the reference graph differs. The current integrated Simulator is 4:1 only. A converter in a different family can have a separately validated deck while omitting the Gallery simulation mapping under the current UI behavior. [Gallery note pattern](../../static/gallery.js#L11), [workbench ratio gate](../../static/pe.js#L61), [frame handoff guard](../../simulator_bridge.js#L129)
40
+
41
+ ## 5. Rebuild the matching artifacts locally
42
+
43
+ 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)
44
+
45
+ | Change | Source inputs to edit or review | Generated or packaged results to compare |
46
+ | --- | --- | --- |
47
+ | Gallery, catalog or analytical model | `openpels/scripts/openpels/gallery.js`, `openpels-analysis/static/{models-data.json,recommend.js,engine.js}` and needed analysis renderer, technology or formula test updates. For a new supported selector, review the archived shell and Analysis HTML and the `analysis_bridge.js` guard. | `gallery.js`, `compare/` data, scripts and images, applicable shell HTML, and the corresponding source ZIP. |
48
+ | Reference and candidate art | `openpels-analysis/static/assets/` and `openpels-analysis/annotate_schematics.py` when reproducing its annotated variants. | Base and candidate SVGs and an annotated SVG if the inspector loads one. The site packager copies existing art. |
49
+ | Editable starter | `openpels/scripts/openpels/generate-starters.mjs`, its fixture checker, or the existing native project source used for the starter. | `starters/<id>.icproj.json`, `starters/<id>.sp`, `starters/index.json`, and source ZIP. |
50
+ | Additional testbench material or integrated preset | Decks and PNGs in the `openpels-analysis` study tree, `openpels/scripts/openpels/testbenches-source.json` and `package-testbenches.py`. An integrated preset also touches the engine/lock, service, frame and bridge entries listed above. | `testbenches/index.json`, `testbenches/netlists/`, `testbenches/images/`, `testbenches/xfly-testbenches.zip`, source ZIP, and applicable root simulator files. |
51
+
52
+ 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)
53
+
54
+ ## 6. Verify the addition in the existing app
55
+
56
+ | Capability | Acceptance check |
57
+ | --- | --- |
58
+ | Gallery and Analysis | In Chrome, check the card count, intended ratio filter and inclusion under **All topologies**. Open the card and verify the correct image, name, model, qualified ratio, loss coefficients and operating-point handoff. Verify excluded ratios and unqualified families still show the expected empty state. Update exact card-count and expected-ID assertions when a real addition changes them. [gallery browser suite](../../local-source/openpels/scripts/openpels/gallery.browser.mjs#L9) |
59
+ | Native starter | From **Edit schematic**, verify real connectivity, winding polarity, placement and labels. Export a structural SPICE netlist and compare it to the expected graph, then save, reopen and export the portable project. Verify undo and reference detachment for an electrical edit and that a Gallery selection alone does not overwrite the current project. Use `check-starters.mjs` and `browser-check.mjs`. For a draft, verify **Open project** and keep the circuit outside Gallery. [starter checks](../../local-source/openpels/scripts/openpels/check-starters.mjs#L9), [editor browser suite](../../local-source/openpels/scripts/openpels/browser-check.mjs#L19) |
60
+ | Analytical model | Verify numerical values and units independently at the nominal ratio and domain boundaries, including expected behavior around regime changes. Compare formula text with actual outputs. Verify model-specific assumptions and graphical annotations. Run the archived analysis model/parity tests where relevant. [per-unit tests](../../local-source/openpels-analysis/test_per_unit.py#L5), [parity test](../../local-source/openpels-analysis/test_static_engine.py#L8) |
61
+ | NGSpice | Run the standalone bench checker for relevant original cases and a real run in the integrated Simulator for every new preset. Verify actual gate and waveform behavior, finite measured output, expected phase-current signs, generated `.cir`, log, sampled CSV, and result provenance. If the preset participates in sweeps, check the selected topology and results through the 15-point flow. A card without a preset should keep Simulate unavailable. [standalone runner](../../static/testbenches/run_testbench.py#L21), [simulation browser suite](../../local-source/openpels/scripts/openpels/simulator.browser.mjs#L40), [sweep tests](../../local-source/openpels/scripts/openpels/simulator.browser.mjs#L112) |
62
+
63
+ The archived browser scripts accept `OPENPELS_URL`. Pass the alternate local origin to `browser-check.mjs` and its `/index.html` URL to `gallery.browser.mjs` and `simulator.browser.mjs`. Validate the ZIP and asset paths, review the staged diff, check Git LFS, and keep runtime data and source-build caches ignored. Record the tested capabilities and any unavailable ones in the local commit report. [Test commands](../../local-source/openpels/scripts/openpels/README.md#L25), [development rules](../../AGENTS.md#L19)
docs/topology/topology_inventory.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # OpenPELS topology inventory
2
+
3
+ The current release contains **nine analytical catalog records, six visible Gallery cards, three editable starters, and three NGSpice preset families**. The Gallery qualifies 2:1 and 4:1 coupled-inductor references. This inventory also includes catalog records outside the Gallery. It does not count different drawings of one topology, individual testbench variants, or unrelated editor examples as additional converters. See [topology requirements](topology_requirements.md) and [addition workflow](topology_addition_workflow.md).
4
+
5
+ ## Existing converters
6
+
7
+ Reference and Gallery SVG names are relative to [`static/compare/assets/`](../../static/compare/assets/). A starter ID names a portable `.icproj.json` and its companion structural `.sp` file in [`static/starters/`](../../static/starters/). A simulator preset ID names a group in the [testbench manifest](../../static/testbenches/index.json#L1).
8
+
9
+ | Converter and catalog ID | Qualified Gallery ratios | Reference SVG / Gallery SVG | Editable starter | Analytical model | NGSpice preset |
10
+ | --- | --- | --- | --- | --- | --- |
11
+ | XFLY6S · 2P (`xfly2p`) | 4:1 | `xfly6s.svg` / `xfly6s-candidate.svg` | `xfly6s` | Yes. Paper model for the two-command cell. | `xfly6s`, at 4:1 |
12
+ | XFLY8S · 4P (`xfly4p`) | 4:1 | `xfly4p.svg` / `xfly4p-candidate.svg` | `xfly8s`, related realization | Yes. Restricted four-pulse split-middle model. | `xfly8s`, related preset at 4:1 |
13
+ | Three-level buck (`3lbuck`) | 2:1, 4:1 | `3lbuck.svg` / `3lbuck-candidate.svg` | None | Yes. Paper model. At 2:1 the recommendation applies the ideal midpoint-hold condition. | `c3l`, at 4:1 only |
14
+ | Capacitor-clamped buck (`2sbuck`) | 4:1 | `2sbuck.svg` / `2sbuck-candidate.svg` | None | Yes. Paper model with an idealized clamp-ESR assumption. | None |
15
+ | Stacked synchronous buck (`buck`) | 2:1 | `buck.svg` / `buck-candidate.svg` | None | Yes. Fixed 4:1 loss-sizing reference used at the qualified 2:1 electrical cancellation point. | None |
16
+ | Two-phase synchronous buck (`buck2`), shown as **Two-phase coupled buck** | 2:1 | `buck2.svg` / `buck2-candidate.svg` | `buck2` | Yes. Derived flat-current loss model with 2:1 device sizing. | None |
17
+ | Two-phase 2:1 series-parallel switched capacitor (`sp2`) | Outside Gallery | `sp2.svg` / — | None | Yes. Fixed 2:1 periodic RC model. The candidate SVG also exists. | None |
18
+ | XFLY-Boost (`boost`) | Outside Gallery | `boost.svg` / — | None | Topology and a conditional step-up gain relation only. No numerical loss model. | None |
19
+ | XFLY-NS (`ns`) | Outside Gallery | `ns.svg` / — | None | Topology only. Requires a specified switching sequence and state derivation. | None |
20
+
21
+ Evidence for the matrix comes from the [catalog and formula table](../../static/compare/models-data.json#L2), [Gallery preset map](../../static/gallery.js#L4), [family specifications and excitation table](../../static/compare/recommend.js#L3), [starter manifest](../../static/starters/index.json#L1), and the [simulator gate](../../static/pe.js#L61). The archived analysis guide explains the stacked buck sizing and three-level buck midpoint assumptions. [Analysis guide: family scope](../../local-source/openpels-analysis/README.md#L246)
22
+
23
+ XFLY8S is a related match by design. The analytical drawing includes `Cc1` and `Cc2` clamps, while its editable starter and transient preset use two cross-linked capacitors and omit those clamps. The Gallery carries this difference in its note. The additional `xfly8s.svg` is not the catalog or card asset for another topology. [Gallery preset](../../static/gallery.js#L11), [catalog record](../../static/compare/models-data.json#L23)
24
+
25
+ ## Ratio coverage and artifact counts
26
+
27
+ | Ratio | Live Gallery coverage | Native starter shelf | Integrated simulation |
28
+ | --- | --- | --- | --- |
29
+ | 2:1 | Three cards: `3lbuck`, `buck`, `buck2` | `buck2` | None at this ratio |
30
+ | 3:1 | No filter or registered family | No shelf tab or starter | None |
31
+ | 4:1 | Four cards: `xfly2p`, `xfly4p`, `3lbuck`, `2sbuck` | `xfly6s`, `xfly8s` | `xfly6s`, `xfly8s`, `c3l` |
32
+ | 6:1, 8:1, 16:1 | Filters exist and show the unvalidated empty state | Tabs exist, no matching starters | None |
33
+
34
+ Three-level buck appears in two filters and counts once under **All topologies**. `FAMILY_RATIOS` defines the available Gallery filters. `familyIds()` checks `specs` against keys in `excitation`, and the Gallery intersects that list with the catalog and preset map. Numerical-domain checks in `engine.valid(id, M)` describe the range of the reference equations. An equation returning a value at `M = 1/3` or `1/6` does not qualify a 3:1 or 6:1 Gallery family. The catalog's `ratio` array encodes relative transistor allocation, while `recommend.specs` owns nominal family ratios. [Gallery ratio setup](../../static/gallery.js#L94), [Gallery loader](../../static/gallery.js#L107), [qualification](../../static/compare/recommend.js#L3), [numeric domain and allocation](../../static/compare/engine.js#L8), [starter tabs](../../static/index.html#L104)
35
+
36
+ Each of the three NGSpice groups contains startup, long-settling, and scaled winding-DCR-mismatch cases. The main Simulator uses the group's startup `.cir` file as a parameterized template. All nine originals also have manifest case IDs and checksums. The runtime has an original-case job path and a standalone validation runner, while the browser Simulator has a preset selector only. [XFLY6S cases](../../static/testbenches/index.json#L8), [XFLY8S cases](../../static/testbenches/index.json#L129), [C3L cases](../../static/testbenches/index.json#L259), [template selection](../../simulator_service.py#L105), [source-case runner](../../simulator_service.py#L123)
docs/topology/topology_requirements.md ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Requirements for a topology entry
2
+
3
+ This checklist describes the existing OpenPELS registration mechanism. It covers a Gallery reference, an optional native starter, and an optional testbench. The components can be prepared independently. The current Gallery requires an analytically qualified reference to bring them together. See the [inventory](topology_inventory.md) for what ships today.
4
+
5
+ ## Mandatory and optional components
6
+
7
+ | Component | Required for a Gallery card? | Contract and XFLY6S example |
8
+ | --- | --- | --- |
9
+ | Catalog row | Yes | Stable ID `xfly2p` in `models-data.json`. Existing rows define `id`, `name`, `short`, `family`, `switches`, `color`, `gain`, `range`, `status`, `ratio`, `asset`, and `note`. These are the current metadata conventions, not a formal input schema. `ratio` is the array of relative device sizes on the model, `[1, 1, 1, 3]` for XFLY6S. [catalog row](../../static/compare/models-data.json#L4), [allocation](../../static/compare/engine.js#L12) |
10
+ | Gallery preset and image | Yes | `gallery.js` adds the `xfly2p` preset with displayed name `XFLY6S` and `image: "xfly6s-candidate.svg"`. The thumbnail and selected-topology header load that image from `compare/assets/`. The Gallery currently labels cards as coupled magnetics and advertises analysis on every card. [preset](../../static/gallery.js#L5), [tile](../../static/gallery.js#L61), [selected header](../../static/pe.js#L76) |
11
+ | Qualified family and numerical reference | Yes for an accurate, functional entry | Add a matching `specs` record and an `excitation` record keyed by the ID, plus a numerical domain, coefficients and analysis metadata. XFLY6S has `ratio: 4`, `caps: 2`, `windings: 2`, `magnetics: "coupled"`, and `{level: 0.5, pulses: 1}`. `familyIds()` reads `specs.ratios` or the single `specs.ratio` for excitation keys. No card appears unless the resulting family is in `FAMILY_RATIOS`. The code does not separately certify the equations at load time. The entry must supply real qualification evidence. [family definitions](../../static/compare/recommend.js#L3), [Gallery loader](../../static/gallery.js#L107), [domain and coefficients](../../static/compare/engine.js#L8) |
12
+ | Analysis drawings and formula display | Yes for a complete reference | Catalog `asset` points to `xfly6s.svg`. Recommendation panels derive `xfly6s-candidate.svg` from that basename. The existing XFLY6S circuit inspector explicitly chooses `xfly6s-loss.svg`. Other IDs use the base drawing unless the renderer includes them in its annotated-asset list. The text formulas are catalog data while the numerical expressions live in code. [catalog](../../static/compare/models-data.json#L4), [cards](../../static/compare/app.js#L35), [recommendation image](../../static/compare/app.js#L113), [formula table](../../static/compare/models-data.json#L163) |
13
+ | Editable Analog Canvas starter | Optional | Add a portable circuit to the starter build, a manifest row and `starter: "xfly6s"` in the Gallery preset when offering **Edit schematic**. The manifest fields emitted by the generator are `id`, `name`, `ratio`, `model`, `switches`, `phases`, `description`, and `project`. `model: "xfly2p"` maps the unmodified editor project back to the catalog. Runtime loading needs the manifest and `.icproj.json`. The companion `.sp` ships as its structural origin. [starter manifest](../../static/starters/index.json#L16), [generator output](../../local-source/openpels/scripts/openpels/generate-starters.mjs#L445), [editor action](../../static/pe.js#L117), [reference action](../../static/pe.js#L235) |
14
+ | NGSpice preset | Optional | Add `simulator: "xfly6s"` only for a registered and qualified simulator preset. A runnable deck, simulator drawing, preset definition and signal/probe contract are required. The current UI only enables Gallery simulation at 4:1 and within its output-voltage and current bounds. An original-case deck and manifest record alone do not create a selectable preset. [UI gate](../../static/pe.js#L61), [request validation](../../simulator_service.py#L40), [engine preset](../../simulator/library/ngspice/studies/xfly6s_xfly8s_c3l_scaled_comparison/gui/xfly_compare_gui.py#L63) |
15
+ | Related-preset note | Conditional | `simulationRelation: "related"` and `simulationNote` let the Gallery disclose a material schematic or testbench difference. XFLY8S uses them for the unclamped starter and simulator. [XFLY8S mapping](../../static/gallery.js#L11), [action labels](../../static/pe.js#L82) |
16
+
17
+ ## Reference schematic and starter evidence
18
+
19
+ At nominal 4:1, the XFLY6S analytical routine evaluates `M = Vout/Vin = 0.25` and `D = 2M = 0.5`. The per-unit row returns FET, capacitor, winding and SSL coefficients of `0.375`, `0.125`, `0.5` and `0`, respectively. Each coefficient multiplies its own resistance scale. These results describe the stated reference model and do not qualify hardware efficiency or define the gate timing in the executable deck. [model table](../../static/compare/models-data.json#L163), [coefficient function](../../static/compare/engine.js#L9), [per-unit evaluation](../../static/compare/engine.js#L20)
20
+
21
+ The reference SVG is a static illustration. For XFLY6S the archived base `openpels-analysis/static/assets/xfly6s.svg` is an existing native drawing. `annotate_schematics.py::generate()` adds fixed-size loss labels to it and writes `xfly6s-loss.svg`. `candidates()` makes a display copy without blue control overlays and notes, retaining gate terminals and circuit wiring. `build.py` and `package-site.py` do not run that illustration generator. They package the art already present in the analysis source tree. The repository does not contain a complete regeneration path for all base manuscript drawings. The archived `build_family_schematics.py` even references a sibling `source/build_schematics.py` that is missing from this checkout and the source ZIP. A new drawing can be prepared locally and placed as a reviewed SVG in the analysis asset tree. The existing native editor can export SVG, so a verified editable drawing can also supply a base illustration if its circuit matches the intended analytical reference. [annotation generator](../../local-source/openpels-analysis/annotate_schematics.py#L17), [candidate generator](../../local-source/openpels-analysis/annotate_schematics.py#L40), [missing builder reference](../../local-source/openpels-analysis/build_family_schematics.py#L5), [package copy](../../local-source/openpels/scripts/openpels/package-site.py#L11), [native SVG export](../../local-source/openpels/apps/editor/src/features/editor-shell/editor-file-commands.ts#L107)
22
+
23
+ The native starter is an electrical project. XFLY6S defines six named MOSFETs, two cross-linked flying capacitors and two windings with opposite output-current reference directions. It declares `VIN`, `VOUT`, `PGND` and formal gate ports including `MA` and `MB`. The generator imports the structural SPICE, assigns symbols, placement, bulk binding, routes, junctions and labels, then serializes and parses the canonical project before writing it. Its routing assumptions are specific to the existing starters, including names `L1`, `L2`, `Cin`, and `Cout` and converter-specific capacitor routing. A new graph needs its own verification of circuit connectivity and routings. The checked-in XFLY6S design has structural MOS models and gate ports. Its transient deck separately supplies physical gate drives, load, initial conditions, and the analysis command. [generator definition](../../local-source/openpels/scripts/openpels/generate-starters.mjs#L47), [SPICE import](../../local-source/openpels/scripts/openpels/generate-starters.mjs#L131), [routing](../../local-source/openpels/scripts/openpels/generate-starters.mjs#L210), [structural SPICE](../../static/starters/xfly6s.sp#L3), [transient timing](../../static/testbenches/netlists/xfly6s_transient.cir#L103)
24
+
25
+ ## Schematic-only entries today
26
+
27
+ - **Usable in OpenPELS now.** Keep a reference SVG and, if editing is needed, a portable `.icproj.json`. Open the project via **Schematic → Open project** as a custom circuit. The app gives imported projects no starter or reference model, and the user can edit, save, and export them through the existing editor. The SVG is a standalone illustration until a qualified Gallery entry refers to it. [file import](../../static/pe.js#L328), [custom project handling](../../static/pe.js#L268), [native exports](../../local-source/openpels/apps/editor/src/app/editor-menus.tsx#L513)
28
+ - **Catalog material can exist without Gallery exposure.** `boost` and `ns` have records and base SVGs with status **Topology only**. They have no Gallery preset or qualified excitation family. A new entry can be prepared at the same artifact level, with no claim that it is discoverable in Gallery. A standalone editable project also avoids making a starter entry whose matching signature enables the reference control even when the `model` ID cannot be resolved. [topology-only records](../../static/compare/models-data.json#L135), [Gallery loader](../../static/gallery.js#L107), [signature and reference control](../../static/pe.js#L287), [reference lookup](../../static/pe.js#L235)
29
+ - **A visible schematic-only Gallery card has no current registration path.** Adding only a catalog row, SVG or `.icproj.json` does not satisfy the Gallery intersection. Adding an unqualified excitation entry to make a card visible would advertise analysis and route to the focused analysis view without a valid model. A 3:1 draft also hits the missing ratio selectors. A 6:1 draft hits the existing empty family state. Keep these as editable projects or documented draft illustrations until the current qualification requirements can be met. [Gallery requirements](../../static/gallery.js#L107), [card capability text](../../static/gallery.js#L74), [default analysis navigation](../../static/pe.js#L100), [analysis handoff validation](../../static/compare/app.js#L153)