0
0
Simulinkdata~10 mins

Why simulation prevents costly power system errors in Simulink - Test Your Understanding

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

Complete the code to start the simulation in Simulink.

Simulink
sim('[1]')
Drag options to blanks, or click blank then click option'
Astart_sim
Bpower_system_model
Crun_simulation
Dinit_sim
Attempts:
3 left
💡 Hint
Common Mistakes
Using function names instead of model name
Forgetting quotes around the model name
2fill in blank
medium

Complete the code to set the simulation stop time to 10 seconds.

Simulink
set_param('[1]', 'StopTime', '[2]')
Drag options to blanks, or click blank then click option'
Apower_system_model
B10
Cstart_time
Drun_time
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect model name
Confusing parameter names
3fill in blank
hard

Fix the error in the code to load the simulation results.

Simulink
load('[1]')
Drag options to blanks, or click blank then click option'
Asim_results
Boutput
Cdatafile
Dresults.mat
Attempts:
3 left
💡 Hint
Common Mistakes
Omitting the file extension
Using variable names instead of file names
4fill in blank
hard

Fill both blanks to create a time vector and plot voltage over time.

Simulink
time = linspace(0, [1], 1000);
plot(time, [2])
Drag options to blanks, or click blank then click option'
A10
Bvoltage_signal
Ccurrent_signal
D5
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong time duration
Plotting current instead of voltage
5fill in blank
hard

Fill all three blanks to create a dictionary of error types and their costs.

Simulink
error_costs = { [1]: [2] for [3] in error_types }
Drag options to blanks, or click blank then click option'
Aerr
Bcosts[err]
Cerror_types
Derrors
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong variable names
Mixing keys and values
Incorrect iterable name