Skip to content

Commit

Permalink
Don't show rlc plot in test
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed Aug 27, 2024
1 parent d7a7557 commit 205ffe3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions examples/MDF/switched_rlc.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ def run_simulation(mod_graph, duration=2, dt=0.001):
V_values.append(V)
t += dt

print(
"Finished simulation of MDF model: %s of duration: %s sec"
% (mod_graph.id, duration)
)

plt.figure(figsize=(10, 5))
plt.plot(times, i_L_values, label="Inductor Current (i_L)")
plt.plot(times, i_R_values, label="Resistor Current (i_R)")
Expand Down
2 changes: 1 addition & 1 deletion test_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ python states.py -run -nogui
python abc_conditions.py -run
python params_funcs.py -run
python newton.py -run -nogui
python switched_rlc.py -run
python switched_rlc.py -run -nogui

## Test exporting to NeuroML

Expand Down

0 comments on commit 205ffe3

Please sign in to comment.