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

Deal with 3-hourly-resolution in pypsa-eur #353

Open
ClaraBuettner opened this issue Dec 18, 2024 · 0 comments
Open

Deal with 3-hourly-resolution in pypsa-eur #353

ClaraBuettner opened this issue Dec 18, 2024 · 0 comments
Assignees

Comments

@ClaraBuettner
Copy link

The currently running pypsa-eur results created by @ulfmueller consider every 3rd hour of the year. That is fine for things like installed capacities.
But we also use some time series data from pypsa-eur (e.g. for load time series of foreign countries) which we need in an hourly resolution. To be able to do that, two prenetworks are build in pypsa-eur, one in a 3-hourly resolution (that is solved afterwards) and one in an hourly resolution (that is not solved and was only created for being able to solve this issue).

So the needed data from pypsa-eur is available. However, it still needs to be considered in the implementation of the interface from pypsa-eur to powerd-data.
From what I know, at least this function needs an update:

def neighbor_reduction():
network = read_network()
# network.links.drop("pipe_retrofit", axis="columns", inplace=True)
wanted_countries = [
"DE",
"AT",
"CH",
"CZ",
"PL",
"SE",
"NO",
"DK",
"GB",
"NL",
"BE",
"FR",
"LU",
]
foreign_buses = network.buses[
~network.buses.index.str.contains("|".join(wanted_countries))
]
network.buses = network.buses.drop(
network.buses.loc[foreign_buses.index].index
)

Currently, only one, solved network (with every 3rd hour) is used. But we would actually need to read in two and use some data from the solved network (e.g. installed capacities) and other from the prenetwork in an hourly resolution (e.g. load time series).

There might be other datasets that need adjustments like this. This one is only the one that directly came to my mind. As I am neither creating the pypsa-eur results nor running powerd-data, I think it would be great if you could have a look at this @CarlosEpia and @ulfmueller. In case I should support you, jest let me know :)

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

No branches or pull requests

2 participants