dependant resistance SOLVED

Hi I wonder how to define a resistance value dependent on another resistor value. I have two parallel resistors (R1 and R2) and the value of R2 must be 2 times R1 (R1 is changing itself for which I want to use DC Sweep). Any help please?

by Hichi
December 29, 2020

2 Answers

Answer by mrobbins

The answer is to define a custom Parameter Element. (Search the toolbox and you'll find it.)

Here's an example with a custom parameter RVAL defined, and then both R1 and R2 have their resistances defined as multiples such as 2*RVAL.

Hope that helps.

ACCEPTED +2 votes
by mrobbins
December 30, 2020

Answer by Hichi

Dear mrobbins,

Thanks for the answer, it helped alot. My next challenge now is have an equation for RVAL (dependant to a current in my circuit). How would that be possible? I really appreciate your help. Thanks and regards Farya

+1 vote
by Hichi
December 30, 2020

Your Answer

You must log in or create an account (free!) to answer a question.

Log in Create an account

Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

Search Questions & Answers

Ask a Question

Anyone can ask a question.

Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.

About This Site

CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.

We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.

Acceptable Questions:

  • Concept or theory questions
  • Practical engineering questions
  • “Homework” questions
  • Software/hardware intersection
  • Best practices
  • Design choices & component selection
  • Troubleshooting

Unacceptable Questions:

  • Non-English language content
  • Non-question discussion
  • Non-electronics questions
  • Vendor-specific topics
  • Pure software questions
  • CircuitLab software support

Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.