# Separate switching losses into Eon and Eoff

**URL:** <https://forum.plexim.com/t/separate-switching-losses-into-eon-and-eoff/810>\
**Category:** PLECS\
**Tags:** igbt-with-diode, switching-losses\
**Created:** [July 22, 2020, 5:34am UTC](https://forum.plexim.com/t/separate-switching-losses-into-eon-and-eoff/810 "2020-07-22T05:34:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anastasios](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@Anastasios](https://forum.plexim.com/u/Anastasios)\
**Post date:** [July 22, 2020, 5:34am UTC](https://forum.plexim.com/t/separate-switching-losses-into-eon-and-eoff/810/1 "2020-07-22T05:34:12Z")

</div>

Hello Users

I’m wondering whether PLECS has any “built-in” (or direct) way to separate the switching losses of a device into turn-on and turn-off.

thanks

---

<div class="post-metadata">

**Author:** ![Kris\_Eberle](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/kris_eberle/32/6_2.png) [@Kris\_Eberle](https://forum.plexim.com/u/Kris_Eberle)\
**Post date:** [July 22, 2020, 5:50pm UTC](https://forum.plexim.com/t/separate-switching-losses-into-eon-and-eoff/810/2 "2020-07-22T17:50:35Z")

</div>

PLECS does not have such a library component, but this logic can be developed from primitive blocks- see the attached example built in PLECS Standalone. To open the model in PLECS Blockset, add an empty PLECS Circuit block in a Simulink model and from the File menu, choose “Import from Standalone”. You are able to look under the mask of the component to see the design.

Best regards,

Kris

[separate\_eon\_eoff.plecs](https://forum.plexim.com/uploads/short-url/p7yfinsGaBgjAMhDIMJO2WhtbRT.plecs) (9.44 KB)

---

<div class="post-metadata">

**Author:** ![Anastasios](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@Anastasios](https://forum.plexim.com/u/Anastasios)\
**Post date:** [July 23, 2020, 3:37am UTC](https://forum.plexim.com/t/separate-switching-losses-into-eon-and-eoff/810/3 "2020-07-23T03:37:02Z")

</div>

Thanks a lot Kris for the support. Really straightforward tip to do the task. Until now I was creating two different thermal models for the same component to accomplish the split, but your suggestion is much simpler and neat.

Best

Anastasios
