Developing agent-based models to assess sustainability