Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I am getting error units are not compatible for the said equations and not unable to figure out the way to solve it. Any help is appreciated
Solved! Go to Solution.
On contrary to Prime, MC15 uses static unit checking (SUC) and thats the reason it works OK in MC15.
But in Prime you have to assign a correct unit even if the value is zero:
Look at each of the two expressions you're trying to add, they are different units - energy and length don't mix. The simple fix is to look at the break-down of what you're adding and adjust one of your inputs (or maybe more?) so you end-up with the same types.
Cheers
The same equations work in Mathcad 15
Hmmm - could please you share the v15 file? That would be interesting to see & compare if it works.
Hello.
The error message you get is the right one. It is because you have the terms with the different units. You can't add up meters with Jouls.
See the attached, modified mathcad file.
Probably, mathcad 15 sees away from the units and adds up the numerical values only.
Anyway, you need to look up at your equation and figure out the missing/or excessing units. I do not know what you are calculating in this file, but assume that the constant "Cs" must have the same units as "Cc"
On contrary to Prime, MC15 uses static unit checking (SUC) and thats the reason it works OK in MC15.
But in Prime you have to assign a correct unit even if the value is zero:
Hello.
The error message you get is the right one. It is because you have the terms with the different units. You can't add up meters with Jouls.
See the attached, modified mathcad file.
Probably, mathcad 15 sees away from the units and adds up the numerical values only.
Anyway, you need to look up at your equation and figure out the missing/or excessing units. I do not know what you are calculating in this file, but assume that the constant "Cs" must have the same units as "Cc"