+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Junior Member level 1
    Points: 1,782, Level: 9
    Achievements:
    7 years registered

    Join Date
    Jan 2009
    Posts
    18
    Helped
    1 / 1
    Points
    1,782
    Level
    9

    ads export s2p

    Hello,

    I run a parameter sweep (x = 1,2,...to 100) with S parameters simulation.
    I can see 100 different [S] 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.

    •   AltAdvertisment

        
       

  2. #2
    Junior Member level 1
    Points: 1,782, Level: 9
    Achievements:
    7 years registered

    Join Date
    Jan 2009
    Posts
    18
    Helped
    1 / 1
    Points
    1,782
    Level
    9

    Re: ADS : Export s2p from S simulation with sweep

    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[i]);
    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 !



--[[ ]]--