Skip to main content
1-Visitor
January 26, 2012
Solved

Maximize function - Multiple output issue.

  • January 26, 2012
  • 2 replies
  • 5779 views

I am working through a simplified Pipe Stress calculation and having an issue with the Maximize function. I have tried to use the Maximize function to calculate the allowable free span of the pipeline, without success.

I am looking at the stresses in two pipelines and therefore require two results from the function. I have set up a Given/Find solve block without any issues. Can anybody explain if that a limitation of the Minimize function?

Cheers

Mike

Best answer by AlanStevens

How about the attached? Surely, sigma.s should be vectorised?

Alan

2 replies

19-Tanzanite
January 26, 2012

Mike,

From the Help file: "If you are solving for n variables, the solve block must have n equations"

Alan

1-Visitor
January 26, 2012

I appreciate that Alan, but still this issue is driving me mad.

I have two values for sigma.c and sigma.t and I'm trying to find the maximum length that x can be (x is used for calculating the free span), so the combined longitudinal stressed do not exceed 95% yield.

M11 worksheet included.

Mike

19-Tanzanite
January 27, 2012

How about the attached? Surely, sigma.s should be vectorised?

Alan

12-Amethyst
January 26, 2012

Hi Mike,

Your much too bright, try dimming it down to my level.

tmp.gif

1-Visitor
January 26, 2012

Hahahahahah, stop being modest Wayne.

I am actually solving for x, I'm looking for the maximum allowable span, which I have found using a Given/Find solve block, but I can't get the Maximize solve block to work.

Mike

12-Amethyst
January 27, 2012

tmp.gifMIke,

(Thanks Alan, for how to use the solve block

My original comment was in error because I did not take the sq root to get xmax, but the point is that is easy to solve for directly. Why use a solve block?

Anyway, I get these lengths (Maybe I goofed)?