Details
Name
Luis Lino FerreiraRole
Senior ResearcherSince
14th December 2022
Nationality
PortugalCentre
Human-Centered Computing and Information ScienceContacts
+351222094000
luis.l.ferreira@inesctec.pt
2025
Authors
Fonseca, T; Ferreira, LL; Cabral, B; Severino, R; Nweye, K; Ghose, D; Nagy, Z;
Publication
Energy Inform.
Abstract
Intelligent energy management strategies, such as Vehicle-to-Grid (V2G) and Grid-to-Vehicle (V1G) emerge as a potential solution to the Electric Vehicles’ (EVs) integration into the energy grid. These strategies promise enhanced grid resilience and economic benefits for both vehicle owners and grid operators. Despite the announced perspective, the adoption of these strategies is still hindered by an array of operational problems. Key among these is the lack of a simulation platform that allows to validate and refine V2G and V1G strategies. Including the development, training, and testing in the context of Energy Communities (ECs) incorporating multiple flexible energy assets. Addressing this gap, first we introduce the EVLearn, an open-source extension for the existing CityLearn simulation framework. EVLearn provides both V2G and V1G energy management simulation capabilities into the study of broader energy management strategies of CityLearn by modeling EVs, their charging infrastructure and associated energy flexibility dynamics. Results validated the extension of CityLearn, where the impact of these strategies is highlighted through a comparative simulation scenario. © The Author(s) 2025.
2025
Authors
Nweye, K; Kaspar, K; Buscemi, G; Fonseca, T; Pinto, G; Ghose, D; Duddukuru, S; Pratapa, P; Li, H; Mohammadi, J; Ferreira, LL; Hong, TZ; Ouf, M; Capozzoli, A; Nagy, Z;
Publication
JOURNAL OF BUILDING PERFORMANCE SIMULATION
Abstract
As more distributed energy resources become part of the demand-side infrastructure, quantifying their energy flexibility on a community scale is crucial. CityLearn v1 provided an environment for benchmarking control algorithms. However, there is no standardized environment utilizing realistic building-stock datasets for distributed energy resource control benchmarking without co-simulation or third-party frameworks. CityLearn v2 extends CityLearn v1 by providing a stand-alone simulation environment that leverages the End-Use Load Profiles for the U.S. Building Stock dataset to create grid-interactive communities for resilient, multi-agent, and objective control of distributed energy resources with dynamic occupant feedback. While the v1 environment used pre-simulated building thermal loads, the v2 environment uses data-driven thermal dynamics and eliminates the need for co-simulation with building energy performance software. This work details the v2 environment and provides application examples that use reinforcement learning control to manage battery energy storage system, vehicle-to-grid control, and thermal comfort during heat pump power modulation.
2025
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
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
Authors
Cabral, B; Fonseca, T; Sousa, C; Ferreira, LL;
Publication
CoRR
Abstract
The access to the final selection minute is only available to applicants.
Please check the confirmation e-mail of your application to obtain the access code.