ZLONGIT reads in impedance file wrong
Posted: 28 Apr 2021, 05:11
Hi,
I have a problem with the <filename>=<x>+<y> format when using the ZLONGIT element. I have a SDDS file with three columns, Freq, RealZ and ImagZ corresponding to the frequency, real and imaginary part of an impedance. Even if I specify that that ZREAL and ZIMAG should use different columns it seems they read in the same. The only way I have managed to get it to read in different columns is by separating the real and imaginary part into two different SDDS files.
I discovered it since I could only get the wake and impedance simulations to agree for cases where the real and imaginary impedance is the same. Also, I only got the "error: impedance spectrum has non-zero imaginary DC term (ZLONGIT)" depending on the DC term of the real part, indicating that the real impedance is read in also for the imaginary part.
Am I doing something wrong or is this a bug?
I have attached some files where I get the problem and also the only way I have found to get around it.
Best regards,
Teresia
I have a problem with the <filename>=<x>+<y> format when using the ZLONGIT element. I have a SDDS file with three columns, Freq, RealZ and ImagZ corresponding to the frequency, real and imaginary part of an impedance. Even if I specify that that ZREAL and ZIMAG should use different columns it seems they read in the same. The only way I have managed to get it to read in different columns is by separating the real and imaginary part into two different SDDS files.
I discovered it since I could only get the wake and impedance simulations to agree for cases where the real and imaginary impedance is the same. Also, I only got the "error: impedance spectrum has non-zero imaginary DC term (ZLONGIT)" depending on the DC term of the real part, indicating that the real impedance is read in also for the imaginary part.
Am I doing something wrong or is this a bug?
I have attached some files where I get the problem and also the only way I have found to get around it.
Best regards,
Teresia