SimPowerSystems | ![]() ![]() |
Simulating Your Circuit
Now you can start the simulation from the Simulation menu. As expected, voltage is sinusoidal with peak value of 1 p.u.
While the simulation is running, open the Vs block dialog box and modify the amplitude. Observe the effect on the two scopes. You can also modify the frequency and the phase. Remember that you can zoom in on the waveforms in the scope windows by rubber banding (using the left mouse button) around the region of interest.
Note
To simulate this circuit, the default integration algorithm (ode45 ) has been used. However, for most applications of the Power System Blockset your circuits will contain switches and other nonlinear models. In such a case, you must specify a different integration algorithm. This is discussed in Session 3: Simulating Transients, where a circuit breaker is added to your circuit.
|
![]() | Interfacing the Electrical Circuit with Simulink | Session 2: Analyzing a Simple Circuit | ![]() |