Interface ISimulatorClient<T, V>
Interface to be implemented by simulator integration clients that can
execute simulation configuration of the type V
public interface ISimulatorClient<T, V> where T : ModelStateBase where V : SimulatorRoutineRevision
Type Parameters
T
Type of the model state object
V
Type of the simulation configuration object
Methods
ExtractModelInformation(T, CancellationToken)
Task ExtractModelInformation(T state, CancellationToken _token)
Parameters
state
T_token
CancellationToken
Returns
GetConnectorVersion()
string GetConnectorVersion()
Returns
GetSimulatorVersion()
string GetSimulatorVersion()
Returns
RunSimulation(T, V, Dictionary<string, SimulatorValueItem>)
Run a simulation by executing the routine passed as parameter with the given input data
Task<Dictionary<string, SimulatorValueItem>> RunSimulation(T modelState, V simulationConfiguration, Dictionary<string, SimulatorValueItem> inputData)
Parameters
modelState
TModel state object
simulationConfiguration
VSimulation configuration object
inputData
Dictionary<string, SimulatorValueItem>Input data
Returns
- Task<Dictionary<string, SimulatorValueItem>>