Closed davide-f closed 1 year ago
As additional comment, I think both hydro and runoff functions may be slightly revised to account for partially generic indexing. The above error is related to the fact that the runoff function and the normalization function is calibrated to be used in pypsa-eur having as input the countries shapes, with "countries" as column value. With hydro, time series for a series of location are drawn, though the column value is no more "countries" (it becomes "hid"), and that's the cause.
Personally, I think it could be nice to:
What do you think?
I think this is closed through #278.
Description
The hydro feature, which is based on runoff function, cannot successfully exploit the
normalize_using_yearly
option of runoff. When using the pypsa-africa package, which relies on the hydro function, with the above-mentioned option (branch), the following error arisesExpected Behavior
I'd expect the procedure to be able to normalize the inflows to matche the desired values.
Actual Behavior
The error mentioned above arises
Error Message