I am trying to estimate conduction loss and switching loss of a MOSFET. MOSFET and the antiparallel Bodydiode both have separate thermal description files. Plecs currently has a bug where it ignores MOSFET gate conduction state and divides negative current through MOSFET + Body diode such that Body diode conduction loss is over estimated. There is a solution when the device is modeled as MOSFET+Diode with a single thermal description file:
My question is: how to apply this solution when MOSFET and diode have separate thermal descriptions. I have attached a demo project showing my problem. I feel the solution somehow involves changing the conduction loss calculation tab in the body diode from "Lookup table" to "Lookup table and formula" but I need help from someone at Plecs to figure this out.