wrong handling of units

wrong handling of units - Measure Units - Сообщения

#1 Опубликовано: 02.05.2018 11:03:27
jaguar3

jaguar3

0 сообщений из 4 понравились пользователям.

Группа: User

I have a problem. Why does Gy or J appear near tonne?


NH.3_ex_c_r:NH.3_ex_c*M.ex_c=1227.6454 Gy tonne


NH.3_ex_c_r:NH.3_ex_c*M.ex_c=1.2276*10^6 J tonne
#2 Опубликовано: 02.05.2018 12:37:53
Arie

Arie

93 сообщений из 285 понравились пользователям.

Группа: User

Hi Adis,

We'll need more information to help you. could you please post the .sm file you're referencing?

Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#3 Опубликовано: 02.05.2018 16:23:48
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

NH.3_ex_c_r:NH.3_ex_c*M.ex_c=1227.6454 Gy tonne



"tonne" reminds me a Mathcad bug in the German version.
It also appeared in the Mathsoft "Fourier model" English US version.
#4 Опубликовано: 03.05.2018 04:47:19
jaguar3

jaguar3

0 сообщений из 4 понравились пользователям.

Группа: User

Wrote

Hi Adis,

We'll need more information to help you. could you please post the .sm file you're referencing?



Proiect master MB1.sm (38 КиБ) скачан 38 раз(а).
#5 Опубликовано: 03.05.2018 07:11:31
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: Moderator

Wrote

Proiect master MB1.sm (38 КиБ) скачан 38 раз(а).



In your file I can't find neither NH.3_ex_c nor M.ex_c
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Опубликовано: 03.05.2018 07:34:53
jaguar3

jaguar3

0 сообщений из 4 понравились пользователям.

Группа: User

Wrote

Wrote

Proiect master MB1.sm (38 КиБ) скачан 38 раз(а).



In your file I can't find neither NH.3_ex_c nor M.ex_c



Sorry wrong files.

Problem.sm (105 КиБ) скачан 34 раз(а).

Real result is 1.2276 tone. 1 tone = 1000 kg
#7 Опубликовано: 03.05.2018 11:03:34
Arie

Arie

93 сообщений из 285 понравились пользователям.

Группа: User

I think i fixed the issue. See attached.

I have disabled some of your manual unit definition and performed some cleanup.

Generally you do not want to overwrite units already defined within Smath and you were re-defining already defined units.

The issue, I believe came with your definition of H.ii_c. You applied units to the result and toggled ignore units. This made it seem like the result evaluated to kJ/kg when in fact it was unitless.

This propagated through to the result in question.

Problem_alyles.sm (120 КиБ) скачан 42 раз(а).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#8 Опубликовано: 03.05.2018 11:33:53
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I think i fixed the issue. See attached.



Above my head ! why do we still have tonne ?
For God sake what's that in Smath ?
What was it in Mathcad ?

What is the difference between "Titration and MassBalance" ?

In case of interest, PseudoInverse works fine in Smath.

Jean

Matrix PseudoInverse.sm (111 КиБ) скачан 33 раз(а).
#9 Опубликовано: 03.05.2018 11:40:41
Arie

Arie

93 сообщений из 285 понравились пользователям.

Группа: User

Wrote


For God sake what's that in Smath ?



1 tonne is defined as 1000 kg. Same thing as a Mg.

Untitled.png
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#10 Опубликовано: 03.05.2018 12:12:18
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

1 tonne is defined as 1000 kg. Same thing as a Mg.



Thnks alyless,

ton(long), ton(short), tonne(metric)
#11 Опубликовано: 03.05.2018 13:05:51
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: Moderator

Wrote

ton(short)




short is t

2018-05-03 18_06_07-SMath Studio - [Page1_].png

2018-05-03 18_06_20-know-your-traffic-signs.pdf.png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#12 Опубликовано: 04.05.2018 01:10:03
jaguar3

jaguar3

0 сообщений из 4 понравились пользователям.

Группа: User

Wrote

I think i fixed the issue. See attached.

I have disabled some of your manual unit definition and performed some cleanup.

Generally you do not want to overwrite units already defined within Smath and you were re-defining already defined units.

The issue, I believe came with your definition of H.ii_c. You applied units to the result and toggled ignore units. This made it seem like the result evaluated to kJ/kg when in fact it was unitless.

This propagated through to the result in question.

Problem_alyles.sm (120 КиБ) скачан 42 раз(а).



Thank you very much! The original file was worked in Mathcad. After conversion to SMath Studio, some errors occurred. In the future, I will only use the defined units.
#13 Опубликовано: 04.05.2018 01:26:54
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Thank you very much! The original file was worked in Mathcad.



Oh !, you are the man of science in there.
I know about titration from past professional [Process Control & Instrumentation]
Not so easy ... so and so ... generally Ph control.
Did you visit PseudoMatrix ? Any use for your project ?

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений