-
Notifications
You must be signed in to change notification settings - Fork 21
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
LDES #406
base: develop
Are you sure you want to change the base?
LDES #406
Conversation
… add outputs for PV/wind
@@ -43,7 +43,8 @@ function add_general_storage_dispatch_constraints(m, p, b; _n="") | |||
#Constraint (4j): Dispatch from storage is no greater than power capacity | |||
@constraint(m, [ts in p.time_steps], | |||
m[Symbol("dvStoragePower"*_n)][b] >= m[Symbol("dvDischargeFromStorage"*_n)][b, ts] | |||
) | |||
+ m[Symbol("dvStorageToGrid")][ts] # TODO: add "b" index to this decision variable |
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.
Either dvStorageToGrid should be included within dvDischargeFromStorage and subtracted out in the load balance equations, or if it's not included like you've done here then dvDischargeFromStorage needs to be renamed to dvStorageToLoad.
) | ||
|
||
#Dispatch from electrical storage is no greater than power capacity |
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.
why was this constraint added? doesn't seem to do anything beyond what (4l)-alt already accomplishes since it's over time steps without grid
This reverts commit 970bd2b.
… hardcoded" This reverts commit dcda12a.
This reverts commit 3ce3e32.
This reverts commit e3a7656.
This reverts commit 793e8d7.
This reverts commit 1de9ca6.
This reverts commit 293fcd7.
…rage"" This reverts commit 949bcb8.
This reverts commit b69edbf.
…ne results)" This reverts commit 1d3bce0.
This reverts commit 710f2f5.
This reverts commit 5f2ceb6.
…_load_plus_battery_power)" This reverts commit c9115a5.
This reverts commit 2960b23.
This reverts commit dd13655.
No description provided.