|Operating system||Mac OS X, Windows, Linux|
|Platform||Standalone or Simulink|
|Available in||English, Japanese|
PLECS (Piecewise Linear Electrical Circuit Simulation) is a software tool for system-level simulations of electrical circuits developed by Plexim. It is especially designed for power electronics but can be used for any electrical network.
The program Simulink is ideally suited for the simulation of controls. Therefore, Simulink is also a convenient tool for the design of closed loop controlled electrical systems. PLECS enhances Simulink with the capability to simulate electrical circuits directly. The user can simply enter a circuit as a schematic of electrical components. At Simulink block level the circuit is represented as a subsystem, so the user can build controls and other non-electrical elements around it and take full advantage of the Simulink environment and its toolboxes.
The concept of integration into Simulink has the advantage that only the part of the system in which electrical units are of interest needs to be modeled as an electrical circuit. The simulation of all non-electrical parts such as controls and mechanics should be done in Simulink.
MATLAB can be employed to compute circuit parameters and to post process and visualize the simulation results.
There is also a standalone version of PLECS that allows simulation of electrical circuits and control systems directly within the PLECS package. The standalone version uses GNU Octave as its numerical engine in place of MATLAB.
Semiconductors modeled as ideal switches
Most circuit simulation programs model switches as highly nonlinear elements. Due to steep voltage and current transients, the simulation becomes slow when switches are toggled. In the most simple case a switch is modeled as a variable resistance that changes between a very small and a very large value. In other cases, it is represented by a sophisticated semiconductor model.
When simulating complex power electronic systems, however, the processes during switching are of little interest. Here, it is more appropriate to use ideal switches that toggle instantaneously between a closed and an open circuit. This approach, which is implemented in PLECS, has two major advantages: Firstly, it yields systems that are piecewise-linear across switching instants, (thus resolving the otherwise difficult problem of simulating the non-linear discontinuity that occurs in the equivalent-circuit at the switching instant). Secondly, to handle discontinuities at the switching instants, only two integration steps are required (one for before the instant, and one after). Both of these advantages speed up the simulation considerably.
- Allmeling 1999.
- Ciobotaru 2006.
- Allmeling, J.H.; Hammer, W.P (July 27, 1999). "PLECS - piece-wise linear electrical circuit simulation for Simulink". Proceedings of the IEEE 1999 International Conference on Power Electronics and Drive Systems. 1: 355–360. doi:10.1109/PEDS.1999.794588. ISBN 0-7803-5769-8. Retrieved June 8, 2002.
- Ciobotaru, M.; Kerekes, T.; Teodorescu, R.; Teodorescu, A. (November 6, 2006). "PV inverter simulation using MATLAB/Simulink graphical environment and PLECS blockset". 32nd IEEE Annual Conference on Industrial Electronics, IECON 2006. 1: 5313–5318. doi:10.1109/IECON.2006.347663. ISSN 1553-572X. Retrieved December 7, 2010.