DESIGNING MULTI-SCALE PUBLIC IOT SYSTEMS