
Design
To optimise storage system’s operation based on energy cost:
Once the customer completes the Connect flow, or if you imported their tariff:- Charge from solar (if present) when surplus is available.
- Charge from grid when IMPORT tariff is low if solar is not sufficient.
- Supply stored energy to premises when IMPORT tariff is high and solar is not sufficient.
- Export stored surplus energy to the grid when EXPORT tariff is high.
To calculate the savings provided by the storage system:
- Find beriod of high and low electricity cost for grid IMPORT and EXPORT.
- Log the cost of energy when charging from the grid using the IMPORT tariff.
- Account charging from local generation source (e.g., solar) as “free” energy.
- Log the cost of energy when supplying from your system to the customer’s premises, using the IMPORT tariff at the time of supply.
- Apply a straightforward calculation to determine savings (details provided below).
Implementation
Charge when import tariff is low
Charge when import tariff is low
To get your system to charge from the grid at the lowest cost, call the Scheduling API to create an IMPORT schedule that follows a low tariff.The example below shows that your system will require 5.3 kWh between 7 pm and 5 am the following day. The scheduling API will advise you to instruct your system to charge between 1 am and 5 am
schedule.start_time
and schedule.end_time
.Supply when import tariff is high
Supply when import tariff is high
To get your system to supply the energy it previously stored when the grid import tariff is high, call the slots-threshold to obtain a list of high-peak tariff periods. Set
relative=0.5
to get slots when the tariff is at the top 50% of the range.Export when export tariff is high
Export when export tariff is high
If your customer has an export tariff, use the Scheduling API to create an export plan that sends energy to the grid when export tariff is high. You will need to be able to measure the amount of energy that “moves” out of the property and not just from your system into the property.To use Scheduling API to create an export plan, you must know how much energy you will have available for export and when.In the example below, you want to export 10kWh between 6 pm and 6 am the following day. The API suggests that you export between 6 pm and 11 pm exporting 10kWh and earning €9.28:
Log imported energy
Log imported energy
To calculate the energy cost savings provided by your system, you need to record the cost of energy stored.Call Metering API and submit IMPORT metering (at the device level) when your system is importing the energy. Set
direction=IMPORT
and tariff_rate=IMPORT
to determine what it did cost.Request
If you need to account for energy produced by a “free” power source, such as a local solar array, set
tariff_rate
to LOCAL
. If you send LOCAL
and IMPORT
meter readings covering the same period, they will be summarised.Log supplied energy
Log supplied energy
When your system supplies your customer’s premises with previously stored energy, log it as if supplied directly from the grid. Call submit-meter-interval setting
direction=EXPORT
and tariff_rate=IMPORT
to determine what it could have cost.Request
Log exported energy
Log exported energy
When your system exports energy to the grid, log it using the export tariff. Call submit-meter-interval endpoint setting
direction=EXPORT
and tariff_rate=EXPORT
to determine what it earned from the grid.Request
Get data to calculate savings
Get data to calculate savings
1. To get the cost of imports: Call calculate-energy-cost-by-interval endpoint to request the cost of imported energy (note the 2. To get the value of energy that your system supplied to premises: Then, call calculate-energy-cost-by-interval again to request what would be the cost of energy if your device did not supply it from storage (note the 3. To get the value of exports: If your system is exporting energy to the grid, call calculate-energy-cost-by-interval endpoint for the third time to request the value of exported energy (note use of Location ID and
direction=IMPORT
) for the period for which you would like to provide the report:direction=EXPORT
); for the same period:direction=EXPORT
):Use the
aggregation
parameter to get data for a week, month, or year.Calculate savings
Calculate savings
The difference between the
tariff.value
figures in the IMPORT
and EXPORT
responses will be the savings your system has achieved.The example below covers a day period and works out as follows:- Imported 5.5KWh of energy at total cost of €0.64; averaging €0.116/KWh.
- Supplied 3.2KWh of energy at total cost of €1.18; averaging €0.368/KWh.
- Calculate savings as
€1.18
grid costs avoid minus€0.64
paid, making a saving of €0.54 or 54% savings.
If you’ve logged solar usage by submitting solar generation via the
LOCAL
tariff_rate
(step 4), solar savings will automatically be included in the calculation.