viewof industry_type = Inputs.select(
["Automotive Manufacturing", "Oil & Gas (Offshore)", "Semiconductor Fab", "Food & Beverage", "Pharmaceutical", "Discrete Manufacturing", "Custom"],
{value: "Automotive Manufacturing", label: "Industry sector"}
)
viewof custom_hourly_production = Inputs.range([10000, 10000000], {value: 500000, step: 10000, label: "Hourly production value ($)"})
viewof custom_labor_cost = Inputs.range([1000, 100000], {value: 15000, step: 1000, label: "Hourly labor cost ($)"})
viewof custom_penalty_cost = Inputs.range([0, 500000], {value: 50000, step: 5000, label: "Hourly penalty/cascading cost ($)"})Downtime Cost by Industry
Downtime Cost by Industry
animation
applications
industrial-iot
Try Change Industry sector to compare hourly and annual downtime costs. Then press Calculate downtime cost.
Observe After pressing Calculate downtime cost, watch cost per hour and annual cost as Industry sector changes.
Explain Describe how Industry sector selects production, labor, penalty costs, and annual downtime hours after you press Calculate downtime cost.
Technical boundaries. Industry sectors use fixed default costs and annual downtime hours. Custom uses the selected hourly costs with 300 annual downtime hours.
Downtime Cost by Industry
Estimate the hourly cost of unplanned downtime for different industrial sectors.
industry_defaults = ({
"Automotive Manufacturing": {production: 1100000, labor: 120000, penalty: 80000, avg_hours: 300},
"Oil & Gas (Offshore)": {production: 1800000, labor: 200000, penalty: 100000, avg_hours: 150},
"Semiconductor Fab": {production: 3000000, labor: 350000, penalty: 150000, avg_hours: 75},
"Food & Beverage": {production: 220000, labor: 50000, penalty: 30000, avg_hours: 400},
"Pharmaceutical": {production: 380000, labor: 80000, penalty: 40000, avg_hours: 200},
"Discrete Manufacturing": {production: 70000, labor: 20000, penalty: 10000, avg_hours: 500},
"Custom": {production: custom_hourly_production, labor: custom_labor_cost, penalty: custom_penalty_cost, avg_hours: 300}
})
selected_industry = industry_defaults[industry_type]
hourly_downtime_cost = selected_industry.production + selected_industry.labor + selected_industry.penalty
annual_downtime_hours = selected_industry.avg_hours
annual_downtime_cost = hourly_downtime_cost * annual_downtime_hours
{
const colors = {
navy: '#1F2937',
teal: '#0F766E',
orange: '#B45309',
blue: '#1D4ED8',
gray: '#4B5563',
purple: '#7E22CE',
red: '#B91C1C'
};
return html`
<div style="background: #f8f9fa; padding: 20px; border-radius: 8px; margin: 20px 0;">
<div class="iot-cases-calc-heading">Downtime Cost Analysis: ${industry_type}</div>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; margin-bottom: 20px;">
<div style="background: white; padding: 15px; border-radius: 6px; border-left: 4px solid ${colors.red};">
<div style="font-size: 0.85em; color: ${colors.gray};">Cost per Hour</div>
<div style="font-size: 1.4em; font-weight: bold; color: ${colors.red};">$${hourly_downtime_cost.toLocaleString()}</div>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; border-left: 4px solid ${colors.orange};">
<div style="font-size: 0.85em; color: ${colors.gray};">Annual Hours</div>
<div style="font-size: 1.4em; font-weight: bold; color: ${colors.orange};">${annual_downtime_hours} hrs</div>
</div>
<div style="background: white; padding: 15px; border-radius: 6px; border-left: 4px solid ${colors.purple};">
<div style="font-size: 0.85em; color: ${colors.gray};">Annual Cost</div>
<div style="font-size: 1.4em; font-weight: bold; color: ${colors.purple};">$${annual_downtime_cost.toLocaleString()}</div>
</div>
</div>
<div class="iot-cases-calc-heading">Cost Breakdown per Hour</div>
<table style="width: 100%; background: white; border-radius: 6px; overflow: hidden; margin-bottom: 20px;">
<tr style="background: ${colors.navy}; color: white;">
<th style="padding: 10px; text-align: left;">Component</th>
<th style="padding: 10px; text-align: right;">Amount</th>
<th style="padding: 10px; text-align: right;">%</th>
</tr>
<tr style="border-bottom: 1px solid #eee;">
<td style="padding: 10px;">Lost production value</td>
<td style="padding: 10px; text-align: right;">$${selected_industry.production.toLocaleString()}</td>
<td style="padding: 10px; text-align: right;">${((selected_industry.production / hourly_downtime_cost) * 100).toFixed(0)}%</td>
</tr>
<tr style="border-bottom: 1px solid #eee;">
<td style="padding: 10px;">Emergency labor & overtime</td>
<td style="padding: 10px; text-align: right;">$${selected_industry.labor.toLocaleString()}</td>
<td style="padding: 10px; text-align: right;">${((selected_industry.labor / hourly_downtime_cost) * 100).toFixed(0)}%</td>
</tr>
<tr style="border-bottom: 1px solid #eee;">
<td style="padding: 10px;">Penalties & cascading effects</td>
<td style="padding: 10px; text-align: right;">$${selected_industry.penalty.toLocaleString()}</td>
<td style="padding: 10px; text-align: right;">${((selected_industry.penalty / hourly_downtime_cost) * 100).toFixed(0)}%</td>
</tr>
<tr style="background: #f8f9fa; font-weight: bold;">
<td style="padding: 10px;">Total per Hour</td>
<td style="padding: 10px; text-align: right;">$${hourly_downtime_cost.toLocaleString()}</td>
<td style="padding: 10px; text-align: right;">100%</td>
</tr>
</table>
<div style="background: white; padding: 15px; border-radius: 6px; margin-bottom: 15px;">
<div class="iot-cases-calc-heading">Impact of Downtime Reduction</div>
<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; text-align: center;">
<div>
<div style="font-size: 0.85em; color: ${colors.gray}; margin-bottom: 5px;">10% Reduction</div>
<div style="font-size: 1.3em; font-weight: bold; color: ${colors.teal};">$${(annual_downtime_cost * 0.10).toLocaleString()}</div>
</div>
<div>
<div style="font-size: 0.85em; color: ${colors.gray}; margin-bottom: 5px;">25% Reduction</div>
<div style="font-size: 1.3em; font-weight: bold; color: ${colors.teal};">$${(annual_downtime_cost * 0.25).toLocaleString()}</div>
</div>
<div>
<div style="font-size: 0.85em; color: ${colors.gray}; margin-bottom: 5px;">42% Reduction</div>
<div style="font-size: 1.3em; font-weight: bold; color: ${colors.teal};">$${(annual_downtime_cost * 0.42).toLocaleString()}</div>
</div>
</div>
</div>
<div style="padding: 12px; background: ${colors.red}15; border-radius: 6px; font-size: 0.9em; color: ${colors.navy};">
<strong>Key Insight:</strong> At $${hourly_downtime_cost.toLocaleString()}/hour, preventing just ${Math.ceil(1000000 / hourly_downtime_cost)} hours of downtime saves $1M annually. The 42% reduction is an illustrative assumption, not a reported Volkswagen achievement.
</div>
</div>
`;
}