The increasing share of renewable energy generation in the electricity system comes with significant challenges, such as the volatility of renewable energy sources. To tackle those challenges, demand side management is a frequently mentioned remedy. However, measures of demand side management need a high level of exibility to be successful. Although extensive research exists that describes, models and optimises various processes with exible electrical demands, there is no unified notation. Additionally, most descriptions are very process-specific and cannot be generalised. In this paper, we develop a comprehensive modelling framework to mathematically describe demand side exibility in smart grids while integrating a majority of constraints from different existing models. We provide a universally applicable modelling framework for demand side exibility and evaluate its practicality by looking at how well Mixed-Integer Linear Program (MIP) solvers are able to optimise the resulting models, if applied to artificially generated instances. From the evaluation, we derive that our model improves the performance of previous models while in ... mehrtegrating additional exibility characteristics.