¿ªÔÆÌåÓý

Re: "Physical" PTC model


 

¿ªÔÆÌåÓý

Maybe some help, Pascal:

?

I got this to compile and ¡°run¡± without errors, as below:

First, to fill in some unknown values:

?????????????? .params emax=10 c=5 ts=2

Made a voltage source to create and set a value for node ¡°tptc¡±

?

Then applying your equation to a behavioral voltage source (BV) in the F2 menu:

?????????????? V={1/(1/(emax)+0.5*(1+tanh((v(tptc)-ts)/c)))}

(This syntax didn¡¯t work with a normal V source.)

?

One set of curly braces surrounding everything that needs to be evaluated at run time.

Removing the square brackets? around ¡°v¡± in v(tptc)

?

The BV source put out about 902mV, if that makes any sense in your circuit¡­

?

Dave

?

?

From: [email protected] <[email protected]> On Behalf Of pilou via groups.io
Sent: Saturday, March 15, 2025 11:16 AM
To: [email protected]
Subject: EXTERNAL: Re: [LTspice] "Physical" PTC model

?

On Sat, Mar 15, 2025 at 11:07 AM, John Woodgate wrote:

I can tell you that the error messages do not mean that there is a problem with the simulation. For example, a node connected only to a current source, which has infinite impedance, appears? not to be connected to anything.

Hello,

thanks a lot for your reply,

Ok I understand, it seems logical.

But how about the

Error: undefined symbol in: "1/(1/(emax)+0.5*(1+tanh(([v](tptc)-(ts))/(c))))"

?

?

Join [email protected] to automatically receive all group messages.