Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include interest area in AC clustering #662

Open
wants to merge 76 commits into
base: dev
Choose a base branch
from
Open

Include interest area in AC clustering #662

wants to merge 76 commits into from

Conversation

CarlosEpia
Copy link
Contributor

@CarlosEpia CarlosEpia commented Sep 21, 2023

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 CarlosEpia marked this pull request as draft September 21, 2023 09:06
@CarlosEpia CarlosEpia changed the title Include exclusion area in clustering Include exclusion area in AC clustering Sep 21, 2023
@CarlosEpia CarlosEpia marked this pull request as ready for review September 21, 2023 09:33
@CarlosEpia CarlosEpia marked this pull request as draft October 23, 2023 10:52
@CarlosEpia CarlosEpia removed the request for review from ClaraBuettner October 23, 2023 10:52
@birgits
Copy link
Contributor

birgits commented May 5, 2024

@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.

area_network = network_based_on_buses(etrago.network, buses_area)

elif apply_on == "market_model":
elec_network_buses = etrago.network_tsa.buses[
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CarlosEpia or @ClaraBuettner, I discovered that n_clusters is not assigned in this elif. Not sure if this was done in this branch or not, so maybe it's not an issue that should be fixed here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is defined in cluster.electrical.py on dev. In that function, n_clusters is defined for all settings and the clustering works fine. So I guess it is related to this branch. Could you have a look at it @CarlosEpia?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@birgits good catch! Thanks for the warning. Problem solved in cec6836.

ClaraBuettner and others added 12 commits August 19, 2024 17:49
When scn_extension is selected, some HV buses are connected to more than one eHV bus.
This leads to duplicated indices in the path matrix. To avoid this, each HV bus is
only considered once using transformers.bus1.unique().
This is needed when some e-Mobility buses are not clustered.
In some cases, the driving load is not high enough to match
the e_min_pu limits of the ev stores.
Add option for negative load shedding at e-Mobility buses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants