In fluid mechanics, the equation that models the fluid level in a tank is: dh dt 1 (min-mout) Ap h is the water level of the tank A is the surface area of the bottom of the tank p is the density of the fluid min and mout are the mass flow rates of water in and out of the tank, the flow out is a function of the water level h: mout . . R is the resistance at the exit. Assume that the exit is at the bottom of the tank. g is the gravitational acceleration What to Do: 1. Build a model in Simulink to calculate the water level, h, as a function of time. Your model should stop running as soon as the tank is full. 2. Assuming the height of the tank is 2 meters, after how many seconds does the tank fill up? Use the following constants to test your model: A: area of the bottom of the tank 1 m² p: the density of fluid = 1000 kg/m³ R: the resistance at the exit = 3 (kg.m)-1/2 ho: Initial height of the fluid in the tank = 0 m g: the gravitational acceleration = 9.81 m/s² max: Height of tank = 2 m min: mass flow rate of water = 50 (kg/s) . . . 1 == . √pgh . R water What to Submit: 1. A Simulink file called Tank Simulink.slx 2. A one-page PDF file showing your Simulink mode, the height vs. time plot and showing when the model stops. 41
In fluid mechanics, the equation that models the fluid level in a tank is: dh dt 1 (min-mout) Ap h is the water level of the tank A is the surface area of the bottom of the tank p is the density of the fluid min and mout are the mass flow rates of water in and out of the tank, the flow out is a function of the water level h: mout . . R is the resistance at the exit. Assume that the exit is at the bottom of the tank. g is the gravitational acceleration What to Do: 1. Build a model in Simulink to calculate the water level, h, as a function of time. Your model should stop running as soon as the tank is full. 2. Assuming the height of the tank is 2 meters, after how many seconds does the tank fill up? Use the following constants to test your model: A: area of the bottom of the tank 1 m² p: the density of fluid = 1000 kg/m³ R: the resistance at the exit = 3 (kg.m)-1/2 ho: Initial height of the fluid in the tank = 0 m g: the gravitational acceleration = 9.81 m/s² max: Height of tank = 2 m min: mass flow rate of water = 50 (kg/s) . . . 1 == . √pgh . R water What to Submit: 1. A Simulink file called Tank Simulink.slx 2. A one-page PDF file showing your Simulink mode, the height vs. time plot and showing when the model stops. 41
Elements Of Electromagnetics
7th Edition
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Sadiku, Matthew N. O.
ChapterMA: Math Assessment
Section: Chapter Questions
Problem 1.1MA
Related questions
Question

Transcribed Image Text:Simulink Assignment- Filling a Tank
In fluid mechanics, the equation that models the fluid level in a tank is:
dh
1
-(min
Ap
- mout)
dt
h is the water level of the tank
A is the surface area of the bottom of the tank
pis the density of the fluid
Mim and mout are the mass flow rates of water in and out of the
tank, the flow out is a function of the water level h:
1
mout
Vpgh
Ris the resistance at the exit. Assume that the exit is at the bottom of the tank.
g is the gravitational acceleration
What to Do:
1. Build a model in Simulink to calculate the water level, h, as a function of time.
Your model should stop running as soon as the tank is full.
2. Assuming the height of the tank is 2 meters, after how many seconds does the
tank fill up?
Use the following constants to test your model:
• A: area of the bottom of the tank = 1 m?
• p: the density of fluid = 1000 kg/ m?
• R: the resistance at the exit = 3 (kg.m)-1/2
• ho: Initial height of the fluid in the tank = 0 m
• g: the gravitational acceleration = 9.81 m/s?
• hmar: Height of tank = 2 m
min: mass flow rate of water = 50 (kg/s)
What to Submit:
1. A Simulink file called Tank_Simulink.six
2. A one-page PDF file showing your Simulink mode, the height vs. time plot and showing
when the model stops.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 1 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.Recommended textbooks for you

Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education

Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press

Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON

Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education

Control Systems Engineering
Mechanical Engineering
ISBN:
9781118170519
Author:
Norman S. Nise
Publisher:
WILEY

Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning

Engineering Mechanics: Statics
Mechanical Engineering
ISBN:
9781118807330
Author:
James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:
WILEY