Skip to content

Cmod utilityrateforecast#868

Merged
brtietz merged 16 commits into
developfrom
cmod_utilityrateforecast
Sep 7, 2022
Merged

Cmod utilityrateforecast#868
brtietz merged 16 commits into
developfrom
cmod_utilityrateforecast

Conversation

@brtietz

@brtietz brtietz commented Aug 31, 2022

Copy link
Copy Markdown
Collaborator

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:

  • Check out these branches and build PySAM
  • Run new UtilityRateForecastExample.py and examine outputs

Brian Mirletz added 16 commits June 7, 2022 15:50
… Move rate setup to its own class so it can be used by multiple classes
…forecast naming to be stateful. Allow forecast class to be run without nm and peak data.

@sjanzou sjanzou left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@brtietz brtietz merged commit 97242bf into develop Sep 7, 2022
@brtietz brtietz deleted the cmod_utilityrateforecast branch November 18, 2022 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants