GridMapper
Desktop software for transmission planners: open a power-flow case, see it on a map, study new generation and load, and fix what won't solve. A GPU solver runs AC N-1 in seconds, and an AI assistant can edit the case and re-run the study. Cases convert to and from CIM (CGMES), checked against open-source tools on public models.
What it does
See the network
Cases with coordinates open on a real lat/lon map with state and county lines. Drill from the whole system to an area, a bus and a single element, coloured by loading or voltage class.
Any substation opens as a one-line with flows and loadings on the drawing. Edit from the drawing, and changes queue as proposals until you apply them.
Cases without coordinates can be placed from a public gazetteer or your own GIS file, with every match reviewed first.
Find where megawatts fit
Prospecting estimates the MW that fit at each bus, names the limiting element and contingency, and builds an upgrade ladder priced from regional per-unit costs.
Site Finder goes from a parcel's coordinates or a map link to the nearest substations and their headroom.
The Study Library collects public study reports, queues, plans and $/kW benchmarks by region, with links to the sources.
POI Study
Add solar, wind, BESS, a hybrid or a large load at a point of interconnection. It runs contingency analysis before and after, lists the constraints the project causes with their DFAX, and gives an indicative cost and a one-page summary. Costs are screening figures, not study results.
Exhaustive N-1
A full AC outage of every line, two-winding transformer and in-service generating unit, with no .con file needed. Generator Q limits are enforced after each outage. Results land in a sortable table, and any row lights up on the map.
Trace the path between two buses
Bus Distance finds the shortest route and reports its hop count, estimated length and electrical distance (Σ|X|), segment by segment, then draws the route on the network.
Fix a case that won't solve
The Convergence Analyzer tries a ladder of relaxations to find out why a case diverges, screens the data, and suggests fixes you allow or rule out. It can apply them round by round until the case converges.
The Case Editor adds elements or bulk-edits by area, zone, owner, bus or kV, always with a preview first.
Ask the assistant
The assistant works through the same tools you do. It can queue and apply an edit, re-run contingency analysis and report what changed, naming the tool behind its figures.
It also reads public study reports and cites the page each number came from.
Works with your files
Reads RAW v33–v36, RAWX and EPC, attaches .dyr and .dyd dynamics, and converts between formats. No vendor software is needed.
Run contingency analysis
Screened or full AC runs on your .sub, .mon and .con files, or on a study set GridMapper builds from the network. Compare Cases diffs records and violations into new, worse, cleared and improved. TARA-format results can be imported onto the map.
The solver
Exhaustive N-1 runs on a custom C++/CUDA solver. It factors the base-case Jacobian once and applies each outage as a low-rank Woodbury correction, with an exact double-precision mismatch and Anderson acceleration. Each iteration is one batched triangular solve across thousands of outages, so every converged answer is a true AC solution to 1e-8 pu. Contingency analysis runs on a separate Rust engine.
| Study | Grid | Outages | GPU | Exact Newton, 32 threads |
|---|---|---|---|---|
| Branch outages | 2,000 bus | 3,206 | 0.033 | 0.410 |
| Branch outages | 10,000 bus | 12,706 | 0.332 | 5.89 |
| Branch outages | 25,000 bus | 32,229 | 1.82 | 74.3 |
| Branch outages | 70,000 bus | 88,207 | 11.7 | 906 |
| Branch + unit, Q limits | 25,000 bus | 36,008 | 4.37 | 200 |
| Branch + unit, Q limits | 70,000 bus | 96,314 | 31.7 | ≈ 2,071 |
Outage counts include islanding outages, which are identified and reported rather than solved. Outages that don't converge are flagged: 85 of the 70,000-bus branch run, and 221 plus 3 with Q limits unsettled in its branch-and-unit run. The ≈ figure is extrapolated from a 5,000-outage sample.
How the numbers are checked
- Every converged outage checked agrees with an independent Newton reference (PYPOWER) to within 8.7e-9 pu: all of ACTIVSg2000, and seeded samples of the larger grids.
- Against the separately written Rust engine, overload sets match on 99.72% of the 24,120 outages both solve on a 25,000-bus planning case, with Q limits on.
- On the same machine and 25,000-bus grid, 27× the fastest open-source setup measured (lightsim2grid's chord mode on 16 threads, which leaves 49 outages unconverged) and 43× the fastest that converges everything exact Newton does (its exact Newton on 16 threads).
Known limits
- Exhaustive N-1 has no tap or switched-shunt control and no multi-element contingencies, and it uses constant-power loads.
- Three-winding transformers are monitored, not outaged. The slack's Q is not limited.
- The GPU path needs an RTX 50-series card. Other machines run on all CPU cores.
- Benchmarks come from public synthetic grids on one machine, and real systems are richer. No commercial tool's speed was measured.
The CIM model layer
GridMapper converts planning cases between PSS/E, PSLF and CIM (CGMES 2.4.15 and 3.0, IEC 61970) through one node-breaker model. Every source record is either mapped or listed in a loss report, and nothing is dropped silently. Each model then passes validation rules, a topology processor, a solvability check and geolocation checks, and ends with a scorecard. A sign-off step runs the same studies on the source and the converted model and accepts it only when every difference is explained.
Short circuit (IEC 60909), DC optimal power flow, RMS stability and unbalanced distribution feeders (IEC 61968) run directly on the CIM model.
| Check | Model | Result |
|---|---|---|
| PSS/E → CGMES 3.0 → PSS/E, AC power flow | ACTIVSg70k, 67,900 buses | Same voltages to 6.8e-13 pu, flows to 1e-9 MW |
| Records accounted for | ACTIVSg70k | 204,970 of 204,970 (1 in the loss report) |
| Conversion time | ACTIVSg70k | 11.5 s to CGMES 3.0 (about 800 MB of CIM-XML), 7.1 s back |
| AC N-1 before and after conversion | ACTIVSg25k, 30,729 outages | Identical violations (63,452 with Q limits on) |
| Statement-level read and write | 155 ENTSO-E conformity models | 147 exact; 8 rejected with the file and line of the rule they break |
| Topology against the supplied buses | 18 ENTSO-E models read | 17 identical |
| Validation rules | 81 planted defects, 74 rules | Each caught exactly once, on the right equipment |
| Sign-off of a converted case | ACTIVSg25k | 0 unexplained differences across N-1 and 130 transfer limits |
How the numbers are checked
- Each conversion is solved three ways: from the source, after a round trip through CGMES, and with a separately written reader.
- Every CIM study is matched to an independent open-source tool or a published worked example (table below).
- Every number was re-run on the final code, and the acceptance results were re-verified independently.
Known limits
- A strict reader: files that break CGMES rules are rejected, not guessed at.
- Rebuilt from equipment and settings alone, 9 of 15 ENTSO-E configurations reproduce their supplied solution.
- Across tools, 17 of 189 tool pairs still differ without a traced cause.
- HVDC records are not converted yet, and stability is checked on the classical machine model only.
Compare it yourself
Every case below is public: the ACTIVSg synthetic grids from Texas A&M, ENTSO-E's CGMES conformity models, and the IEEE test cases. The open-source tools are the versions shipped on PyPI, run on the same machine.
| Task | Case | Open-source tool | Tool | GridMapper |
|---|---|---|---|---|
| AC N-1, every branch outage | ACTIVSg2000 | lightsim2grid 1.1.0, fastest setup | 0.207 | 0.034 |
| AC N-1, every branch outage | ACTIVSg10k | lightsim2grid 1.1.0, fastest setup | 5.43 | 0.347 |
| AC N-1, every branch outage | ACTIVSg25k | lightsim2grid 1.1.0, fastest setup | 48.4 | 1.79 |
| AC N-1, every branch outage | ACTIVSg70k | lightsim2grid 1.1.0, fastest setup | ≈ 893 | 11.6 |
| AC N-1, every branch outage | ACTIVSg10k | PowSyBl OpenLoadFlow 2.3.0 | 68.1 | 0.347 |
| Load a PSS/E case | ACTIVSg70k | pypowsybl 1.16.1 | 10.0–14.4 | 2.35 |
| Convert PSS/E to CGMES 3.0 | ACTIVSg70k | pypowsybl 1.16.1 | 22.5–27.8 | 11.5 |
| Load a CGMES 3.0 model | ENTSO-E RealGrid, 117 MB | pypowsybl 1.16.1 | 6.8–7.6 | 0.73 |
"Fastest setup" is lightsim2grid's quickest configuration on 16 or 32 threads, which leaves 4, 15, 25 and 1 outages unconverged; its fastest setup that converges everything is 0.272, 7.99, 77.3 and ≈ 1,035 s. The ≈ figure is extrapolated from a 4,000-outage sample. GridMapper's GPU times are from the open-source comparison runs; the 11.7 s above is the solver's own benchmark. pypowsybl times exclude its start-up; GridMapper's include it. Ranges are three or four runs.
| Quantity | Case | Reference | Largest difference |
|---|---|---|---|
| Post-outage voltages, AC N-1 | ACTIVSg2000, all 3,206 outages | PYPOWER, exact Newton | 8.7e-9 pu |
| AC power-flow voltages | ENTSO-E RealGrid, 6,051 nodes | pypowsybl 1.16.1 | 6.7e-8 pu |
| AC power-flow voltages | IEEE 118 | VeraGrid 6.7.1 | 4.9e-11 pu |
| Breaker-fault contingencies generated | ACTIVSg70k | pypowsybl 1.16.1 | 142,702 = 142,702 |
| Short-circuit currents | IEC TR 60909-4 test network | Published values | 8.1e-6 relative |
| Short-circuit currents | 54 fault currents | pandapower 3.5.6 | 9.1e-15 relative |
| DC-OPF cost | IEEE 118 | PYPOWER rundcopf | 1.8e-12 relative |
| Unbalanced feeder voltages | IEEE 123, 274 nodes | OpenDSS | 3.6e-5 pu |
The RealGrid figure holds once five documented modeling conventions are set the same way in both tools; with each tool's defaults the difference is 3.1e-4 pu.
Hardware
- CPU: AMD Ryzen 9 9950X3D, 16 cores, 32 threads
- GPU: NVIDIA GeForce RTX 5090, 32 GB
- Memory: 96 GB DDR5-6000
- Storage: WD_BLACK SN8100 and SN850X NVMe, 2 TB each
- OS: Windows 11 Pro
How the runs were done
- Timed on a quiet machine, with CPU and GPU load logged during each run.
- N-1 times are medians of four calls.
- The open-source tools were run as shipped, with no tuning or source builds.
- No commercial tool's speed was measured.
Questions or a demo? Get in touch
Directed, briefed and owned by Senan Demel. Built with AI coding agents.