
Re: Using Solve Block Solutions
MikeArmstrong Jun 15, 2011 9:44 AM (in response to MarkMcMullan)Your solve block is set up incorrectly.
You say you have calculated Reynolds number  then it must be above the Solve block and all other variables used in the Solve block.
Mike

Re: Using Solve Block Solutions
MikeArmstrong Jun 15, 2011 9:54 AM (in response to MikeArmstrong)Right, I'm assuming you want to calculate the friction factor for each Reynolds Numbers (Generating and Pumping), therefore I have turned the solve block into a function so each Reynolds number value can be called.
Mike

Re: Using Solve Block Solutions
MarkMcMullan Jun 15, 2011 12:30 PM (in response to MikeArmstrong)Thanks for your reply Mike. Your solution seems to be working well, but is it possible to calculate separate friction factors for both pumping and generating? I know these will be virtually identical, but it's for a Master's project, so not a real world scenario. Would I need 2 solve blocks to achieve this?
Thanks
Mark

Re: Using Solve Block Solutions
MarkMcMullan Jun 15, 2011 12:33 PM (in response to MarkMcMullan)Just played with it and got it to work with one solve block, many thanks!

Re: Using Solve Block Solutions
MikeArmstrong Jun 16, 2011 10:41 AM (in response to MarkMcMullan)Just played with it and got it to work with one solve block, many thanks!
No problem Mark, glad your got the answer.
Mike

Re: Using Solve Block Solutions
MarkMcMullan Jun 16, 2011 1:50 PM (in response to MikeArmstrong)Mike, thanks for your help previously. I have now edited some of the preceding formulae, turning them into matrices to enable a sort of parametric approach. However this has stopped my solve block working. How do I enable my solve block to return an answer in matrix form? I had a look at previous forum posts but was unable to decode the answer!
Mark

Design Parameters.mcdx.zip 11.7 K

Re: Using Solve Block Solutions
AlanStevens Jun 17, 2011 12:56 AM (in response to MarkMcMullan)Mark McMullan wrote:
How do I enable my solve block to return an answer in matrix form?
Mark
Use an index (a range variable) to get them automatically calculated one at a time. See attached.
Alan

Design Parameters_b.mcdx.zip 11.9 K

Re: Using Solve Block Solutions
MarkMcMullan Jun 17, 2011 2:06 AM (in response to AlanStevens)Hi Alan, thanks for that. I have tried to apply that logic, and yet again have come across another stumbling block that I can't figure out! The turbine power (Pt) doesn't seem to vary correctly. I would like to alter the reservoir volume (Vru) and the elevation difference (delta_h) and get a 5x5 matrix of the other calculations (such as Pt). That would inform me of the optimal reservoir and head combination. Do you know what I've done wrong?
File attached.
Thanks
Mark

Design Parameters.mcdx.zip 13.1 K

Re: Using Solve Block Solutions
AlanStevens Jun 17, 2011 2:37 AM (in response to MarkMcMullan)You need another index!
Alan

Design Parameters_c.mcdx.zip 16.5 K

Re: Using Solve Block Solutions
MarkMcMullan Jun 17, 2011 6:58 AM (in response to AlanStevens)Hero! Nice one, getting the hang of this thing now...Ain't easy to learn!
Thanks
Mark

Re: Using Solve Block Solutions
MarkMcMullan Jun 17, 2011 9:30 AM (in response to AlanStevens)Ok, I'm officially cracking up. For some reason it is not able to calculate ff(re_g) anymore. Sorry for all the trouble, do you know of a good tutorial that would get all this straight in my head rather than trial & error, and the help of the people on this forum?!
Mark

Design Parameters.mcdx.zip 11.6 K

Re: Using Solve Block Solutions
AlanStevens Jun 18, 2011 2:56 AM (in response to MarkMcMullan)Mark McMullan wrote:
Ok, I'm officially cracking up. For some reason it is not able to calculate ff(re_g) anymore. Sorry for all the trouble, do you know of a good tutorial that would get all this straight in my head rather than trial & error, and the help of the people on this forum?!
Mark
Make ff a function of Dp also  see attached.
Keep going  you'll get there eventually!
Alan

Design Parameters_d.mcdx.zip 16.4 K

Re: Using Solve Block Solutions
JeanvanWyk Jul 26, 2011 7:34 PM (in response to AlanStevens)Im using Mathcad 14 and would love to open this file, can someone please convert it to a mcd or some other format i'd be able to open on my "nonprime" version please?

Re: Using Solve Block Solutions
VladimirN. Jul 27, 2011 12:31 AM (in response to JeanvanWyk)Well, you can try the demo version of Mathcad Prime 1.0, you can download it here: http://www.ptc.com/products/mathcad/mathcadprime10/freetrial.htm
Also, I attached below the exported files from Prime 1.0 in both PDF and XPS format.
Design Parameters_d.pdf 115.4 K

Design Parameters_d.xps.zip 736.4 K












