Skip to main content
1-Visitor
September 16, 2021
Question

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

  • September 16, 2021
  • 1 reply
  • 1521 views

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

1 reply

16-Pearl
September 16, 2021

I think this does what you want:  

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

1-Visitor
September 16, 2021

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. 

23-Emerald IV
September 16, 2021

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