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 11name = " ModelingToolkitStandardLibrary"
22uuid = " 16a59e39-deab-5bd0-87e4-056b12336739"
33authors = [" Chris Rackauckas and Julia Computing" ]
4- version = " 2.5 .0"
4+ version = " 2.6 .0"
55
66[deps ]
77ChainRulesCore = " 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.
1010using ModelingToolkit, OrdinaryDiffEq, Plots
1111using ModelingToolkitStandardLibrary.Electrical
1212using ModelingToolkitStandardLibrary.Blocks: Constant
13+ using ModelingToolkit: t_nounits as t
1314
1415R = 1.0
1516C = 1.0
1617V = 1.0
17- @variables t
1818@named resistor = Resistor(R = R)
1919@named capacitor = Capacitor(C = C, v = 0.0)
2020@named source = Voltage()
You can’t perform that action at this time.
0 commit comments