Human-in-the-Loop Simulations: Methods and Practice