INITIAL CONDITION IN NETWORK ANALYSIS
Title
Question
RESPECTED SIR,
I WANT TO INITIALIZE INDUCTOR AND CAPACITOR WITH SOME INITIAL CURRENT AND VOLTAGE. HOW CAN I DO THIS?
After that I want to solve the first order or second order circuit for the current or voltage solution.is it possible on OSCAD?
I WANT TO INITIALIZE INDUCTOR AND CAPACITOR WITH SOME INITIAL CURRENT AND VOLTAGE. HOW CAN I DO THIS?
After that I want to solve the first order or second order circuit for the current or voltage solution.is it possible on OSCAD?
Oscad Schematic-Creation-and-Simulation
Answers:
Use the component "IC" under the library "convergenceAidSpice". The netlist converter will ask for initial conditions and you can input them. See the example "IC555AstableMultivibrator" in the Examples folder. In this example, "IC" is used to give initial condition for capacitor C1.
Dear Rakhi,
I am trying to use IC condition for circuit. Ngspice gave too many warning i am not getting proper output .Please look at following circuit content.
U8 4 IC<span class="Apple-tab-span" style="white-space:pre">\t\t</span>
U7 7 IC<span class="Apple-tab-span" style="white-space:pre">\t\t</span>
U1 7 5 3 4 5 6 0 2 74LS08<span class="Apple-tab-span" style="white-space:pre">\t\t</span>
v1 5 0 DC<span class="Apple-tab-span" style="white-space:pre">\t\t</span>
U4 7 4 6 4 3 7 0 2 74LS02<span class="Apple-tab-span" style="white-space:pre">\t\t</span>
R1 5 0 R<span class="Apple-tab-span" style="white-space:pre">\t\t</span>
U3 7 VPLOT8_1<span class="Apple-tab-span" style="white-space:pre">\t\t</span>
R3 7 0 R<span class="Apple-tab-span" style="white-space:pre">\t\t</span>
R4 4 0 R<span class="Apple-tab-span" style="white-space:pre">\t\t</span>
U2 4 VPLOT8_1<span class="Apple-tab-span" style="white-space:pre">\t\t</span>
Ngspice gave following message
.end
doAnalyses: iteration limit reached
run simulation(s) aborted
Error: no such vector v(7)
Error: no such vector v(4)
Login to add comment