ScenarioSimulationRun
A Monte-Carlo replay of a schedule scenario's allocations against the work centres' learned behaviour profiles
Fields
Unique identifier of the run
The scenario replayed
Lifecycle status
Possible values (5)
QUEUEDAccepted and waiting for a simulation worker
RUNNINGA worker is replaying the scenario
COMPLETEDFinished; result is populated
FAILEDEnded without a result; error carries the cause
CANCELLEDCancelled by a user before completion
Monte-Carlo samples requested
Random seed; the same seed, scenario and profiles reproduce the result
Whether each profile's pace forecast scaled sampled durations
User who queued the run
When the run was queued (ISO8601)
When the worker started (ISO8601)
When the run reached a terminal status (ISO8601)
Failure detail when status is FAILED or CANCELLED
Profile version pinned per work centre
The simulation result; null until COMPLETED
Prediction coverage against completions recorded since; null until scored
When the row was created (ISO8601)
When the row was last updated (ISO8601)
The scenario replayed. Requires scheduleScenario:read permission.
Referenced by (4)
Exact type SDL
"""
A Monte-Carlo replay of a schedule scenario's allocations against the work centres' learned behaviour profiles
"""
type ScenarioSimulationRun {
"""Unique identifier of the run"""
id: ScenarioSimulationRunID!
"""The scenario replayed"""
scheduleScenarioId: ScheduleScenarioID!
"""Lifecycle status"""
status: SimulationRunStatus!
"""Monte-Carlo samples requested"""
samples: Int!
"""Random seed; the same seed, scenario and profiles reproduce the result"""
seed: Int!
"""Whether each profile's pace forecast scaled sampled durations"""
applyPaceDrift: Boolean!
"""User who queued the run"""
requestedByUserId: UserID
"""When the run was queued (ISO8601)"""
queuedAt: ISO8601!
"""When the worker started (ISO8601)"""
startedAt: ISO8601
"""When the run reached a terminal status (ISO8601)"""
completedAt: ISO8601
"""Failure detail when status is FAILED or CANCELLED"""
error: SimulationError
"""Profile version pinned per work centre"""
profilesUsed: [SimulationProfileUsed!]!
"""The simulation result; null until COMPLETED"""
result: SimulationResult
"""
Prediction coverage against completions recorded since; null until scored
"""
coverage: SimulationCoverage
"""When the row was created (ISO8601)"""
createdAt: ISO8601!
"""When the row was last updated (ISO8601)"""
updatedAt: ISO8601!
"""The scenario replayed. Requires scheduleScenario:read permission."""
scenario: ScheduleScenarioState
}