Energy / Temperature "Units don't match" error

Energy / Temperature "Units don't match" error - Cannot divide energy by °C or °F, but can divide by K or °Ra - Poruke

#1 Objavljeno: 29. 11. 2021. 23:29:41
Nalorin

Nalorin

0 svidjanja u 16 postova.

Grupa: User

Dividing energy by temperature results in three different outputs, depending on how the units are divided:
  1. "Units don't match" error
  2. Inconsistent/incorrect units displayed
  3. No problem or error


When using units as you normally would, the following results:



A workaround for this is to simply add a coefficient to the temperature units as shown below:



This workaround is NOT required when using absolute temperature units, nor when the units are stored separately in variables:



However, specifying output units causes problems. When specifying units with relative temperature, again the "Units don't match" error appears:



And when the output units are specified with an absolute temperature, the temperature units aren't properly reconciled, which produces odd behaviour, and a similarly poor outcome results from using the workaround above to specify the output units:



I hope this provides enough detail to reproduce the issue accurately.

Cheers.
#2 Objavljeno: 30. 11. 2021. 00:56:55
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

There is no bug, a common mistake for new users.
One should use Δ°C or Δ°F for that kind of calculations.
We all know it is confusing, but it is what it is.

Regards

2021-11-30_06-56.png
#3 Objavljeno: 30. 11. 2021. 04:30:18
Nalorin

Nalorin

0 svidjanja u 16 postova.

Grupa: User

I agree, that is confusing.

Thanks for the clarification and the workaround.
#4 Objavljeno: 30. 11. 2021. 09:37:10
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

All that temperature is BS=BK [Bull Shit = Book Keeping]
eit90 is in °C as well as meteo and more ...

eit90.PNG
#5 Objavljeno: 30. 11. 2021. 13:08:09
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

Wrote

All that temperature is BS=BK [Bull Shit = Book Keeping]
eit90 is in °C as well as meteo and more ...


Not related with topic.
  • Novi postovi
  • Nema novih postova