Is there some way to do repeat changes or do macros?


So I am currently doing simulations of up to 50 "nodes" on a bus, all nodes are the same, and the bus is simulating real life cabling (only resistance).

So to do this, I simply copied the node 50 times, and while it works, it is dead slow, and if I need to change e.g. a cap value, I need to do this on all 50 nodes. I guess I can buy a new computer, which will speed things up a bit, but still the job will be rather tedious to change on 50 places, and I doubt a new computer will do much good, since the browsers seems to be single threaded. Chrome is about double faster than Firefox in simulation, but the editing seems equally slow on both.

So I am looking for ways to do this faster, and if the repeat nodes where just "pointer" to the design (maybe first node etc, or some macro). I guess this is not possible. Are there any other way? Would it be possible to create a "component" or the node (the node is all passive components in this simulation)?

by vespaman
January 26, 2023

Have you considered using the "Parameter" element?

by vanderghast
January 30, 2023

No I have not, but this will do it for sure!

I knew there had to be some way of making this easier for me! :-)

by vespaman
February 02, 2023

No Answers

No answers yet. Contribute your answer below!

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.