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

variables with unit °C prime 3.1

  • June 15, 2016
  • 6 replies
  • 1805 views

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

Best answer by LucMeekes

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 IVAnswer
23-Emerald IV
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

nchater1-VisitorAuthor
1-Visitor
June 15, 2016

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

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

24-Ruby IV
June 15, 2016

Better

Temp:=150

Temp:=(Temp+273.15)*K

Temp=150°C