Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline m227  
#1 Posted : 12 April 2018 14:45:29(UTC)
m227


Rank: Member

Groups: Registered
Joined: 09/03/2010(UTC)
Posts: 29
Location: Poland

Was thanked: 4 time(s) in 2 post(s)
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

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 12 April 2018 15:46:54(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: m227 Go to Quoted Post
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

Edited by user 12 April 2018 20:15:43(UTC)  | Reason: fixed hour unit

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Jean Giraud  
#3 Posted : 12 April 2018 18:20:34(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Davide Carpi Go to Quoted Post
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


Offline Jean Giraud  
#4 Posted : 12 April 2018 18:58:12(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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


Offline Davide Carpi  
#5 Posted : 12 April 2018 20:09:00(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
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 consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline m227  
#6 Posted : 13 April 2018 11:18:22(UTC)
m227


Rank: Member

Groups: Registered
Joined: 09/03/2010(UTC)
Posts: 29
Location: Poland

Was thanked: 4 time(s) in 2 post(s)
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).

Edited by moderator 13 April 2018 13:31:12(UTC)  | Reason: marked as solved

Offline Razonar  
#7 Posted : 24 April 2018 19:40:32(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: m227 Go to Quoted Post

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.

Offline crun  
#8 Posted : 04 May 2018 08:27:02(UTC)
crun


Rank: Advanced Member

Groups: Registered
Joined: 24/02/2010(UTC)
Posts: 34
Location: a

A while ago I requested Engineering Exponents/Notation.

https://en.smath.info/fo...-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
Users browsing this topic
Guest
Similar Topics
Add more Unit Prefixes (Feature Requests)
by Jens7 09/01/2017 22:20:57(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.