Training for safety in an anesthesia simulator