Pravāh
Blog · November 24, 2026

Mycelium: The foundation model for the electric grid

Zhengyang Wei, Shourya Bose, Helgi Hilmarsson, Elena Carnio, and Dhruv Suri

The electric grid is one of the world’s most critical physical industries, powering hospitals, factories, transportation, and digital services. Yet engineers often work with incomplete measurements and outdated equipment records. That makes it harder to connect EV chargers and data centers, integrate rooftop solar, or locate faults after a storm. A wrong picture of the network can mean missed equipment limits, unnecessary upgrades, or longer outages. We are building Mycelium to close these information gaps. We believe the grid needs a foundation model built around electrical networks, equipment, and measurements, with the physical relationships between them at its core.

We began with distribution grids, where diverse equipment and sparse measurements make electrical conditions hard to understand. Mycelium uses one model to estimate voltages, identify customer phases and switch states, and locate faults on unfamiliar grids. Across five unfamiliar simulated networks, it achieved an 86% higher open-switch detection score than a specialized neural model. Identifying these disconnected paths helps engineers establish where electricity can flow before planning connections or restoration. Mycelium also outperformed specialized neural baselines on customer phase identification and exact fault location.

Our ambition is to build the most accurate picture of a grid from incomplete information. One reusable model could reduce the effort of developing separate tools for each network and task, helping engineers assess new demand, investigate equipment, and plan upgrades.

Distribution grids are a demanding test of inference from incomplete data

Distribution grids are where new EV chargers, rooftop solar, and customer demand meet the existing network. Yet these networks contain far more scattered assets to monitor than transmission grids. Installing sensors and communications across that equipment takes investment, and older networks were built for relatively predictable, one-way power flows. Information also sits in separate meter, equipment, and operational systems, so a field change does not automatically update the network model. The IEA’s 2026 review identifies distribution as the largest remaining gap in grid visibility and calls for replacing periodic manual updates with connected data systems. In its small survey of 14 distribution operators, 60% reported no remote control over at least half their network, indicating the remaining automation gap rather than a global estimate of sensor coverage.

Getting the grid’s condition wrong can mean missed equipment limits, unsafe restoration plans, or longer outages. On April 28, 2025, continental Spain and Portugal experienced a total blackout, Europe’s most severe in over 20 years. ENTSO-E’s investigation found interacting problems with voltage control, generator behavior, and cascading disconnections, and recommended better monitoring and data exchange. The event shows why engineers need to understand how local electrical conditions can affect the wider system. Mycelium addresses part of that information problem by estimating missing conditions and connections; the results here test that capability on distribution networks.

A supermarket worker helps a customer by flashlight during the Barcelona blackout
Figure 1. The 2025 Spain–Portugal blackout showed how local voltage problems can cascade across an interconnected grid. Investigators recommended better monitoring and data exchange, underscoring why engineers need an accurate picture of electrical conditions across the network. Photo: Nacho Doce/Reuters, via EL PAÍS.

To make this capability useful across utilities, a model needs to work on networks beyond those used to train it. Otherwise, each new grid requires another development effort. That is difficult because equipment and connections vary: opening a switch changes available paths, transformers change electrical relationships, and customer demand is unevenly spread across the three phases. Mycelium tests whether a shared model can learn enough of these relationships to work on an unfamiliar network.

One model to rule them all

To maximize its usefulness, a grid model needs to generalize across tasks as well as networks. Engineers should be able to use the model to establish what is connected, estimate how it is operating, and identify what has gone wrong. Those questions are usually addressed with separate, specialized methods. We are testing whether one model can learn the relationships they share, so engineers do not need a different tool for each task and network.

Separate specialized models

GridVVoltagemodelVoltageestimatesPhasemodelCustomerphasesSwitchmodelSwitchstatesFaultmodelFaultlocation

One shared model

GridMyceliumVoltageestimatesCustomerphasesSwitchstatesFaultlocation
Figure 2. Separate models each need to be integrated, maintained, and validated. Mycelium combines four tasks in one shared model, which could reduce duplicated engineering work when teams analyze a new grid.

To test the model, we selected four tasks that require different kinds of reasoning from incomplete measurements: estimating electrical quantities, identifying connections, and diagnosing faults. They cover both normal operation and failure conditions, and each has an established task-specific method to compare against. Together, they test whether a shared model can support a range of engineering needs:

  1. Estimate voltages: Estimate voltage at locations where measurements are missing. Engineers can use these estimates to identify possible voltage problems and establish the starting conditions for a study of new demand or generation.
  2. Identify customer phases: Determine which of the three electrical phases serves each customer. Correcting these records helps engineers see where demand is unevenly distributed before assessing EV charging or rooftop solar.
  3. Infer switch states: Identify which known switches are open or closed. This helps engineers reconstruct the available electrical paths before studying a connection or considering an alternative route to restore power.
  4. Locate faults: Detect a fault, identify its type, and estimate which equipment is affected. This could help teams narrow the equipment to inspect before sending a crew, rather than searching a wider area.

We tested these capabilities in OpenDSS, software that simulates electrical networks. We varied demand, solar output, switch positions, faults, and the amount and quality of available measurements. We separated networks before generating variants so the same underlying grid did not appear in both training and evaluation. That lets us test whether one model can support these workflows on a network it has not seen before.

Mycelium outperforms specialized baselines on three tasks across unfamiliar grids

A reusable model must work beyond the networks used to train it. We tested Mycelium on five grid models drawn from data sources excluded from training and validation. We simulated different operating conditions and measurement coverage to produce 1,043 samples across those five grids. We compared it with three specialized neural methods: DGS-GNN for identifying switch states, GraphSAGE-CPI for identifying customer phases, and STGATv2 for locating faults. Each comparison tests whether a shared model can deliver useful information for an engineering task on unfamiliar networks.

2026-11-24T18:10:43.981584 image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ DGS-GNN Mycelium 0.0 0.5 1.0 F1 score 0.440 0.821 Open-switch detection 2026-11-24T18:10:44.252806 image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ DGS-GNN Mycelium 0.0 0.5 1.0 F1 score 0.440 0.821 Open-switch detection
2026-11-24T18:10:44.014964 image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ GraphSAGE-CPI Mycelium 0 50 100 Correct predictions (%) 33.69% 40.01% Customer-phase identification 2026-11-24T18:10:44.291630 image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ GraphSAGE-CPI Mycelium 0 50 100 Correct predictions (%) 33.69% 40.01% Customer-phase identification
2026-11-24T18:10:44.039607 image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ STGATv2 Mycelium 0 50 100 Correct predictions (%) 11.77% 19.58% Exact fault location 2026-11-24T18:10:44.321101 image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ STGATv2 Mycelium 0 50 100 Correct predictions (%) 11.77% 19.58% Exact fault location
Figure 3. Mycelium outperformed a task-specific neural baseline in each of three tasks on unfamiliar networks. Better switch and customer-phase estimates could help engineers correct the network used in a study; better fault-location estimates could narrow equipment investigations. Open-switch detection uses F1, balancing missed open switches and false alarms. The other panels show the percentage of correct predictions. Higher is better.

These results could help engineers prepare a more accurate grid model before running a study. For example, an EV charging connection study may begin with missing voltage readings and uncertain customer connections. Mycelium uses the available equipment map and 24 hours of measurements to estimate the missing information. Engineers could use those estimates to prioritize records to check before assessing whether the site needs an upgrade.

Equipment knowledge reduces the model’s voltage-angle error fifteenfold

We tested how known equipment relationships help the model estimate electrical conditions more accurately. We examined one design choice behind its voltage-angle estimates: supplying known equipment relationships instead of asking the model to infer them from measurements alone. Equipment records tell us how the three alternating-current phases are arranged and how transformers shift their timing. That timing is expressed as a voltage angle and helps determine how power flows through a network. This reference lets the model focus on estimating changes under operating conditions, rather than inferring the entire relationship from sparse measurements.

We tested the value of this information by training a version without the expected phase orientation. Its voltage-angle error on unfamiliar networks rose from 1.635° to 24.896°, roughly fifteen times higher. Incorporating equipment knowledge therefore made this input to power-flow calculations substantially more accurate.

2026-11-24T18:10:44.066483 image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ Without reference With reference 0 15 30 Error (degrees), lower is better 24.896° 1.635° Voltage-angle error 2026-11-24T18:10:44.352239 image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ Without reference With reference 0 15 30 Error (degrees), lower is better 24.896° 1.635° Voltage-angle error
Figure 4. Providing expected phase orientation from equipment records reduced voltage-angle error from 24.896° to 1.635° on unfamiliar networks. Voltage angles determine how power flows, so more accurate estimates provide a better basis for electrical studies. Lower is better.

Important research contributions

  1. One shared model outperforms specialized baselines on three tasks: Mycelium exceeded task-specific neural baselines on switch states, customer phases, and exact fault location across both evaluation splits. These outputs help establish the network’s connections and identify equipment to investigate. The results support reusing one model across tasks and unfamiliar grids.
  2. Equipment knowledge can make electrical estimates more accurate: Giving the model known phase relationships reduced voltage-angle error by about fifteen times on unfamiliar networks. Because voltage angles enter power-flow calculations, this is a practical reason to incorporate equipment records into learning, rather than relying only on patterns in measurements.
  3. Synthetic data improves voltage estimation and fault diagnosis: Adding synthetic networks reduced normalized voltage error from 0.04025 to 0.01267 and increased fault-type accuracy from 29.37% to 72.09% on the unfamiliar-network benchmark. Simulated networks expand the range of electrical conditions the model can learn from, helping it recognize faults and estimate voltages on grids it has not seen before.

Toward a shared intelligence for the world’s electric grids

Electric grids differ across countries, voltage levels, equipment, and operating practices. Our ambition is to build models that carry useful electrical knowledge across those differences, so each new network does not require starting again. We began with distribution and are extending this work toward generation, transmission, and islanded microgrids that operate independently of a larger grid.

Our thesis is that models built for a specific industry can deliver significant gains on its critical tasks beyond general-purpose models such as those from OpenAI and Anthropic. We are now benchmarking models across critical power-system tasks and post-training open-source models for this domain. This broader research program will test where specialization improves accuracy, reliability, and usefulness for engineers.

The goal is to spend less effort reconstructing a grid and more effort deciding where to add EV charging, how to accommodate rooftop solar, which equipment to investigate after a storm, or what upgrades a new data center requires. Mycelium’s results demonstrate several capabilities on unfamiliar simulated distribution networks.

References

  • - Mycelium: Cross-grid learning for four distribution-system tasks. Tables 2–4 contain the comparisons shown here.
  • - OpenDSS: The electrical simulation software used to generate and check network operating cases.
  • - SMART-DS: Public distribution-network models included in the reference corpus.
  • - IEA: Monitoring, data quality, and the visibility gap in distribution grids (2026).
  • - ENTSO-E: Findings and recommendations from the April 2025 blackout in Spain and Portugal.