0
0
SCADA systemsdevops~30 mins

Daily and shift reports in SCADA systems - Mini Project: Build & Apply

Choose your learning style9 modes available
Daily and Shift Reports
📖 Scenario: You work in a factory that uses a SCADA system to monitor machines. Every day, you need to create reports showing how many units each machine produced during different shifts.This helps the factory manager see which machines are working well and when.
🎯 Goal: Create a simple program that stores machine production data, sets a shift time, calculates total units produced during that shift, and then prints the report.
📋 What You'll Learn
Create a dictionary called machine_production with exact machine names and units produced
Create a variable called shift with the exact value 'morning'
Calculate total units produced during the shift using a loop
Print the total units produced in the shift with a clear message
💡 Why This Matters
🌍 Real World
Factories use SCADA systems to monitor machine output and generate reports for daily and shift production. This helps managers make decisions about maintenance and staffing.
💼 Career
Understanding how to collect, process, and report production data is key for roles in industrial automation, operations, and DevOps for manufacturing systems.
Progress0 / 4 steps
1
Create machine production data
Create a dictionary called machine_production with these exact entries: 'MachineA': 120, 'MachineB': 150, 'MachineC': 100
SCADA systems
Need a hint?

Use curly braces {} to create the dictionary and separate each machine and units with commas.

2
Set the shift variable
Create a variable called shift and set it to the string 'morning'
SCADA systems
Need a hint?

Use simple assignment with the exact variable name shift and value 'morning'.

3
Calculate total units produced
Create a variable called total_units set to 0. Then use a for loop with variables machine and units to iterate over machine_production.items(). Inside the loop, add units to total_units
SCADA systems
Need a hint?

Start with total_units = 0. Use a for loop with machine, units to get each machine's units. Add units to total_units inside the loop.

4
Print the total units report
Write a print statement that outputs exactly: "Total units produced during morning shift: 370"
SCADA systems
Need a hint?

Use an f-string to include the shift and total_units variables in the printed message.