execute Simulation
Executes a simulation using the given model inputs. It updates the model's parameters based on the request data and runs the simulation. Thus, a side effect of this function is to update the model's experimental run parameters. Thus, you may want to capture the current experimental run parameters before calling this function.
Return
the result of the simulation run encapsulated in a SimulationRun object. This contains the results from the executed simulation. If the simulation run resulted in errors, the simulation run's runErrorMsg property will not be empty (blank).
Parameters
the request data containing the model identifier, inputs, number of replications, and optional simulation run parameters. It specifies how the simulation should be executed.
the model to be used for the simulation. Includes the configuration and behavior required for the simulation execution.
a string that is used to uniquely identify the experiment within the context of multiple executions for the same model. The name of the experiment will be: "
${request.modelIdentifier}_Exp_$
expIdentifier". If expIdentifier is null, then the time of the request is used to as expIdentifier. Depending on how users might store experimental results, this naming may be important, especially if a KSLDatabase is used to hold experimental results.