MATHCAD TO SMATH

MATHCAD TO SMATH - TROUBLE REWRITING FORMULAS IN SMATH - NOT A MATH WIZZ :( - Messages

#1 Posted: 9/26/2019 11:39:21 AM
DDB.CPI

DDB.CPI

0 likes in 4 posts.

Group: User

Good morning Experts,

I have landed myself into a new IT/troubleshooting position at a new company and one of my first tasks is to resolve a many year long issue.

We have a very old laptop that contains two formulas for calculating Low pressure and High Pressure drops in Gas piping for construction work.
we have been using a very old version of mathcad and while surfing the web I came across Smath and i believe i should be able to perform the same executions with this software.

I tried to open the existing files into Smath but the equation no longer solves.

I believe my issue is finding the corresponding function from Mathcad to Smath.

The Mathcad function I am looking to for in Smath is "Find"

Find = Returns the values of var1, var2, ...., that solve a system of equations in a solve block. returns a scalar if there is only one argument, otherwise returns a vector of answers.

i am willing to send the files and share screenshots.

Hope to hear from the web soon!
#2 Posted: 9/26/2019 12:13:03 PM
DDB.CPI

DDB.CPI

0 likes in 4 posts.

Group: User

HIGHPRESSURE.JPG

Jean,

attached is a screenshot of the High pressure formula. i do not believe this is proprietary to mathcad. it is just a formula based on building codes for construction.


Best Regards,
#3 Posted: 9/26/2019 12:15:08 PM
DDB.CPI

DDB.CPI

0 likes in 4 posts.

Group: User

Jean,


we are trying to solve for OP and i have another one where we are trying to solve for PD but if i can manage to figure out how to fix one of them i think i should be able to get the Low pressure to work as well

GASHP.sm (10 KiB) downloaded 33 time(s).
#4 Posted: 9/26/2019 12:49:40 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello,

Your problem seems to be quite simple and mentioned here on the Forum many times (maybe to many...).

Using solve()

GASHP-cor.png
GASHP-cor.sm (9 KiB) downloaded 25 time(s).

Using FindRoot() from Numerical Solvers plugin

GASHP-cor1.png
GASHP-cor1.sm (10 KiB) downloaded 28 time(s).

Regards,
Radovan

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
2 users liked this post
frapuano 9/26/2019 1:33:00 PM, NDTM Amarasekera 9/28/2019 1:10:00 PM
#5 Posted: 9/26/2019 5:08:53 PM
DDB.CPI

DDB.CPI

0 likes in 4 posts.

Group: User

Experts,


Thank you so much for the help. I have attached the other formula on this thread.

i still do not follow how to write a solve equation correctly.
GASLP.sm (7 KiB) downloaded 28 time(s).
#6 Posted: 9/28/2019 12:40:47 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Thank you so much for the help. I have attached the other formula on this thread.


Both Cox have an explicit solution.
GASLP tabulated for convenience and spline data table.

Jean

Project GASHP Cox Solved.sm (16 KiB) downloaded 34 time(s).
Project GASLP Cox Solved.sm (43 KiB) downloaded 37 time(s).
  • New Posts New Posts
  • No New Posts No New Posts