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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

(explicit, ALL) and (float,...) operator messing with calculation results

JW_4898983
1-Newbie

(explicit, ALL) and (float,...) operator messing with calculation results

Dear PTC Community! 

I am working on a big project for university and it is a requirement to insert the values of any variables into the formulas. 

I did that by using the symbolic operator aswell as "explicit, ALL". 
This seems to mess with the calculation results however. My guess is that the symbolic operator is treating the Units as unknowns and therefor not calculating properly. 

 

Look at the screenshot to see the problem!
Is there any other way to visualise the values of said variables?
Is this a known issue?

Correct:

prob1.jpeg

 

 

Incorrect:

prob2.jpeg

 

 

 

 

Correct:

prob3.jpeg

 

 

Incorrect:

prob4.jpeg

 

 

 

Best Regards

3 REPLIES 3
DJF
16-Pearl
16-Pearl
(To:JW_4898983)

I think this does what you want:  

2021-09-16_12-42-29.png

JW_4898983
1-Newbie
(To:DJF)

I just found the problem! 
the symbolic operator is using whichever variables are defined. And I had m definded as Module so it used that instead of meters. 

LucMeekes
23-Emerald III
(To:JW_4898983)

There is a setting in Prime, under "Calculation"=> "Calculation Options" => "Units/Constants in Symbolics", that may be of help with your problem.

It may allow you to have the Module m differ from the unit m.

 

Success!
Luc

Top Tags