Global warming is forcing the energy sector to move towards cleaner energy production. However, the transition from fossils fuels to renewable energy sources and nuclear power sets challenges for electrical grids. Electrical grids need a constant balance between demand and supply. Renewable energy generation is very variable and weather dependent, and nuclear energy is inflexible. Thus, the demand-supply balance of the electrical grid and the reliability of the grid are facing challenges. Demand-side flexibility may be utilized to address the issue. Demand-side flexibility refers to the ability to use available demand-side resources to respond to changes in the demand-supply balance. Demand-side flexibility practices may be utilized to bala...