Rules | Recent posts | topic RSS | Search | Register  | Log in

CST Script

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Electromagnetic Design and Simulation
Author Message
kelvchan



Joined: 09 Apr 2005
Posts: 47


Post14 Feb 2006 10:23   CST Script

Hi, may I know how do I automate or create a script in CST to postprocess some CST s-parameters? After simulating a two port structure, I wish to obtain an odd and even mode impedance by virtue of calculating S11-S12 and S11+S12 to obtain the respective impedances. Could someone direct me on this? Thank you.
Back to top
Pushhead



Joined: 19 Jan 2005
Posts: 189
Helped: 7


Post14 Feb 2006 13:12   Re: CST Script

Hi,

Unfortunately, I can only relate (and not really help you) since i'm facing a similar problem.
If you are using a parametric sweep, then you can add a watch called : "User defined" which requires programming a special code in VBA macro. I have studied some CST examples and wrote a code by myself.
If its a single calculation, I'd suggest you export the S-parameters and post process them in Matlab or any other technical editor.

Regards,
P.
Back to top
maxwellian



Joined: 22 Feb 2005
Posts: 120
Helped: 18


Post14 Feb 2006 15:24   Re: CST Script

Hi kelvchan:

Have you looked through the Results Templates? There are many 0D and 1D operations that can be performed automatically during a parameter sweep on just about any CST result. The Results Templates in the Studio 2006 suites are pretty comprehensive.

--Max
Back to top
kelvchan



Joined: 09 Apr 2005
Posts: 47


Post14 Feb 2006 17:02   Re: CST Script

Hi, thanks for the tip but my version is still at version 5.0.
Back to top
SparamGuru



Joined: 25 Oct 2005
Posts: 4


Post17 Feb 2006 3:29   Re: CST Script

Create a Result1D object and load the "^a1(1)1(1).sig" file. (S11)
Do the same for the "^a1(1)2(1).sig" file. (S12)

Then you can do a .add/.subtract or process to get the result and then save or addtoresultree.

Hope this helps.
Back to top
SAJ25



Joined: 13 Mar 2007
Posts: 209
Helped: 19


Post18 Oct 2008 8:14   CST Script

anyones have some totourial about cst scripting
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Electromagnetic Design and Simulation
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap