error in a system of equations

error in a system of equations - impossible to get or set an item because it does not exist - Messaggi

#1 Pubblicato: 05/11/2019 14:02:37
Ale16595

Ale16595

0 apprezzamenti in 35 post.

Gruppo: User

Hi to everyone
I am having difficulty solving a linear system like in the picture.
the error says:"impossible to get or set an item because it does not exist"
does anyone know where the error can be and how to solve this problem?
Thanks in advance
ferrvrveve.png
#2 Pubblicato: 05/11/2019 15:08:12
sergio

sergio

127 apprezzamenti in 342 post.

Gruppo: User

"roots" does not work with the units. You must adimensionare equations, or you can try the other features present in the plugin (eg "FindRoot" present "Nonlinear solvers" plugin)

sergio
#3 Pubblicato: 05/11/2019 15:52:23
Ale16595

Ale16595

0 apprezzamenti in 35 post.

Gruppo: User

I tried another function but it still gives me an error...
oioijoijoijoi.png
#4 Pubblicato: 05/11/2019 23:57:28
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

I tried another function but it still gives me an error...


It's a huge system, and generally does not accept all initials same.
I would zap units first. This kind of solving should have it be
solved from P & P [Pain & Prestige] as it reflects real project
that does come out of the blue. Even Mathcad Given/Find may fail
or pedal through constrain.
Attach the work sheet ... some source reference as well.

#5 Pubblicato: 06/11/2019 02:25:20
Ale16595

Ale16595

0 apprezzamenti in 35 post.

Gruppo: User

here is the spreadsheet
calcoli.sm (46,18 KiB) scaricato 1172 volta(e).
it is a system of equations derived from the condition of dynamic equilibrium in the stationary curve motion of a bicycle
#6 Pubblicato: 06/11/2019 04:16:32
Martin Kraska

Martin Kraska

1.361 apprezzamenti in 2.275 post.

Gruppo: Moderator

Equations 3 and 4 probably demand different values for N.r+N.f So there is no solution.

If the system has a solution, the function Solve() from Maxima plugin might find it.

2019-11-06 08_14_22-SMath Studio - [calcoli.sm_].png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 utenti hanno apprezzato questo post
sergio 06/11/2019 06:47:00
#7 Pubblicato: 06/11/2019 15:20:34
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

here is the spreadsheet


1. equalities [1,2,3] are consistant 'N'
2. equalities [4,5,6] are inconsistant 'mixed units'

calcoli.sm (52,58 KiB) scaricato 1123 volta(e).

You must make the system consitant before attempting solve.
#8 Pubblicato: 06/11/2019 15:35:50
Ale16595

Ale16595

0 apprezzamenti in 35 post.

Gruppo: User

I tried to use the solve function but it still gives me an error saying that S is not defined
hfhfhfhfhffhfh.png
#9 Pubblicato: 06/11/2019 15:47:31
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

I tried to use the solve function but it still gives me an error saying that S is not defined


Did you read my reply just before your visit ?
#10 Pubblicato: 06/11/2019 16:20:21
Ale16595

Ale16595

0 apprezzamenti in 35 post.

Gruppo: User

Wrote

Wrote

I tried to use the solve function but it still gives me an error saying that S is not defined


Did you read my reply just before your visit ?



sorry, when I wrote, I didn't notice your message
#11 Pubblicato: 10/11/2019 23:11:18
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Hi. Try this setup, using al_ library. I don't know if using better guess values can get better results (eqn 3 and 4 don't get good results)

calcoli.sm (50,31 KiB) scaricato 1170 volta(e).

Best regards.
Alvaro.
#12 Pubblicato: 11/11/2019 07:37:20
Ale16595

Ale16595

0 apprezzamenti in 35 post.

Gruppo: User

Wrote

Hi. Try this setup, using al_ library. I don't know if using better guess values can get better results (eqn 3 and 4 don't get good results)

calcoli.sm (50,31 KiB) scaricato 1170 volta(e).

Best regards.
Alvaro.



Hi, thanks for the reply, but I think I found the error. The system I wrote has two linearly dependent equations, and for this reason it cannot find a solution.
I will have to modify the whole problem.
#13 Pubblicato: 11/11/2019 14:55:47
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Hi. Try this setup, using al_ library. I don't know if using better guess values can get better results (eqn 3 and 4 don't get good results)


Hello Alvaro,
The attached CSTR [SS 6179] example is offered differently,
it is initialized from random guesses: success.
Cheers ... Jean

Solve al_nleqsolve CSTR.sm (38,81 KiB) scaricato 1153 volta(e).

1 utenti hanno apprezzato questo post
Alvaro 12/11/2019 13:29:00
#14 Pubblicato: 12/11/2019 13:29:59
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Wrote

Wrote

Hi. Try this setup, using al_ library. I don't know if using better guess values can get better results (eqn 3 and 4 don't get good results)


Hello Alvaro,
The attached CSTR [SS 6179] example is offered differently,
it is initialized from random guesses: success.
Cheers ... Jean

Solve al_nleqsolve CSTR.sm (38,81 KiB) scaricato 1153 volta(e).



Hi Jean. Thanks, very interesting.
Best regards.
Alvaro.
  • Nuovi post
  • Nessun nuovo post