Every time a simulation routine executes, a simulation run object is created. This object ensures that each execution of a routine is documented and traceable. Each run has an associated simulation data resource, which stores the inputs and outputs of a simulation run, capturing the values set into and read from the simulator model to ensure the traceability and integrity of the simulation data.
Simulation runs provide a historical record of the simulations performed, allowing users to analyze and compare different runs, track changes over time, and make informed decisions based on the simulation results.
When simulation run load balancing is enabled and the routine is not assigned to any particular simulator integration, the run initiates with status queued and any active simulator integration can claim it automatically.
Without load balancing, the run initiates with status ready and is tied to the simulator integration specified on the routine.
Request to run a simulator routine asynchronously.
The total size of the request body can be a maximum of 50.00 KB.
required | Array of SimulationRunCommandByRoutine (object) or SimulationRunCommandByRoutineRevision (object) (Items) A list with a single item |
Successful Response
Bad Request
Forbidden
Request Entity Too Large
Internal Server Error
{- "items": [
- {
- "runTime": 0,
- "queue": false,
- "logSeverity": "Debug",
- "inputs": [
- {
- "referenceId": "string",
- "value": "string",
- "unit": {
- "name": "kg"
}
}
], - "routineExternalId": "calculation_1"
}
]
}{- "items": [
- {
- "dataSetId": 5559452808603919,
- "id": 0,
- "simulatorExternalId": "string",
- "simulatorIntegrationExternalId": "string",
- "modelExternalId": "string",
- "modelRevisionExternalId": "string",
- "routineExternalId": "string",
- "routineRevisionExternalId": "string",
- "runTime": 0,
- "simulationTime": 0,
- "leasedUntilTime": 0,
- "status": "queued",
- "statusMessage": "string",
- "runType": "external",
- "userId": "string",
- "logId": 0,
- "createdTime": 0,
- "lastUpdatedTime": 0
}
]
}Retrieves a list of simulation runs that match the given criteria.
Successful Response
Bad Request
Forbidden
Internal Server Error
{- "filter": {
- "status": "queued",
- "runType": "external",
- "simulatorIntegrationExternalIds": [
- "PROSPER_connector",
- "DWSIM_connector"
], - "simulatorExternalIds": [
- "PROSPER",
- "PetroSIM"
], - "modelExternalIds": [
- "PROSPER_model",
- "PetroSIM_model"
], - "routineExternalIds": [
- "PROSPER_routine",
- "PetroSIM_routine"
], - "routineRevisionExternalIds": [
- "routineRevisionForModel"
], - "modelRevisionExternalIds": [
- "wellModel"
], - "createdTime": {
- "max": 0,
- "min": 0
}, - "simulationTime": {
- "max": 0,
- "min": 0
}
}, - "limit": 1000,
- "cursor": "string",
- "sort": [
- {
- "order": "asc",
- "property": "createdTime"
}
]
}{- "items": [
- {
- "dataSetId": 5559452808603919,
- "id": 0,
- "simulatorExternalId": "string",
- "simulatorIntegrationExternalId": "string",
- "modelExternalId": "string",
- "modelRevisionExternalId": "string",
- "routineExternalId": "string",
- "routineRevisionExternalId": "string",
- "runTime": 0,
- "simulationTime": 0,
- "leasedUntilTime": 0,
- "status": "queued",
- "statusMessage": "string",
- "runType": "external",
- "userId": "string",
- "logId": 0,
- "createdTime": 0,
- "lastUpdatedTime": 0
}
], - "nextCursor": "string"
}Retrieve a simulation run by ID.
required | Array of objects (Items) A list with a single item |
Successful Response
Bad Request
Forbidden
Internal Server Error
{- "items": [
- {
- "id": 5559452808603919
}
]
}{- "items": [
- {
- "dataSetId": 5559452808603919,
- "id": 0,
- "simulatorExternalId": "string",
- "simulatorIntegrationExternalId": "string",
- "modelExternalId": "string",
- "modelRevisionExternalId": "string",
- "routineExternalId": "string",
- "routineRevisionExternalId": "string",
- "runTime": 0,
- "simulationTime": 0,
- "leasedUntilTime": 0,
- "status": "queued",
- "statusMessage": "string",
- "runType": "external",
- "userId": "string",
- "logId": 0,
- "createdTime": 0,
- "lastUpdatedTime": 0
}
]
}Retrieve data associated with a simulation run by ID.
required | Array of objects (Items) A list with a single item |
Successful Response
Bad Request
Forbidden
Internal Server Error
{- "items": [
- {
- "runId": 5559452808603919
}
]
}{- "items": [
- {
- "runId": 0,
- "inputs": [
- {
- "referenceId": "string",
- "value": "string",
- "valueType": "STRING",
- "unit": {
- "name": "kg",
- "externalId": "mass:kilogm"
}, - "simulatorObjectReference": { },
- "timeseriesExternalId": "string",
- "overridden": true
}
], - "outputs": [
- {
- "referenceId": "string",
- "value": "string",
- "valueType": "STRING",
- "unit": {
- "name": "kg",
- "externalId": "mass:kilogm"
}, - "simulatorObjectReference": { },
- "timeseriesExternalId": "string"
}
]
}
]
}