Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

ADS : Export s2p from S simulation with sweep

Status
Not open for further replies.

Tucco

Junior Member level 1
Joined
Jan 13, 2009
Messages
18
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,419
ads export s2p

Hello,

I run a parameter sweep (x = 1,2,...to 100) with S parameters simulation.
I can see 100 different curves in Data Display.
But how to export 100 different s2p files from the dataset ?
If I try this with data file tool, it write me only the first S matrix (x=1).

Is there a method to bypass it ? by AEL command ?

Thank you.
 

Ok, I find a solution but it's not very easy.

I have create a AEL user functions which load the number of sweeps and file name, and make a loop to create s2p (with incremental name) one by one, using the ADS pre-defined function WRITE_SNP.

That is, for the loop:
sweepvar_s=sprintf("%d",sweepvar);
file_name_s=strcat(file_name,sweepvar_s,".s2p");
action=write_snp(file_name_s,S[i,::],"S data","GHz","MA",50);

After, I use it in my Schematic as an meas. equation. or in Display as equation.
If an ADS developper read this topic, please create this function in the next version of your soft !!!! :D
I think a lot of users need to this functionnality !
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top