Hello,
It sounds like you need to do some homework on how thermal losses work, but do you have a device or data sheet you can reference? Many of the devices currently supported with PLECS loss and thermal models are listed here: https://www.plexim.com/plecs/thermal
Regards,
Kris