Spaces:
Running
Running
Download static/index.html from minjiechen/OpenPELS: direct link, hf CLI and curl.
- Browser
- Download file 9.49 kB
-
https://huggingface.co/spaces/minjiechen/OpenPELS/resolve/2afa4694e83cb73023594a917a096c1a589302ff/static/index.html
- Command line
-
hf download hf://spaces/minjiechen/OpenPELS@2afa4694e83cb73023594a917a096c1a589302ff/static/index.html
-
curl -L -o index.html https://huggingface.co/spaces/minjiechen/OpenPELS/resolve/2afa4694e83cb73023594a917a096c1a589302ff/static/index.html
9.49 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width,initial-scale=1" /> | |
| <meta | |
| name="description" | |
| content="OpenPELS: Open Source Power Electronics Librarian Systems. Edit converter schematics and compare loss mechanisms, die allocation and coupled magnetics." | |
| /> | |
| <title>OpenPELS: Open Source Power Electronics Librarian Systems</title> | |
| <link rel="stylesheet" href="./pe.css" /> | |
| </head> | |
| <body> | |
| <header class="topbar"> | |
| <a class="brand" href="./index.html" | |
| ><span class="brand-icon">↯</span | |
| ><span | |
| >OpenPELS<small | |
| >OPEN SOURCE POWER ELECTRONICS<br />LIBRARIAN SYSTEMS</small | |
| ></span | |
| ></a | |
| > | |
| <nav aria-label="Workspace"> | |
| <button class="active" data-view="gallery">Gallery</button> | |
| <button data-view="compare" disabled>Analysis</button> | |
| <button data-view="simulator" disabled>Simulator</button> | |
| <button data-view="design">Schematic</button> | |
| </nav> | |
| <div class="file-actions" hidden> | |
| <button id="open-project">Open project</button | |
| ><button class="primary" id="save-project" disabled> | |
| ↓ Save project</button | |
| ><input | |
| hidden | |
| id="project-file" | |
| type="file" | |
| accept=".json,.icproj.json" | |
| /> | |
| </div> | |
| </header> | |
| <div id="message" role="status" aria-live="polite"></div> | |
| <section id="gallery-view" aria-label="Topology gallery"> | |
| <div class="gallery-hero"> | |
| <div class="eyebrow">THE POWER ELECTRONICS LIBRARY</div> | |
| <h1> | |
| Find your topology.<br /><span>Explore what makes it work.</span> | |
| </h1> | |
| <p> | |
| Choose a conversion ratio, explore matching circuits, and open a | |
| topology for detailed analysis and simulation. | |
| </p> | |
| <div class="workflow-steps"> | |
| <span><b>01</b> Choose a ratio</span><i>→</i | |
| ><span><b>02</b> Select a topology</span><i>→</i | |
| ><span><b>03</b> Analyze & simulate</span> | |
| </div> | |
| </div> | |
| <div class="gallery-toolbar"> | |
| <div> | |
| <h2>Topology gallery</h2> | |
| <p id="gallery-count">Loading supported topologies…</p> | |
| </div> | |
| <div | |
| id="gallery-ratios" | |
| class="gallery-ratios" | |
| aria-label="Filter by conversion ratio" | |
| ></div> | |
| </div> | |
| <div id="gallery-cards" class="gallery-cards"></div> | |
| <div id="gallery-empty" class="gallery-empty" hidden> | |
| <span>More families ahead</span> | |
| <h2>This family is awaiting validation.</h2> | |
| <p id="gallery-empty-text"></p> | |
| </div> | |
| <p class="gallery-note"> | |
| Families follow the qualified coupled-inductor reference models. | |
| Simulation availability is shown on each card. | |
| </p> | |
| </section> | |
| <section id="selection-bar" hidden aria-label="Selected topology"> | |
| <button id="back-gallery">← Gallery</button | |
| ><img id="selected-image" alt="" /> | |
| <div class="selected-identity"> | |
| <small id="selected-ratio"></small> | |
| <h1 id="selected-name"></h1> | |
| <p>Curated reference · independent of canvas edits</p> | |
| </div> | |
| <div class="selection-actions"> | |
| <button id="selected-analysis">Detailed analysis</button | |
| ><button id="selected-simulate" class="primary">Simulate →</button | |
| ><button id="selected-edit">Edit schematic</button> | |
| </div> | |
| <p id="selected-availability" role="status"></p> | |
| </section> | |
| <main id="design-view" class="design-layout" hidden> | |
| <aside class="library"> | |
| <div class="eyebrow">START WITH A CIRCUIT</div> | |
| <h1>From topology<br />to tradeoffs.</h1> | |
| <p class="intro"> | |
| Draw a converter. Explore its devices, coupling and connections. | |
| Compare established analytical models. | |
| </p> | |
| <div class="section-label">Conversion ratio</div> | |
| <div class="ratio-pills" id="family-tabs"> | |
| <button data-ratio="2">2:1</button | |
| ><button data-ratio="4" class="active">4:1</button | |
| ><button data-ratio="6">6:1</button><button data-ratio="8">8:1</button | |
| ><button data-ratio="16">16:1</button> | |
| </div> | |
| <div id="starter-list"></div> | |
| <div class="library-note"> | |
| <b>A real schematic editor.</b><br />Place components, draw wires and | |
| edit values. Changes use the original editor’s undo and connectivity | |
| engine. | |
| </div> | |
| <details class="help"> | |
| <summary>Canvas shortcuts</summary> | |
| <p> | |
| I — insert component<br />W — draw wire<br />Esc — cancel tool<br />Ctrl/⌘ | |
| Z — undo<br />Use the editor’s View menu to fit the circuit. | |
| </p> | |
| <p> | |
| Click a component to edit its properties. The File menu exports SVG | |
| and design netlists. | |
| </p> | |
| </details> | |
| </aside> | |
| <section class="workspace"> | |
| <div class="workspace-bar"> | |
| <div> | |
| <span class="live-dot"></span | |
| ><strong id="project-name">Opening circuit…</strong | |
| ><span id="save-status">Local workspace</span> | |
| </div> | |
| <span class="workspace-label">SCHEMATIC / CONNECTIVITY</span> | |
| </div> | |
| <iframe | |
| id="editor" | |
| title="Editable power electronics schematic" | |
| src="./pe-editor.html" | |
| ></iframe> | |
| <div class="workspace-foot"> | |
| <span>Structural circuit models · generic MOSFET placeholders</span | |
| ><span | |
| >Export a netlist for device-model and transient verification.</span | |
| > | |
| </div> | |
| </section> | |
| <aside class="inspector"> | |
| <div class="eyebrow">CIRCUIT CONTEXT</div> | |
| <h2 id="context-name">Power converter</h2> | |
| <p id="context-description"></p> | |
| <div class="metrics"> | |
| <div><strong id="device-count">—</strong><span>switches</span></div> | |
| <div><strong id="winding-count">—</strong><span>windings</span></div> | |
| <div><strong id="cap-count">—</strong><span>capacitors</span></div> | |
| </div> | |
| <div class="section-label">Analysis provenance</div> | |
| <div id="model-status" class="model-status"> | |
| Loading the reference project… | |
| </div> | |
| <p class="fineprint"> | |
| The scoreboard evaluates curated topology models. It does not infer a | |
| new analytical model from arbitrary rewiring. | |
| </p> | |
| <button id="compare-reference" class="wide primary" disabled> | |
| Analyze reference topology → | |
| </button> | |
| <div class="section-label assumptions-title">WHAT YOU CAN COMPARE</div> | |
| <ul class="mechanisms"> | |
| <li> | |
| <i class="fet"></i>Switch conduction <b>R<sub>S</sub></b> | |
| </li> | |
| <li> | |
| <i class="cap"></i>Capacitor ESR <b>R<sub>C</sub></b> | |
| </li> | |
| <li> | |
| <i class="ind"></i>Winding copper <b>R<sub>L</sub></b> | |
| </li> | |
| <li> | |
| <i class="ssl"></i>Charge sharing <b>R<sub>SSL</sub></b> | |
| </li> | |
| <li><i class="sw"></i>Gate / switching estimate</li> | |
| </ul> | |
| <p class="fineprint"> | |
| Device area allocation, equivalent output resistance and per-unit | |
| coefficients remain available in the scoreboard. | |
| </p> | |
| <details> | |
| <summary>Model limits</summary> | |
| <p class="fineprint"> | |
| NGSpice runs the available circuit models in the Simulator tab. | |
| Editable schematic starters use structural MOSFET placeholders. No | |
| foundry PDK is connected. Coupling values are illustrative. The TSMC | |
| 180 nm figure of merit is user-supplied; Ron × area is editable and | |
| illustrative by default. Unmodeled core and transition losses are | |
| not certified as zero. | |
| </p> | |
| </details> | |
| </aside> | |
| </main> | |
| <section id="compare-view" hidden> | |
| <div class="compare-caption"> | |
| <strong>Detailed topology analysis</strong | |
| ><span id="compare-context" | |
| >Curated reference circuits · independent of canvas edits</span | |
| ><button id="back-design">← Back to gallery</button> | |
| </div> | |
| <iframe | |
| id="comparison" | |
| title="Topology loss scoreboard" | |
| data-src="./compare/index.html" | |
| ></iframe> | |
| </section> | |
| <section | |
| id="simulator-view" | |
| hidden | |
| aria-label="Integrated NGSpice simulator" | |
| > | |
| <div class="simulator-caption"> | |
| <strong>Transient simulation</strong | |
| ><span>XFLY6S, XFLY8S and C3L · independent of canvas edits</span | |
| ><span id="simulator-status" role="status"></span> | |
| </div> | |
| <iframe id="simulator" title="OpenPELS NGSpice simulator"></iframe> | |
| </section> | |
| <footer> | |
| <span | |
| >Adapted from | |
| <a | |
| href="https://github.com/cascode-ai/analog-canvas" | |
| target="_blank" | |
| rel="noopener" | |
| >Analog Canvas</a | |
| > | |
| · AGPL-3.0</span | |
| ><span | |
| ><a href="./openpels-source.zip" download>Download complete source</a> | |
| <a href="./LICENSE.txt" target="_blank">License</a> · Power electronics | |
| workspace</span | |
| > | |
| </footer> | |
| <script type="module" src="./pe.js"></script> | |
| </body> | |
| </html> | |