# How to calculate devices losses with a "Thermal Model"?

**URL:** <https://forum.plexim.com/t/how-to-calculate-devices-losses-with-a-thermal-model/1255>\
**Category:** PLECS\
**Tags:** losses, calculation, thermal-model\
**Created:** [July 18, 2023, 1:50am UTC](https://forum.plexim.com/t/how-to-calculate-devices-losses-with-a-thermal-model/1255 "2023-07-18T01:50:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OuT](https://avatars.discourse-cdn.com/v4/letter/o/8491ac/32.png) [@OuT](https://forum.plexim.com/u/OuT)\
**Post date:** [July 18, 2023, 1:50am UTC](https://forum.plexim.com/t/how-to-calculate-devices-losses-with-a-thermal-model/1255/1 "2023-07-18T01:50:59Z")

</div>

Hello. I am trying to simulate a total losses on IGBT with the open model “Buck Converter with Thermal Model”. I received a message “Error evaluating parameter ‘Thermal description’ in component buck\_converter\_with\_thermal\_model/IGBT1: The value assigned to custom variable ‘Rgoff’ is not a finite scalar,” when I click on the simulated button. The IGBT component was replaced by a open IGBT model with “IKQ100N120CH7”. Does it mean I should delete the “Rgoff” parameter ? How can I solve this problem ?

[IKQ100N120CH7\_igbt.xml](https://forum.plexim.com/uploads/short-url/zlb2DCeBeGvMWDk9tjetEbDh7do.xml) (6.38 KB)

---

<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 18, 2023, 2:06pm UTC](https://forum.plexim.com/t/how-to-calculate-devices-losses-with-a-thermal-model/1255/2 "2023-07-18T14:06:58Z")

</div>

You need to provide a numerical value to the Gate (on) and Gate (off) resistance parameters in the IGBT mask (Thermal tab):

 ![3](https://europe1.discourse-cdn.com/flex006/uploads/plecs/original/1X/9b65eb23c640d1e212b0cb152f688531bfcd6389.jpeg)
