Closed trevorb1 closed 2 months ago
There is something weird going on with fuel costs I believe.
Gas prices should be 13.706 $/MWh
Coal prices should be ~0.70 $/MWh (idk, this one is really off - also see issue #250)
I was looking at similar issues this last week regarding mis-classification of plants between oil coal and NG, but didn't pick up on this issue.
I'll try to get my PR in before we meet Wednesday
hmm... probably an issue with my get fuel costs function, then. Let me review this. Thanks!
Okay, Im pretty sure the get_fuel_costs
function is working correctly, now. I accidentally grabbed the Eur fixed VOM costs, rather than the ATB ones; this has been corrected. Still doesnt address the issue that CCGT and OCGT are different (although closer now), or that it should be $13.71 / MWh, I believe
hmm and confirming you used these FOMS ?
"CCGT": { # natural gas
"display_name": "NG Combined Cycle (F-Frame)",
"technology": "NaturalGas_FE",
"crp": 30,
},
"OCGT": { # natural gas
"display_name": "NG Combustion Turbine (F-Frame)",
"technology": "NaturalGas_FE",
"crp": 30,
},"
Could the difference have to do with clustering? like maybe the capacity weighted averages for MC during clustering isn't applied for eff? Seems unlikely.
hmm and confirming you used these FOMS ?
Yeah, I pulled them from the resources/costs_2030.csv
file which should use that dictionary to extract the ATB data? The VOM has an ATB key value associated with it
Could the difference have to do with clustering? like maybe the capacity weighted averages for MC during clustering isn't applied for eff? Seems unlikely.
Maybe! Its also a little odd that new and old coal have different fuel costs. It is at the 3 decimal point, so maybe its just a numerical error, but then its weird how gas doesnt suffer from that.
Oh, I wonder if this has to do with the efficiencies.
If I look at combustion turbine in the ATB it shows a heat rate of 9.717 MMBtu/MWh
. This value is translated into the costs_2030.csv
file okay.
A heatrate of 9.717 MMBtu/MWh
should be an efficiency of 35%
(3412 / 9717 = 0.3511). But here it is showing the efficiency of ~40%
which is applied from when the generators are attached. I wonder if somewhere along the lines we end up using the efficiency in the costs_2030.csv
file to do a calc instead of the individual generator (or clustered generator) efficiency?
I took a quick look and didnt see anything, but may have missed it.
Okay, I believe this may relate to the legacy code to get fuel costs, described here and in issue #235. I will switch to fixing issue 235 and come back to this.
Our efficiencies are actually a mix of ADS, EIA historical for existing plants, and ATB for new build plants. So we would expect those to be different. You can rerun this with the new fields for avg heat_rate and fuel_costs
Another issue, as pointed out by @ktehranchi, is that coal costs are not changing in the final network. Although, when they are applied in add electricity there is variance.
As per our (@ktehranchi and Franklyn) discussion today, I will go ahead and merge this. The minor differences in the gas prices between OCGT and CCGT are likely due to clustering. Moreover, while there is an artifact that coal prices are being read in correctly at the individual generator level, but by time the network is solved, the price is flat.
Both these issues probably deserve more exploration, but will move to a different issue ticket.
The main additions from this PR are:
get_fuel_price
function
DRAFT PR STILL
Closes #230
Changes proposed in this Pull Request
In this PR I have added a graph to plot fuel costs. Since the marginal costs include a flat VOM cost, I have just taken 2030 VOM values to remove. So while this is technically an estimate of fuel costs, it will be a close approximation.
Checklist
envs/environment.yaml
.config.default.yaml
.doc/configtables/*.csv
.