submit

fun submit(config: RunConfiguration, provider: ModelProviderIfc? = null, scope: CoroutineScope = CoroutineScope(SimulationDispatcher.default + SupervisorJob()), preRunWarnings: List<RunWarningType> = emptyList()): RunHandle(source)

Submits the scenario sweep described by config for asynchronous execution.

Return

a RunHandle for observing progress and obtaining the result

Parameters

config

run configuration with a non-empty RunConfiguration.scenarios list

provider

required when RunConfiguration.modelReference is ModelReference.ByProviderId

scope

coroutine scope that owns the orchestrator coroutine