Unit prefixes

Unit prefixes - giga, mega, kilo - Сообщения

#1 Опубликовано: 12.04.2018 08:45:29
m227

m227

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

Группа: User

Hi, i assign 460 GWh to a E variable (Giga Watt hours).
Then I want to see it in kWh (or MWh).
Trying to write E='MWh results as on picture (units are not recalculated by prefixes).
Is it normal? Do I have to add my own calculation among prefixes to obtain proper recalculation?2018-04-12 13_32_41-SMath Studio.png
#2 Опубликовано: 12.04.2018 09:46:54
Davide Carpi

Davide Carpi

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

Группа: Moderator

Wrote

Is it normal? Do I have to add my own calculation among prefixes to obtain proper recalculation?



Yes, units prefixes are built-in (a variable must be declared in units.xml to accept the proper multipliers... so f.e. you can't have automatically gigakelvin or megaseconds)

SI standard

2018-04-12 19_15_23-SMath Studio - [Page1_].png

commercial/practical user-defined

2018-04-12 19_12_35-SMath Studio - [Page1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Опубликовано: 12.04.2018 12:20:34
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Yes, units prefixes are built-in (a variable must be declared in units.xml to accept the proper multipliers...


Interesting but rather confusing.
What is MW h
In lot of maths MW h is implicit of MW*h
Rather not same MW/h

MWhr.PNG


#4 Опубликовано: 12.04.2018 12:58:12
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

In lot of maths MW hr is implicit of MW*hr
Rather not same MW/hr


I guess it is possible to make it MW/hr

MultiplicationStyles.PNG


#5 Опубликовано: 12.04.2018 14:09:00
Davide Carpi

Davide Carpi

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

Группа: Moderator

Wrote

In lot of maths MW h is implicit of MW*h
Rather not same MW/h



Two very different things [W*h]=[J] while [W/h]=[J/s^2]

However, yes, can be done even this (CTRL+K to add the backslash):

2018-04-12 19_08_42-SMath Studio - [Page1_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Опубликовано: 13.04.2018 05:18:22
m227

m227

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

Группа: User

Thank you Davide. I just realized that my unit is not a standard unit but multiplication of two. I found it out when tried to convert my results to Joules (J). So you're right, it is enough to use kW*h instead of kWh. I buy it.

Btw. unit like kW/hr and W/s (Watts per time) are rather nonsense as W is already given in a time span (J/s).
#7 Опубликовано: 24.04.2018 13:40:32
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Wrote


Btw. unit like kW/hr and W/s (Watts per time) are rather nonsense as W is already given in a time span (J/s).



Hi "M". Just not so fast. J/s^2 can be seen as the power acceleration, like the normal "acceleration", meter by second square. It could be practical in an electrical circuit for study the variation of p(t)=v(t)*i(t) (in lowercase, which means instant values). Usual electrical protections only study the "R by I square curve" and how the current increase in time (and remember that i=dq/dt), but one must to remember that Ohm's law isn't a "true" law: it's just a practical rule, which works only ... if it works, but isn't a natural principle, like Newton's laws.

Best regards.

Alvaro.

#8 Опубликовано: 04.05.2018 02:27:02
henry crun

henry crun

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

Группа: User

A while ago I requested Engineering Exponents/Notation.

https://en.smath.info/forum/yaf_postst374_Engineering-format-for-displaying-results.aspx

You would probably find that would meet your needs also.

Even of the exponents were coerced to 3s, it would probably help - I personally find it much easier when the exponents are in 3's, even if the prefixes aren't used
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений