This is accomplished by naming connecting BUBBLE parts with the same name. Also, the IPRINT part is required to load the simulation results into the OUTPUT file.įinally, to preserve the clarity of the schematic, the BUBBLE part is used for connecting the controlling parameters into the dependent sources. Figure 3.11 shows the ac sweep settings to produce a single frequency analysis at 0.1591Hz. The most convenient frequency is ω = 1rad/s or 0.1591Hz. Therefore, any excitation frequency can be chosen with the L and C values calculated from the known impedances. Note that capacitors and inductors must be specified in Farads and Henries, respectively.
The resulting Schematics file is shown in Figure 3.10. In PSPICE, we draw the circuit using one of the accompanying schematic entry tools, either Schematics or Capture. An m-file capable of solving this circuit for the current, I 0, is given at the conclusion of this section. One in particular is that changes can be made quickly. Though MATLAB can be used at a command prompt, there are advantages to writing m-files that describe systems that need to be solved.