Models of emergency prediction and handling v1