Energy Contract
For the controller to make a plan which maximizes profit, it must be able to calculate at any time the worth of energy. This includes both the cost of consuming energy from the grid and the revenue made by exporting it to the grid. These costs are set in the energy contract of a site, and can be configured in the app both by the company which claimed the controller and any “installer”-level user of the controller, provided the controller has a firmware version released after April 1st, 2026.
The controller supports any energy contract where prices are either fixed or a function of the day-ahead market cost, with a formula which depends on the time-of-day and day-of-the-week. Notably, this covers most variable, fixed, dynamic and flex energy contracts.
In order to configure these prices, the app offers various configuration forms. Which forms are available depends on two factors:
- The location (country, zip code, ...) of the controller, which can be configured on the controller interface or alternatively via SmartgridX
- The currency used by the energy provider (e.g. EUR, USD, CHF, SEK), which can be configured on the settings page itself Note that changing the currency after a contract was configured will invalidate the contract. Depending on the specific configuration method, changing the location of a controller might also result in a configuration becoming invalid.
The app has the following contract configurators:
- (available for any location/currency): Configure a contract by providing a fixed consumption and feed-in price.
- (available for any location/currency): Configure a contract by specifying a base rule and a set of extra time-dependent rules. The controller will always calculate a price based on the first active extra rule which matches a specific moment in time. If no extra rules match, the prices are set by the default rule. This option is the most flexible, but also the most complicated to set up.
- (available for controllers in Belgium [Flanders] and prices in EUR): Pick a private or business energy contract by specifying a contract name and the contract conclusion date.
- (available for controllers in Belgium (Flanders) and prices in EUR): Flex contracts use a price system with three prices, which depend on the time of day and the average EPEX spot price at the end of the month. There are currently two energy providers offering this system.

Figure: Energy contract configuration for a controller located in the Netherlands with the currency set to EUR.