Smart city based on digital twins