Kamran Tehranchi

Results 66 comments of Kamran Tehranchi

Closing this since we are integrating the godeeep dataset #566

Sorry I noticed this and made fixes on my branch add this beneath 458 in cluster ``` n = pypsa.Network(snakemake.input.network) n.set_investment_periods( periods=snakemake.params.planning_horizons, ) ```

during simplify network the investment periods get dropped. I didn't look into the cause more, but it could be a bug in pypsa

``` # Share of extendable renewable capacities ext_i = n.generators.query("p_nom_extendable").index vres_i = n.generators_t.p_max_pu.columns if not ext_i.empty and not vres_i.empty: capacity_factor = n.generators_t.p_max_pu[vres_i.intersection(ext_i)] p_nom_vres = ( n.model["Generator-p_nom"] .loc[vres_i.intersection(ext_i)] .rename({"Generator-ext": "Generator"}) )...

Yep- I'm doing some research now on which style of external node representation makes the most sense for your use-case. Stand-by while I do some reading and gather thoughts from...

So, all three options seem useful for modeling different states/scenarios. But I think a starting point would be option 1: > Split off a State completely from the rest of...

I can see two routes for getting this done: **First Option** Filtering out regions from the start in `build_base_network`, and editing all downstream functions to ensure demand, generators, renewable profiles,...

good Q: option 2 will be compatible with modeling approaches 2 and 3. > 2: Split off a State + its adjacent neighbors- where those adjacent neighbors can still have...

So one way to handle this to reduce duplicate work from this ticket and #314 would be to write a `_helper.py` script function that can read the PUDL sql db...