Monitoring and emergency control of natural gas distribution urban networks