Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Oct 17, 2024
Merged

Conversation

shorowit
Copy link
Contributor

@shorowit shorowit commented Oct 16, 2024

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
7 checks passed
@shorowit shorowit deleted the utility_bills_update branch October 17, 2024 03:49
@joseph-robertson joseph-robertson mentioned this pull request Oct 23, 2024
22 tasks
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