Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Phyton Script

Status
Not open for further replies.

C26M13

Chemical
Oct 2, 2015
73
Hello everyone,

A good day to you all.

I was thinking if i could be possibly get some guidance from this forum regarding Phyton Script. I hope some who is familiar with this program language can throw some knowledge in to this post.

I am trying to build my script to generate a regression formula for my calculation that I am doing. basically the relationship between the pressure and temperature.

I have done with excel formula, but this seems to be too long formula for many variables that I would like to investigate. I believe with Phyton I can just generate one formula for the variables that I have specified in my calculation (Pressure, Temperature and composition)

I have attached the spreadsheet with the data that I will do the investigation. I want to find the temperature downstream of the valve (T2) with Phyton to get the regression formula?

Can you give some clues to get the formula?

Thank you
 
 https://files.engineering.com/getfile.aspx?folder=f6760866-f5b1-4e8f-9bba-8fd71610d223&file=Data.xlsx
Replies continue below

Recommended for you

Thank you for the correction IRstuff.

I meant "PYTHON"
 
OK, so as with even Excel or by hand, you need to start with some notional equation with some number of unknowns that characterize the equation and then do a least squares fit.

TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! faq731-376 forum1529 Entire Forum list
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor