# \#powermodels

**URL:** https://discourse.julialang.org/tag/powermodels/1805.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…

---

## [Simulating a disconnected line](https://discourse.julialang.org/t/simulating-a-disconnected-line/135324)

<div class="topic-metadata">

**Author:** [@Magnus\_Lilledahl](https://discourse.julialang.org/u/Magnus_Lilledahl)\
**Replies:** 2\
**Last updated:** [February 6, 2026, 1:48pm UTC](https://discourse.julialang.org/t/simulating-a-disconnected-line/135324 "2026-02-06T13:48:40Z")

</div>

In pandapower it is possible to set a line parameter “in\_service” to false and the model will still run with all connected loads set to zero. I tried to set “br\_status” to 0 in powermodels but then the model returns infe…

---

## [A tight formulation of a specific kind of convex PWL curve](https://discourse.julialang.org/t/a-tight-formulation-of-a-specific-kind-of-convex-pwl-curve/134822)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 3\
**Last updated:** [January 5, 2026, 3:56am UTC](https://discourse.julialang.org/t/a-tight-formulation-of-a-specific-kind-of-convex-pwl-curve/134822 "2026-01-05T03:56:25Z")

</div>

I’ve read some piecewise linear (PWL)-related stuff from JuMP’s doc. It appears that I haven’t seen the particular formulation below, which I think is worth mentioning. It’s from the generation cost curve of generators …

---

## [Duals and constraint names for \`PowerModels\` and \`InfrastructureModels\`](https://discourse.julialang.org/t/duals-and-constraint-names-for-powermodels-and-infrastructuremodels/130311)

<div class="topic-metadata">

**Author:** [@jacob-roth](https://discourse.julialang.org/u/jacob-roth)\
**Replies:** 5\
**Last updated:** [July 5, 2025, 4:32pm UTC](https://discourse.julialang.org/t/duals-and-constraint-names-for-powermodels-and-infrastructuremodels/130311 "2025-07-05T16:32:44Z")

</div>

I would like to (1) use PowerModels to construct a base DCOPF model and (2) make some modifications to the model (such as allowing load shed by adding new variables and modifying cosntraints). Beginning with an instance …

---

## [Where is the "rate\_a" in PowerModels.jl from](https://discourse.julialang.org/t/where-is-the-rate-a-in-powermodels-jl-from/129424)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 8\
**Last updated:** [May 29, 2025, 11:52pm UTC](https://discourse.julialang.org/t/where-is-the-rate-a-in-powermodels-jl-from/129424 "2025-05-29T23:52:24Z")

</div>

The data provided by PowerModels.jl is inconsistent with my local raw Matpower file. The latter is all zero (seems to mean that there is no limit), but the former has a vector of numbers that I can’t tell where they com…

---

## [Basic Data Utilities in PowerModels.jl---some more methods?](https://discourse.julialang.org/t/basic-data-utilities-in-powermodels-jl-some-more-methods/129291)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 9\
**Last updated:** [May 27, 2025, 2:28pm UTC](https://discourse.julialang.org/t/basic-data-utilities-in-powermodels-jl-some-more-methods/129291 "2025-05-27T14:28:38Z")

</div>

This post is a feature request related to Basic Data Utilities · PowerModels. Although this sparse incidence matrix (denoted A) is useful, sometimes we may need another more succinct matrix—I call it bft, branch\_from\_to…

---

## [How to turn off the warn from PowerModels.jl](https://discourse.julialang.org/t/how-to-turn-off-the-warn-from-powermodels-jl/129289)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 2\
**Last updated:** [May 24, 2025, 8:44am UTC](https://discourse.julialang.org/t/how-to-turn-off-the-warn-from-powermodels-jl/129289 "2025-05-24T08:44:33Z")

</div>

julia\> import PowerModels julia\> PowerModels.make\_basic\_network(PowerModels.parse\_file("data/case118.m")); \[warn | PowerModels\]: this code only supports angmin values in -90 deg. to 90 deg., tightening the value on bran…
