微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 天线设计和射频技术 > export from ADS to a text file

export from ADS to a text file

时间:04-07 整理:3721RD 点击:
I am simulating in ADS schematic and need results to do more in matlab, when extracting S parameters there is slash between amplitude and phase in the text file.
I do not know how to use this file!
extracting separately do not solve my problem.

From the data display ( simulation output ) window, you can select a table and export to an text file, do it manually.

Use "write_var()" or "write_snp()".

https://www.edaboard.com/thread206326.html
https://www.edaboard.com/thread162224.html
write var() - ADS 2009 -*Agilent EEsof Documentation Center
write snp() - ADS 2009 -*Agilent EEsof Documentation Center

thank you pancho_hideboo

but, how and where should I write these expressions?

---------- Post added at 12:36 ---------- Previous post was at 11:08 ----------

I found it how to write snp file,
but my new problem is with the Frequency swept in S parameters.
I am simulating LSSP (large signal S param) now I encounter the error of

Function "write_snp" : only supports 1 Dimensional Frequency data.

in small signal S param i have not this error.

anyway,LSSP works based on HB simulation.
here is my simulation: this may help.

Show me dependencies of your data by LSSP.
Here you can see dependencies by the following.
Use "write_var()" not "write_snp".

Or dump your data as CSV data.
See https://www.edaboard.com/thread206326.html

text extracted from dataset is like below, for dB(S21) based on Freq

LSSP_Freq S(1,1)[0, ::]
1.00000000000000000E6 0 9.99999999805173980E-1 / -3.60005921838943800E-1

LSSP_Freq S(1,1)[1, ::]
2.00000000000000000E6 0 9.99999996882419850E-1 / -7.20047376542818540E-1

LSSP_Freq S(1,1)[2, ::]
3.00000000000000000E6 0 9.99999984214154840E-1 / -1.08015990613282950E0

when removing Freq from outputs it says multi dimension data is not supported!

but here S21 is 2D data:
write var() - ADS 2009 -*Agilent EEsof Documentation Center

Why don't you use Data Export/Import Utility ?

tried every thing but every time a failure is occurring. this time: Invalid data element encountered


here is the variable information:

Independent Variables:
Name Type
------------------------------------------
LSSP_Freq Real
<NULL>

Dependent Variables:
Name Type
------------------------------------------
S[1,1] Complex
S[1,2] Complex
S[2,1] Complex
S[2,2] Complex
PortZ[1] Complex
PortZ[2] Complex
PortPower[1] Real
PortPower[2] Real

the error is with LSSP_Freq, but exporting only S is not possible too.

here is the .ds file:
request download ticket | ifile.it

here it is:

Set "write_snp()" like attached figure.

Thank you
it works

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top