Intro_Course_7_1 - nasa/gunns GitHub Wiki

Intro Course 7.1: A Simple RC Circuit

As an exercise, create an electrical aspect network that models this RC circuit:

Give the capacitor on the right a capacitance of 1. See the desired voltage (V) and current (i) values to tune for. Start all the node voltages at zero and then they should reach those values in red when the capacitor charges up to steady-state (i.e. 4 volts).

Try to use basic circuit theory (hint: V = IR) to predict what your link’s conductance configuration data should be before you build the sim. This is a case that is simple enough to predict your tuning algebraically, rather than doing trial-and-error tuning in run-time.

If you have gunns/sims/SIM_test running, you can just modify the electrical network that’s already in that test. See gunns/sims/networks/basic/test/TestBasicNetwork.xml. Or you can roll your own network or sim, that’s fun too.

See here for the answer: Simple RC Circuit Solution.

Previous Page / Next Page

⚠️ **GitHub.com Fallback** ⚠️