twin_simulate_batch_mode_csv#

TwinRuntime.twin_simulate_batch_mode_csv(input_csv, output_csv, step_size=0, interpolate=0)#

Simulates the TWIN model in batch mode using given input CSV file and write the results in the output CSV file.

Parameters:
input_csvstr

Input CSV file. First column represents time and the next ones represent inputs. Header is optional.

output_csvstr

Output CSV file. If empty or NULL no output will be generated. First column represents time and the next ones represent outputs.

step_sizefloat (optional)

Step size. If 0, time points in the input table will be used as the output points; otherwise it will produce output at an equal spacing of h. Default is 0.

interpolateint (optional)

Flag to interpolate real continuous variables if step size > 0.