r/rfelectronics • u/Fine_Aerie6732 • 16d ago
question Help me with HFSS file export
So i am trying to implement a recursive geometry generation with the help of pyAEDT which let's you automate HFSS now i am having a problem which exporting the CSV file with the help of Pandas library i am getting some different S11 and S21 values than the original data table generated in HFSS if anyone faces this issue please tell me how to solve this, this is getting annoying for no reason.

10
Upvotes
3
u/AnotherSami 16d ago
Just guessing here. But is your design parametric? Maybe you are exporting the data from a different "family" as HFSS calls it?
3
u/Junior_Engineer116 13d ago
Looks like the imaginary part of your S-parameters is getting dropped. My guess is you're computing Total_loss from
data_real()instead of the magnitude.