Integrating supply and demand-side management in renewable-based energy systems. (1st October 2021)