0
0
SCADA systemsdevops~10 mins

Energy management reporting in SCADA systems - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to start data collection in the SCADA system.

SCADA systems
scada_system.[1]()
Drag options to blanks, or click blank then click option'
Ainitialize
Bstop_collection
Cstart_collection
Dreset
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'initialize' which only sets up but does not start collection.
Using 'stop_collection' which stops data gathering.
2fill in blank
medium

Complete the code to generate a daily energy report.

SCADA systems
report = scada_system.generate_[1]_report('daily')
Drag options to blanks, or click blank then click option'
Aenergy
Btemperature
Cmonthly
Dweekly
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'weekly' or 'monthly' which are time periods, not report types.
Choosing 'temperature' which is unrelated to energy reporting.
3fill in blank
hard

Fix the error in the code to export the report as a CSV file.

SCADA systems
scada_system.export_report(report, format=[1])
Drag options to blanks, or click blank then click option'
A'json'
B'csv'
C'xml'
D'txt'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'json' or 'xml' which export in different formats.
Omitting quotes around the format string.
4fill in blank
hard

Fill both blanks to filter energy data for the last 7 days and sort by consumption.

SCADA systems
filtered_data = scada_system.data.filter(date [1] last_7_days).sort_by([2])
Drag options to blanks, or click blank then click option'
A>=
Bdate
Cconsumption
D<=
Attempts:
3 left
💡 Hint
Common Mistakes
Using '<=' which would filter dates before the last 7 days.
Sorting by 'date' instead of 'consumption'.
5fill in blank
hard

Fill all three blanks to create a summary dictionary with average, max, and min energy values.

SCADA systems
summary = {'average': data.[1](), 'max': data.[2](), 'min': data.[3]()}
Drag options to blanks, or click blank then click option'
Amean
Bmax
Cmin
Dsum
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'sum' instead of 'mean' for average.
Mixing up max and min methods.