Title: Probabilistic safety assessment and optimal control of hazardous technological systems