Documentation Home Page OPAL-RT Schematic Editor Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

PLECS Supported Models

The supported PLECS versions are the modules 3.7.4 and 4.2.6 of PLECS Blockset (in Matlab-Simulink). The Standalone version of PLECS is not supported.

How to get the netlist with .plecs extension from the PLECS models:

  • Open your Simulink model (.mdl or .slx file)
  • Open the Circuit block
  • Hit CTRL-T or Simulation > Start. This builds the netlist.
  • Run the following MatLab code in the directory where the model is:
How to Export a PLECS Netlist
netlist = plecs('netlist', 'YOURSLXNAME/Circuit');

fileID = fopen('netlist.plecs','w');
fprintf(fileID,'%s',netlist);
fclose(fileID);


  • You now have the netlist in a .plecs file ready for usage


To import this model to the schematic editor, follow the instructions on the Importing and Exporting a Circuit page.

PLECS Supported Blocks

Here is the list of supported blocks in the .plecs netlist:

Block type in PLECS netlistBlock type in PLECS Library
Permanent-Magnet Synchronous Machine

PiSectionLine

Ammeter

ThreePhaseMeter

Voltmeter

Capacitor

Inductor

Resistor

ACCurrentSource

ACVoltageSource

CurrentSource

VoltageSource

DCCurrentSource

ThreePhaseVoltageSource

DCVoltageSource

Breaker

Diode

Mosfet

MosfetWithDiode

IGBT Half Bridge

Switch

Igbt

IgbtWithDiode

IGBT 3-Level Half Bridge (NPC)

IGBT Converter (3ph)

Thyristor

Linear Transformer (3-Windings)

Linear Transformer (2-Windings)

Mutual Inductance with Mutual Resistance (3 Windings)

Mutual Inductance with Mutual Resistance (2 Windings)

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter