@misc{10481/107548, year = {2025}, month = {11}, url = {https://hdl.handle.net/10481/107548}, abstract = {Federated Learning (FL) has emerged as a promising paradigm to enable privacy-preserving machine learning across distributed IoT devices. This work relies on SimulaFed, a container-based in-simulation framework for FL that is readily applicable to IoT scenarios. It leverages real-world energy data from an office building in which environmental and occupancy parameters were monitored by an IoT system. Our framework performs distributed model training that preserves occupant privacy without incurring prohibitive communication overhead and benchmarks four aggregation rules–Federated Averaging (FedAvg), Federated Proximal (FedProx), FedAdam, and SCAFFOLD. Using ≈262 000 hourly windows and a lightweight 1-D CNN (≈0.35 M parameters; 354 488 weights), we benchmarked four aggregation rules. FedProx, with a tuned proximity term (μ = 0.05), achieved the lowest MAE: 0.755 ± 0.000, marginally ahead of FedAvg (0.764 ± 0.084) by 1.2%. SCAFFOLD delivered accuracy comparable to FedAvg (MAE 0.771 ± 0.042) but with a higher runtime footprint; FedAdam increased computational cost without accuracy gains. Each update payload is about 1.4 MB per client; across 17 clients and 10 rounds (upload + broadcast) this totals ≈480 MB. Detailed CPU/memory telemetry is reported in Section 4 and Table 13. These results confirm the viability of SimulaFed as a rapid-prototyping platform for energyaware FL in smart offices, paving the way for deployments that balance data confidentiality, prediction accuracy and resource usage.}, organization = {MCIU/AEI/10.13039/501100011033 and ERDF/EU (PID2024-158373OB-I00 – FederaTrans project)}, organization = {MCIU/AEI/10.13039/501100011033 and European Union, NextGeneration EU/PRTR (DesinfoScan project – TED2021-129402B-C21)}, organization = {European Union (BAG-INTEL project – Grant Agreement No. 101121309)}, publisher = {Elsevier}, keywords = {Federated learning}, keywords = {Internet of Things (IoT)}, keywords = {Smart offices}, title = {Privacy-preserving energy analytics in smart offices via container-based Federated Learning}, doi = {10.1016/j.iot.2025.101782}, author = {Morcillo-Jimenez, Roberto and Rivas Bravo, María José and Ruiz Jiménez, María Dolores and Martin-Bautista, Maria J. and Fernandez-Basso, Carlos}, }