Search papers, labs, and topics across Lattice.
This paper introduces tellegen, an open-source framework enabling interactive power flow (PF) and optimal power flow (OPF) studies directly within a web browser via WebAssembly compilation. This democratizes access to power system analysis by allowing intuitive manipulation of case files and real-time sensitivity analysis, with all computations performed client-side to ensure data privacy. The framework achieves near-native performance for OPF solves, demonstrating its viability for practical engineering workflows.
Power system engineers can now perform interactive, privacy-preserving OPF studies directly in their browser, with WebAssembly execution times only slightly exceeding native binaries.
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.