Skip to main content
1-Visitor
June 15, 2016
Solved

variables with unit °C prime 3.1

Hello,

I need some help regarding the unit °C in prime 3.1. In fact, when I extract the variable " Tjmax_D367" from an excel table created in Prime3.1 and when I want to define its unit which is °C, It doesn't work. The error is: "This value must be a scalar or a matrix"

When I try it with the other variables extracted, it doesn't work too even if  The unit "V" and "K/W" work fine.

I will really appreciate your help,

Thanks in advance.

Best regards,

Nadia

LucMeekesAnswer
23-Emerald V
June 15, 2016

That is because, funny enough, degees C (and degrees F also) are functions, rather than units.

Here is how it might work:

Success!
Luc

6 replies

LucMeekes23-Emerald VAnswer
23-Emerald V
June 15, 2016

That is because, funny enough, degees C (and degrees F also) are functions, rather than units.

Here is how it might work:

Success!
Luc

Translate
nchater1-VisitorAuthor
1-Visitor
June 15, 2016

Thank you so much, It works perfectly for me. Many thanks!!

Translate
1-Visitor
June 15, 2016

Luc is correct.  You can also achieve what you want by typing a number before the °C, and then changing the number to your variable.  It would look like this:

note there is no multiplication between the variable and °C

Translate
24-Ruby IV
June 15, 2016

Better

Temp:=150

Temp:=(Temp+273.15)*K

Temp=150°C

Translate