Feature SS-4662
1 vote

Calculation with temperature unities

Created by hmsantanna on 5/25/2021 2:36 AM Last Updated by Davide on 5/25/2021 8:55 PM
%
 (hrs)
Logged: 0   (hrs)

 Description

Hello,

Try to compute some simple computations using temperatures.

They are not working.

Examplo:

Q = K * A * (T2-T1) / L

K=60.5 W/m*(°C)

A=285 mm^2

T2=125°C

T1=20°C

L=500 mm

    Davide (Tuesday, May 25, 2021 8:52 PM) #

The core of SMath Studio evaluates operands in base units; for temperatures, the base unit is Kelvin ('K). Since °C has a shift respect to K, the conversion lead to a 1/274.15 factor in your function. To deal with it SMath has “delta“ units. If you use a 'Δ°C on the denominator of the variable named K (in replacement of '°C) it should works as expected. Since the numerator involves a difference it doesn't need further fixes.