Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Utility bill calcs: Allow $/day fixed charges#1861

Merged
shorowit merged 3 commits into
masterfrom
utility_bills_update
Oct 17, 2024
Merged

Utility bill calcs: Allow $/day fixed charges#1861
shorowit merged 3 commits into
masterfrom
utility_bills_update

Conversation

@shorowit

@shorowit shorowit commented Oct 16, 2024

Copy link
Copy Markdown
Contributor

Pull Request Description

Addresses #1859. Updates utility bill calculations to allow daily fixed charges.

Also: Improves warning messages. A little code cleanup. Fixes issue where the max usage units (for tiered rates) could be treated as kWh/month when they were something else (e.g., kWh/day, kWh/kW).

Checklist

Not all may apply:

  • Schematron validator (EPvalidator.xml) has been updated
  • Sample files have been added/updated (openstudio tasks.rb update_hpxmls)
  • Tests have been added/updated (e.g., HPXMLtoOpenStudio/tests/test*.rb and/or workflow/tests/test*.rb)
  • Documentation has been updated
  • Changelog has been updated
  • openstudio tasks.rb update_measures has been run
  • No unexpected changes to simulation results of sample files

@shorowit shorowit added the enhancement New feature or request label Oct 16, 2024
@shorowit shorowit self-assigned this Oct 16, 2024
…e. 2. Only throw an error if the max usage unit is not kWh AND a max usage value is provided. The units apply to the max value usage only, the rate value is always $/kWh; see the OpenEI URDB website for confirmation.
@shorowit shorowit marked this pull request as ready for review October 17, 2024 03:49
@shorowit shorowit merged commit 27dd8ea into master Oct 17, 2024
@shorowit shorowit deleted the utility_bills_update branch October 17, 2024 03:49
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

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant