thomastu / utility-bill-calculator

Utility bill calculator for single site utility bills.
0 stars 0 forks source link

Support Custom Rates #3

Open thomastu opened 3 years ago

thomastu commented 3 years ago

Related to #1, but currently this library is limited to rates provided by EIA/URDB. However, there is a lag behind approved + published rates between when they are received in URDB and when rates actually go in effect. One example as of this issue date is the PG&E E-20 (Primary) rates which have been published effective March 2021. Old rates are still reflected on URDB. To get around this, this library should support an interface to create custom rates for use.

Furthermore, direct-access customers could have custom rates as well. A rate model for a direct-access customer might involve using an existing rate schedule for demand charges with some offset/modifier, and then a custom schedule for kwh. This might be a flat $/kWh charge, or a custom schedule, or based on an existing schedule with custom rates.