How to Create an Interactive Simulator in Simulink Using Dashboard Blocks
This video will present an interactive simulator built in Simulink. First let’s see the result, then how it’s done. This is a Hydropower plant simulator. On the mechanical side, we have the valve, opening, the water flow, the turbine Rpm and the load angle of the turbine. For this specific turbine, the nominal speed is 600 rpm so we start by increasing the turbine speed to 600 rmp. Now we're nearing the nominal speed we're increasing the excitation voltage, this increases the excitation current and the Generator output voltage. The next step is to synchronize the generator to the system. This is the phase difference between the generator and the grid. We can connect the generator to the grid when the phase difference between the two is 0. We connect my generator to the system. Now we can increase the active power by increasing the valve opening and the water flow. This increases the load angle. We can also increase the generator voltage, this increases the reactive power. If we want to disconnect the generator, first we need to reduce the power to zero, if we don’t do that as in this case the generator will hit runaway speed and it will be damaged. Now how it’s done. Our model has two parts, the Hydropower plant model, and the user interface. The user interface is built with dashboard blocks. In the Dashboard library, we have control blocks like these control buttons. We can connect these to a constant block, by selecting a constant block and picking the constant block that we want to change. We can also visualize data. To do that we need to open a scope or gauge and connect that to a signal. We can also color the gouge. Now we need to make the simulation real-time. Running the program under Windows this simulation will not be real-time, however, we can set the simulation pace so the user feels like it is real-time. For this, we need a Simulation Pace block. With this block, we can set the simulation to run in real-time, or let’s say then times faster than in real-time. More from Simulink: Simulink Modeling Approaches and Parameter Estimation Part 1: https://youtu.be/a8xb0u9IX-g Simulink Modeling Approaches and Parameter Estimation Part 2: https://youtu.be/B-2B_0AouGY Include a Simulink subsystem into a Stateflow chart: https://youtu.be/anN_s2MRR3w More from MATLAB: Introduction to MATLAB Fundamentals Training: https://youtu.be/ax7dBuC96P4 MATLAB R2021a Release Highlights: https://youtu.be/Zc1OBh38g-c Reading and visualizing COVID-19 data: https://youtu.be/QZvRgupppTA ------------------------------------------------------------------------------------------ Get a free product trial: https://bit.ly/3eqitTW Learn more about Simulink: https://bit.ly/3o8lKdX Learn more about MATLAB: https://bit.ly/3xSqc4T ------------------------------------------------------------------------------------------ About Gamax laboratory solutions: We are a trusted partner of MathWorks, Speadgoat, and COMSOL in the CEE region. Whether you want to purchase the software or you are looking for the best experts in the field to help you with your projects, we are here to help. • Website - https://bit.ly/3ttNsCA • Linkedin - https://bit.ly/2RAuPQs #gamaxlabsol
Download
0 formatsNo download links available.