Skip to content
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

Add electrolyzer to current VRE_STOR #678

Merged
merged 74 commits into from
Jul 23, 2024
Merged

Add electrolyzer to current VRE_STOR #678

merged 74 commits into from
Jul 23, 2024

Conversation

qluo0320github
Copy link
Collaborator

@qluo0320github qluo0320github commented Apr 9, 2024

Description

Add a new component to VER-STOR, enabling electrolyzer to use off-grid VRE-STOR to produce hydrogen

What type of PR is this? (check all applicable)

  • Feature

Related Tickets & Documents

Checklist

  • Code changes are sufficiently documented; i.e. new functions contain docstrings and .md files under /docs/src have been updated if necessary.
  • The latest changes on the target branch have been incorporated, so that any conflicts are taken care of before merging. This can be accomplished either by merging in the target branch (e.g. 'git merge develop') or by rebasing on top of the target branch (e.g. 'git rebase develop'). Please do not hesitate to reach out to the GenX development team if you need help with this.
  • Code has been tested to ensure all functionality works as intended.
  • CHANGELOG.md has been updated (if this is a 'notable' change).
  • I consent to the release of this PR's code under the GNU General Public license.

How this can be tested

A new example case was create to test it. Additionally, it passed tests for all example cases

Post-approval checklist for GenX core developers

After the PR is approved

  • Check that the latest changes on the target branch are incorporated, either via merge or rebase
  • Remember to squash and merge if incorporating into develop

@qluo0320github qluo0320github requested a review from lbonaldo April 9, 2024 13:52
@qluo0320github qluo0320github marked this pull request as draft April 9, 2024 13:52
@qluo0320github qluo0320github requested a review from gmantegna April 9, 2024 13:53
@lbonaldo lbonaldo added this to the v0.4.1 milestone Apr 9, 2024
@lbonaldo lbonaldo force-pushed the elec_colocation_new branch from 5d00623 to 60fac0e Compare June 27, 2024 21:45
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

JuliaFormatter

src/model/resources/vre_stor/vre_stor.jl|1395|
src/model/resources/vre_stor/vre_stor.jl|1411|
src/model/resources/vre_stor/vre_stor.jl|1413|
src/model/resources/vre_stor/vre_stor.jl|1419|
src/model/resources/vre_stor/vre_stor.jl|1427|
src/model/resources/vre_stor/vre_stor.jl|1437|
src/model/resources/vre_stor/vre_stor.jl|1442|
src/model/resources/vre_stor/vre_stor.jl|1444|
src/model/resources/vre_stor/vre_stor.jl|1449|
src/model/resources/vre_stor/vre_stor.jl|1453|
src/model/resources/vre_stor/vre_stor.jl|1466|
src/model/resources/vre_stor/vre_stor.jl|1474|
src/multi_stage/configure_multi_stage_inputs.jl|140|
src/multi_stage/configure_multi_stage_inputs.jl|171|
src/multi_stage/endogenous_retirement.jl|47|
src/multi_stage/endogenous_retirement.jl|64|
src/multi_stage/endogenous_retirement.jl|116|
src/multi_stage/endogenous_retirement.jl|121|
src/multi_stage/endogenous_retirement.jl|601|
src/multi_stage/endogenous_retirement.jl|603|
src/multi_stage/endogenous_retirement.jl|607|
src/multi_stage/endogenous_retirement.jl|610|
src/multi_stage/endogenous_retirement.jl|612|
src/multi_stage/endogenous_retirement.jl|616|
src/multi_stage/endogenous_retirement.jl|618|
src/multi_stage/endogenous_retirement.jl|626|
src/multi_stage/endogenous_retirement.jl|628|
src/multi_stage/endogenous_retirement.jl|633|
src/multi_stage/endogenous_retirement.jl|635|
src/multi_stage/endogenous_retirement.jl|640|
src/multi_stage/endogenous_retirement.jl|645|
src/multi_stage/endogenous_retirement.jl|648|
src/multi_stage/endogenous_retirement.jl|651|
src/write_outputs/hydrogen/write_hydrogen_prices.jl|2|
src/write_outputs/hydrogen/write_hydrogen_prices.jl|7|
src/write_outputs/hydrogen/write_hydrogen_prices.jl|13|
src/write_outputs/write_capacityfactor.jl|69|
src/write_outputs/write_charge.jl|31|
src/write_outputs/write_charging_cost.jl|32|
src/write_outputs/write_costs.jl|7|
src/write_outputs/write_costs.jl|39|
src/write_outputs/write_costs.jl|185|
src/write_outputs/write_costs.jl|219|
src/write_outputs/write_costs.jl|330|
src/write_outputs/write_outputs.jl|430|
src/write_outputs/write_power_balance.jl|64|
src/write_outputs/write_power_balance.jl|72|
src/write_outputs/write_vre_stor.jl|29|
src/write_outputs/write_vre_stor.jl|48|
src/write_outputs/write_vre_stor.jl|53|
src/write_outputs/write_vre_stor.jl|110|
src/write_outputs/write_vre_stor.jl|121|
src/write_outputs/write_vre_stor.jl|123|
src/write_outputs/write_vre_stor.jl|215|
src/write_outputs/write_vre_stor.jl|260|
src/write_outputs/write_vre_stor.jl|304|
src/write_outputs/write_vre_stor.jl|402|
src/write_outputs/write_vre_stor.jl|464|
src/write_outputs/write_vre_stor.jl|481|
test/test_electrolyzer.jl|16|

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

JuliaFormatter

src/multi_stage/endogenous_retirement.jl|628|
src/multi_stage/endogenous_retirement.jl|633|
src/multi_stage/endogenous_retirement.jl|635|
src/multi_stage/endogenous_retirement.jl|640|
src/multi_stage/endogenous_retirement.jl|645|
src/multi_stage/endogenous_retirement.jl|648|
src/multi_stage/endogenous_retirement.jl|651|
src/write_outputs/hydrogen/write_hydrogen_prices.jl|2|
src/write_outputs/hydrogen/write_hydrogen_prices.jl|7|
src/write_outputs/hydrogen/write_hydrogen_prices.jl|13|
src/write_outputs/write_capacityfactor.jl|69|
src/write_outputs/write_charge.jl|31|
src/write_outputs/write_charging_cost.jl|32|
src/write_outputs/write_costs.jl|7|
src/write_outputs/write_costs.jl|39|
src/write_outputs/write_costs.jl|185|
src/write_outputs/write_costs.jl|219|
src/write_outputs/write_costs.jl|330|
src/write_outputs/write_outputs.jl|430|
src/write_outputs/write_power_balance.jl|64|
src/write_outputs/write_power_balance.jl|72|
src/write_outputs/write_vre_stor.jl|29|
src/write_outputs/write_vre_stor.jl|48|
src/write_outputs/write_vre_stor.jl|53|
src/write_outputs/write_vre_stor.jl|110|
src/write_outputs/write_vre_stor.jl|121|
src/write_outputs/write_vre_stor.jl|123|
src/write_outputs/write_vre_stor.jl|215|
src/write_outputs/write_vre_stor.jl|260|
src/write_outputs/write_vre_stor.jl|304|
src/write_outputs/write_vre_stor.jl|402|
src/write_outputs/write_vre_stor.jl|464|
src/write_outputs/write_vre_stor.jl|481|
test/test_electrolyzer.jl|16|

src/multi_stage/endogenous_retirement.jl Outdated Show resolved Hide resolved
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/write_outputs/write_power_balance.jl Outdated Show resolved Hide resolved
src/write_outputs/write_vre_stor.jl Outdated Show resolved Hide resolved
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/write_outputs/write_vre_stor.jl Outdated Show resolved Hide resolved
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/write_outputs/write_power_balance.jl Outdated Show resolved Hide resolved
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

JuliaFormatter

src/write_outputs/write_vre_stor.jl|465|
src/write_outputs/write_vre_stor.jl|482|
test/test_electrolyzer.jl|16|

Repository owner deleted a comment from github-actions bot Jul 16, 2024
Repository owner deleted a comment from github-actions bot Jul 16, 2024
Repository owner deleted a comment from github-actions bot Jul 16, 2024
Repository owner deleted a comment from github-actions bot Jul 23, 2024
Repository owner deleted a comment from github-actions bot Jul 23, 2024
Repository owner deleted a comment from github-actions bot Jul 23, 2024
@lbonaldo lbonaldo marked this pull request as ready for review July 23, 2024 08:25
@lbonaldo lbonaldo self-requested a review July 23, 2024 08:25
Copy link
Collaborator

@lbonaldo lbonaldo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR looks good to me. Thanks @qluo0320github for this new module!

@lbonaldo lbonaldo merged commit 52ea33b into develop Jul 23, 2024
11 checks passed
@lbonaldo lbonaldo deleted the elec_colocation_new branch July 23, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants