A Unified Framework for Defining and Measuring Flexibility in Power System | Synapse