Modelling Potential Hazards within Agent-Based Safety Risk Analysis