# \#switching

**URL:** https://forum.plexim.com/tag/switching/103.md

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

---

## [How are switching and conduction losses calculated by the model if the waveforms are ideal?](https://forum.plexim.com/t/how-are-switching-and-conduction-losses-calculated-by-the-model-if-the-waveforms-are-ideal/868)

<div class="topic-metadata">

**Author:** [@skadoosh237](https://forum.plexim.com/u/skadoosh237)\
**Replies:** 15\
**Last updated:** [July 23, 2025, 8:48pm UTC](https://forum.plexim.com/t/how-are-switching-and-conduction-losses-calculated-by-the-model-if-the-waveforms-are-ideal/868 "2025-07-23T20:48:10Z")

</div>

Hello everyone, How does PLECS thermal look-up models calculate losses? As the MOSFETs/IGBTs are switched with ideal waveforms, the effect of the output capacitance on the switching is not seen. Also the current wavefor…

---

## [State discountinuity issue](https://forum.plexim.com/t/state-discountinuity-issue/1401)

<div class="topic-metadata">

**Author:** [@Kamilruan](https://forum.plexim.com/u/Kamilruan)\
**Replies:** 1\
**Last updated:** [October 7, 2024, 9:55am UTC](https://forum.plexim.com/t/state-discountinuity-issue/1401 "2024-10-07T09:55:44Z")

</div>

Hallo Everyone, I am completely new to Plecs. I would like to ask a question about Error “State discountinuity after switching” for this circuit, I have searched in the Forum about this issue, and tried to solve it, bu…

---

## [Negative turn-off loss -- The relevant current is mentioned wrong in the error](https://forum.plexim.com/t/negative-turn-off-loss-the-relevant-current-is-mentioned-wrong-in-the-error/1266)

<div class="topic-metadata">

**Author:** [@smohtat](https://forum.plexim.com/u/smohtat)\
**Replies:** 4\
**Last updated:** [September 14, 2023, 8:42am UTC](https://forum.plexim.com/t/negative-turn-off-loss-the-relevant-current-is-mentioned-wrong-in-the-error/1266 "2023-09-14T08:42:49Z")

</div>

Hi, I am trying to find switching losses of a Modular Multilevel Converter (MMC) with PLECS Blockset. My SubModules (SM) are half-bridge (chopper cell) and there are 4 SMs in each arm of the MMC. As a first step, I am t…

---

## [Switching problem in circuit](https://forum.plexim.com/t/switching-problem-in-circuit/1260)

<div class="topic-metadata">

**Author:** [@Joy](https://forum.plexim.com/u/Joy)\
**Replies:** 1\
**Last updated:** [August 7, 2023, 11:35am UTC](https://forum.plexim.com/t/switching-problem-in-circuit/1260 "2023-08-07T11:35:31Z")

</div>

Hello, I am simulating an ANPC inverter Modell. But an error occurs, said “Inconsistent source conditions after switching.”, shown in the photo. It is interesting when I tried to reduce the switching frequency to 500Hz,…

---

## [Negative Loss Valiue for thermal model of the diode](https://forum.plexim.com/t/negative-loss-valiue-for-thermal-model-of-the-diode/947)

<div class="topic-metadata">

**Author:** [@YuJin](https://forum.plexim.com/u/YuJin)\
**Replies:** 4\
**Last updated:** [December 12, 2022, 12:09pm UTC](https://forum.plexim.com/t/negative-loss-valiue-for-thermal-model-of-the-diode/947 "2022-12-12T12:09:24Z")

</div>

Attached is the simulation model for the single-phase multilevel converter, While I was trying to simulate the thermal performance of the switching devices. However, whenever I start the simulation, it keeps telling me …

---

## [State disconuity after switching error](https://forum.plexim.com/t/state-disconuity-after-switching-error/1069)

<div class="topic-metadata">

**Author:** [@Luis\_SL](https://forum.plexim.com/u/Luis_SL)\
**Replies:** 1\
**Last updated:** [October 18, 2021, 12:10pm UTC](https://forum.plexim.com/t/state-disconuity-after-switching-error/1069 "2021-10-18T12:10:28Z")

</div>

Hello, I am simulating a voltage source inverter supplying a three-phase RL load. The modulation scheme is set to sine PWM. Attached files are the model and thermal descriptions. When simulating, I get error messages s…

---

## [State discontinuity after switching Error](https://forum.plexim.com/t/state-discontinuity-after-switching-error/995)

<div class="topic-metadata">

**Author:** [@mr\_naidu](https://forum.plexim.com/u/mr_naidu)\
**Replies:** 4\
**Last updated:** [March 26, 2021, 2:10pm UTC](https://forum.plexim.com/t/state-discontinuity-after-switching-error/995 "2021-03-26T14:10:03Z")

</div>

Hii, When I try simulate the thermal model of an IGBT with RL load , I am getting the State discontinuity after switching error. With R load it is working fine. Please suggest me a solution. I have attached model & ther…

---

## [State discontinuity after switching vienna](https://forum.plexim.com/t/state-discontinuity-after-switching-vienna/914)

<div class="topic-metadata">

**Author:** [@Morg\_Lim](https://forum.plexim.com/u/Morg_Lim)\
**Replies:** 3\
**Last updated:** [December 9, 2020, 5:04pm UTC](https://forum.plexim.com/t/state-discontinuity-after-switching-vienna/914 "2020-12-09T17:04:08Z")

</div>

I am simulating a Vienna Rectifier. It had been running fine until the error “state discontinuity after switching” pops up. How can I rectify the error?

---

## [Create an overvoltage by switching of an inductive circuit](https://forum.plexim.com/t/create-an-overvoltage-by-switching-of-an-inductive-circuit/720)

<div class="topic-metadata">

**Author:** [@DirkO](https://forum.plexim.com/u/DirkO)\
**Replies:** 3\
**Last updated:** [June 20, 2020, 12:08pm UTC](https://forum.plexim.com/t/create-an-overvoltage-by-switching-of-an-inductive-circuit/720 "2020-06-20T12:08:50Z")

</div>

Dear Forum, I am trying to create an overvoltage by switching off an inductive circuit which is feed by a dc-voltage source. The goal is to simulate a contactor that swithces off the inductance an this dreates an overv…

---

## [Errors in simple peak detector (State-Souce dependence during switching)](https://forum.plexim.com/t/errors-in-simple-peak-detector-state-souce-dependence-during-switching/757)

<div class="topic-metadata">

**Author:** [@srinath](https://forum.plexim.com/u/srinath)\
**Replies:** 2\
**Last updated:** [April 12, 2020, 1:18am UTC](https://forum.plexim.com/t/errors-in-simple-peak-detector-state-souce-dependence-during-switching/757 "2020-04-12T01:18:28Z")

</div>

I built a very simple peak detector (attached), but i get an error that i have state/source-dependence during switching. It must be a basic error, so what am i doing wrong ? Model attached peakDetector.plecs (6.44 KB) …

---

## [State discontinuity after switching blockset ANPC](https://forum.plexim.com/t/state-discontinuity-after-switching-blockset-anpc/723)

<div class="topic-metadata">

**Author:** [@haichen](https://forum.plexim.com/u/haichen)\
**Replies:** 3\
**Last updated:** [April 1, 2020, 2:01am UTC](https://forum.plexim.com/t/state-discontinuity-after-switching-blockset-anpc/723 "2020-04-01T02:01:40Z")

</div>

I’m simulating A-NPC converter. The error “State discontinuity after switching” is reported and I have tried to solve but didn’t work. The model is attached V: Matlab 2017b

---

## [At t=0.0154 Negative loss values for component... Should I set voltage Vce in negative value for turn off loss of diode?](https://forum.plexim.com/t/at-t-0-0154-negative-loss-values-for-component-should-i-set-voltage-vce-in-negative-value-for-turn-off-loss-of-diode/751)

<div class="topic-metadata">

**Author:** [@Razon](https://forum.plexim.com/u/Razon)\
**Replies:** 2\
**Last updated:** [March 12, 2020, 1:35pm UTC](https://forum.plexim.com/t/at-t-0-0154-negative-loss-values-for-component-should-i-set-voltage-vce-in-negative-value-for-turn-off-loss-of-diode/751 "2020-03-12T13:35:00Z")

</div>

---

## [How are losses calculated when IGBT is operating at voltage higher than mentioned in datasheet](https://forum.plexim.com/t/how-are-losses-calculated-when-igbt-is-operating-at-voltage-higher-than-mentioned-in-datasheet/736)

<div class="topic-metadata">

**Author:** [@krishnapriya](https://forum.plexim.com/u/krishnapriya)\
**Replies:** 2\
**Last updated:** [January 23, 2020, 2:14pm UTC](https://forum.plexim.com/t/how-are-losses-calculated-when-igbt-is-operating-at-voltage-higher-than-mentioned-in-datasheet/736 "2020-01-23T14:14:18Z")

</div>

In the three phase grid connected inverter model for thermal modelling,the IGBT in chopper circuit sees a voltage of more than 700V. However in the datasheet included in the model the turn on losses are written only till…
