lisazeyen
lisazeyen
@p-glaum I am not dropping the prices if the load is zero at a bus. `price = price.reindex(columns=load.columns)` One could also reindex the other way around, but then the mariginal...
> > @p-glaum I am not dropping the prices if the load is zero at a bus. `price = price.reindex(columns=load.columns)` One could also reindex the other way around, but then...
I have started to do this at some point, I think also using bits of your code @fneum , maybe it helps https://github.com/lisazeyen/pypsa-eur-transport/blob/17f7d9b52a2e34b1265beb0477192923eca5e009/scripts/prepare_sector_network.py#L2975-L3153
I think like this it is more flexible, because you can vary everything (e.g. also component `load`or other attributes than costs and potentials). Also it allows to modify depending on...
Thanks a lot for your suggestions @koen-vg and @fneum . I still think it is useful to be able to more flexibly modify the components and attributes. For example, with...
The difference appears due to the clustering of the renewable profiles in `add_brownfield.py` in the function [`def adjust_renewable_profiles`](https://github.com/PyPSA/pypsa-eur/blob/e273f4ec9d995a081d4973d9ddc448952d36e459/scripts/add_brownfield.py#L167-L216) This was introduced with the year dependent turbine types. The capacity factors...
Not sure how helpful this is, but I did some work on this 4 years ago https://github.com/lisazeyen/learning_curve/blob/d9a5742a7d7ed784a9e37a51563dc90f32765990/scripts/pypsa_learning/temporal_clustering.py#L178