Are you missing the multiplication sign in the last line of your definition?
Rz*Z(-Rzz + Rxz*X + Ryz* Y)
On Monday, January 16, 2017 at 3:29:04 PM UTC+1, Alexander Tille wrote:
>
> Hi,
>
> please have a look at the following code:
>
> from sympy import *
>
> X,Y,Z = symbols("\X,\Y,\Z")
>
> Rxy,Rxz, Ry,Ryx,Ryz, Rz,Rzy,Rzz = symbols("\\RXY,\\RXZ,
> \\RY,\\RYX,\\RYZ, \\RZ,\\RZY,\\RZZ")
> Rzy1,Rzy2 = symbols("\\RZYI,\\RZYII")
>
> dimensionless_DES_list = [X*(1-X - Ryx*Y),
> Ry*Y*(1 - Y + Rxy*X + Rzy1*Z - Rzy2*Z*Z),
> Rz*Z(-Rzz + Rxz*X + Ryz* Y)]
>
> equilibria = solve( dimensionless_DES_list,(X,Y,Z))
>
> if I execute it I have the following results:
>
> Out[3]:
> [{\Y: 0, \X: 0},
> {\Y: \RZYI*\Z - \RZYII*\Z**2 + 1, \X: 0},
> {\Y: 0, \X: 1},
> {\Y: (\RXY + \RZYI*\Z - \RZYII*\Z**2 + 1)/(\RXY*\RYX + 1),
> \X: (-\RYX*\RZYI*\Z + \RYX*\RZYII*\Z**2 - \RYX + 1)/(\RXY*\RYX + 1)}]
>
> The System is just solved for the Variables X and Y and NOT for Z. What is
> the reason?
>
>
> I use the following python enviroment.
> ~$ ipython
> Python 2.7.12 |Anaconda 4.2.0 (64-bit)| (default, Jul 2 2016, 17:42:40)
>
> # packages in environment at /home/atille/.anaconda2:
> #
> sympy 1.0 py27_0
>
> Thank you in advance.
> Alex
>
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/f64e7220-7210-4571-a891-2c6fd6bb5860%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.