# \#plecs-blockset

**URL:** https://forum.plexim.com/tag/plecs-blockset/125.md

[Latest](https://forum.plexim.com/latest.md) · [Categories](https://forum.plexim.com/categories.md) · [Tags](https://forum.plexim.com/tags.md)

---

## [Modelling of a Five-Phase Induction Motor](https://forum.plexim.com/t/modelling-of-a-five-phase-induction-motor/3062)

<div class="topic-metadata">

**Author:** [@Krzysztof](https://forum.plexim.com/u/Krzysztof)\
**Replies:** 1\
**Last updated:** [May 14, 2026, 2:18pm UTC](https://forum.plexim.com/t/modelling-of-a-five-phase-induction-motor/3062 "2026-05-14T14:18:38Z")

</div>

Our publication on modelling a five-phase squirrel-cage motor has just been published. The motor model was created using standard blocks from the general library, excluding the C-Script block. I hope that many forum mem…

---

## [PLECS 4.9.5 compatibility with PLECS Coder (C2000 F28379D LaunchXL)](https://forum.plexim.com/t/plecs-4-9-5-compatibility-with-plecs-coder-c2000-f28379d-launchxl/3040)

<div class="topic-metadata">

**Author:** [@BAEM](https://forum.plexim.com/u/BAEM)\
**Replies:** 2\
**Last updated:** [May 5, 2026, 5:03pm UTC](https://forum.plexim.com/t/plecs-4-9-5-compatibility-with-plecs-coder-c2000-f28379d-launchxl/3040 "2026-05-05T17:03:11Z")

</div>

Hello I am currently using PLECS version 4.9.5 and I am new to DSP controller development. I am working with the TI C2000 F28379D LaunchPad. My goal is to learn how to use PLECS Coder from creating blocksets to generat…

---

## [Can I export a file in PLECS blockset to Plecs standalone?](https://forum.plexim.com/t/can-i-export-a-file-in-plecs-blockset-to-plecs-standalone/1381)

<div class="topic-metadata">

**Author:** [@Moetasem\_Ahmed](https://forum.plexim.com/u/Moetasem_Ahmed)\
**Replies:** 3\
**Last updated:** [April 29, 2026, 6:41am UTC](https://forum.plexim.com/t/can-i-export-a-file-in-plecs-blockset-to-plecs-standalone/1381 "2026-04-29T06:41:27Z")

</div>

I tried to copy the components from blockset to standalone, but it’s not permitted.

---

## [Invalid conduction loss for mosfet](https://forum.plexim.com/t/invalid-conduction-loss-for-mosfet/2904)

<div class="topic-metadata">

**Author:** [@Emma](https://forum.plexim.com/u/Emma)\
**Replies:** 8\
**Last updated:** [March 12, 2026, 11:20am UTC](https://forum.plexim.com/t/invalid-conduction-loss-for-mosfet/2904 "2026-03-12T11:20:27Z")

</div>

Hi, There is one mosfet with large current in the topology. It is used for synchronous rectification. If the output voltage is 400v, the thermal simulation is ok. But when it is 500v( the max current of this mosfet is -…

---

## [Real Time Simulation Set Point Value is Not the Expected Value](https://forum.plexim.com/t/real-time-simulation-set-point-value-is-not-the-expected-value/2848)

<div class="topic-metadata">

**Author:** [@Lukman\_SN](https://forum.plexim.com/u/Lukman_SN)\
**Replies:** 1\
**Last updated:** [February 12, 2026, 3:04pm UTC](https://forum.plexim.com/t/real-time-simulation-set-point-value-is-not-the-expected-value/2848 "2026-02-12T15:04:34Z")

</div>

Hello, Today I try to do real time simulation with RT Box (Plant) for Grid connected inverter and STM32 (Controller) for Grid Forming Inverter Voltage, Current, and Power Control. When I build the model into HIL simulati…

---

## [Is there any way to get the PLECS blockset to be able to see a Simulink dictionary variable?](https://forum.plexim.com/t/is-there-any-way-to-get-the-plecs-blockset-to-be-able-to-see-a-simulink-dictionary-variable/2724)

<div class="topic-metadata">

**Author:** [@chutson](https://forum.plexim.com/u/chutson)\
**Replies:** 1\
**Last updated:** [December 1, 2025, 7:02pm UTC](https://forum.plexim.com/t/is-there-any-way-to-get-the-plecs-blockset-to-be-able-to-see-a-simulink-dictionary-variable/2724 "2025-12-01T19:02:29Z")

</div>

I typically use Simulink dictionaries to hold my Simulink parameters, but it seems that I need to have them in the workspace to be able to run a PLECS blockset simulation. I’d prefer not to mask my circuit with every va…

---

## [Running PLECS blockset model with a smaller time step than the Simulink fixed time step](https://forum.plexim.com/t/running-plecs-blockset-model-with-a-smaller-time-step-than-the-simulink-fixed-time-step/2695)

<div class="topic-metadata">

**Author:** [@Oriol](https://forum.plexim.com/u/Oriol)\
**Replies:** 1\
**Last updated:** [November 12, 2025, 3:24pm UTC](https://forum.plexim.com/t/running-plecs-blockset-model-with-a-smaller-time-step-than-the-simulink-fixed-time-step/2695 "2025-11-12T15:24:28Z")

</div>

Hi everyone, I am designing a power converter control loop. To do so, I am running the electric part (power converter) in PLECS, and the control loop in Simulink, using the PLECS blockset. I wish to run the control loo…

---

## [Simulink C2000 Realtime Mode](https://forum.plexim.com/t/simulink-c2000-realtime-mode/2596)

<div class="topic-metadata">

**Author:** [@shenaoi](https://forum.plexim.com/u/shenaoi)\
**Replies:** 1\
**Last updated:** [September 29, 2025, 2:53pm UTC](https://forum.plexim.com/t/simulink-c2000-realtime-mode/2596 "2025-09-29T14:53:38Z")

</div>

Hello, We have run into a little problem when attempting to realtime into a C2000 microcontroller while running the PLECS blockset through simulink. I have set up the target correctly on the PLECs end and I be…

---

## [CB-PWM phase jump at each carrier period boundary is delayed until next extremum (missing segment)](https://forum.plexim.com/t/cb-pwm-phase-jump-at-each-carrier-period-boundary-is-delayed-until-next-extremum-missing-segment/2567)

<div class="topic-metadata">

**Author:** [@Perry](https://forum.plexim.com/u/Perry)\
**Replies:** 4\
**Last updated:** [September 18, 2025, 2:05pm UTC](https://forum.plexim.com/t/cb-pwm-phase-jump-at-each-carrier-period-boundary-is-delayed-until-next-extremum-missing-segment/2567 "2025-09-18T14:05:45Z")

</div>

Toolchain: PLECS (version 4.9.5) with imperix ACG target (SDK 2025.1), running on B-Box in simulation. Blocks: CONFIG (CLOCK\_0 = f\_sw, Postscaler = 1), CB-PWM with Triangle carrier. CONFIG.PWM → CB-PWM “\>” (clock) …

---

## [Different Result Between Plecs Blockset Simulation and Simulink](https://forum.plexim.com/t/different-result-between-plecs-blockset-simulation-and-simulink/2304)

<div class="topic-metadata">

**Author:** [@Lukman\_SN](https://forum.plexim.com/u/Lukman_SN)\
**Replies:** 11\
**Last updated:** [August 5, 2025, 3:21am UTC](https://forum.plexim.com/t/different-result-between-plecs-blockset-simulation-and-simulink/2304 "2025-08-05T03:21:44Z")

</div>

Hello, Currently I have designed the simulation of grid forming inverter in Plecs blockset that is integrated with Simulink. I use Simulink to provide control signal to Plecs blockset as a grid plant. In another hand, I …

---

## [One way clutch in mechanical system](https://forum.plexim.com/t/one-way-clutch-in-mechanical-system/2361)

<div class="topic-metadata">

**Author:** [@Kristof](https://forum.plexim.com/u/Kristof)\
**Replies:** 3\
**Last updated:** [July 29, 2025, 1:12pm UTC](https://forum.plexim.com/t/one-way-clutch-in-mechanical-system/2361 "2025-07-29T13:12:01Z")

</div>

Hellow, I’m dealing with making drivetran simmilar to this in Toyota hybrids. I really need and I don’t know how to make one-way clutch to secure engine (inertia block) from spinning backwards. I was trying with Rotati…

---

## [Complex number operation in PLECS blockset Model Properties](https://forum.plexim.com/t/complex-number-operation-in-plecs-blockset-model-properties/2385)

<div class="topic-metadata">

**Author:** [@Lukman\_SN](https://forum.plexim.com/u/Lukman_SN)\
**Replies:** 1\
**Last updated:** [July 28, 2025, 9:46am UTC](https://forum.plexim.com/t/complex-number-operation-in-plecs-blockset-model-properties/2385 "2025-07-28T09:46:31Z")

</div>

Is there any possibilities to calculate complex number by doing programming in Model properties in PLECS blockset integrated with MATLAB?. Here I attached the image as an additional information, I try to calculate some o…

---

## [How to Model a 3-Phase STATCOM Using Three Independent Single-Phase Units in PLECS?](https://forum.plexim.com/t/how-to-model-a-3-phase-statcom-using-three-independent-single-phase-units-in-plecs/2243)

<div class="topic-metadata">

**Author:** [@Azeef99](https://forum.plexim.com/u/Azeef99)\
**Replies:** 1\
**Last updated:** [June 6, 2025, 3:24pm UTC](https://forum.plexim.com/t/how-to-model-a-3-phase-statcom-using-three-independent-single-phase-units-in-plecs/2243 "2025-06-06T15:24:52Z")

</div>

Hello, I’m working on building a 3-phase STATCOM model in PLECS for an unbalanced load system. My approach is to use three independently controlled single-phase STATCOMs, each connected to one phase. The goal is for eac…

---

## [Connecting Two PMSMs – One as Load, One with Speed and Current Control](https://forum.plexim.com/t/connecting-two-pmsms-one-as-load-one-with-speed-and-current-control/2167)

<div class="topic-metadata">

**Author:** [@bdr22](https://forum.plexim.com/u/bdr22)\
**Replies:** 4\
**Last updated:** [May 26, 2025, 2:05pm UTC](https://forum.plexim.com/t/connecting-two-pmsms-one-as-load-one-with-speed-and-current-control/2167 "2025-05-26T14:05:29Z")

</div>

Hello, I’m working on a test bench simulation using PLECS, where I want to connect two PMSM machines mechanically: One motor is controlled (speed and dq-current control). The second motor should act as a mechanical lo…

---

## [How to do state space matrices for WPT in PLECS?](https://forum.plexim.com/t/how-to-do-state-space-matrices-for-wpt-in-plecs/2109)

<div class="topic-metadata">

**Author:** [@LYQ](https://forum.plexim.com/u/LYQ)\
**Replies:** 2\
**Last updated:** [May 13, 2025, 12:19pm UTC](https://forum.plexim.com/t/how-to-do-state-space-matrices-for-wpt-in-plecs/2109 "2025-05-13T12:19:39Z")

</div>

Hello, PLECS allows users to access the state space matrices that describe the wireless power system. These matrices can be used for advanced analysis, such as eigenvalue analysis or state-space averaging. Is there a rou…

---

## [Li-Ion Battery model: R-Model](https://forum.plexim.com/t/li-ion-battery-model-r-model/307)

<div class="topic-metadata">

**Author:** [@Junior9696](https://forum.plexim.com/u/Junior9696)\
**Replies:** 3\
**Last updated:** [March 11, 2025, 7:36am UTC](https://forum.plexim.com/t/li-ion-battery-model-r-model/307 "2025-03-11T07:36:04Z")

</div>

So I am trying to analyze a lithium ion battery using the R -model suggested here: I am extracting all the correct parameters as suggested in the document; however, I can get the charging current and voltage and SOC t…

---

## [Getting Started with the TI C2000 Target Support Package](https://forum.plexim.com/t/getting-started-with-the-ti-c2000-target-support-package/1650)

<div class="topic-metadata">

**Author:** [@Sachith](https://forum.plexim.com/u/Sachith)\
**Replies:** 1\
**Last updated:** [January 7, 2025, 4:42pm UTC](https://forum.plexim.com/t/getting-started-with-the-ti-c2000-target-support-package/1650 "2025-01-07T16:42:57Z")

</div>

When I am trying to communicate Plecs with the f280039C control card, the following error has occurred. Error in build step #15 (Make): Make process exited with code 2: copy /Y “C:\\Users\\sachi\\Desktop\\Auto\_Code\_blink\_c…

---

## [Is there a way to measure the deadtime between switches in a phase leg on the RT-BOX?](https://forum.plexim.com/t/is-there-a-way-to-measure-the-deadtime-between-switches-in-a-phase-leg-on-the-rt-box/1612)

<div class="topic-metadata">

**Author:** [@chutson](https://forum.plexim.com/u/chutson)\
**Replies:** 2\
**Last updated:** [December 16, 2024, 8:42pm UTC](https://forum.plexim.com/t/is-there-a-way-to-measure-the-deadtime-between-switches-in-a-phase-leg-on-the-rt-box/1612 "2024-12-16T20:42:27Z")

</div>

As part of my EOL testing I’d like to get a measurement of the deadtime to check for any issues. Is this something that can be output by the half-bridge block in sub-cycle average mode?

---

## [I am searching for a Three Phase VI Measurement block in PLECS library](https://forum.plexim.com/t/i-am-searching-for-a-three-phase-vi-measurement-block-in-plecs-library/1372)

<div class="topic-metadata">

**Author:** [@Nisarga](https://forum.plexim.com/u/Nisarga)\
**Replies:** 1\
**Last updated:** [July 1, 2024, 1:38pm UTC](https://forum.plexim.com/t/i-am-searching-for-a-three-phase-vi-measurement-block-in-plecs-library/1372 "2024-07-01T13:38:46Z")

</div>

Hello all,I am simulating a three level inverter connected to a PMSM, FOC model. My SVPWM control block is in MATLAB Simulink and the T Type Three level inverter and PMSM Machine is the PLECS Blockset. So, it is a co-sim…

---

## [I have replicated a circuit of an AC-DC-DC converter in PLECS but I'm getting different waveforms](https://forum.plexim.com/t/i-have-replicated-a-circuit-of-an-ac-dc-dc-converter-in-plecs-but-im-getting-different-waveforms/1331)

<div class="topic-metadata">

**Author:** [@Obiora](https://forum.plexim.com/u/Obiora)\
**Replies:** 1\
**Last updated:** [March 15, 2024, 1:15pm UTC](https://forum.plexim.com/t/i-have-replicated-a-circuit-of-an-ac-dc-dc-converter-in-plecs-but-im-getting-different-waveforms/1331 "2024-03-15T13:15:24Z")

</div>

I have modelled a bidirectional AC-DC-DC converter in Simulink and it works great, I now want to model the losses in the MOSFETS using PLECS therefore, I have put the converter itself in a PLECS circuit and the control h…

---

## [I need help with this error in PLECS blockset: "Error evaluating 'StartFcn' callback of PlecsCircuit block (mask) '"](https://forum.plexim.com/t/i-need-help-with-this-error-in-plecs-blockset-error-evaluating-startfcn-callback-of-plecscircuit-block-mask/1328)

<div class="topic-metadata">

**Author:** [@Obiora](https://forum.plexim.com/u/Obiora)\
**Replies:** 1\
**Last updated:** [March 12, 2024, 12:11am UTC](https://forum.plexim.com/t/i-need-help-with-this-error-in-plecs-blockset-error-evaluating-startfcn-callback-of-plecscircuit-block-mask/1328 "2024-03-12T00:11:56Z")

</div>

I can’t seem to find the cause of the error, I already made the circuit in simulink only but now I want to make the AC-DC-DC converter part in PLECS so I can model the losses in the MOSFETS. Please find attached picture…

---

## [How to add license without License manager?](https://forum.plexim.com/t/how-to-add-license-without-license-manager/1308)

<div class="topic-metadata">

**Author:** [@sgra](https://forum.plexim.com/u/sgra)\
**Replies:** 3\
**Last updated:** [February 14, 2024, 2:27am UTC](https://forum.plexim.com/t/how-to-add-license-without-license-manager/1308 "2024-02-14T02:27:42Z")

</div>

We would like to make it easier for our model users using Plecs Blockset. Is there a possibility to check scriptbased (e.g. from Matlab) if the user has a valid license? Additionally, how can we add also via script (wi…

---

## [MOSFET Losses calculation in Thermal wizard via formula](https://forum.plexim.com/t/mosfet-losses-calculation-in-thermal-wizard-via-formula/1292)

<div class="topic-metadata">

**Author:** [@Tejal\_Chauhan](https://forum.plexim.com/u/Tejal_Chauhan)\
**Replies:** 2\
**Last updated:** [December 8, 2023, 7:35am UTC](https://forum.plexim.com/t/mosfet-losses-calculation-in-thermal-wizard-via-formula/1292 "2023-12-08T07:35:40Z")

</div>

I am calculating the MOSFET Switching losses in the PLECS with the thermal wizard using the formula panel. I wrote simple formula as I don’t have any switching losses graph from the vendor. My question is, Do I need to p…

---

## [From Matlab function to C-script block](https://forum.plexim.com/t/from-matlab-function-to-c-script-block/647)

<div class="topic-metadata">

**Author:** [@Marzio96](https://forum.plexim.com/u/Marzio96)\
**Replies:** 5\
**Last updated:** [June 21, 2023, 1:13pm UTC](https://forum.plexim.com/t/from-matlab-function-to-c-script-block/647 "2023-06-21T13:13:58Z")

</div>

Hello to everyone, As the title states I want to shift from a matlab function to a c-script block. It’s so difficult for me write a code in C and for this reason I used the Matlab Coder. Do you think that it could work…

---

## [What component can I use to measure the frequency of a three phase virtual synchronous inverter in PLECs?](https://forum.plexim.com/t/what-component-can-i-use-to-measure-the-frequency-of-a-three-phase-virtual-synchronous-inverter-in-plecs/1242)

<div class="topic-metadata">

**Author:** [@Philip\_Kasempa](https://forum.plexim.com/u/Philip_Kasempa)\
**Replies:** 1\
**Last updated:** [June 5, 2023, 11:59am UTC](https://forum.plexim.com/t/what-component-can-i-use-to-measure-the-frequency-of-a-three-phase-virtual-synchronous-inverter-in-plecs/1242 "2023-06-05T11:59:34Z")

</div>

I’m trying to measure the frequency of a 3 phase VSI but i’m not sure of how to do it in PLECs

---

## [IGBT Thermal Modelling - Junction temperature exceeded error in PLECS blockset](https://forum.plexim.com/t/igbt-thermal-modelling-junction-temperature-exceeded-error-in-plecs-blockset/1230)

<div class="topic-metadata">

**Author:** [@New\_user](https://forum.plexim.com/u/New_user)\
**Replies:** 2\
**Last updated:** [April 20, 2023, 8:39am UTC](https://forum.plexim.com/t/igbt-thermal-modelling-junction-temperature-exceeded-error-in-plecs-blockset/1230 "2023-04-20T08:39:02Z")

</div>

Hi. I am quite new to thermal modelling with PLECS but started off with a simple model that behaves like a simple chopper with a 800V DC input and 20ohm resistor acting as a load. I am generating the PWM signal in the S…

---

## [Copy Schematic from Blockset to Blockset](https://forum.plexim.com/t/copy-schematic-from-blockset-to-blockset/1220)

<div class="topic-metadata">

**Author:** [@Hannes\_Thielke](https://forum.plexim.com/u/Hannes_Thielke)\
**Replies:** 1\
**Last updated:** [March 27, 2023, 9:16am UTC](https://forum.plexim.com/t/copy-schematic-from-blockset-to-blockset/1220 "2023-03-27T09:16:41Z")

</div>

I’d like to copy a schematic from a Blockset circuit to another Blockset circuit but unfortunately this does not work as in Standalone. The only way I managed to do this is by exporting it to a Standalone Model and Impor…

---

## [Why I get this " Unexpected feedback during calculation of switch losses." while doing steady state analysis?](https://forum.plexim.com/t/why-i-get-this-unexpected-feedback-during-calculation-of-switch-losses-while-doing-steady-state-analysis/1203)

<div class="topic-metadata">

**Author:** [@LAXMIPRIYA\_TR](https://forum.plexim.com/u/LAXMIPRIYA_TR)\
**Replies:** 1\
**Last updated:** [February 3, 2023, 3:16pm UTC](https://forum.plexim.com/t/why-i-get-this-unexpected-feedback-during-calculation-of-switch-losses-while-doing-steady-state-analysis/1203 "2023-02-03T15:16:58Z")

</div>

---

## [At t=0: Electrical model inputs are infinite or NaN?](https://forum.plexim.com/t/at-t-0-electrical-model-inputs-are-infinite-or-nan/282)

<div class="topic-metadata">

**Author:** [@EMdude](https://forum.plexim.com/u/EMdude)\
**Replies:** 3\
**Last updated:** [November 3, 2022, 5:31am UTC](https://forum.plexim.com/t/at-t-0-electrical-model-inputs-are-infinite-or-nan/282 "2022-11-03T05:31:42Z")

</div>

hello, I am getting this error in my plecs circuit (blockset) whenever I use 02 controlled source voltage connected to same source signal as shown here in the attached pictures. thansk in advance

---

## [How to connect between subsystems in PLECS?](https://forum.plexim.com/t/how-to-connect-between-subsystems-in-plecs/1172)

<div class="topic-metadata">

**Author:** [@tarik](https://forum.plexim.com/u/tarik)\
**Replies:** 3\
**Last updated:** [October 28, 2022, 4:17pm UTC](https://forum.plexim.com/t/how-to-connect-between-subsystems-in-plecs/1172 "2022-10-28T16:17:06Z")

</div>

Hi Guys, So I want to connect the voltages and current flows from one subsystem to another subsystem: 1-how I connect R1 to the Sub : Voltage divider,how I connect the ground to the gound input of the Voltage divider,…

[Next page](https://forum.plexim.com/tag/plecs-blockset/125.md?match_all_tags=true&page=1&tags%5B%5D=plecs-blockset)
