Skip to content

Conversation

@ngardiner
Copy link
Owner

@ngardiner ngardiner commented Jan 24, 2021

Adds support for pricing modules which would provide pricing data to TWCManager for use in policy decisions.

  • Add Web API function for fetching the current pricing data
  • Add Web API visibility of current import / export
    • Add both current import and export price to the default dashboard
  • Add background polling of pricing data from one or more defined pricing modules
  • Add static pricing module, which allows configuring of pricing for environments without dynamic pricing queries
    • Significant additional tunability required
  • Modify policy to use pricing data
    • Add a maximum price value to the policy section of the configuration
    • Stop charging if price reaches defined maximum price
    • Stop charging if export price exceeds import price

Note that a small amount of cleanup is included in the PR, which isn't directly related to the power pricing support:

  • Reordered several functions in TWCMaster which weren't following convention of alphabetical order
  • Removed the status column from README.md for Status modules, which have all been supported since 1.0.1

@ngardiner ngardiner added the enhancement New feature or request label Jan 24, 2021
@ngardiner ngardiner marked this pull request as draft January 24, 2021 07:08
@ngardiner
Copy link
Owner Author

This PR is impacted by #331 - Just a heads up for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants