Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please provide a model of this hybrid automaton in Ptolemy II. Consider the above figure depicting a system comprising two tanks containing water. Each tank

Please provide a model of this hybrid automaton in Ptolemy II.

image text in transcribed

Consider the above figure depicting a system comprising two tanks containing water. Each tank is leaking at a constant rate. Water is added at a constant rate to the system through a hose, which at any point in time is filling either one tank or the other. It is assumed that the hose can switch between the tanks instantaneously. For {1,2}, let ! denote the volume of water in Tank i and ! > 0 denote the constant flow of water out of Tank i. Let w denote the constant flow of water into the system. The objective is to keep the water volumes above # and $, respectively, assuming that the water volumes are above # and $ initially. This is to be achieved by a controller that switches the inflow to Tank 1 whenever #() #() and to Tank 2 whenever $() $() The hybrid automaton representing this two-tank system is given below figure

image text in transcribed

Construct a model of this hybrid automaton in Ptolemy II . Use the following parameter values: # = $ = 0, # = $ = 0.5, and = 0.75. Set the initial state to be (#; (0; 1)). (That is, initial value # is 0 and $ is 1.) Simulate your model for 100 seconds and plot how # and $ vary as a function of time t. Please provide your model files, your Plot, and a document of explanation.

x1x1(0)r1x2(0)r2

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

Advances In Databases And Information Systems Uropean Conference Adbis 2020 Lyon France August 25 27 2020 Proceedings Lncs 12245

Authors: Jerome Darmont ,Boris Novikov ,Robert Wrembel

1st Edition

3030548317, 978-3030548315

More Books

Students also viewed these Databases questions