You can adapt this for scripting, parameter files, or documentation. # AutoSim Utility: Parameter Sweep with Automatic Logging # Purpose: Run multiple simulations with varying parameters and log key outputs. [Simulation] Name = ParamSweep_Steering_Angle EndTime = 10.0 StepSize = 0.01
[PostProcess] Plot = YawRate vs Time SaveBest = Min LateralAccel
[Output] LogFile = results/sweep_log_{run_id}.csv LogVariables = Time, Vehicle.Speed, Vehicle.YawRate, Vehicle.LateralAccel
[ParameterSweep] Variable = Steering_Angle_deg Values = 0, 5, 10, 15, 20
[Vehicle] Mass = 1500 # kg Wheelbase = 2.7 # m