Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Have any of you guys got a good solution for being able to distinguish psig and psia in a worksheet? I would like to be able to define the local atmosphere in the sheet and then work with either the gauge or absolute pressures in the sheet. Seems like this should be simple but an elegant solution is eluding me. Thanks!
Solved! Go to Solution.
If both psia and psig are effectively 'Pounds per square inch' then Mathcad cannot tell the difference between them.
That should not hold you from defining each as that unit, so:
psia:=psi
psig:=psi
and using them, but you'll have to keep track of which is which yourself, as Mathcad will set the unit of any computed results using variables with those units to Pa (The SI unit for pressure), or psi (if you've chosen US units).
Success!
Luc
If both psia and psig are effectively 'Pounds per square inch' then Mathcad cannot tell the difference between them.
That should not hold you from defining each as that unit, so:
psia:=psi
psig:=psi
and using them, but you'll have to keep track of which is which yourself, as Mathcad will set the unit of any computed results using variables with those units to Pa (The SI unit for pressure), or psi (if you've chosen US units).
Success!
Luc