Quantification of flexibility in buildings by cost curves – Methodology and application. (15th January 2016)