Capacitator Series #201
EarthShaping
started this conversation in
General
Replies: 1 comment 3 replies
-
Can you share the error? Maybe its related to the issue #119 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am not getting why this circuit raise an error
var ckt = new Circuit(
new VoltageSource("V1", "in", "0", pulse),
new Resistor("R1", "in", "middle", 10),
new Capacitor("CL", "middle", "out", 0.2),
new Capacitor("CW", "out", "0", 0.4)
);
var tran = new Transient("tran", samplingTime_s, 10);
tran.Run(ckt);
But if I put a resistance R2 in parallel to CL capacitator, it works
var ckt = new Circuit(
new VoltageSource("V1", "in", "0", pulse),
new Resistor("R1", "in", "middle", 10),
new Resistor("R2", "middle", "out", double.MaxValue),
new Capacitor("CL", "middle", "out", 0.2),
new Capacitor("CW", "out", "0", 0.4)
);
var tran = new Transient("tran", samplingTime_s, 10);
tran.Run(ckt);
What I am doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions