Workshop 1
Contents
|
Section
B Learning about the innovation
Activity
B5 Iteration (cont.) |
|
Electricity
Model
5b.1
This is an iterative model,
which shows the exponential
decay of a capacitor discharging.
In the model, the
sequence of calculations is
as follows:
- charge
is calculated from current
charge and change in charge over the time interval
-
potential is calculated from charge
and capacitance
- current
is calculated from potential
and resistance
- change
in charge is calculated
from the current and the time interval
The sequence then repeats,
calculating the velocity
in the next time interval.
In addition to the
variables related to the system
itself (charge, potential and resistance) you can change the time
increment
(Dt) which is used in the iteration. The value of this needs to be
chosen
appropriately. If it is too small, then there will be insufficient
change
in the values in each iteration. If it is too large, then the
calculation
may behave erratically.

|