Privacy-preserving energy analytics in smart offices via container-based Federated Learning Morcillo-Jimenez, Roberto Rivas Bravo, María José Ruiz Jiménez, María Dolores Martin-Bautista, Maria J. Fernandez-Basso, Carlos Federated learning Internet of Things (IoT) Smart offices 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. 2025-10-29T09:24:11Z 2025-10-29T09:24:11Z 2025-11 journal article Morcillo-Jimenez, R., Rivas, J. M., Ruiz, M. D., Martin-Bautista, M. J., & Fernandez-Basso, C. (2025). Privacy-preserving energy analytics in smart offices via container-based Federated Learning. Internet of Things (Amsterdam, Netherlands), 34(101782), 101782. https://doi.org/10.1016/j.iot.2025.101782 https://hdl.handle.net/10481/107548 10.1016/j.iot.2025.101782 eng info:eu-repo/grantAgreement/EU/PRTR/TED2021-129402B-C21 http://creativecommons.org/licenses/by/4.0/ open access Atribución 4.0 Internacional Elsevier