Repository navigation
Home
James Dunkerley edited this page Dec 3, 2026
·
19 revisions
Conductor is an app for building models of power systems and solving them.
- Build a network. A network describes a power system: its buses (nodes), generators, loads, lines, storage and the hours it runs over. You build it in the web or desktop app, or from Python.
- Solve it. Conductor hands the network to an energy modelling framework, today PyPSA, which works out the cheapest way to run the system, or to build and run it. You read the results in the app's tables and charts.
- Keep every version. Each saved change and each solve is stored as a numbered version, so you can go back to, copy or solve again any earlier state of a network.
New to the terms? See the Glossary.
- Walkthroughs: PyPSA examples built and solved step by step in the app, with the files to download and the key learnings of each.
- Glossary: the power system and PyPSA terms the walkthroughs use.
- The expression language: how to write a custom constraint and a custom statistic.
The rest of this wiki explains how Conductor is built and how to work on it. The repository is transition-zero/tz-ps-conductor.
- Architecture: the map. Start here.
- Backend core: packages, layers and plug-in seams.
- The domain model: what a network, a component, a value and a framework are in memory.
-
The Python API:
Project,NetworkandComponentHandle. - The composition root and configuration: where each shared dependency is built, start-up and shutdown, and the config document.
- The expression language: how it is built: the grammar, the two parsers, and who checks and evaluates.
- Storage: warehouses, stores, the object store and the handover.
- Execution: runs, durable jobs, the solve process, retries and recovery.
- Network file imports and exports: the file formats and the two jobs.
- The workflow engine: the builder, the generated module, steps and running.
- The HTTP API and the contracts: routes, problem documents, the OpenAPI contract, the SDK and the expression grammar.
- The frontend and the desktop app: the React app and the Electron shell.
- Build, CI and release: set-up, CI, deployment and releases.
- Adding a framework: what a framework is made of and the steps to add one to the backend.
- Adding an object store: what an alternate store such as S3 takes, and what it does not cover.
- Testing philosophy: which test a change needs, and the rules the suites hold.
- Testing review: what the suites cover today and where they are thin.
The architecture and testing pages were written against commit
d5aad1f44 on 19 Nov 2026.
The rules a change must follow live in the repository's CLAUDE.md files and win where a page
here disagrees.
Using the app
Architecture
- Overview
- Python API
- Domain model
- Backend core
- Composition root and config
- Expression language internals
- Storage
- Execution
- Imports and exports
- Workflow engine
- HTTP API and contracts
- Frontend and desktop
- Build, CI and release
Contributing