INESC-ID · PV Smile

EC Optimisation Engine

Created within the scope of Deliverable 5.1 of the European project PV Smile. This web platform enables practitioners, policymakers, and community stakeholders to upload datasets, configure scenarios, run bi-level optimisation, and explore results without programming. It provides operational efficiency, economic outcomes, and sustainability metrics to support transparent decision-making for energy communities.

Benchmark dataset or Excel template · Bi-Level optimisation algorithm · Interactive charts & KPIs

From datasets to dispatch — in the browser

The frontend connects to a Pyomo-based optimisation backend via FastAPI: you define the EC, choose the algorithm and time resolution, then compare outputs and indicators tailored to each method — closing the gap between research-grade optimisation and usable, no-code workflows.

Benchmark & Excel-based inputs

Use the built-in Madeira Island benchmark (five residential households, second half of 2019), with backend scaling to synthesise larger or smaller communities, or upload the EC configuration spreadsheet template defining members and assets (loads, PV, EVs, BESSs).

Benchmark & custom series

Choose measured time series from the benchmark or user-provided series in Excel. Set the optimisation resolution to 15, 30, or 60 minutes and tune method-specific parameters.

PV, EVs, BESS & flexible loads

The optimisation layer schedules typical EC assets and flexibility: photovoltaic generation, electric vehicles, battery storage, and controllable loads that can be reduced or curtailed — so operational decisions stay aligned with technical limits.

Bi-Level scheduling algorithm

Decentralised bi-level method coordinating peer-level asset flexibility with community-level energy sharing and market interactions.

Multi-objective decision framework

Select among baseline operation, reducing the energy invoice, reducing grid import, improving battery longevity, reducing environmental impact, increasing comfort, and reducing operational costs.

Interactive charts & KPI tables

Explore dispatch and outcomes with Highcharts (line, stacked area, bar, panning, tooltips). Export chart images and data from the interface with key performance and sustainability indicators.

Up and running in three steps

Sign in, import or select data, configure the optimisation method and objectives, then review interactive visualisations and KPI tables — with export options for reporting and further analysis.

1

Configure the EC & data source

Sign in, then select the benchmark dataset or upload the Excel template. Set resolution (15–60 minutes), and configure the bi-level optimisation parameters.

2

Run optimisation

The backend preprocesses inputs into Pyomo-ready structures, executes the bi-level scheduling with SCIP, and returns results via the API — no scripting required.

3

Interpret results

View algorithm-specific charts and KPI tables, switch chart types, and export figures or data for reporting — supporting transparent comparison of operational, economic, and grid-interaction outcomes.

Open tools, clearer EC decisions

The EC Optimisation Engine was created within the scope of Deliverable 5.1 of the European project PV Smile. It models distributed assets and applies advanced bi-level optimisation to energy community scheduling and operation problems without requiring programming skills.

The stack follows a client–server architecture: the GUI is built in Nuxt 3; the backend standardises inputs for Pyomo models with the SCIP solver and serves results through FastAPI; authentication uses PostgreSQL. Together, these pieces let you assess bi-level community formulations and interpret results through interactive charts and KPIs aligned with each run.

No-code workflows

Designed so users without advanced programming skills can configure scenarios, run routines, and compare metrics interactively — addressing a key adoption barrier for EC optimisation tools.

Nuxt · FastAPI · Pyomo

The frontend collects inputs and displays results; the backend standardises data for Pyomo models and exposes outputs through a REST API, with secure sign-in backed by PostgreSQL.

Transparent assessment

Method-specific visualisations and KPIs help you see how deterministic, decentralised, and stochastic formulations differ — supporting reporting and stakeholder engagement.

Ready to optimise your energy community?

Sign in to run scenarios, compare algorithms, and export insight for your community planning and research.