Preview

asdaaasd

Good Essays
Open Document
Open Document
2020 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
asdaaasd
Simulink
Cheng-Liang Chen

PSE

LABORATORY

Department of Chemical Engineering
National TAIWAN University

Chen CL

MATrixLABoratory

1

Chen CL

Simulink

2

Chen CL

3

The Simulink Library Browser

Chen CL

4

Simulink Solution of y = 10 sin(t)
˙
Check Results on Screen dy = 10 sin(t) dt 13
⇒ y(t) =

y(0) = 0, 0 ≤ t ≤ 13

(10 sin(t))dt + y(0)
0

Note: y(t) = 10(1 − cos(t)) (exact solution)

Chen CL

5

Simulink Solution of y = 10 sin(t)
˙
Exporting to MATLAB dy = 10 sin(t) dt 13
⇒ y(t) =

y(0) = 0, 0 ≤ t ≤ 13

(10 sin(t))dt + y(0)
0

Note: y(t) = 10(1 − cos(t)) (exact solution)

Chen CL

6

Simulink Solution of y = −10y + 2 sin(4t)
˙
dy
= −10y + 2 sin(4t) dt 3
⇒ y(t) =

y(0) = 1, 0 ≤ t ≤ 3

(−10y + 2 sin(4t))dt + y(0)
0

Chen CL

7

Linear State-Variable Models
Simulink Model of A Two-Mass System
5¨1 + 12x1 + 5x1 − 8x2 − 4x2 = 0 x ˙
˙
3¨2 + 8x2 + 4x2 − 8x1 − 4x1 = f (t) x ˙
˙
(m1 = 5, M − 2 = 3, c1 = 4)
(c2 = 8, k1 = 1, k2 = 4)
(x1(0) = 0.2; x1(0) = 0; )
˙
(x2(0) = 0.5; x2(0) = 0; )
˙
Let z1 ≡ x1, z3 ≡ x2
⇒ z1 = z2 ,
˙
z3 = z 4 ,
˙

z2 = (−5z1 − 12z2 + 4z3 + 8z4)/5
˙
z4 = (4z1 + 8z2 − 4z3 − 8z4 + f (t))/3
˙

Chen CL

8

   
0
z1
0
0
   
4
8  
0
5
5  z2 
 
 z  + 0 f (t)
0
1   3  
1
4 z4 −  8
−3
3
3
z1
 
1 0 0 0 z2
 + 0
0 0 1 0 z3
0
  z4 
 
0
1 z1 
 
−1 − 12
z2
d  
5
= 
0
dt z3
0

 
8
4 z4 3
3
x1 x2 =

Chen CL

9

Process Simulation
Simulation of A Gas Process
Consider the gas tank shown below. A fan blows air into a tank, and from the tank the air flows out through a valve. Suppose the air flow delivered by the fan is given by fi(t) = 0.16mi(t) where fi(t) is gas flow in scf/min, (scf is cubic feet at standard conditions of 60oF and 1 atm); mi(t) is signal to fan, %. The flow through the valve is expressed by

You May Also Find These Documents Helpful

  • Good Essays

    3. A 5.00 L tank contains helium gas at 1.50 atm. What is the pressure of the gas?.…

    • 1080 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Pt1420 Unit 3 Assignment

    • 298 Words
    • 2 Pages

    2. Consider the following two vectors: x =  1  and y =  1 .…

    • 298 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    A&P2 midterm

    • 1551 Words
    • 6 Pages

    directly related to the concentration of that gas in the mixture and the total pressure of the mixture.…

    • 1551 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Gac04 Final Project

    • 1522 Words
    • 7 Pages

    1. Problem 7.2 in text. Estimate the rate at which energy flows from a gasoline pump to a…

    • 1522 Words
    • 7 Pages
    Good Essays
  • Better Essays

    Where, P and V are the pressure and volume of the gas sample respectively. K is a constant and dependent of the temperature (T) and the amount of gas (n, moles).…

    • 1293 Words
    • 6 Pages
    Better Essays
  • Satisfactory Essays

    Volume and Graph

    • 353 Words
    • 3 Pages

    2) Do you think there is a point at which volume cannot be decreased any further for this sealed container of gas? Explain your answer in terms of what you know about the properties and characteristics of gases. [5 points]…

    • 353 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Chapter 6 Test

    • 473 Words
    • 2 Pages

    A car tire is spinning at a rate of 8 radians/s, how many rotations does the wheel make in an hour?…

    • 473 Words
    • 2 Pages
    Powerful Essays
  • Good Essays

    Well as the ceiling jet (hot gases moving horizontal across the ceiling) approached a wall, it began to bank downwards towards the floor. Continued burning within the structure increases the thickness of the smoke until it banks down and reaches the neutral plane. This smoke pressure is equalized throughout the room, causing it to bank to the less pressurized area below (Jones & Forney, 1992). This area is where the inside pressure equalized with the outside pressure entering the structure. A two-way flow begins to occur from the opening to the room.…

    • 721 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Asdasdasd

    • 1360 Words
    • 6 Pages

    (8) Proceeding to decide whether or not to keep a minor in custody is a detention…

    • 1360 Words
    • 6 Pages
    Good Essays
  • Good Essays

    asdfasdf

    • 601 Words
    • 3 Pages

    What is the effect of the story’s being told from Nea’s perspective? How might the story be different if it were told from the mother’s point of view?…

    • 601 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Asdsad

    • 933 Words
    • 4 Pages

    Write an introduction in which you indicate the situation and the audience and provide an overview of the your software proposal.…

    • 933 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Asdasdas

    • 725 Words
    • 3 Pages

    The Stroop color–word task cannot be administered to children who are unable to read. However, our color–object Stroop task can. One hundred and sixty-eight children of 3½–6½ years (50% female; 24 children at each 6-month interval) were shown line drawings of familiar objects in a color that was congruent (e.g., an orange carrot), incongruent (e.g., a green carrot), or neutral (for objects having no canonical color [e.g., a red book]), and abstract shapes, each drawn in one of six colors. Half the children were asked to name the color in which each object was drawn, and half were to name each object. Children’s predominant tendency was to say what the object was; when instructed to do otherwise they were slower and less accurate. Children were faster and more accurate at naming the color of a stimulus when the form could not be named (abstract shape) than when it could, even if in its canonical color. The heightened interference to color-naming versus object-naming was not due to lack of familiarity with color names or group differences: Children in the color condition were as fast and accurate at naming the colors of abstract shapes as were children in the form condition at naming familiar objects.…

    • 725 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Asdasdasdasdasd

    • 4523 Words
    • 19 Pages

    * Brain scan to support the MSM – take images of active brain and show which region is active when doing a task. The pre-frontal cortex for short- term memories, but the hippocampus active for long term memory.…

    • 4523 Words
    • 19 Pages
    Good Essays
  • Good Essays

    My Chemistry Project

    • 1576 Words
    • 7 Pages

    Figure 13.5 Both liquids and gases can flow. The liquid on the left is colored water. The gas on the right is bromine vapor. If a gas is denser than air, it can be poured from one container into another. These pictures were taken in a fume hood because bromine is both toxic and corrosive.…

    • 1576 Words
    • 7 Pages
    Good Essays
  • Powerful Essays

    By combining Boyle’s Law, Charles’ Law and Avogadro’s Law, the General Gas Law (or ideal gas law) is proposed. It reveals the relationship between the three properties of a gas, which is pressure, volume and temperature, in a container. It states:…

    • 2729 Words
    • 11 Pages
    Powerful Essays