HOME JOURNALS CONTACT

Journal of Applied Sciences

Year: 2006 | Volume: 6 | Issue: 4 | Page No.: 950-954
DOI: 10.3923/jas.2006.950.954
Modeling and Simulation of Dynamic Systems
Muhammad Akram Bhatti, Li Chang Xi and Ye lin

Abstract: This study presents a modeling and simulation of dynamic systems. Modeling and simulation have experienced an amazing development in a last few decades. Today it is available on the desk of all engineers and scientists who needs it. The main focus is on modeling and simulation of thermal dynamic systems. A case study of batch processing in chemical industry is reported in order to demonstrate the ideas of modeling, analytical solution of Ordinary Differential Equations (ODEs) and simulation of thermal dynamic system.

Fulltext PDF Fulltext HTML

How to cite this article
Muhammad Akram Bhatti, Li Chang Xi and Ye lin, 2006. Modeling and Simulation of Dynamic Systems. Journal of Applied Sciences, 6: 950-954.

Keywords: thermal dynamic system, ordinary differential equation, Modeling, simulation and dynamic system

INTRODUCTION

Modeling and simulation are indispensable when dealing with complex engineering systems. It makes it possible to do essential assessment before systems are built, it can alleviate the need for expensive experiments and it can provide support in all stages of a project from conceptual design, through commissioning and operations.

The real-time simulation of dynamic systems on systolic arrays has emerged as a powerful means for solving several computational problems of practical importance (Vijay and Murthy, 1998).

Computer-based modeling and simulation has been under steady development for about 50 years now. In one form or another, this methodology has become ever more important in an ever broadening arena of applications. Here we overview a part of this wide field, the modeling and simulation of dynamical systems, specifically, systems that can be appropriately modeled by Ordinary Differential Equations (ODEs), Partial Differential Equations (PDEs), Differential Algebraic Equations (DAEs) and ODEs interfaced with Discrete-time Algorithms (DTAs). Some aspects of the technical discussion of modeling is, of necessity, be quite sketchy and the more comprehensive presentation of simulation methods focuses primarily on ODE systems, with additional pointers to techniques for dealing with DAEs, PDEs and such systems interfaced with DTAs (Frederick, 1978).

Significant utilization of dynamic modeling and simulation has started at different times and progressed at different rates in various application areas. As a generalization, the early years of modeling and simulation were focused primarily on aerospace and military applications-i.e., high-tech and expensive technological systems, where the engineering analysis and design effort was substantial and the modeling and simulation effort could be “afforded”. Then modeling and simulation spread to smaller high-tech and civilian arenas-robotics and transportation systems coming immediately to mind. At the present, it is quite safe to state that modeling and simulation, in one form or another, is applied to almost every area of human endeavor, from agriculture to biology to economics to manufacturing (Åström and Elmqvist, 1998).

Finally, there are numerous driving forces for the rapidly increasing necessity and popularity of modeling and simulation. Five general dominant factors are:

The continuing need to achieve better process or product performance;
The increasing complexity of advanced technological systems;
The growing need for competitive advantage, e.g., efficiency, economy;
The phenomenal increase in available computer power and decrease in cost;
The coupling of modeling and simulation with other powerful computer-based methods, e.g., optimization

Models allow the effects of time and space to be scaled, extraction of properties and hence simplification, to retain only those details relevant to the problem.

The use of models therefore reduces the need for real experimentation and facilitates the achievement of many different purposes at reduced cost, risk and time (Bobrow, 1985).

Thermal systems: Thermal systems are systems in which flow of heat and storage of heat are involved. Their mathematical models are based on the fundamental laws of thermodynamics. Generally thermal systems are distributed and they obey Partial Differential Equations (PDEs) rather than Ordinary Differential Equations (ODEs) (Close et al., 2002). Present purpose is to get linear ODEs that are capable of describing the dynamic response to a good approximation

Here is a description of some notations used for variables in thermal systems.
θ: temperature (K)
q: Heat flow rate in J/s, watt

If is the net heat flow rate into the body as a function of time then net heat supplied between the time t0 and t is as:

(1)

We know thermal capacitance ‘C’ has unit joule per Kelvin (J/K). If a body has a mass ‘M’ and specific heat ‘σ’ having units J/(Kg. K) then thermal capacitance is:

If we assume that temperature of a body at time t0 is θ0 and rise in temperature due to net heat flow into the body is as bellow:

(2)

Then the temperature of the body after heat addition is as

(3)

Differentiating Eq. (5)

(4)

This relates the rate of temperature change to the instantaneous net heat flow rate into the body. This is very important equation because we generally select the temperature of the bodies constituting the thermal system as state variable.

There is another factor that is thermal resistance. Therefore, whenever heat flows through the connecting medium from one body to another then heat flow rate can be expressed by the following equation.

(5)

Where R is a thermal resistance and can be defined as
d=Length of the path
A=Cross-sectional Area
α=Thermal conductivity

Problem description of case study: In chemical Industry the production of chemicals almost always requires control of temperature of liquids contained in vessels. In batch process, a vessel would be filled with liquid, sealed and then heated to a prescribed temperature. In design and processes, it is important to be able to calculate in advance the time required to reach the desired temperature. Such a system has been modeled and analyzed as study case. Heater is placed within a metal jacket that has thermal resistance Rhl. It is assumed that heater and liquid initially are at ambient temperature. The numerical values of the system parameters are as under.

Thermal capacitance of Heater = CH = 20.0x103 J/K Thermal capacitance of Liquid = CL = 1.0x106 J/K Thermal resistance from heater to liquid = Rhl = 1.0x10-3 S.K/J.

Thermal resistance from liquid to ambient = Rla = 5.0x10-3 S.K/J

Ambient temperature= θa =300 K
Desired temperature = θd=365 K

At t = 0, heater has been connected to electric supply and we have to determine the response of liquid temperature and also to find time required to reach the desired temperature

System model: Here θL and θH are the state variables of the thermal system. θL and θH represent the energy stored in the system. We can write state variable model as

(6)

(7)

where


After substituting qHL, qLa and numerical values of the parameters to the state Eq. 6 and 7, the pair of state equations become as

(8)

(9)

The initial conditions are
Here we define the relative variables.

Substituting the relative values to Eqs. 8 and 9

(10)

(11)

Here initial conditions for incremental values are

Here we use the laplace transformation method to solve the ODEs (Gear and Petzold, 1984).

Taking Laplace transformation of above equations

(12)

(13)

Combining Eq. 12 and 13 to eliminate


(14)

System response

From, we can solve forθL (t),

(15)

taking Laplace transform of Eq. 15

(16)

from Eq. 14 can be written as

(17)

Putting value of from Eq. 16 to 17

We expand it in partial fraction

(18)

A = 75 ; B = 0.289; C = -75.29
Putting the values of A, B and C in Eq. 18

Taking inverse Laplace transform

Adding ambient temperature (300 K) to the incremental liquid temperature


(19)

Solving Eq. 19 the time required to reach the required temperature is 10300 sec or 2.86 h.

If we increase the heater power to double then the time required to reach the required temperature is about 2916 sec or 48.6 min and so on.

Simulation: Now we implement the modeling equations developed for the thermal system to make a block diagram in MATLAB using SIMULINK Environment (SimuLink User's Guide).

Fig. 1: Block diagram developed in SIMULINK

Fig. 2: Graphs of (a) and (b) system using step function as input

Fig. 3: Graphs (a) and (b) of system using signal generator as input

The block diagram obtained by implementing the modeling equations has been shown in Fig. 1.

The analysis of the response of the system using following three different inputs has been conducted:

Step function: Using step function as a constant heating source of 15 and 30 K Joule sec 1, we observed changes in behavior of the heater temperature and in turn liquid temperature as shown in Fig. 2.

From the Fig. 2 we have noted the time required to reach the desired temperature.

Fig. 4: Graphs (a) and (b) of system using pulse generator as input

The rise of liquid temperature has linear relation with that of heating rate.

Signal generator: Here we have considered another situation which is normally demanded by industry to maintain the desired temp. For this purpose we have used signal generator (square wave). Heater power is about 26 KW. The time period for signal is 50 min. Therefore, the frequency is 0.00033 Hz. After implementing data in SIMULINK environment, we have observed that during 4th cycle the liquid temperature reaches to desired temperature (365K). We also see that after 300 min the steady state response achieved but the temperature fluctuation peak to peak is about 17 K. To decrease the fluctuations peak to peak temperature, we have increased the frequency of the signal generator. If we increase the frequency from 0.00033 to 0.0012 Hz then we see from graph that fluctuation range is only about 7 K. The graphs of these two frequencies are shown in Fig. 3.

Pulse generator: We have used Pulse Generator as input source to the system. Heater power is 26 KW and duty cycle is 50%. The out put response of the system has been shown in Fig. 4. We have increased the heater power to 39 KW then we have to decrease the duty cycle to 33.33% to get the same results in first case of using pulse generator.

CONCLUSIONS

The response of the thermal system has been observed using step function, signal generator and pulse generator. The time required to reach the desired liquid temperature by step function has a good agreement with that calculated analytically. It is also observed by graphs that the response of the liquid temperature has linear relationship with heater temperature. By controlling the frequency of the input signal the peak to peak temperature fluctuations (sometime called ripple) in liquid temperature has been decreased.

So this article is an overview of modeling and simulation of dynamic systems especially for thermal systems and a good understanding about how to model, solve and simulate the dynamic thermal systems.

ACKNOWLEDGMENT

This research was supported by Chinese Scholarship Council.

REFERENCES

  • Astrom, K.J. and H. Elmqvist, 1998. Evolution of continuous-time modeling and simulation. Proceedings of the 12th European Simulation Multi Conference, June 16-19, 1998, Manchester, UK., pp: 1-10.


  • Bobrow, D.G., 1985. Qualitative Reasoning About Physical Systems. MIT Press, Cambridge


  • Close, C.M., D.K. Frederick and J.C. Newell, 2002. Modeling and Analysis of Dynamic Systems. Wiley, New York


  • Frederick, C.K., 1978. Modeling and Analysis of Dynamic Systems. Houghton Mifflin Co., Boston


  • Gear, C.W. and L.R. Petzold, 1984. ODE methods for the solution of differential/algebraic systems. SIAM J. Numerical Anal., 21: 716-728.
    Direct Link    


  • Vijay, M. and C.S.R. Murthy, 1998. Real-time simulation of dynamic systems on systolic arrays. IEEE, Trans. Ind. Elect., 45: 326-332.
    CrossRef    Direct Link    

  • © Science Alert. All Rights Reserved