Energy systems around the world are undergoing a paradigm shift, driven by the need for decarbonization and the rapid growth of decentralized, variable renewable energy sources. A key element for the effective integration of renewable and decentralized energy sources into the power system is the use of flexibility from distributed resources, e.g., for market participation or the provision of grid services.