Operational Remediation Reports
Saturation Relief Remediation Report
Compare queue depth against soft and hard limits and pick a saturation relief action.
Saturation Relief Remediation Report
saturation_relief_remediation_report.c
#include <stdio.h>
int main(void) {
int queueDepth = ;
int softLimit = 60;
int hardLimit = 90;
const char *action = "steady";
if (queueDepth >= softLimit) {
action = "shed";
}
if (queueDepth >= hardLimit) {
action = "pause";
}
printf("depth=%d\n", queueDepth);
printf("soft=%d\n", softLimit);
printf("action=%s\n", action);
return 0;
}
#include <stdio.h>
int main(void) {
int queueDepth = ;
int softLimit = 60;
int hardLimit = 90;
const char *action = "steady";
if (queueDepth >= softLimit) {
action = "shed";
}
if (queueDepth >= hardLimit) {
action = "pause";
}
printf("depth=%d\n", queueDepth);
printf("soft=%d\n", softLimit);
printf("action=%s\n", action);
return 0;
}
#include <stdio.h>
int main(void) {
int queueDepth = ;
int softLimit = 60;
int hardLimit = 90;
const char *action = "steady";
if (queueDepth >= softLimit) {
action = "shed";
}
if (queueDepth >= hardLimit) {
action = "pause";
}
printf("depth=%d\n", queueDepth);
printf("soft=%d\n", softLimit);
printf("action=%s\n", action);
return 0;
}
saturation selector
The queue depth is the only selector that changes between report variants.
relief action
Crossing the soft limit sheds load and crossing the hard limit pauses intake.