微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 电磁仿真讨论 > definition of input impedance for a two-port in CST MWS

definition of input impedance for a two-port in CST MWS

时间:03-26 整理:3721RD 点击:
Dear all,
I am facing the problem of evaluating the INPUT IMPEDANCE of a slot inserted into a circular waveguide, which, as you know, it is different from Z11. The guide is terminated in one side with a wave port. At the end I have a two-port dev. As I used to do in HFSS, I wanted to define an output function:

Zin=(1+S11)/(1-S11)*Z0 where S11 is complex. Then i get the real and imaginary part.

In CST there's no way to get S11 complex. One can get amplitude and phase but as I define a post-processing template function, like:

Zin=(1+mag(S11)*exp(i*ang(S11))/(1-mag(S11)*exp(i*ang(S11))*Z0

And my idea was to take from it "im" and "re" parts. I try to define i=Sqr(-1) but gives strange results...

the program cannot recognize the symbol "i" (also "j") for the imaginary part. Does anybody know how to modify this expression the way it works? With HFSS is so easy...

viele Grü?e,
I.

Hi Ivan,
this is math functions inside CST:

Pi = 3.141592654...

re(am,phD) / im(am,phD) = Real or imaginary part of a complex number (am = amplitude, phD = phase in degrees)

SinD(x), CosD(x), TanD(x) = Sin, cos, tan with x being the angle in degrees

ASinD(), ACosD(), ATnD() = Arc sin / Arc cos / Arc tan with the result being an angle in degrees

ATn2(y,x) = Polar angle of the complex number x + iy measured in radian

ATn2D(y,x) = Polar angle of the complex number x + iy measured in degrees

Evaluate(x) = Evaluates the mathematical expression x and returns its numerical value (as double)

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top