Skip to content

Commit 3465982

Browse files
committed
Component name change
1 parent 4e16c3e commit 3465982

File tree

7 files changed

+84
-84
lines changed

7 files changed

+84
-84
lines changed

examples/transient/Graetz_bridge/graetz_bridge.cir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
`include <components.rule>
33

4-
graetz_bridge(RS) :=
4+
graetz_bridge( RS ) :=
55
{
66
V.VSIN( @5, @3, 10, 2*PI*600 );
77
R2.CR( @5, @2, 1 );

examples/transient/NE555/NE555.cir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ test_NE555( R ) :=
88
C1.CC( @1, @0, 1u );
99
RB.CR( @2, @1, R);
1010
RA.CR( @3, @2, 2.7K );
11-
IC.NE555( @1, @1, @2, @4, @3, @0 ); //@trigger, @threshold, @discharge, @output, @vcc, @gnd
11+
U.NE555( @1, @1, @2, @4, @3, @0 ); //@trigger, @threshold, @discharge, @output, @vcc, @gnd
1212
P1.PROBE( @4, @0 );
1313
P2.PROBE( @2, @0 )
1414
};

examples/transient/NE555/NE555.py

Lines changed: 37 additions & 37 deletions
Large diffs are not rendered by default.

examples/transient/NE555/simulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def add_plot( element ):
3333
my_circuit.simulate_t(0.1,500)
3434

3535
plt.subplot(1, 1 , 1)
36-
add_plot( my_circuit.IC_UTRESH )
36+
add_plot( my_circuit.U_UTRESH )
3737
add_plot( my_circuit.P1_U )
3838
ax = plt.gca()
3939
ax.set_ylabel('Voltage [V]')

examples/transient/NE555_slider/NE555.cir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ test_NE555( R ) :=
88
C1.CC( @1, @0, 1u );
99
RB.CR( @2, @1, R);
1010
RA.CR( @3, @2, 2.7K );
11-
IC.NE555( @1, @1, @2, @4, @3, @0 ); //@trigger, @threshold, @discharge, @output, @vcc, @gnd
11+
U.NE555( @1, @1, @2, @4, @3, @0 ); //@trigger, @threshold, @discharge, @output, @vcc, @gnd
1212
P1.PROBE( @4, @0 );
1313
P2.PROBE( @2, @0 )
1414
};

examples/transient/NE555_slider/NE555.py

Lines changed: 37 additions & 37 deletions
Large diffs are not rendered by default.

examples/transient/NE555_slider/simulation.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ def update_R(val):
3535
my_circuit._RV.init(val)
3636
my_circuit.simulate_t(0.1, 200)
3737
if first_time:
38-
ylabel.append(my_circuit.IC_UTRESH.name)
39-
ylabel.append(my_circuit.IC_UOUT.name)
38+
ylabel.append(my_circuit.U_UTRESH.name)
39+
ylabel.append(my_circuit.U_UOUT.name)
4040
(UTRESH,) = axs.plot(
41-
my_circuit.IC_UTRESH.history_x, my_circuit.IC_UTRESH.history_y
41+
my_circuit.U_UTRESH.history_x, my_circuit.U_UTRESH.history_y
4242
)
43-
(UOUT,) = axs.plot(my_circuit.IC_UOUT.history_x, my_circuit.IC_UOUT.history_y)
43+
(UOUT,) = axs.plot(my_circuit.U_UOUT.history_x, my_circuit.U_UOUT.history_y)
4444
axs.legend(ylabel)
4545
first_time = False
4646
else:
47-
UTRESH.set_ydata(my_circuit.IC_UTRESH.history_y)
48-
UOUT.set_ydata(my_circuit.IC_UOUT.history_y)
47+
UTRESH.set_ydata(my_circuit.U_UTRESH.history_y)
48+
UOUT.set_ydata(my_circuit.U_UOUT.history_y)
4949
fig.canvas.draw_idle()
5050

5151
my_circuit = circuit()

0 commit comments

Comments
 (0)