Skip to main content
1-Visitor
November 3, 2025
Solved

Units are not properly converted after symbolic solver

  • November 3, 2025
  • 1 reply
  • 374 views

Hello Community, 

 

Please find the mathcad file in the attached it was developed in PTC9

1.In the following after the symbolic evaluation the units are not simplifying, for instance Ohms*Farads

should be seconds, and Farad * Voltage should be Columbs, but 

PH_14387723_0-1762190655083.png

2.After Q2 as assigned as the result after the integration, when I try to call on Q2 it cannot be found, can someone please explain?

PH_14387723_1-1762191042212.png

 

Thanks

 

Best answer by Werner_E

Prime often gets the labels ("Unit", "Variable", "-") wrong when using the symbolics.

You should turn on this option and let the worksheet recalc

Werner_E_0-1762191673474.png

Primes symbolics still does not know anything about units (its treats them as unknowns and so can't simplify Ohm*Farad to seconds) but at least it now gets the labels correct (you can see that the units in the symbolic results are now bold blue (which means they are correctly labeled as "Unit") ans so xou can evaluate the expressions numerically without errors.

 

But I wonder why you would use the symbolics at all and why you are first defining the derivative (I1) just to integrate it a moment later?

Werner_E_2-1762192248422.png

Prime 9 sheet attached

 

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
November 3, 2025

Prime often gets the labels ("Unit", "Variable", "-") wrong when using the symbolics.

You should turn on this option and let the worksheet recalc

Werner_E_0-1762191673474.png

Primes symbolics still does not know anything about units (its treats them as unknowns and so can't simplify Ohm*Farad to seconds) but at least it now gets the labels correct (you can see that the units in the symbolic results are now bold blue (which means they are correctly labeled as "Unit") ans so xou can evaluate the expressions numerically without errors.

 

But I wonder why you would use the symbolics at all and why you are first defining the derivative (I1) just to integrate it a moment later?

Werner_E_2-1762192248422.png

Prime 9 sheet attached

 

1-Visitor
November 3, 2025

Thanks the first solution works,  I will mark it as the solution!

 

The reason to using symbolics is to generate a generic transfer function!

 

25-Diamond I
November 3, 2025

If you are looking for a generic function I would suggest you use the symbolic calculations before you define any numeric values.

Werner_E_0-1762197386289.png

You may also turn the expressions into functions of the input values which makes it easier to evaluate them later and maybe compare the results of different input values

Werner_E_1-1762197726595.png