Application of Microsimulation Towards Modelling of Behaviours in Complex Environments