Cmod utilityrateforecast#868
Merged
Merged
Conversation
added 16 commits
June 7, 2022 15:50
… Move rate setup to its own class so it can be used by multiple classes
…d_utilityrateforecast
…forecast naming to be stateful. Allow forecast class to be run without nm and peak data.
…tyrateforecast
… variable an inout
…tyrateforecast
…tyrateforecast
This was referenced Aug 31, 2022
sjanzou
approved these changes
Sep 1, 2022
sjanzou
left a comment
Collaborator
There was a problem hiding this comment.
Results from MacOS 12.5.1 with Apple Silicon chip
python UtilityRateForecastExample.py
urdb_rate_618940545457a35a1c4097ec.json
dict_keys(['ElectricityRates', 'Lifetime', 'Controls', 'Outputs'])
((0.0,), (1.0094e-320,), (5.776622002767455e-275,), (4.005296727656348e-307,), (0.0,), (1.344974619049452e-284,), (4.00530012336606e-307,), (0.0,), (1.344974619049452e-284,), (0.0,), (0.0,), (0.0,))
970.3978152001135
8760.0
1303.3002455446654
dguittet
approved these changes
Sep 6, 2022
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.
Creates a new cmod so that code utilized by price signals dispatch can be called from PySAM. Plan is for TEMPO team to use time-series prices from this cmod to calculate optimized charging profiles for inputs to dGen.
Companion PRs:
SAM: NatLabRockies/SAM#1144
PySAM: NatLabRockies/pysam#119
To test: