We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ff27c8 + 362b137 commit 807006aCopy full SHA for 807006a
README.md
@@ -48,14 +48,14 @@ The following is the [RC Circuit Demonstration](https://docs.sciml.ai/ModelingTo
48
using ModelingToolkit, OrdinaryDiffEq, Plots
49
using ModelingToolkitStandardLibrary.Electrical
50
using ModelingToolkitStandardLibrary.Blocks: Constant
51
+using ModelingToolkit: t_nounits as t
52
53
R = 1.0
54
C = 1.0
55
V = 1.0
-@variables t
56
systems = @named begin
57
resistor = Resistor(R = R)
58
- capacitor = Capacitor(C = C)
+ capacitor = Capacitor(C = C, v = 0.0)
59
source = Voltage()
60
constant = Constant(k = V)
61
ground = Ground()
0 commit comments