Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline DDB.CPI  
#1 Posted : 26 September 2019 17:39:21(UTC)
DDB.CPI

Rank: Newbie

Groups: Registered
Joined: 26/09/2019(UTC)
Posts: 4
United States
Location: Michigan

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!

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline DDB.CPI  
#2 Posted : 26 September 2019 18:13:03(UTC)
DDB.CPI

Rank: Newbie

Groups: Registered
Joined: 26/09/2019(UTC)
Posts: 4
United States
Location: Michigan

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,
Offline DDB.CPI  
#3 Posted : 26 September 2019 18:15:08(UTC)
DDB.CPI

Rank: Newbie

Groups: Registered
Joined: 26/09/2019(UTC)
Posts: 4
United States
Location: Michigan

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 (11kb) downloaded 13 time(s).
Offline omorr  
#4 Posted : 26 September 2019 18:49:40(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
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 (10kb) downloaded 10 time(s).

Using FindRoot() from Numerical Solvers plugin

GASHP-cor1.png
GASHP-cor1.sm (11kb) downloaded 16 time(s).

Regards,
Radovan

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
thanks 2 users thanked omorr for this useful post.
on 26/09/2019(UTC),  on 28/09/2019(UTC)
Offline DDB.CPI  
#5 Posted : 26 September 2019 23:08:53(UTC)
DDB.CPI

Rank: Newbie

Groups: Registered
Joined: 26/09/2019(UTC)
Posts: 4
United States
Location: Michigan

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 (8kb) downloaded 11 time(s).
Offline Jean Giraud  
#6 Posted : 28 September 2019 18:40:47(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: DDB.CPI Go to Quoted Post
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 (17kb) downloaded 16 time(s).
Project GASLP Cox Solved.sm (44kb) downloaded 16 time(s).
Users browsing this topic
Similar Topics
Code Mathcad to Smath (Questions)
by Lelar 20/12/2021 20:38:00(UTC)
Questions converting Mathcad to SMath Studio/Solver (Questions)
by GerardLardner 16/09/2021 02:48:49(UTC)
Symbolic resolution from mathcad to SMath-Studio (Questions)
by Valentino 31/08/2021 22:23:02(UTC)
Mathcad to SMath_function root and solve (Questions)
by Matteo_94 26/03/2021 12:59:33(UTC)
Mathcad to SMath statements (Questions)
by Britt1 15/05/2019 19:17:04(UTC)
Mathcad to Smath Question (Questions)
by uncblue 27/07/2016 00:06:01(UTC)
MathCAD to SMath batch conversion (Questions)
by reselty 03/05/2016 19:44:02(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.