MATHCAD TO SMATH

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

#1 已发布: 2019/9/26 11:39:21
DDB.CPI

DDB.CPI

0个赞,共4个帖子。

组: 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 已发布: 2019/9/26 12:13:03
DDB.CPI

DDB.CPI

0个赞,共4个帖子。

组: 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 已发布: 2019/9/26 12:15:08
DDB.CPI

DDB.CPI

0个赞,共4个帖子。

组: 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.57 KiB)已下载 1218 次。
#4 已发布: 2019/9/26 12:49:40
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: 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.94 KiB)已下载 1175 次。

Using FindRoot() from Numerical Solvers plugin

GASHP-cor1.png
GASHP-cor1.sm (10.16 KiB)已下载 1193 次。

Regards,
Radovan

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
2位用户喜欢此帖子
frapuano 2019/9/26 13:33:00, NDTM Amarasekera 2019/9/28 13:10:00
#5 已发布: 2019/9/26 17:08:53
DDB.CPI

DDB.CPI

0个赞,共4个帖子。

组: 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.35 KiB)已下载 1227 次。
#6 已发布: 2019/9/28 12:40:47
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: 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.22 KiB)已下载 1189 次。
Project GASLP Cox Solved.sm (43.04 KiB)已下载 1221 次。
  • 有新帖
  • 无新帖