About me
Start scrolling to learn a bit about me and my current activities.
I live in Lugano and I’m currently a reseacher at both University of Applied Sciences and Arts of Southern Switzerland, SUPSI and at Hive Power, which I co-founded.
I graduated at PoliMi in 2014 in Energy Engineering, with a thesis on CFD. I received my Ph.D. at the École Polytechnique Fédérale de Lausanne, EPFL, with the thesis Model based forecasting for demand response strategies.
Publications
My current research activities focus on the energy sector field, spanning from demand side management to load and production forecasting.
Machine Learning and Forecasting
- Nespoli, L., & Medici, V. (2022). Multivariate Boosted Trees and Applications to Forecasting and Control. JMLR.
- Marvin, D.; Nespoli, L.; Strepparava, D.; Medici, V. (2022); A data-driven approach to forecasting ground-level ozone concentration,International Journal of Forecasting,38,3,970-987,Elsevier
- Nespoli, L., Medici, V., Lopatichki, K., & Sossan, F. (2020). Hierarchical demand forecasting benchmark for the distribution grid. Electric Power Systems Research, 189, 106755.
- Nespoli, L. (2019). Model Based Forecasting For Demand Response Strategies (EPFL Ph.D. Thesis)
- Sossan, F., Nespoli, L., Medici, V., & Paolone, M. (2018). Unsupervised disaggregation of photovoltaic production from composite power flow measurements of heterogeneous prosumers. IEEE Transactions on Industrial Informatics, 14(9), 3904–3913.
- Nespoli, L., & Medici, V. (2017). An unsupervised method for estimating the global horizontal irradiance from photovoltaic power measurements. Solar Energy, 158, 701–710.
Distributed Control
- Heendeniya, C. B.; Nespoli, L. (2022); A stochastic deep reinforcement learning agent for grid-friendly electric vehicle charging management,Energy Informatics,5,1,1-14,SpringerOpen
- Nespoli, L., & Medici, V. (2018). Constrained hierarchical networked optimization for energy markets. IEEE PES Innovative Smart Grid Technologies Conference Europe (ISGT-Europe)
- Nespoli, L., Salani, M., & Medici, V. (2018). A rational decentralized generalized Nash equilibrium seeking for energy markets. International Conference on Smart Energy Systems and Technologies, SEST 2018 - Proceedings, 1–6.
Demand Side Management and Energy
- Strepparava, D.; Nespoli, L.; Kapassa, E.; T., Marios; Katelaris, L.; Medici, V. (2022); Deployment and analysis of a blockchain-based local energy market,Energy Reports,8,,99-113,Elsevier
- Strepparava, D.; Rosato, F.; Nespoli, L.; Medici, V. (2022); Privacy and Auditability in the Local Energy Market of an Energy Community with Homomorphic Encryption,Energies,15,15,5386,MDPI
- Salani, M.; Derboni, M.; Rivola, D.; Medici, V.; Nespoli, L.; Rosato, F.; Rizzoli, A.E. (2020); Non intrusive load monitoring for demand side management,Energy Informatics,3,1,1-12,SpringerOpen
- Nespoli, L., Giusti, A., Vermes, N., Derboni, M., Rizzoli, A. E., Gambardella, L. M., & Medici, V. (2017). Distributed demand side management using electric boilers. Computer Science - Research and Development, 32(1–2). https://doi.org/10.1007/s00450-016-0315-6
- Medici, V., Salani, M., Nespoli, L., & Giusti, A. (2017). Evaluation Of The Potential Of Electric Storage Using Decentralized Demand Side Management Algorithms. 1–14.
- Nespoli, L., Medici, V., & Rudel, R. (2015). Grey-Box system identification of building thermal dynamics using only smart meter and air temperature data. 14th International Conference of IBPSA - Building Simulation 2015, BS 2015, Conference Proceedings.
For an exhaustive lis of my publications, please refer to scholar
Code
2020 Multivariate Boosted TRee
MBTR is a python package for multivariate boosted tree regressors trained in parameter space. The code is described in the accompaning paper L. Nespoli, V. Medici 2020. The package can handle arbitrary multivariate losses, as long as their gradient and Hessian are known. Gradient boosted trees are competition-winning, general-purpose, non-parametric regressors, which exploit sequential model fitting and gradient descent to minimize a specific loss function. The most popular implementations are tailored to univariate regression and classification tasks, precluding the possibility of capturing multivariate target cross-correlations and applying conditional penalties to the predictions. This package allows to arbitrarily regularize the predictions, so that properties like smoothness, consistency and functional relations can be enforced. The python code is available here.
2019 Scenario reduction for stochastic control
Code for optimal scenario tree reduction for multivariate data. The code reduces a set of scenarios (obtained from sampling a multivariate distribution, or from historical data) to a scenario tree, in which each node has an associate probability, such as at each point in time, the sum of the probabilities in all the branches of the tree is equal to 1. The algorithm implemented is based on the one described in N. Gröwe-Kuska et al. 2003, which rely on a greedy strategy to optimally reduce the scenarios, based on the Kantorovich distance. The code, available here, is implemented both in Matlab and in Python. The python verision also includes the retrieval of the graph representation of the scenrio tree. The graph is encoded in a networkx graph object.
2017 Global Horizontal Irradiance Estimator
This code estimates the global horizontal irradiance (GHI) from the power measurements of one or more photovoltaic (PV) systems located in the same neighborhood, as described in the accompaning paper L. Nespoli, V. Medici 2017. The method is completely unsupervised and is based on a physical model of a PV plant. It can estimate the nominal power and orientation of multiple PV fields, using only the aggregated power signal from their PV power plant. Moreover, if more than one PV power plant is available, the different signals are reconciled using outliers detection and assessing shading patterns for each PV plant. The matlab code is available here.
Teaching
Smart Grid course 2021
Here you can find some of the lessons from the SUPSI’s Smart Grid introductory course I’ve written in 2021, as professor assitant. The lessons are sef-contained interactive colab notebooks, and can be accessed through the folloing links.
- 2021 Smart Grids (Reti Energetiche Intelligenti)
Posts
subscribe via RSS