Skip to content

astrochun/tep-usage-analysis

Repository files navigation

tep-usage-analysis

This Python command-line software estimates usage cost for different Tucson Electric Power (TEP) plans, including:

This tool's primary intent is to be able to evaluate options and determine if one plan is better for your pocket.

It does not account for taxes and surcharges. Rather it compares the "Delivery" and "Power Supply" charges of using different plans, based on actual past usage (kilo-watts-hour).

To install:

git clone https://github.com/astrochun/tep-usage-analysis
pip install -e .[dev]

As a TEP customer, you will need to login and download CSVs of your usage at: https://account.tep.com/MyAccount/UsageDataDownload

For single billing cycle, you can run the analysis via:

tep_cost_estimate -i <input_file>.csv

For multiple billing cycles (e.g. downloading 12 billing cycles), you can provide the starting billing period in billing_dates.txt and execute as:

tep_cost_estimate -i <input_multiple_billing_file>.csv --date-file billing_dates.txt

As an example, billing_dates_example.txt is provided.