The folder residential_battery_control contains the code belonging to the following publication:
Dam, M.R.; van der Laan, M.D. Techno-Economic Assessment of Battery Systems for PV-Equipped Households with Dynamic Contracts: A Case Study of The Netherlands. Energies 2024, 17, 2991. https://doi.org/10.3390/en17122991