Cookies Policy
The website need some cookies and similar means to function. If you permit us, we will use those means to collect data on your visits for aggregated statistics to improve our service. Find out More
Accept Reject
  • Menu
Interest
Topics
Details

Details

  • Name

    Luis Lino Ferreira
  • Role

    Senior Researcher
  • Since

    14th December 2022
Publications

2025

EVLearn: extending the cityLearn framework with electric vehicle simulation

Authors
Fonseca, T; Ferreira, LL; Cabral, B; Severino, R; Nweye, K; Ghose, D; Nagy, Z;

Publication
Energy Inform.

Abstract

2025

Control of Renewable Energy Communities using AI and Real-World Data

Authors
Fonseca, T; Sousa, C; Venâncio, R; Pires, P; Severino, R; Rodrigues, P; Paiva, P; Ferreira, LL;

Publication
ETFA

Abstract
The electrification of transportation and the increased adoption of decentralized renewable energy generation have added complexity to managing Renewable Energy Communities (RECs). Integrating Electric Vehicle (EV) charging with building energy systems like heating, ventilation, air conditioning (HVAC), photovoltaic (PV) generation, and battery storage presents significant opportunities but also practical challenges. Reinforcement learning (RL), particularly Multi-Agent Deep Deterministic Policy Gradient (MADDPG) algorithms, have shown promising results in simulation, outperforming heuristic control strategies. However, translating these successes into real-world deployments faces substantial challenges, including incomplete and noisy data, integration of heterogeneous subsystems, synchronization issues, unpredictable occupant behavior, and missing critical EV state-of-charge (SoC) information. This paper introduces a framework designed explicitly to handle these complexities and bridge the simulation-to-reality gap. The framework incorporates EnergAIze, a MADDPG-based multi-agent control strategy, and specifically addresses challenges related to real-world data collection, system integration, and user behavior modeling. Preliminary results collected from a real-world operational REC with four residential buildings demonstrate the practical feasibility of our approach, achieving an average 9% reduction in daily peak demand and a 5% decrease in energy costs through optimized load scheduling and EV charging behaviors. These outcomes underscore the framework's effectiveness, advancing the practical deployment of intelligent energy management solutions in RECs. © 2025 IEEE.

2025

Evaluating LLaMA 3.2 for Software Vulnerability Detection

Authors
Gonçalves, J; Silva, M; Cabral, B; Dias, T; Maia, E; Praça, I; Severino, R; Ferreira, LL;

Publication
CYBERSECURITY, EICC 2025

Abstract
Deep Learning (DL) has emerged as a powerful tool for vulnerability detection, often outperforming traditional solutions. However, developing effective DL models requires large amounts of real-world data, which can be difficult to obtain in sufficient quantities. To address this challenge, DiverseVul dataset has been curated as one of the largest datasets of vulnerable and non-vulnerable C/C++ functions extracted exclusively from real-world projects. Its goal is to provide high-quality, large-scale samples for training DL models. Nevertheless, during our study several inconsistencies were identified in the raw dataset while applying pre-processing techniques, highlighting the need for a refined version. In this work, we present a refined version of DiverseVul dataset, which is used to fine-tune a large language model, LLaMA 3.2, for vulnerability detection. Experimental results show that the use of pre-processing techniques led to an improvement in performance, with the model achieving an F1-Score of 66%, a competitive result when compared to our baseline, which achieved a 47% F1-Score in software vulnerability detection.

2024

FlexiGen: Stochastic Dataset Generator for Electric Vehicle Charging Energy Flexibility

Authors
Cabral, B; Fonseca, T; Sousa, C; Ferreira, LL;

Publication
CoRR

Abstract

2024

EnergAIze: Multi Agent Deep Deterministic Policy Gradient for Vehicle to Grid Energy Management

Authors
Fonseca, T; Ferreira, LL; Cabral, B; Severino, R; Praça, I;

Publication
CoRR

Abstract