Operational Reliability Reports
Capacity Reserve Reliability Report
Classify remaining reserve from fixed capacity and selected demand.
Capacity Reserve Reliability Report
capacity_reserve_reliability_report.go
package main
import "fmt"
func main() {
var demand =
capacity := 100
reserve := capacity - demand
status := "tight"
if reserve >= 20 {
status = "stable"
} else if reserve >= 10 {
status = "watch"
}
fmt.Printf("demand=%d reserve=%d status=%s\n", demand, reserve, status)
}
package main
import "fmt"
func main() {
var demand =
capacity := 100
reserve := capacity - demand
status := "tight"
if reserve >= 20 {
status = "stable"
} else if reserve >= 10 {
status = "watch"
}
fmt.Printf("demand=%d reserve=%d status=%s\n", demand, reserve, status)
}
package main
import "fmt"
func main() {
var demand =
capacity := 100
reserve := capacity - demand
status := "tight"
if reserve >= 20 {
status = "stable"
} else if reserve >= 10 {
status = "watch"
}
fmt.Printf("demand=%d reserve=%d status=%s\n", demand, reserve, status)
}
reserve label
Capacity reports are easier to read when raw demand is paired with remaining reserve and a stable, watch, or tight label.