Build with FlatPeak
Generation system
In this tutorial, you will learn how to leverage FlatPeak if your system generates energy, such as solar PV or wind turbine, and you want to report cost savings and export revenue that it creates.
Design
Once customer completes the Connect flow, or if you created their tariff via the API:
To calculate the cost-benefit of your systems operation:
- Supply your customer’s premises when your system generates (supplied energy).
- Export surplus energy to the grid.
To determine the savings and earnings achieved by your system:
- Log supplied energy to meter-records API under the IMPORT tariff.
- Log exported energy to the meter-records API under the EXPORT tariff
- When you want to display savings and earnings, call the cost-calculation API to get the value of energy your system has supplied and exported.
Implementation
Was this page helpful?