cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Why solve cannot solve this system of diff eq with 3 eq?

Cornel
19-Tanzanite

Why solve cannot solve this system of diff eq with 3 eq?

Hi,

I am making something wrong? Are only 3 differential equations...

Cornel_0-1714392318215.png


But using laplace command this system of differential eq can be solved:

Cornel_1-1714392350034.png

 

See MCP9 file attached.

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:Cornel)

It may be because of the dependency of the three function in equation #2

 

This works (derivatives of vc1 equals derivative of vc3:

Werner_E_0-1714393522028.png

 

v.C3(0) cannot be chosen freely!

Werner_E_1-1714393620951.png

 

 

View solution in original post

7 REPLIES 7
Werner_E
25-Diamond I
(To:Cornel)

It may be because of the dependency of the three function in equation #2

 

This works (derivatives of vc1 equals derivative of vc3:

Werner_E_0-1714393522028.png

 

v.C3(0) cannot be chosen freely!

Werner_E_1-1714393620951.png

 

 

Cornel
19-Tanzanite
(To:Werner_E)

This is the circuit:
@ttokoro 

Cornel_0-1714394218397.png

 

LucMeekes
23-Emerald III
(To:Cornel)

The situation of your circuit is impossible.

To the left of the switch, at t=-0 you have a capacitor C3 charged to 5.7 V, in parallel to the series connection of a diode, that you model with a (constant) voltage source of 0.6 V, and a capacitor C1.

This means that the voltage across C1 must be 5.7-0.6=5.1 V, not the 0 V that you set it.

 

Success!
Luc

ttokoro
20-Turquoise
(To:Cornel)

image.pngimage.pngimage.pngimage.png

Cornel
19-Tanzanite
(To:Werner_E)

As in your suggested case:

Cornel_0-1714396234473.png

This means that in this case voltage at t=0 for C3 to be 5.7V but also we need to force that voltage at t=0 for C1 to be 5V.

But in this case:

Cornel_1-1714396428436.png
We could let voltage at t=0 for C3 to be 5.7V, but also we could let that voltage at t=0 for C1 to be 0V.

What do you think, what is the good approach?

 

Cornel
19-Tanzanite
(To:Cornel)

For my and my checking it seems that the variant with laplace is ok, but then this means that solve command cannot solve such a system of diff eq while laplace can

Werner_E
25-Diamond I
(To:Cornel)

Your second equation clearly states that v3(t)=v1(t)+VD.

Given that VD is constant and not dependent on t this means that you can't demand an independent initial condition v3(0)=... because v3(0) must equal v1(0)+vD as in my approach above - I forgot to use "simplify so the expression looked far too complicated 😉

Werner_E_0-1714415328944.png


Your second equation also means that v3'(t)=v1'(t) and v3' can be replaced by v1' as I did.

So if your equation is correct, you just have a system with two functions to solve for. The third function v3 must be derived as shown above.

Announcements

Top Tags