J

#### Jim Thompson

- Jan 1, 1970

- 0

Jim,

I think you're missing Helmut's point. In the simulation,

the behavior source's are linearized just like any other

non-linear devices like diodes and transistors. Yes, you

can multiply a signal path and see the gain of the complex

signal through the path. But that's as close as you can

get to "You can certainly do phasor multiplication with

behavioral sources in PSpice." That is, you can do

the complex multiplication with behavioral sources but

only if one of the products is *real*. I.e., your statement

is incorrect. Division is only possible if the divisor is

real. Helmut is just trying to help because this is a point

that I think just about every gets confused about in SPICE

.ac analysis along the learning curve, but it seems impossible

to explain to someone -- or at least just not worth it.

It's one of those things that people seem to have to figure

out for themselves.

Agreed. I DID previously post....

I haven't tried it, but the multiplication may require _multiple_

steps to accomplish:

(1) Separate out the real and imaginary parts

(2) Do the appropriate multiplications

(3) Sum appropriate parts to get the resultant real and imaginary

terms

[snip]To the OP, one industry-standard way to get S-parameters out

of a SPICE simulation is with hspice's .net statement. It

will compute S-, H-, Z-, and Y- matrices of a two-port

linear network. A super-set of this command is availible

in LTspice if you don't have a copy of hspice. The pertaine

example case is installed by default as

C:\Program Files\LTC\SwCADIII\examples\Educational\S-param.asc

Regards,

Also...

http://analog-innovations.com/SED/CreateS-ParameterSUBCKTinPSpice.pdf

...Jim Thompson