Thread: adjusting variables in a loop


Permlink Replies: 1 - Pages: 1 - Last Post: Jul 10, 2012 12:57 PM Last Post By: aehoward
mashpipe

Posts: 4
Registered: 05/09/12
adjusting variables in a loop
Posted: Jun 1, 2012 8:11 AM
Click to report abuse...   Click to reply to this thread Reply
Hello all,

I am attempting to perform an iterative loop in an S-parameter ADS simulation. I would like to run a simulation and based on the system S21 at a particular frequency I want to adjust a variable and then run the simulation again (effectively a for loop). Is this possible? I am having trouble finding how I can index the S21 data following the first iteration. I have had a look at AEL briefly, perhaps the solution lies with some sort of macro but I am crossing my fingers for something a little simpler!

Thanks in advance for your help,

Matt
aehoward

Posts: 75
Registered: 06/08/09
Re: adjusting variables in a loop
Posted: Jul 10, 2012 12:57 PM   in response to: mashpipe in response to: mashpipe
Click to report abuse...   Click to reply to this thread Reply
Hi,

You can use an S-Parameter controller that computes the S-Parameters at just the frequency of interest. Then you will eliminate the issue with indexing the S21 data.

This example: http://edocs.soco.agilent.com/display/eesofkcads/X-dB+Gain+Compression+Simulation+with+Maximum+Gain+Point+used+as+Reference
uses a sequential optimization. While it doesn't solve your specific problem, techniques it uses may be applicable to the problem you are attempting to solve.

Point your RSS reader here for a feed of the latest messages in all forums