Hi Elias,
calculate_BODF is a function of the SubNetwork not the Network class.
Ths BODFs only propagate through the same synchronous zone. You need to
iterate over the sub networks to retrieve all BODF matrices:
n.determine_network_topology()
for sub_networks in n.sub_networks.obj:
bodf = sub_network.calculate_BODF()
Best wishes,
Fabian N
On 23.06.22 16:52, Elias Althoff wrote:
> Externe E-Mail: Oeffnen Sie Anhaenge oder Links nur, wenn Sie der Quelle vertrauen.
> External E-Mail: Be cautious before clicking any link or attachment!
>
> Dear all,
>
> im trying to calculate the BODF for my network, but I cant get it to
> work. Im simply using:
>
> BODF = network.calculate_BODF()
>
> as described in the documentation, but Im getting the error:
>
> AttributeError: 'Network' object has no attribute 'calculate_BODF'
>
> Is there something wrong with the way I call the function?
>
> Best wishes,
> Elias
>
> --
> 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
> <mailto:
pypsa+un...@googlegroups.com>.
> To view this discussion on the web, visit
>
https://groups.google.com/d/msgid/pypsa/57688ef9-cf3c-473a-9b32-3774c2f2c759n%40googlegroups.com
> <
https://groups.google.com/d/msgid/pypsa/57688ef9-cf3c-473a-9b32-3774c2f2c759n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Dr.-Ing.
Fabian Neumann (he/him)
Postdoctoral Researcher
Department of Digital Transformation in Energy Systems
Institute of Energy Technology
Technische Universität Berlin
Group website:
https://tub-ensys.github.io
Personal website:
https://neumann.fyi
Zoom:
https://tu-berlin.zoom.us/my/fneum
Schedule Meeting:
https://calendly.com/fneum
Visitor Address:
Einsteinufer 25 (TA 8)
10587 Berlin
My working hours may not be your working hours. Do not feel pressure to
reply to this email outside your working hours.