I am working on the DAB thermal model (demo file) and it seems to have little mistake as per my understanding, where in the parameters initialization turns ratio, n = 4 but it should be n = 1/4 as, n_pri = 4; n_sec = 16.
It is confusing. And this one thing is messing around with my calculations for this DAB.
I am trying to find the inductor current and it does not match with the model file. I am using the model parameters (V1 = 95 V, V2 = 380 V, fs = 252e3, L = 2.052e-6, N1 = 4, N2 = 16) following equations to calculate the current at point A and B, screenshot attached:
Whether I use n=4 or n = 1/4, I do not get the desired inductor current as in the graphs.
Am I correct in my approach? Can someone please help? Screenshots are attached.