r-io suiter-io suitesupervision docs
← Supervision
Supervision / Strategy 04 · unchecked by default

Critical path slack

When will the process end, given what the field tells now? The strategy projects the end of the process along its critical path and compares it with the deadline of the objectives. It warns while there is still time to react: when the delay has eaten a share of the margin, before the deadline is missed.

implemented byCriticalPathSlackStrategy · gind-npm-strategy-supervision-critical-path-slack
01 · Projection

The critical path with the field progress

The tasks are propagated along the nominal flows of the process (gateways and events take no time); each task starts once all the tasks before it are over.

Task in the To-Do ListProjected end
Done or in errorIts Achieved Date.
Going onmax(acceptance + expected duration, now).
Not startedmax(end of the tasks before it, now) + expected duration: it cannot start in the past.
Rejected, cancelled, or on a branch not takenTakes no time.

The planned end is the same propagation with the expected durations only, from the start of the supervision. The projected end is the latest end of all the nodes.

02 · Deadline

From the objectives, or a margin

Deadline of the objectives — the plan of an objective (the Plans edge from the objectives manager) can carry an expected latest end date (approximate date) or an expected end date (fixed date). The latest of these dates is the deadline of the whole process.

Default margin — when no objective gives a date, the deadline is the planned end plus 20 % of the planned duration of the process: a process planned for 60 minutes must end within 72.

03 · Score

The share of the margin consumed

margin = deadline − planned end
delay = projected end − planned end (0 when ahead)
consumed = delay / margin (when the deadline is already passed: 1 + overrun / planned duration)
Wrong = consumed / (threshold %) threshold 80 %: Wrong = 1 when 80 % of the margin is gone

On IMT Albi Crisis, five minutes after the start, the first task accepted late and still going on pushes the end 2 min 12 s later: 30 % of the 7 min 24 s margin is consumed, Wrong = 0.37. The contribution reads “Projected end 15:09:28 against planned end + 20 % margin 15:14:40 (planned end 15:07:16): 2 min 12 s late, 30 % of the margin consumed”.

04 · Parameters

In the supervision box

ParameterDefault
Deadline of the objectivesused when they have one
Default margin20 % of the planned duration
Alert when80 % of the margin is consumed
Parameters of the critical path slack strategy
“Alert when”: at 80 % the alert comes while 20 % of the margin is left.
05 · Watch points

Good to know

Waiting counts

A task waiting for its actor to accept it delays every task after it: the curve starts rising as soon as the first task is not accepted on time. This is wanted, the waiting is a delay.

The latest objective

With several dated objectives, the whole process is compared with the latest deadline, not objective by objective.

gind-detection-engine-critical-path-slack-strategy/…/CriticalPathSlackStrategy.javaProjection, deadline, share of the margin.
gind-webapp-r-iota/…/supervision/SupervisionEngine.javaReading of the dates of the Plans edges of the solution.
Supervision / Stratégie 04 · décochée par défaut

Critical path slack

Quand le processus finira-t-il, vu ce que dit le terrain maintenant ? La stratégie projette la fin du processus le long de son chemin critique et la compare à l’échéance des objectifs. Elle prévient tant qu’il reste du temps pour réagir : quand le retard a consommé une part de la marge, avant que l’échéance soit manquée.

implémentée parCriticalPathSlackStrategy · gind-npm-strategy-supervision-critical-path-slack
01 · Projection

Le chemin critique avec l’avancement du terrain

Les tâches sont propagées le long des flux nominaux du processus (passerelles et événements ne prennent pas de temps) ; chaque tâche démarre quand toutes celles qui la précèdent sont terminées.

Tâche dans la To-Do ListFin projetée
Faite ou en erreurSa date de fin (Achieved Date).
En coursmax(acceptation + durée attendue, maintenant).
Pas commencéemax(fin des tâches qui la précèdent, maintenant) + durée attendue : elle ne peut pas démarrer dans le passé.
Rejetée, annulée, ou sur une branche non priseNe prend pas de temps.

La fin planifiée est la même propagation avec les seules durées attendues, depuis le début de la supervision. La fin projetée est la fin la plus tardive de tous les nœuds.

02 · Échéance

Celle des objectifs, ou une marge

Échéance des objectifs — le plan d’un objectif (l’arête Plans issue du gestionnaire d’objectifs) peut porter une expected latest end date (date approximative) ou une expected end date (date fixe). La plus tardive de ces dates est l’échéance du processus entier.

Marge par défaut — quand aucun objectif ne donne de date, l’échéance est la fin planifiée plus 20 % de la durée planifiée du processus : un processus prévu pour 60 minutes doit finir en 72.

03 · Score

La part de la marge consommée

marge = échéance − fin planifiée
retard = fin projetée − fin planifiée (0 en avance)
consommée = retard / marge (échéance déjà dépassée : 1 + dépassement / durée planifiée)
Wrong = consommée / (seuil %) seuil 80 % : Wrong = 1 quand 80 % de la marge est partie

Sur IMT Albi Crisis, cinq minutes après le début, la première tâche acceptée en retard et toujours en cours repousse la fin de 2 min 12 s : 30 % de la marge de 7 min 24 s est consommée, Wrong = 0,37. La contribution se lit « Projected end 15:09:28 against planned end + 20 % margin 15:14:40 (planned end 15:07:16): 2 min 12 s late, 30 % of the margin consumed ».

04 · Paramètres

Dans la boîte de supervision

ParamètreDéfaut
Échéance des objectifsutilisée quand ils en ont une
Marge par défaut20 % de la durée planifiée
Alerter quand80 % de la marge est consommée
Paramètres de la stratégie de marge du chemin critique
« Alert when » : à 80 %, l’alerte arrive quand il reste 20 % de la marge.
05 · Points d’attention

Bon à savoir

L’attente compte

Une tâche qui attend que son acteur l’accepte retarde toutes celles qui la suivent : la courbe monte dès que la première tâche n’est pas acceptée à l’heure. C’est voulu, l’attente est un retard.

L’objectif le plus tardif

Avec plusieurs objectifs datés, le processus entier est comparé à l’échéance la plus tardive, pas objectif par objectif.

gind-detection-engine-critical-path-slack-strategy/…/CriticalPathSlackStrategy.javaProjection, échéance, part de la marge.
gind-webapp-r-iota/…/supervision/SupervisionEngine.javaLecture des dates des arêtes Plans de la solution.