Solve crash in retail rates dispatch SAM 1629#1100
Merged
Conversation
…ided to avoid hard crash
added 3 commits
December 5, 2023 16:42
…mprove_retail_rates_error_handling
1 task
cpaulgilman
approved these changes
Dec 6, 2023
cpaulgilman
left a comment
Collaborator
There was a problem hiding this comment.
PVWatts-Wind-Battery / TPO Host-Developer case runs with retail rate dispatch option and defaults for all other inputs. Simulation takes a while (long pause at 50%) but eventually finishes. The battery only charges and discharges for the first few days of January.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Throw an error if a user attempts to run retail rates dispatch without provided utility rate data. Update cmod-hybrid so it automatically gives the hybrid vartable to the battery and fuel cell models for dispatch.
Fixes NatLabRockies/SAM#1629, see that PR for test instructions
Pairs with NatLabRockies/SAM#1640, pull that PR for required defaults updates to get this to run.