Text this: Energy management of smart buildings during crises and digital twins as an optimisation tool for sustainable urban environment