openego / eTraGo

Optimization of flexibility options for transmission grids based on PyPSA
GNU Affero General Public License v3.0
30 stars 13 forks source link

Temporary file during clustering #694

Closed ClaraBuettner closed 7 months ago

ClaraBuettner commented 7 months ago

@CarlosEpia When I run eTraGo, some files called "df.p" are created by this lines:

https://github.com/openego/eTraGo/blob/a98017f6e6df06db5f6def69de79627cd91310d1/etrago/cluster/spatial.py#L425

https://github.com/openego/eTraGo/blob/a98017f6e6df06db5f6def69de79627cd91310d1/etrago/cluster/spatial.py#L657

I don't know why these files are needed. Can you help me?

CarlosEpia commented 7 months ago

I can imagine those lines were included by Martin to debug in case of needed. These files are never imported, so I can delete those lines and run a couple of calculations to be sure that they are not needed any more. Does it sound good?

ClaraBuettner commented 7 months ago

Ah okay, I thought you would have added these lines. If you could try out what you wrote that would be great