No Line Losses

205 views
Skip to first unread message

Paul Reggentin

unread,
Jul 27, 2022, 11:55:27 AM7/27/22
to pypsa
Hi all,

I am trying to determine the line losses for a Pypsa-Eur-Sec network, but when I use the method referenced in this thread, (power_losses = network.lines_t.p0 + network.lines_t.p1), I get 0 losses for every line, for every snapshot. This also happens if I only run pypsa-eur.

I have checked, and there is a non-zero resistance for all of the lines.

I am a bit confused, because I expected around 5-6% losses, or at least nonzero losses.

Can anyone help me understand why I'm seeing this, and if there's something unrealistic set up in the model?

Thanks,
Paul

Neumann, Fabian

unread,
Jul 27, 2022, 4:55:20 PM7/27/22
to Paul Reggentin, pypsa
Hi Paul,

yes, the approach is correct but the linearised power flow which PyPSA uses during optimisation ignores transmission losses. This is one limitation of the current setup.

There are ways to incorporate approximative losses in a linear model, but it becomes computationally expensive quickly:



An alternative could also be to run a Newton-Raphson power flow on the solved network with distributed slack (n.pf()). Here, however, the losses wouldn’t have an impact on generation and storage siting.

Hope this gives some insight.

Best wishes,

Fabian N


On 27 Jul 2022, at 17:55, Paul Reggentin <regge...@gmail.com> wrote:


--
You received this message because you are subscribed to the Google Groups "pypsa" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pypsa+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pypsa/8075194d-2d45-4f70-a557-08d858cd900bn%40googlegroups.com.

Paul Reggentin

unread,
Jul 28, 2022, 3:47:46 AM7/28/22
to Neumann, Fabian, pypsa
Hi Fabian,

Thanks for the information. For my purposes it's alright to ignore losses in simulation, I just wanted to make sure that I didn't have a bug.

Paul
Reply all
Reply to author
Forward
0 new messages