Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task: Determine the optimum ( best ) pipe and tank combination ( Figure 1 ) to supply drinking water to a community. The optimum combination
Task:
Determine the optimum best pipe and tank combination Figure to supply drinking water to a community. The optimum combination is the lowest combined pipe and storage cost that does not violate anv rnnetrainte
a Project Part A:
Total marks
Submit the algorithm handsketched or computer generated for Project Part B on one A or A page.
On the page, provide a legend where each variable in the algorithm is described.
b Project Part B:
Total marks
Submit one Excel MacroEnabled Workbook that contains the provided Data worksheet with the given input data. Do not rearrange the data.
Place one Optimise button on the Data worksheet. This button is to call the VBA code that will:
i Create the worksheet named Balancing storage calculations and compute Pipe supply, for each Diameter and Tank volume at each hour. The below stepsformulae are to be employed:
To calculate Pipe supply, :
Step : Assume Velocity, and Velocity,
Step : Calculate Reynolds Number,
Step : Calculate pipe headloss coefficient Lambda, using the
SwameeJain formula
Step : Calculate new Velocity,
Step :
Then ; Repeat Steps
Then Area pipe, End
To calculate Tank volume :
Tank volume at Tank volume at Pipe supply during Volume
demanded during
ii Create the worksheet named Optimization and compute the following for each
pipe Diameter :
Pipe unit cost Randm: Transfer from the Data worksheet
Pipe diameter, : Transfer from the Data worksheet
Pipe supply, Transfer from the Balancing storage calculations worksheet
Pipe headloss,
Pipe cost Rand Pipe length Pipe unit cost Randm
Balancing storage absolute value of the Highest cumulative surplusabsolute value of the Highest cumulative deficit.
Extra storage Emergency storage Fire storage Bottom storage.
Total storage Balancing storage Extra Storage.
Storage cost Rand Total storage Storage unit cost.
Total cost Rand Storage cost Pipe cost.
Can you please do a complete flow chart algorithm with the appropriate shapes for the above question Project part B
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started