TIME_SCALE is currently a global variable which may cause bugs when several problems require different time discretization.