Simulators for planning clinical trials