🤖 AI Summary
This study addresses the challenges of complex deployment, data privacy risks, and limited interactivity in power system analysis tools by proposing the Tellegen framework. Leveraging WebAssembly, this framework compiles numerical engines directly into the browser to enable interactive power flow and optimal power flow (OPF) computations. It supports drag-and-drop parameter modification with real-time sensitivity visualization and facilitates agent interaction through structured WebMCP tools. This approach achieves zero transmission of Critical Electric Infrastructure Information (CEII) and enables installation-free local analysis. Notably, the OPF solving overhead increases by only 25–43% compared to native execution, effectively balancing computational accuracy, efficiency, and privacy preservation.
📝 Abstract
This paper introduces tellegen, an open source framework for interactive power flow (PF) and optimal power flow (OPF) studies that run in the browser. This provides intuitive and democratized access to power system analysis tools compiled to WebAssembly. A user can drag and drop a case file, click and drag to change a nodal demand or line rating, preview the impacts via sensitivity analysis, and obtain an exact re-solve on release. User case files and results stay entirely on the device: tellegen transmits zero Critical Energy/Electric Infrastructure Information (CEII). The framework comprises a core numerical engine for PF and OPF, reusable browser components, saved studies, and structured WebMCP tools for agentic interaction. We evaluate the transmission OPF solver by comparing objectives with PGLib baselines; the distribution PF solver by comparing voltages and currents with OpenDSS; and the WebAssembly execution times by comparing with PowerModels.jl. On realistic synthetic grids, WebAssembly OPF solves take only 25-43% longer than native binary solves. The implementation shows how an engineer can distribute an executable numerical study as a URL, reducing installation and hosting requirements while keeping case data local.