[SOLVED] CST optimise during a parameter sweep

Status
Not open for further replies.

spongey

Newbie level 5
Joined
Aug 1, 2012
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,381
Hi,

Using CST 2011:

I'm running a parameter sweep with the result templates to plot a max point of a S21 plot;

However, I would like to optimise ( or adjust another parameter) to get the S21 back to a desired frequency before I log my S21 max point.

My thinking was somehow to run an optimise step after each parameter step, but I can only manage this manually, and this takes a long time for my project.

If anyone has a suggestion how I could automate it better, I'd be grateful.

I've had a play with the user defined result template in the parameter sweep, and tried to add some VBA code to 'Case 2' of the template, but so far I've not managed to invoke a optimisation (I can produce message boxes though, but that isnt much use! ).

thanks for any help,
 

I managed to figure it out in the end;

I just had to write

With Optimizer
.start
End With

in the case 2 statement of the user defined parameter sweep watch, with my optimiser settings already setup. I've a few niggles to iron out with my post processing, but looks like this should work.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…