-
Notifications
You must be signed in to change notification settings - Fork 20
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
Prevent simultaneous charge/discharge plus other minor improvements #440
Open
hdunham
wants to merge
53
commits into
develop
Choose a base branch
from
prevent-simul-charge-discharge
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 52 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
b16eac0
add Logging to test/Project.toml
hdunham 353085f
rm Xpress from test/Project.toml
hdunham b1f20bc
testing
hdunham 757b08f
prevent elec stor simul charge/discharge
hdunham 9daee88
testing
hdunham a76daa8
update testing
hdunham 9a164b7
testing
hdunham 6b89f17
testing
hdunham ffd919d
testing
hdunham 50a0bf9
prevent simul charge/discharge in outages
hdunham a9891af
prevent simul charge/dis for thermal stor
hdunham 0717319
testing
hdunham 2b7008d
remove intermediate testing files
hdunham 753c46a
Revert "rm Xpress from test/Project.toml"
hdunham f866abf
add missing possible keys to Scenario docstring
hdunham 197e851
trying different locations that could be intl solar dataset
hdunham b576c34
handle CO2 emissions reduction fractions being nothing in value check
hdunham f9ceff5
debug failing off grid test
hdunham 836202e
rm off grid debugging
hdunham 417cd39
rm debugging changes
hdunham 2b0371b
clean up wind and pv results processing
hdunham 44f435d
use hours_per_time_step to simply equations
hdunham 46b7f22
rm dupe loops of thermal stor constraints
hdunham 7d6ff99
rename to add_storage_sum_grid_constraints
hdunham 029674e
specify that PV capacity is kW DC in docstrings
hdunham e807431
improve comment in results/outages.jl
hdunham 8572998
update simul charge/dis test
hdunham 84ef7ca
change voll type to fix convert error
hdunham 3bc3027
rm debugging
hdunham 490e097
rm offgrid debug output files
hdunham 4cecaaa
force critical_loads_kw to nothing when off grid
hdunham d8863c8
undo effic edit in pv results (will do all in another branch)
hdunham 7876e20
Update CHANGELOG.md
hdunham f7b6e4d
comment out failing solar dataset test
hdunham 7683c96
Revert "comment out failing solar dataset test"
hdunham d8fb2e2
replace cameroon with oulu; uncomment tests
hdunham 71ebd60
Merge branch 'solar-dataset' into prevent-simul-charge-discharge
hdunham c6e1b06
Update CHANGELOG.md
hdunham 36a6a6c
Merge branch 'develop' into prevent-simul-charge-discharge
hdunham e2aa523
add util function to wrap time steps larger than the max around year
hdunham 22f6d9f
wrap around time steps that can be greater than max (outage model)
hdunham f4edfbb
Merge branch 'develop' into prevent-simul-charge-discharge
hdunham ee4a860
update changelog guidelines
hdunham 973bb15
make outage in nogridcost_multiscenario test wrap around year
hdunham 071b65e
Merge branch 'develop' into prevent-simul-charge-discharge
zolanaj 1f78ab7
Update CHANGELOG.md
hdunham ee356ee
fix merge error
hdunham f34f0ef
rm temp comments from testing
hdunham 8dc78f4
Merge branch 'outage_wrap' into prevent-simul-charge-discharge
hdunham 097aa90
Update CHANGELOG.md
hdunham 1f27348
rm dupe test "Outage with Generator"
hdunham 45a58ca
rm dupe test "MPC"
hdunham 2cb4b1d
Update Project.toml
zolanaj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
So the wraparound function is required for data from the initial problem (e.g., production factors and site load) and NOT required for the microgrid state of charge because that's only using the starting time period SOC from the full-year problem and then using the (tz,ts) tuple instead of an "absolute-value" time step that could otherwise exceed 8760. Is that right?
I spot-checked a case and the m[:dvStorageEnergy"] reconciles correctly for the long-duration case in the testset - just making sure I understand.