File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
name = " ModelingToolkitStandardLibrary"
2
2
uuid = " 16a59e39-deab-5bd0-87e4-056b12336739"
3
3
authors = [" Chris Rackauckas and Julia Computing" ]
4
- version = " 2.5 .0"
4
+ version = " 2.6 .0"
5
5
6
6
[deps ]
7
7
ChainRulesCore = " d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ connect pre-made components and simulate the model.
10
10
using ModelingToolkit, OrdinaryDiffEq, Plots
11
11
using ModelingToolkitStandardLibrary.Electrical
12
12
using ModelingToolkitStandardLibrary.Blocks: Constant
13
+ using ModelingToolkit: t_nounits as t
13
14
14
15
R = 1.0
15
16
C = 1.0
16
17
V = 1.0
17
- @variables t
18
18
@named resistor = Resistor(R = R)
19
19
@named capacitor = Capacitor(C = C, v = 0.0)
20
20
@named source = Voltage()
You can’t perform that action at this time.
0 commit comments