pub fn init_timeline_progress_bar(max_time: f64)
Initialize the progress bar with the maximum time until the simulation ends.