cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

variables with unit °C prime 3.1

nchater
1-Newbie

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

1 ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:nchater)

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

Here is how it might work:

Success!
Luc

View solution in original post

6 REPLIES 6
LucMeekes
23-Emerald III
(To:nchater)

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

Here is how it might work:

Success!
Luc

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

MJG
18-Opal
18-Opal
(To:nchater)

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

ValeryOchkov
24-Ruby IV
(To:MJG)

Better

Temp:=150

Temp:=(Temp+273.15)*K

Temp=150°C

nchater
1-Newbie
(To:MJG)

Thank you so much for your help!!

nchater
1-Newbie
(To:MJG)

Thank you so much for your help!!

Top Tags