Step 2 - Calculate Electricity Costs
Create an Electricity Profile for actual usage
The next step is to create the electricity profile that will contain the customer’s electricity usage (typically kWh) data. For the best accuracy, use utility revenue grade meter interval data. If you don’t have access to this you could use sub-meter data or billing consumption data. If you don’t have access to any actual electricity usage data, call us to discuss options around estimating usage.
Example 1 - Electricity Profile with monthly readings
Below is an example to add a new electricity profile to the account. In this example we have included a year’s worth of actual monthly readings (presumably from bills). For the best results use hourly or smaller meter data.
POST /rest/v1/profiles
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"providerAccountId" : "{providerAccountId}",
"providerProfileId" : "{providerProfileId}",
"profileName" : "Actual Electricity Usage",
"isDefault" : true,
"serviceTypes" : "ELECTRICITY",
"sourceId" : "ReadingEntry",
"readingData" : [
{ "fromDateTime" : "2015-06-19T00:00-0700",
"quantityUnit" : "kWh",
"quantityValue" : "-438",
"toDateTime" : "2015-07-20T00:00-0700"
},{ "fromDateTime" : "2015-07-20T00:00-0700",
"quantityUnit" : "kWh",
"quantityValue" : "-368",
"toDateTime" : "2015-08-19T00:00-0700"
},{ "fromDateTime" : "2015-08-19T00:00-0700",
"quantityUnit" : "kWh",
"quantityValue" : "-79",
"toDateTime" : "2015-09-20T00:00-0700"
},{ "fromDateTime" : "2015-09-20T00:00-0700",
"quantityUnit" : "kWh",
"quantityValue" : "180",
"toDateTime" : "2015-10-19T00:00-0700"
},{ "fromDateTime" : "2015-10-19T00:00-0700",
"quantityUnit" : "kWh",
"quantityValue" : "705",
"toDateTime" : "2015-11-18T00:00-0800"
},{ "fromDateTime" : "2015-11-18T00:00-0800",
"quantityUnit" : "kWh",
"quantityValue" : "959",
"toDateTime" : "2015-12-17T00:00-0800"
},{ "fromDateTime" : "2015-12-17T00:00-0800",
"quantityUnit" : "kWh",
"quantityValue" : "1182",
"toDateTime" : "2016-01-19T00:00-0800"
},{ "fromDateTime" : "2016-01-19T00:00-0800",
"quantityUnit" : "kWh",
"quantityValue" : "895",
"toDateTime" : "2016-02-18T00:00-0800"
},{ "fromDateTime" : "2016-02-18T00:00-0800",
"quantityUnit" : "kWh",
"quantityValue" : "973",
"toDateTime" : "2016-03-20T00:00-0700"
},{ "fromDateTime" : "2016-03-20T00:00-0700",
"quantityUnit" : "kWh",
"quantityValue" : "-49",
"toDateTime" : "2016-04-19T00:00-0700"
},{ "fromDateTime" : "2016-04-19T00:00-0700",
"quantityUnit" : "kWh",
"quantityValue" : "-220",
"toDateTime" : "2016-05-18T00:00-0700"
},{ "fromDateTime" : "2016-05-18T00:00-0700",
"quantityUnit" : "kWh",
"quantityValue" : "-492",
"toDateTime" : "2016-06-19T00:00-0700"
}
]
}
For more information, check out our documentation on how to add a monthly Electricity Readings profile.
Example 2 - Electricity Profile with Import and Export readings
When a customer has dual register meters, you can upload an electricity profile with import and export readings. You will use "importQuantityValue"
and "exportQuantityValue"
for the kWh values when the meter is importing and exporting. For the best results use hourly or smaller meter data. If a value is not specified, it is assumed to be 0 for the reading.
You will use this electricity profile with import and export readings to Calculate the Actual Bill Cost. However, you will need to create a separate electricity profile with net values of the import and export readings to use to Calculate What the Bill Would Have Been Without Solar Production. Please see the first example above or check out our documentation on how to add an electricity readings profile without import and export readings.
POST /rest/v1/profiles
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"providerAccountId" : "{providerAccountId}",
"providerProfileId" : "{providerProfileId}",
"profileName" : "Dual Register Meter Profile",
"isDefault" : true,
"serviceTypes" : "ELECTRICITY",
"sourceId" : "ReadingEntry",
"readingData" : [
{ "fromDateTime" : "2015-06-19T00:00-0700",
"quantityUnit" : "kWh",
"importQuantityValue" : "1.41746",
"toDateTime" : "2015-06-19T01:00-0700"
},
{ "fromDateTime" : "2015-06-19T01:00-0700",
"quantityUnit" : "kWh",
"importQuantityValue" : "1.412371",
"exportQuantityValue" : "0",
"toDateTime" : "2015-06-19T02:00-0700"
},
/* edited for length */
{ "fromDateTime" : "2015-06-19T08:00-0700",
"quantityUnit" : "kWh",
"importQuantityValue" : "1.382745",
"exportQuantityValue" : "1.035186",
"toDateTime" : "2015-06-19T09:00-0700"
},
{ "fromDateTime" : "2015-06-19T09:00-0700",
"quantityUnit" : "kWh",
"exportQuantityValue" : "2.515777",
"toDateTime" : "2015-06-19T10:00-0700"
},
/* edited for length */
]
}
Periodically update the Electricity Profile with the latest usage
You only need to add a new profile for actual electricity usage one time. Then periodically you will append new interval data to it, say, at the end of each day or month. Here is an example request that adds new readings to an existing electricity profile:
PUT /rest/v1/profiles/{profileId}/readings
1
2
3
4
5
6
7
8
9
{
"usageProfileId": "{profileId}",
"readings" : [ {
"fromDateTime" : "2016-06-19T00:00-0700",
"toDateTime" : "2016-07-19T00:00-0700",
"quantityUnit" : "kWh",
"quantityValue" : 235
} ]
}
Visit our documentation to learn more about how to Update Readings.
Calculate the Actual Bill Cost each month
Once you have the actual electricity usage loaded, you will be able to calculate the Actual Bill cost for that billing period. Below is a sample request to calculate the Actual Bill cost for a billing period from 7/20/2015 to 8/19/2015. You set the property billingPeriod
to true as this calculation is for one billing period. Doing so will handle the proration of fixed and other billing period charges correctly. Note also that in this example, a usage profile is not passed in. That is because the calculation will use the actual electricity usage profile you created above since it was flagged as the default profile.
POST /rest/v1/accounts/pid/{providerAccountId}/calculate/
1
2
3
4
5
6
7
8
{
"fromDateTime":"2015-07-20T00:00-0700",
"toDateTime":"2015-08-19T00:00-0700",
"billingPeriod": true,
"minimums": false,
"groupBy":"MONTH",
"detailLevel":"CHARGE_TYPE"
}
Here is the calculated result:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* edited for length */
"summary": {
"ELECTRICITY": {
"kWh": -368,
"kW": 0
},
"subTotalCost": -61.68,
"taxCost": 0,
"totalCost": -61.68,
"adjustedTotalCost": -61.79,
"kWh": -368,
"kW": 0
}
/* edited for length */
You can read our documentation on Account Cost Calculation for more information. We also have a How-To on Running a Calculation to Match A Bill which walks you how to successfully match your customer’s bill.
Previously you set up a site with a correct tariff and other settings. In this step you loaded electricity usage data into it, and used that to calculate the site’s actual electricity costs.