-
Notifications
You must be signed in to change notification settings - Fork 142
Modify storage_all.jl to prevent micro-charging/discharging close to capacity #836
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
Conversation
patrickbryant
left a comment
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.
Looks good to me! The only system I can think of where you might want to have a charge rate exceeding the available storage in a time step is a thermal battery which is being used for an industrial heat load which is being discharged. Such a system would not have the same physical constraint as an ensemble of electrochemical batteries.
|
I have tested this branch and it looks good, no maximal charge-discharge when at 100% state of charge. |
…capacity This PR adds a constraint (as suggested by @patrickbryant) which attempts to prevent fast charging/discharging of storage batteries within a time step by enforcing a maximum charging rate capped at the storage capacity, less, the SOC from the last time step.
54450e4 to
d24ada1
Compare
d24ada1 to
d6a315e
Compare
lbonaldo
left a comment
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.
Looks good. Thanks @sambuddhac and @patrickbryant!
…capacity (GenXProject#836) This PR adds a constraint (as suggested by @patrickbryant) which attempts to prevent fast charging/discharging of storage batteries within a time step by enforcing a maximum charging rate capped at the storage capacity, less, the SOC from the last time step.
Description
This PR adds a constraint (as suggested by @patrickbryant) which attempts to prevent fast charging/discharging of storage batteries within a time step by enforcing a maximum charging rate capped at the storage capacity, less, the SOC from the last time step.
What type of PR is this? (check all applicable)
Related Tickets & Documents
Further addresses and refines issue #547
Checklist
How this can be tested
Post-approval checklist for GenX core developers
After the PR is approved