How can I use a resistor value to compute an expression? SOLVED

Hello!

I'd like to compute expressions using the values of resistors. For example: V(node1) = I(R1.nB) * R1 How can I make reference to the value of R1? Is it possible? Thanks

by Prof_Erich
November 17, 2012

Sorry but parameters are not supported in CL yet.

You might like to add you voice to the Feature Request for that here:

https://www.circuitlab.com/forums/support/topic/n98tb8z5/feature-request-parameters-please/

A very clumsy workaround is to use voltage (or current) sources to define values or variables and then reference the voltages in the expressions.

However, in your case you would then have to use a behavioural resistor in order to be able to use the voltage to set the value of the resistor!

Examples of behavioural resistors:

and of using voltage sources to set parameters:

by signality
November 17, 2012

Thank you!

by Prof_Erich
November 17, 2012

"How can I make reference to the value of R1?"

This is now supported with R1.R, right?

by hkienle
January 07, 2022

Post a Reply

Please sign in or create an account to comment.