Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project Assignment: Tank System Simulation Objective Simulate the dynamics of an interconnected tank system using Simulink and MATLAB ODE code. This project aims to provide

Project Assignment: Tank System Simulation
Objective
Simulate the dynamics of an interconnected tank system using Simulink and
MATLAB ODE code. This project aims to provide hands-on experience in
modeling and simulating a system with two interconnected tanks.
Equations
The dynamics of the tank levels and {:h2) can be described by the following
differential equations:
A1d2h1dt2+B1(dh1dt)2+C1dh1dt=Fin1(h1,dh1dt,h2,dh2dt)-Faut1(h1,dh1dt,h2,dh2dt)+D1sin(2f1t)
A2d2h2dt2+B2(dh2dt)2+C2dh2dt=Fin2(h1,dh1dt,h2,dh2dt)-Faut2(h1,dh1dt,h2,dh2dt)+D2sin(2f2t)
where:
Ai: Coefficient for the second-order term in Tank i
Bi : Coefficient for the non-linear term in Tank i
Ci: Coefficient for the finst-order term in Tank i
Di : Amplitude of the disturbance term in Tank i
fi : Frequency of the disturbance term in Tank i
hi= Tank level in Tank i
The inflow and outflow functions are modified as follows:
Fin(h1,dh1dt,h2,dh2dt)=0.1h1+0.2(dh1dt)+0.1h12+0.05h2+0.1(dh2dt)+0.2h22
Fout(h1,dh1dt,h2,dh2dt)=0.05h1+0.1(dh1dt)+0.2h12+0.1h2+0.2(dh2dt)+0.15h22
Fin(h1,dh1dt,h2,dh2dt)=0.15h2+0.3(dh2dt)+0.05h22+0.1h1+0.2(dh1dt)+0.1h12
Feut(h1,dh1dt,h2,dh2dt)=0.2h2+0.1(dh2dt)+0.15h22+0.05h1+0.1(dh1dt)+0.2h12
Initial Conditions
Initial tank levels: h1(0)=1m,h2(0)=2m
Initial velocities: dh1dt(0)=0.2ms,dh2dt(0)=0.1ms
Constants
Croes-sectional area of Tank 1(A1):2m2
Cross-sectional area of Tank 2(A2):3m2
Coefficient for the second-order term in Tank 1(B1):1.5
Coefficient for the second-order term in Tank 2({:B2):2.0
Coefficient for the non-linear term in Tank 1(C1):0.2
Coefficient for the non-linear term in Tank 2(C2):0.1
Amplitude of the disturbance term in Tank 1(D1):0.05
Amplitude of the disturbance term in Tank 2(D2):0.03
Frequency of the disturbance term in Tank 1(f1):0.2Hz
Frequency of the disturbance term in Tank 2(f2):0.15Hz
image text in transcribed

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

Relational Database Design With Microcomputer Applications

Authors: Glenn A. Jackson

1st Edition

0137718411, 978-0137718412

More Books

Students also viewed these Databases questions

Question

8.1 Explain what is meant by "margin of error" in point estimation.

Answered: 1 week ago

Question

Explain the various techniques of Management Development.

Answered: 1 week ago