Open CarlosEpia opened 9 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.
Regarding the definition of the Interest area, I think that it makes sense to provide a better explanation.
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.
@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.
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"].