Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) We need the minimum water level in the entrance tank (associated with zero flow through the plant) to be perhaps 10 cm. Create a

1) We need the minimum water level in the entrance tank (associated with zero flow through the plant) to be perhaps 10 cm. Create a new param called lfomHW_min with a default of 10 cm. (remember that the units of parameters are set by the name of the variable and thus lfomHW_min has units of meters). Modify the logic for the entrance wall tank h *to account for this increase in required water depth. When you make this change in featurescript the part studio should update and the entrance tank depth should increase. What is the new height of the entrance tank walls?

2) Our next task is to draw the water surface in the entrance tank and have it adjust as a function of the actual flow rate. Create a dimensionless parameter that represents the fraction of the design flow (Q_pi) that is passing through the entrance tank. Here we take advantage of the fact that any variable name that ends in _pi is dimensionless. Create an equation that calculates the depth of water in the entrance tank as a function of Q_pi. You can assume that the LFOM creates a linear relationship between flow rate and water depth. Set the default value of Q_pi to be 0.5. What is the depth of water in the entrance tank?

FeatureScript 1793; import(path : "12312312345abcabcabcdeff/421904a11215a03b4db03acd/5d4b86cd6796d30dca2fb617", version : "f9149394f845f6bf40a28338"); import(path : "6750b53736b16374e515f93d/3fa42a9b2c33131c76609214/181382047f743bb3a87d8136", version : "e512f0daeff2bc5ecc21cfeb"); import(path : "94569ca95d5169b5296f9bc5/2bd92f66cd5ac863b3a81be9/c882e1f8dacf21f3b9627ed5", version : "fb59438c4e3fc2022386e917"); import(path : "1802d3650943f2f88dc71465/22978dbaaad8d5e05f24fea2/42a93e7d952620cd5e4b9afd", version : "5325dddd2ead204f8c289b64");

export const entranceTankTree = { name : "Entrance Tank", notes : { description : "add your description here", }, designers : { pre : entranceTankPreDesigner, }, params : { // add all inputs required by your design here (see https://cad.onshape.com/documents/1802d3650943f2f88dc71465/w/ebc2a3a6e448d0f0b507a162/e/01a1b71c31e40e75ac317063 for variable naming convention) ip : "APP", // used to select parts for a partner from our parts database. Current options are "APP" (Agua Para el Pueblo in Honduras, and "GV" (Gram Vikas in India) Use APP for this design challenge Qm_max : [6, 10, 100], // include with assignment TEMP_min : [0, 10, 30], // include with assignment captureVm : [4, 8, 16], W_min : [0.45, 0.5, 1], L_floc : [3, 7, 8], trashrackV_max : [0.05, 0.1, 0.4], lfomHL : [0.1, 0.2, 0.5], FB : [0.1, 0.1, 0.5], SDR_max : [13.5, 51, 51], lfomHW_min : [0, 0.1, 1], Q_pi : [0, 0.5, 1], overflowHSF : [0, 0.01, 0.05], },

};

export const entranceTankPreDesigner = function(design) returns map { println("The author of the first draft of this design challenge was Monroe.");

design.planViewA = design.Qm_max / design.captureVm; design.W = max(design.W_min, design.planViewA / design.L_floc); design.L = design.planViewA / design.W; design.trashRackA_min = design.Qm_max / design.trashrackV_max; design.trashRackH_min = design.trashRackA_min / design.W; design.HW_max = max(design.lfomHL, design.trashRackH_min); design.H = design.HW_max + design.FB; design.NU = viscosityKinematic(design.TEMP_min); design.K = PIPE_REENTRANT_K_MINOR + PIPE_EXIT_K_MINOR; design.overflowID = diamPipe(design.Qm_max, design.HW_max, design.HW_max, design.NU, PVC_PIPE_ROUGH, design.K); design.overflow = queryPipeWithFittingDim(design.overflowID, design.ip, design.SDR_max, FittingShape.STRAIGHT);

/**

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Next Generation Databases NoSQLand Big Data

Authors: Guy Harrison

1st Edition

1484213300, 978-1484213308

More Books

Students also viewed these Databases questions