Brain,
That is a lot of effort to correct my model,
I do really appreciate your help and every single minute you put into that. I learned from my mistakes and from your tricks.
The motivation for this model is to estimate losses per cell, that is why I decided to use discrete IGBT and Diode because, I have downloaded the thermal description from Infineon site, my plan just to model one arm as discrete and the others integrated and for the maximum number of cells per arm I care about still simulation speed good.
I will share the model when it’s good enough and accurate so others can benefit from it also