OpenDSS Designer
A free, open-source graphical user interface (GUI) for
OpenDSS, EPRI's distribution system
simulator — built on OpenDSSDirect.py.
Draw a substation-style one-line (single-line) diagram in your browser — the
drawing is the circuit model — then run a power flow and see voltages,
loading, and violations right on the diagram. Import existing .dss files,
edit visually or in a spreadsheet view, and export runnable OpenDSS scripts.
📖 Documentation: opendssdesigner.ryanmsparks.com
Features (v1)
- Click-and-place palette: Source (Vsource), Busbar, 2-winding Transformer, Breaker/Switch, Load — placement is sticky, so keep clicking to drop several; Esc to stop
- Drag-to-wire: drag between terminals; choose Wire (ideal connection, merges buses) or Line (a real OpenDSS Line with impedance and length). Illegal connections (busbar-to-busbar wires, self-connections, duplicates) are refused with an explanation
- Stretchable busbars with connection points along both edges (top and bottom rows), plus implicit junction buses when you wire elements directly together
- Double-click a breaker to open/close it; double-click a wire or line to add a draggable routing point and shape the run yourself (double-click a point to remove it)
- Properties panel with the OpenDSS parameters for each element (kV, kVA, impedances, phases 1/2/3, wye/delta, load model…)
- Solve button → snapshot power flow → overlays on the diagram: bus voltages (pu), element loading as pie charts + %, power flows, with color-coded violations (undervoltage blue, overvoltage/overload red) and total losses in the status bar — or toggle Auto to re-solve automatically on every circuit change
- Live validation: unconnected terminals, missing source, islands, duplicate names, kV mismatches — errors disable Solve and halo the offending element
- Spreadsheet view: an Elements tab in the bottom panel lists every source, busbar, transformer, line, breaker, and load in an editable table (plus a read-only bus-results table after a solve) — edit values in bulk with an Excel-style fill-down handle, click ⌖ to locate an element on the diagram
- Undo/redo (Ctrl+Z / Ctrl+Y), delete key, grid snapping, pan/zoom, minimap
- Save/Open projects as JSON; Export a runnable
.dssfile; Import existing.dssfiles (select the main file plus anything it redirects to) with a hierarchical auto-layout — source at top, loads beneath their buses
Install & run
Requires Python 3.10+.
pip install opendss-designer
opendss-designer # starts a local server and opens your browser
(Or from a clone of this repo: pip install -e . — see Development below for
building the frontend.)
Options: --port 8721, --no-browser.
Try it: Open examples/demo-substation.oneline.json, press Solve.
Development
Backend (FastAPI + OpenDSSDirect.py):
pip install -e .[dev]
pytest # backend test suite
PYTHONPATH=src python -m opendss_designer.cli --no-browser # serve API + built frontend
Frontend (React + Vite + React Flow), in a second terminal:
cd frontend
npm install
npm run dev # http://localhost:5173, proxies /api to :8721
To bundle the frontend into the Python package (before building a wheel):
python scripts/build_frontend.py
Architecture
frontend/— React + Vite app. React Flow canvas with custom ANSI-symbol nodes; zustand store is the canonical circuit model (zundo for undo history).window.opendssDesignerexposes the stores for console scripting.src/opendss_designer/core/connectivity.py— union-find translation of the drawn graph into OpenDSS bus names (wires merge terminals; Line edges are series elements).src/opendss_designer/core/compiler.py— circuit JSON → ordered OpenDSS Text commands; the same commands back both/api/solveand.dssexport.src/opendss_designer/core/engine.py— solves and extracts per-bus voltages and per-element loading through the OpenDSSDirect API. Full rebuild per solve; no engine state persists between requests.src/opendss_designer/core/importer.py— imports.dssby compiling it with OpenDSS's own parser and reading the model back out.
See FUTURE_IMPROVEMENTS.md for the roadmap.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opendss_designer-0.1.2.tar.gz.
File metadata
- Download URL: opendss_designer-0.1.2.tar.gz
- Upload date:
- Size: 557.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e337745d9d713761e5674ce93eddbf88c468b0f5cb5c29ae2fc055eddd4f9f44
|
|
| MD5 |
ee0d311fc94e332c6a2de01100164155
|
|
| BLAKE2b-256 |
2f1fce86e26b1e4444253b18d8f3f1a9a1d535eff1ed3fd9d2eb99c30ce8383d
|
Provenance
The following attestation bundles were made for opendss_designer-0.1.2.tar.gz:
Publisher:
publish.yml on rsparks3/opendss-designer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
opendss_designer-0.1.2.tar.gz -
Subject digest:
e337745d9d713761e5674ce93eddbf88c468b0f5cb5c29ae2fc055eddd4f9f44 - Sigstore transparency entry: 2667104929
- Sigstore integration time:
-
Permalink:
rsparks3/opendss-designer@eec101c475ad742fe634f3242b237b174a54a3f6 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/rsparks3
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@eec101c475ad742fe634f3242b237b174a54a3f6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file opendss_designer-0.1.2-py3-none-any.whl.
File metadata
- Download URL: opendss_designer-0.1.2-py3-none-any.whl
- Upload date:
- Size: 219.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4d5628fd4de6229b97aa668c5eea27710c2f11c63681abdda8aeb5d5fda275b
|
|
| MD5 |
ea875073b31bc742ef797200ccbbcc68
|
|
| BLAKE2b-256 |
8827247ca6d604daf97298ec9cbddc88dbe39081354e7c4dd92332d008116bf6
|
Provenance
The following attestation bundles were made for opendss_designer-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on rsparks3/opendss-designer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
opendss_designer-0.1.2-py3-none-any.whl -
Subject digest:
f4d5628fd4de6229b97aa668c5eea27710c2f11c63681abdda8aeb5d5fda275b - Sigstore transparency entry: 2667104983
- Sigstore integration time:
-
Permalink:
rsparks3/opendss-designer@eec101c475ad742fe634f3242b237b174a54a3f6 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/rsparks3
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@eec101c475ad742fe634f3242b237b174a54a3f6 -
Trigger Event:
release
-
Statement type: