Next, we will use the simulation to obtain the dynamic response of the permanent magnet motor to a sequence of step-load changes. We can use m4 to initialize the simulation in s4 with the con4ition corresponding to Case 2 in Table 7.7. ln this case, we will select to initialize the integrators in simulation with the computed steady-state currents, fluxes, and rotor_Speed to minimize the simulation startup transients. Some startup transients will be present because not all variables are properly initialized in this manner. Before performing the simulation, we will have to setup the repeating sequence signal source for the mechanical loading by typing in the following statements in the MATLAB window: