PLECS

Developer(s)| Plexim
Initial release| 2002; 24 years ago (2002)
Operating system| Mac OS X, Windows, Linux
Platform| Standalone or Simulink
Available in| English, Japanese
Type| Simulation software
License| Proprietary
Website| www.plexim.com/products/

PLECS (Piecewise Linear Electrical Circuit Simulation) is a software tool for system-level simulations of electrical circuits developed by Plexim.[1] It is especially designed for power electronics but can be used for any electrical network. PLECS includes the possibility to model controls and different physical domains (thermal,[2] magnetic[3][4] and mechanical[5]) besides the electrical system.

Most circuit simulation programs model switches as highly nonlinear elements. Due to steep voltage and current transient, the simulation becomes slow when switches are commutated. In most simplistic applications, switches are modelled as variable resistors that alternate between a very small and a very large resistance. In other cases, they are represented by a sophisticated semiconductor model.

When simulating complex power electronic systems, however, the processes during switching are of little interest. In these situations 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, without sacrificing accuracy. Thus the software is ideally suited for modelling and simulation of complex drive systems[6] and modular multilevel converters,[7] for example.

In recent years, PLECS has been extended to also support model-based development of controls with automatic code generation. In addition to software, the PLECS product family includes real-time simulation hardware for both hardware-in-the-loop (HIL) testing and rapid control prototyping.[8]

## Contents

* 1 Integration with MATLAB/Simulink or Standalone
* 2 Add-on PLECS Coder
* 3 Add-on PLECS PIL
* 4 Add-on PLECS Spice
* 5 Hardware for Real-Time Simulations
* 6 References
* 7 External links

## Integration with MATLAB/Simulink or Standalone

The PLECS software is available in two editions: PLECS Blockset for integration with MATLAB®/Simulink®, and PLECS Standalone, a completely independent product.

When using PLECS Blockset, the control loops are usually created in Simulink, while the electrical circuits are modelled in PLECS. PLECS Standalone on the other hand can be operated independently from other software and offers an all-in-one solution for modelling electrical circuits and controls in a single environment. Both editions are interoperable with each other.

The main difference between the two versions is that PLECS Standalone runs faster than PLECS Blockset due to its optimised engine.

## Add-on PLECS Coder

A code generator usually converts some intermediate representation of source code into machine code. The PLECS Coder is an add-on to PLECS Blockset and PLECS Standalone. It generates ANSI-C code from a PLECS model which can be compiled to execute on the simulation host or a separate target. The target can be an embedded control platform or a real-time digital simulator. The PLECS Coder can also produce embedded code for specific hardware targets.

## Add-on PLECS PIL

In the Model-based design of control loops, Processor-in-the-Loop (PIL) simulation can accelerate the development process. It allows engineers to test their control algorithms on the real hardware inside a virtual circuit simulator. As an add-on to PLECS Blockset and PLECS Standalone, PLECS PIL provides that solution.

## Add-on PLECS Spice

PLECS Spice is an add-on for PLECS Standalone that enables the integration of SPICE-based semiconductor device models into the PLECS environment. [9] PLECS Spice allows importing SPICE netlists in various SPICE dialects.

## Hardware for Real-Time Simulations

PLECS RT Box 3 with a LaunchPad Interface Card

The PLECS RT Box is a real-time simulator specially designed for power electronics applications.[10] It is a processing unit for both real-time hardware-in-the-loop (HIL) testing and rapid control prototyping. A PLECS RT Box can be programmed and operated from PLECS. Thus, a software license of PLECS (Blockset or Standalone) and a PLECS Coder license are required to operate the hardware.

## References

1. ↑ Jost Allmeling (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. PEDS'99 (Cat. No.99TH8475). pp. 355-360 vol.1. doi:10.1109/PEDS.1999.794588. ISBN 0-7803-5769-8.
2. ↑ "Thermal Simulation". Plexim. https://plexim.com/plecs/thermal.
3. ↑ Allmeling, Jost; Hammer, Wolfgang; Schönberger, John (July 30, 2012). "Transient simulation of magnetic circuits using the permeance-capacitance analogy". 2012 IEEE 13th Workshop on Control and Modeling for Power Electronics (COMPEL). pp. 1–6. doi:10.1109/COMPEL.2012.6251786. ISBN 978-1-4244-9373-9.
4. ↑ "Magnetics". Plexim. https://plexim.com/plecs/magnetic.
5. ↑ "Mechanical Systems". Plexim. https://www.plexim.com/plecs/mechanical.
6. ↑ De Doncker, Rik W.; Pulle, Duco W.J.; Veltman, Andre (2020). Advanced Electrical Drives (2 ed.). Springer International Publishing. ISBN 978-3-030-48976-2. https://www.springer.com/us/book/9783030489762.
7. ↑ Sharifabadi, Kamran; Harnefors, Lennart; Nee, Hans-Peter; Norrga, Staffan; Teodorescu, Remus (2016). Design, Control, and Application of Modular Multilevel Converters for HVDC Transmission Systems. Wiley-IEEE Press. ISBN 978-1-118-85156-2. https://ieeexplore.ieee.org/book/7601527.
8. ↑ Allmeling, Jost (November 21, 2019). "Model Continuity: From Offline Simulation to Real-Time Testing". https://www.eetimes.eu/model-continuity-from-offline-simulation-to-real-time-testing/.
9. ↑ "PLECS Spice". Plexim GmbH. https://plexim.com/products/plecs/plecs_spice.
10. ↑ Allmeling, Jost; Felderer, Niklaus (April 9, 2018). "Sub-cycle average models with integrated diodes for real-time simulation of power converters". 2017 IEEE Southern Power Electronics Conference (SPEC). pp. 1–6. doi:10.1109/SPEC.2017.8333566. ISBN 978-1-5090-6425-0.

## External links

* Official website

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/PLECS. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:PLECS&oldid=4283428"