Skip to main content
1-Visitor
May 11, 2020
Solved

Problem with Mathcad Solver Function

  • May 11, 2020
  • 1 reply
  • 2770 views

Hi,

 

I have a case in below snapshot is an extract of pipeline end expansion Mathcad spreadsheet calculation for determining the cold anchor point location highlighted in yellow. However for certain combination of input data, the calculated cold end anchor point location does not give the correction solution using the solver function when there are more than one intersection points at the cold end of pipeline as shown in the graph beside. Please can you help with a solution where the solver function for calculation of the cold end anchor location will output only the intersection point closest to the pipeline end.

 

 

Mathcad Pipeline Expansion -Solver Function.JPG

Best answer by AlanStevens

You simply have a poor initial guess for zt.  Make it 2L instead of 0.9L and it works just fine (The same problem occurs further down your worksheet.)

 

Alan

 

1 reply

23-Emerald IV
May 11, 2020

Please provide the worksheet.

It's generally hard, if not impossible to debug or investigate with only a picture.

 

Success!
Luc

Aries181-VisitorAuthor
1-Visitor
May 11, 2020

Hi Luc,

 

Attached the mathcad sheet.

I have highlighted with green which need to solve.

 

Appreciate you input.

 

Cheers,

Aries

19-Tanzanite
May 11, 2020

You simply have a poor initial guess for zt.  Make it 2L instead of 0.9L and it works just fine (The same problem occurs further down your worksheet.)

 

Alan