-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Analysis Notebook for Hydrogen Market #98
base: main
Are you sure you want to change the base?
Create Analysis Notebook for Hydrogen Market #98
Conversation
Hi @energyLS, please kindly review it and give me some feedbacks to further improve it :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@huyhoang-mike I have left some comments. In overall: great notebook, well done!
notebooks/hydrogen_market.ipynb
Outdated
"source": [ | ||
"# Market\n", | ||
"h2_market = (statistics.loc[\"Link\", \"H2 Electrolysis\"][\"Market Value\"]).round(2)\n", | ||
"print(f\"Hydrogen Market is: {h2_market} €\")" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please specify "market value" and not just "market".
notebooks/hydrogen_market.ipynb
Outdated
"Capital Expenditure is: 210.44656 Mio. €\n", | ||
"Operational Expenditure is: 0.21842496 Mio. €\n", | ||
"Total Hydrogen Production Cost: 210.66498496 Mio. €\n", | ||
"Hydrogen Production Cost per Unit: 12.819730658113464 Mio. € per TWh\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use .round(2)
on those values
notebooks/hydrogen_market.ipynb
Outdated
"H2_export_MWh = (\n", | ||
" n.stores[\n", | ||
" (n.stores.carrier == \"H2\") & (n.stores.bus == \"H2 export bus\")\n", | ||
" ].e_nom_opt.sum()\n", | ||
" ) # in GWh\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the hydrogen export store size, but not the exported hydrogen volume. You can use
n.statistics.energy_balance(comps=["Load"])
and in there you should be able to find a load called "H2 export load". This should give you the desired export volume.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@energyLS I couldn't find the "H2 export load" from n.statistics.energy_balance(comps=["Load"]). There are only two related H2 carriers which are "H2", "land transport fuel cell" and "H2 for shipping". So I chose "H2" in my notebook, and it leads to a negative revenue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@huyhoang-mike looks good, the resulting value is correct. One addition regarding the H2_export_revenue = H2_export_TWh*h2_market
: Technically more precise would be to multiply quantity and price on an hourly basis (and not yearly as you are doing). Reason for this is that the hydrogen price is hourly dependent. However, you could also just add a printed warning, stated that the value is calculated on a yearly basis :)
Hi @energyLS, I made changes according to your feedbacks :) Please kindly review it again! |
@huyhoang-mike great job! The only thing remaining is #98 (comment) |
Hi @energyLS, I've mentioned in the notebook that it is the revenue on a yearly basis. In addition, I also added the hourly h2 export revenue. Please check if it is correct :) Thank you so far for the guidance! |
This notebook analyses the hydrogen market data of the network file and then generates comprehensive plots and summaries to visualize the results.