This section provides the details of the algorithm used to calculate battery capacity loss due to calendar aging, along with its standard deviation, for a dynamic SOC and temperature profiles. The algorithm simulates the degradation of lithium iron phosphate (LFP) cells over a specified period based on the operational profile of a storage system. The algorithm estimates the mean capacity loss and its standard deviation for an LFP battery over time with a specific SOC and cell temperature profiles. These are the main steps: • Current virtual time (𝑡 1 ) Calculation: 𝑡 1 is calculated according to the previous virtual time (𝑡 0 ) and the window time span (𝛥𝑡):