Drawing time diagrams
Using the Interpreter, you can define arbitrary functions of time and plot the
results in the time domain.
Referring to the following RL circuit entered as a schematic diagram, run
transient analysis with the given defaults. Then use the Interpreter to plot the
theoretical result.
i) The time response is:
Enter this response directly in the Interpreter, referring to the schematic
parameters and using the Draw command:
Draw( 1-exp( -R/L*t ), MyResult )
We can compare the computed result and the theoretical result (in this case,
the results are almost the same).
ii) Changing the R parameter, we can see how the output signal changes. We use
three instances of the Draw command, each with a different R parameter, to
place three curves on the diagram:
Draw( 1-exp( -R/L*t ), MyResult1 )
Draw( 1-exp( -2*R/L*t ), MyResult2 )
Draw( 1-exp( -3*R/L*t ), MyResult3 )