Can't solve linear equation involving temperatures with Maxima plug-in

Can't solve linear equation involving temperatures with Maxima plug-in - Messages

#1 Posted: 1/30/2022 10:40:45 AM
EngMath

EngMath

0 likes in 51 posts.

Group: User

Hi,

I'm doing some heat transfer calculations and I want to solve a simple equation using Maxima plug-in but the results don't appear and the progress bar is just stuck. Here's the equation that I need to solve:




Do you know what's wrong here ? Is it because of temperature units ?

I also attached the SMath file:

Heat sink.sm (13 KiB) downloaded 23 time(s).
#2 Posted: 1/30/2022 11:07:18 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi. Tthe problem seems to be related to the variable name, more specifically, to the apostrophe in Ts'

img.png

Best regards
Alvaro.
#3 Posted: 1/30/2022 11:40:21 AM
EngMath

EngMath

0 likes in 51 posts.

Group: User

Wrote

Hi. Tthe problem seems to be related to the variable name, more specifically, to the apostrophe in Ts'

img.png

Best regards
Alvaro.



Thanks for the reply. That's what I also suspected but it doesn't solve the equation even if I change it to T_s2 or T_2 for instance.



I attached a new file where T_s' is replaced with T_s2 and I still don't get any result from this equation:

Heat sink.sm (13 KiB) downloaded 31 time(s).
#4 Posted: 1/30/2022 12:32:04 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote


I attached a new file where T_s' is replaced with T_s2 and I still don't get any result from this equation:

Heat sink.sm (13 KiB) downloaded 31 time(s).



However the file you attached works fine in my SMath. After Maxima gets stuck in a calculation, you have to close SMath and start the process again to get Maxima working.

Heat sink.pdf (42 KiB) downloaded 35 time(s).

As margin comment, remember that for temperature differences it's better to use Delta-K or Delta-C units.

Best regards.
Alvaro.
1 users liked this post
EngMath 1/30/2022 1:49:00 PM
#5 Posted: 1/30/2022 1:49:42 PM
EngMath

EngMath

0 likes in 51 posts.

Group: User

Thanks, the calculation was indeed successful when I reopened this SMath file after saving it. I wonder what causes the problem, apparently it's some small bug.
#6 Posted: 1/30/2022 6:09:40 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

After Maxima gets stuck in a calculation, you have to close SMath and start the process again to get Maxima working.

As margin comment, remember that for temperature differences it's better to use Delta-K or Delta-C units.

Best regards.
Alvaro.



I filed the problem in the BTS.

You also can restart Maxima using the command MaximaControl("Restart" )=.. in your worksheet or from the menu Insert> Maxima> Settings> Save and Restart

BTW, there is no Delta-K unit but for all non-absolute temperature units, indeed quantities indicating state have units like °C and changes or differences have units like Delta°C. There is a section on this in the Handbuch. Next to it is a section on angular velocities, a likewise common pitfall in SMath.

BTW, was there a special reason to use LinSolve instead of Solve?
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
sergio 1/31/2022 6:27:00 AM
#7 Posted: 1/30/2022 8:08:13 PM
EngMath

EngMath

0 likes in 51 posts.

Group: User

Wrote

I filed the problem in the BTS.



Thanks for reporting this bug.

Wrote

BTW, was there a special reason to use LinSolve instead of Solve?



No, I use it out of habit. And I suppose that it could be faster for linear equations than Solve (I can be wrong though).
  • New Posts New Posts
  • No New Posts No New Posts