Hello,

I have to implement in ADS a component that is defined as voltage across this component depending on charge in this component: V=V(q). In reality V(q) could not be solved for q analytically.

I used a SDD 2-port as follows; in this simple example there is V=q**a:

I[1,1]=q

F[2,0]=-U+q**a (hoping that this equation is numerically solved for q)

with the synonyms U=_v1 and q=_v2; a is constant.

Port 2 is attached with a resistance of 1e+18 Ohm, so it acts as an open.

With a>0 the error message is as follows:

Matrix is singular (probably detected at port 2)

With a<0 the error message is as follows:

Warning detected by HPEESOFSIM in `X1.SDD2P1' during DC analysis `HB1'.

SYM warning: Negative x in x**y.

Complex values not supported.

Error detected by HPEESOFSIM during DC analysis `HB1'.

No DC convergence.

To search for a more robust convergence algorithm,

set ConvMode=1 on the DC analysis and perform the DC

simulation again. This will cause the simulator to vary the convergence parameters and report which parameter setting produces the fastest convergence.

What's wrong here?

Is there another way to implement this component?

Can anybody help me?

Thank you.

Stefan

I have to implement in ADS a component that is defined as voltage across this component depending on charge in this component: V=V(q). In reality V(q) could not be solved for q analytically.

I used a SDD 2-port as follows; in this simple example there is V=q**a:

I[1,1]=q

F[2,0]=-U+q**a (hoping that this equation is numerically solved for q)

with the synonyms U=_v1 and q=_v2; a is constant.

Port 2 is attached with a resistance of 1e+18 Ohm, so it acts as an open.

With a>0 the error message is as follows:

Matrix is singular (probably detected at port 2)

With a<0 the error message is as follows:

Warning detected by HPEESOFSIM in `X1.SDD2P1' during DC analysis `HB1'.

SYM warning: Negative x in x**y.

Complex values not supported.

Error detected by HPEESOFSIM during DC analysis `HB1'.

No DC convergence.

To search for a more robust convergence algorithm,

set ConvMode=1 on the DC analysis and perform the DC

simulation again. This will cause the simulator to vary the convergence parameters and report which parameter setting produces the fastest convergence.

What's wrong here?

Is there another way to implement this component?

Can anybody help me?

Thank you.

Stefan

F[2,1]=-U+q**a (1)

you are saying that

_v1=_v2^a (2)

also

I[1,1]=q (3)

means that

_i1=d(_v2)/dt (4)

combining 2 and 4, you have that

_i1=d(_v1^-a)/dt (5)

Equation (5) is saying that the current at port 1 is dependent on the derivative of the voltage of port 1 to the minus a power.

Is equation (5) what you intended?