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

Include interest area in AC clustering #662

Open CarlosEpia opened 9 months ago

CarlosEpia commented 9 months ago

Solves the AC and associated sectors of #661. The areas can be supplied by path to shapefiles or list of nuts names e.g., ["Cuxhaven", "Bremerhaven", "Wesermarsch", "Osterholz", "Bremen"].

CarlosEpia commented 2 months ago

Hi @ulfmueller this PR is ready for review. According to our agreement with @birgits and David, now it is possible to use also the eHV clustering while keeping the buses inside the interest area. It means that there are no 110kV lines or buses outside the provided area, therefore it is very important to define carefully the shapes since it could lead to 110kV isolated buses.

CarlosEpia commented 2 months ago

Regarding the definition of the Interest area, I think that it makes sense to provide a better explanation.

CarlosEpia commented 2 months ago

As examples of well-defined areas, we can take the two shapefiles created and shared by @ulfmueller (Fokusregion.zip), where the network topology is taken into account and no stubs can be found. Using the mentioned areas, the clustering process runs as expected.

birgits commented 2 months ago

@CarlosEpia I added the option, to plot the nodes inside the interest area differently from the other nodes. You can remove it if it's not helpful or anything. I just added it as a suggestion as I implemented it for myself anyway.