-
|
I have successfully had the mode solve for s4x1 2030 but get errors when I try to run for 2024. core error seems to be an issue with the input files - the error text highlghts p1_batteries_1 but this is just the first entry in the gen_info.csv input file and I can't see that there are any issues with the input file - it is very similar to the 2030 input file which solved... Curious if other have encountered this error? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
The standard model is currently infeasible for 2024 for a few reasons (some of these may be due to changes in my version that I'll post soon): Zone p46 in western Wisconsin can't meet its load requirements in at least one hour when when spinning reserves, line losses and forced outages are in place. You may not have this problem until you get the newer data with forced outages. I don't have a great solution for this, since in principle it means that zone did not have a secure power supply in 2024 (or something is wrong with our generator or transmission inventory). For now, you can work around it by adding Several capacity obligations can't be met in the 2024 model, either because we have the wrong data on existing plants or on the rules in place, or because they were actually violated in 2024.
These can be prevented by specifying In my newer datasets (soon to be released), there are limits on growth of wind, solar and gas turbines based on our research and assumptions about current market conditions. These are a little brittle, since PowerGenome only allows specifying a limit on total capacity of each type, not capacity added. So the upstream code (make_emission_policies.py) has to calculate how much existing capacity of each type will make it through to the model for each year, then set the limit to [existing] + [allowed growth]. The calculation of existing capacity isn't quite right yet, so these caps don't work exactly right. In particular, I think it's estimating existing capacity a little low in 2024, then setting the cap below the amount that makes it through to Switch, so the growth cap ends up making the model infeasible. I'll keep working on this, but for now, the solution is to specify So in total, my advice when running 2024 models is to add these flags to the command line (or adjust via modules.txt): Also, as an FYI, I found the specific problems by using There's quite a lot of judgment involved in using As a general principle, this usually means enforcing more fundamental technical constraints (e.g., I'm not sure why all the hydro limits kept popping up in the early stages, but I gradually enforced them whac-a-mole style (added any that were violated to the |
Beta Was this translation helpful? Give feedback.
-
|
I think you asked at one point about how to combine a 2024 period and later periods in the same model. This can be done, but I think there are a couple of reasons to avoid it. Planning reserve margins (PRMs) and unserved load. We currently require the same PRM in all years. If 2024 had some slack capacity, this would be OK, but our version is currently short of capacity in 2024. You can get around the shortfall by including the (Actually, now that I think of it, the RPS, minimum-capacity and maximum-capacity constraints. Like the load balance, the 2024 model can't currently meet these requirements. I added a script you can use to remove these rules for historical years for individual models ( So running run a model with both historical and future periods is messy and I'm inclined to avoid it. But that said, you can now do it by running these commands (or similar): |
Beta Was this translation helpful? Give feedback.
-
|
Oh, also, to get that to work, you need to update the |
Beta Was this translation helpful? Give feedback.
The standard model is currently infeasible for 2024 for a few reasons (some of these may be due to changes in my version that I'll post soon):
Zone p46 in western Wisconsin can't meet its load requirements in at least one hour when when spinning reserves, line losses and forced outages are in place. You may not have this problem until you get the newer data with forced outages. I don't have a great solution for this, since in principle it means that zone did not have a secure power supply in 2024 (or something is wrong with our generator or transmission inventory). For now, you can work around it by adding
--include-module switch_model.balancing.unserved_loadwhen running 2024 cases (then…