+ Reply to Thread
Results 1 to 14 of 14

Finding the number of shell passes

  1. #1
    Registered User
    Join Date
    05-28-2019
    Location
    Edinburgh
    MS-Off Ver
    2013
    Posts
    92

    Finding the number of shell passes

    Hi guys, i need a code that calculates the number of shell passes in a heat exchanger. This can be done if given the inlet and outlet temps of the hot and cold streams. Equations of the lines can then be formed. To find the number of shell passes follow the outlet temp of the hot stream along the x axis until you intersect the cold stream line equation then follow this along the y axis until you hit the hot stream equation again. This process then repeats until the line across the x axis no longer intersects the cold stream line. I want the code to tell me how many imaginary lines along the x axis are needed. I have attached a picture to make this clearer.
    Attached Images Attached Images

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Finding the number of shell passes

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    05-28-2019
    Location
    Edinburgh
    MS-Off Ver
    2013
    Posts
    92

    Re: Finding the number of shell passes

    Hi, i dont know how to make the code. This picture I attached explains what I need. I want to be able to state the inlet and outlet temps of the hot and cold streams and the code to tell me the number of passes needed.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Finding the number of shell passes

    You just need to post a sheet with your data as described in my previous post. How can help be provided without eve seeing the data. Our members are all great at Excel, as to heat exchangers...

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,782

    Re: Finding the number of shell passes

    Just to clarify - there must be data on which you have based your graph. If any member is going to be able to help you solve this, then they will need that dataset. YOu will also need to tell us exactly what your expected outcomes would be for the sample supplied and give some explanation of what the equations on the graph mean (they are actually too small to read).
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Registered User
    Join Date
    05-28-2019
    Location
    Edinburgh
    MS-Off Ver
    2013
    Posts
    92

    Re: Finding the number of shell passes

    Hi ive attached some data and an explanation to the steps involved
    Attached Files Attached Files

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,782

    Re: Finding the number of shell passes

    Thanks. What equation would you use to work this out manually?

  8. #8
    Registered User
    Join Date
    05-28-2019
    Location
    Edinburgh
    MS-Off Ver
    2013
    Posts
    92

    Re: Finding the number of shell passes

    Hi, I dont think there is an equation, i normally just draw those graphs and do that by hand. I was just curious if someone could develop a code that would do it automatically.

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,782

    Re: Finding the number of shell passes

    Maybe one of our maths-savvy experts will be able to help. It's more a maths/algebra question than an Excel one, really, but there are people like MrShorty who understand these things better than I. Just hang on in there - bear in mind it's a Sunday, so you may get no luck today. If that happens, just bump the thread tomorrow.

  10. #10
    Registered User
    Join Date
    05-28-2019
    Location
    Edinburgh
    MS-Off Ver
    2013
    Posts
    92

    Re: Finding the number of shell passes

    Thank you, will do

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,782

    Re: Finding the number of shell passes

    I've put out a call for help - let's see what happens.

  12. #12
    Registered User
    Join Date
    05-28-2019
    Location
    Edinburgh
    MS-Off Ver
    2013
    Posts
    92

    Re: Finding the number of shell passes

    Bump Thread

  13. #13
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: Finding the number of shell passes

    It seems like there ought to be a closed form, algebraic solution to something like this, but I was too lazy to figure it out. Instead, I opted to simply implement the procedure you describe.

    1) I need the slope and intercept for each line, so I enter these in the spreadsheet. In R8=-150, R9=450, S8=-160, S9=370. If I wanted to bypass creating the chart, I would use the LINEST() function or the SLOPE() and INTERCEPT() functions to get these.
    2) In R11, I enter =C4 to bring the H(outlet) temperature into this table.
    3) In S11, I calculate the "x" value from the C curve that would correspond to this H. =(R11-$S$9)/$S$8
    4) In R12, I calculate H(x) at this new x value =$R$9+$R$8*S11.
    5) Copy S11 into S12, then Copy R12:S12 down as far as I think I will ever need.
    6) Now, it is a simple matter to calculate how many values in the H column are less than the C(inlet) temperature and add one to it. In some convenient cell, enter a COUNTIFS() function =COUNTIFS(R11:R21,"<"&$F$3)

    Will an algorithm like that work for you?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  14. #14
    Registered User
    Join Date
    05-28-2019
    Location
    Edinburgh
    MS-Off Ver
    2013
    Posts
    92

    Re: Finding the number of shell passes

    Thank you, That works.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Finding last entry of data based on inquiry number and quotation number
    By arbelkasim in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-06-2014, 09:27 AM
  2. Replies: 3
    Last Post: 06-04-2014, 07:35 AM
  3. Using Excel To Track Passes
    By spinster in forum Excel General
    Replies: 0
    Last Post: 08-10-2010, 01:36 AM
  4. Replies: 10
    Last Post: 12-17-2009, 02:00 AM
  5. Counting Number Of passes & fails by date + product
    By ajxxx in forum Excel General
    Replies: 2
    Last Post: 01-06-2009, 07:30 AM
  6. [SOLVED] maximum number of letters which can be entered in excell shell
    By Helena in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-13-2006, 06:20 PM
  7. how can I set an alarm for when a date passes?
    By joey13fsu in forum Excel General
    Replies: 2
    Last Post: 04-05-2005, 06:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1