A digital twin framework for civil engineering structures