# \#power-flow

**URL:** https://discourse.julialang.org/tag/power-flow/1428.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [\[ANN\] Sparlectra.jl v0.8.2 – transparent AC power-flow and state estimation](https://discourse.julialang.org/t/ann-sparlectra-jl-v0-8-2-transparent-ac-power-flow-and-state-estimation/137349)

<div class="topic-metadata">

**Author:** [@ac\_sch](https://discourse.julialang.org/u/ac_sch)\
**Replies:** 3\
**Last updated:** [August 22, 2026, 9:58am UTC](https://discourse.julialang.org/t/ann-sparlectra-jl-v0-8-2-transparent-ac-power-flow-and-state-estimation/137349 "2026-08-22T09:58:57Z")

</div>

\[ANN\] Sparlectra.jl – transparent AC power-flow and state estimation in Julia Hi everyone, I’d like to announce Sparlectra.jl, a Julia package for transparent power-system calculations, now at v0.8.2. I originally deve…

---

## [Rerelease of MTK driven PowerDynamics.jl](https://discourse.julialang.org/t/rerelease-of-mtk-driven-powerdynamics-jl/133323)

<div class="topic-metadata">

**Author:** [@hexaeder](https://discourse.julialang.org/u/hexaeder)\
**Replies:** 0\
**Last updated:** [October 21, 2025, 7:49am UTC](https://discourse.julialang.org/t/rerelease-of-mtk-driven-powerdynamics-jl/133323 "2025-10-21T07:49:41Z")

</div>

Today I want to announce a major rerelease of PowerDynamics.jl! For the past 1½ years, we’ve been working on essentially rewriting the entire library, with a main focus on MTK-based modeling and tight integration with…

---

## [KKT condition not satisfied in DCOPF](https://discourse.julialang.org/t/kkt-condition-not-satisfied-in-dcopf/130902)

<div class="topic-metadata">

**Author:** [@simoni0](https://discourse.julialang.org/u/simoni0)\
**Replies:** 4\
**Last updated:** [July 21, 2025, 6:33pm UTC](https://discourse.julialang.org/t/kkt-condition-not-satisfied-in-dcopf/130902 "2025-07-21T18:33:41Z")

</div>

I wanted to evaluate whether the KKT condition \\lambda\_i - \\lambda\_j = \\mu^{+}\_{ij} - \\mu^{-}\_{ij} holds for standard DC-OPF. I made a small test on the 5-bus case. using PowerModels using GLPK result = PowerModels.sol…

---

## [Timeseries power model without forecast - ACOPF](https://discourse.julialang.org/t/timeseries-power-model-without-forecast-acopf/126846)

<div class="topic-metadata">

**Author:** [@PB-vines](https://discourse.julialang.org/u/PB-vines)\
**Replies:** 5\
**Last updated:** [March 21, 2025, 6:03am UTC](https://discourse.julialang.org/t/timeseries-power-model-without-forecast-acopf/126846 "2025-03-21T06:03:31Z")

</div>

Hello, I have a model in PowerSystems.jl that looks like this: I just want to run an acopf and dcopf with the data I have imported - I do not want to do any forecasting. However, I cannot get past the DecisionModel(…

---

## [PowerModels Timeseries Simulation](https://discourse.julialang.org/t/powermodels-timeseries-simulation/122615)

<div class="topic-metadata">

**Author:** [@PB-vines](https://discourse.julialang.org/u/PB-vines)\
**Replies:** 5\
**Last updated:** [February 27, 2025, 5:55am UTC](https://discourse.julialang.org/t/powermodels-timeseries-simulation/122615 "2025-02-27T05:55:20Z")

</div>

Hello, I am new to PowerModels and looking forward to learning more. I have a power network, along with generation data and renewable energy resource data. I want to run this grid for at least 1 day at hourly intervals…

---

## [Struggling to solve PowerSystems.Systems](https://discourse.julialang.org/t/struggling-to-solve-powersystems-systems/124570)

<div class="topic-metadata">

**Author:** [@Andrei](https://discourse.julialang.org/u/Andrei)\
**Replies:** 1\
**Last updated:** [February 12, 2025, 6:34pm UTC](https://discourse.julialang.org/t/struggling-to-solve-powersystems-systems/124570 "2025-02-12T18:34:38Z")

</div>

Hello, I’m new at Julia programming and currently I’m trying to familiarize myself with instruments to solve OPF and economic dispatch in Julia. I wrote this simple example Numerical data there is mostly random, since…

---

## [SOCP and SDP solver errors in PowerModelsDistribution.jl](https://discourse.julialang.org/t/socp-and-sdp-solver-errors-in-powermodelsdistribution-jl/123945)

<div class="topic-metadata">

**Author:** [@Glon](https://discourse.julialang.org/u/Glon)\
**Replies:** 5\
**Last updated:** [January 1, 2025, 7:39pm UTC](https://discourse.julialang.org/t/socp-and-sdp-solver-errors-in-powermodelsdistribution-jl/123945 "2025-01-01T19:39:22Z")

</div>

Hello all, I am trying to use PowerModelsDistribution to solve a SDP and SOCP formulation. Below is my code. using PowerModelsDistribution using SCS Test\_Case = parse\_file(“C:/ACOPF/Julia/case3balancedbattery.dss”) …

---

## [Pyomo model not feasible for ACOPF](https://discourse.julialang.org/t/pyomo-model-not-feasible-for-acopf/122214)

<div class="topic-metadata">

**Author:** [@Glon](https://discourse.julialang.org/u/Glon)\
**Replies:** 1\
**Last updated:** [November 4, 2024, 2:30am UTC](https://discourse.julialang.org/t/pyomo-model-not-feasible-for-acopf/122214 "2024-11-04T02:30:17Z")

</div>

I implemented an ACOPF problem to maximise the PV exports of a LV network, to validate the answers and also to compare the time it takes to solve each I implemented the same problem in pyomo, while the powermodels.jl sol…

---

## [Variables for power flow with condition in constraint](https://discourse.julialang.org/t/variables-for-power-flow-with-condition-in-constraint/116343)

<div class="topic-metadata">

**Author:** [@priantop](https://discourse.julialang.org/u/priantop)\
**Replies:** 2\
**Last updated:** [June 29, 2024, 4:42am UTC](https://discourse.julialang.org/t/variables-for-power-flow-with-condition-in-constraint/116343 "2024-06-29T04:42:58Z")

</div>

Hi, I am formulating LP problem using JuMP for electricity dispatch below is the MWE I have variables for power flow and export/import to neighbouring regions defined as follows using JuMP, HiGHS m = Model(HiGHS.Opt…

---

## [Extracting the Power Flow equations from PowerModels](https://discourse.julialang.org/t/extracting-the-power-flow-equations-from-powermodels/107165)

<div class="topic-metadata">

**Author:** [@Jim16](https://discourse.julialang.org/u/Jim16)\
**Replies:** 4\
**Last updated:** [December 7, 2023, 7:48pm UTC](https://discourse.julialang.org/t/extracting-the-power-flow-equations-from-powermodels/107165 "2023-12-07T19:48:23Z")

</div>

Hello, I’m relatively new to both Julia and PowerModels.jl, and I wish to compare different algorithms for solving power flow equations. My objective is to obtain the power flow equations from PowerModels.jl, allowing m…

---

## [PowerModelsADA.jl](https://discourse.julialang.org/t/powermodelsada-jl/104290)

<div class="topic-metadata">

**Author:** [@priod](https://discourse.julialang.org/u/priod)\
**Replies:** 4\
**Last updated:** [September 27, 2023, 12:37am UTC](https://discourse.julialang.org/t/powermodelsada-jl/104290 "2023-09-27T00:37:12Z")

</div>

Hi, I am trying to run the PowerModelsADA.jl (Power Models Alternating Distributed Algorithms) and using the Alternating Direction Method of Multipliers (ADMM) technique. I am following the example code and facing the f…

---

## [Anybody using ESDL (Energy System Modeling Language)?](https://discourse.julialang.org/t/anybody-using-esdl-energy-system-modeling-language/103405)

<div class="topic-metadata">

**Author:** [@abelsiqueira](https://discourse.julialang.org/u/abelsiqueira)\
**Replies:** 0\
**Last updated:** [August 31, 2023, 1:49pm UTC](https://discourse.julialang.org/t/anybody-using-esdl-energy-system-modeling-language/103405 "2023-08-31T13:49:27Z")

</div>

Is anybody using the ESDL format (ESDL Documentation - ESDL, Meer Informatie)? I noticed that it is not as widespread outside of the Netherlands, but it looks very useful: ESDL is a modelling language created to descr…
