THESIS This is to certify that the thesis entitled A PARALLEL COMPUTATION METHOD FOR DYNAMIC SYSTEMS WITH COUPLED NONLINEAR DISSIPATION presented by Tong Zhou has been accepted towards fulfillment of the requirements for Masters (hxgeein Science ,1 ”W. C - " k,' (K4 ' Major professor Date fl/Laéfl WW? 0-7639 MSU is an Affirmative Action/Equal Opportunity Institution MSU LIBRARIES ——. ‘r RETURNING MATERIALS: Place in book drop to remove this checkout from your record. FINES will be charged if book is returned after the date stamped below. A PARALLEL COMPUTATION IETEOD FOR DYNAMIC SISTERS WITH COUPLED NONLINEAR DISSIPATION By Tong Zhou A THESIS Submitted to Iiehigan State University in partial fulfillment of the requirements for the degree of IASTER OF SCIENCE Department of Mechanical Engineering 1984 ABSTRACT A PARALLEL COMPUTATION IETEOD FOR DYNAMIC SISTERS 'ITE COUPLED NONLINEAR DISSIPATION Tbng Zhou Nonlinear algebraic loops in system equations may prevent the subsequent reduction of the equations to an explicit state-space form. It may make system simulation very difficult to accomplish. The inci- dence of nonlinear algebraic loops in mathematical system equations often is associated with the existence of nonlinear dissipative effects in physical systems. A computation method for nonlinear algebraic loops stressing par- allelism has been developed. The bond graph augmentation method converts an algebraic loop field into a dynamic subsystem that exhi- bits the proper static characteristics at steady state and employs a two-time-scale integration technique. In seeking computational effi- ciency. minimizing the augmentation order and Optimizing the parameter selection play key roles. An augmentation sequence and a general rule for parameter selection for arbitrary n-th-order subsystems have been suggested and numerically tested in several cases. To my motherland China. my parents I. J. Zhou . B. X. Lee. and my wife Shuling ACKNOWLEDGEMENTS The author vishes to express sincere thanks to Dr. Ronald C. Rosenberg for his guidence and encouragement over the past years, and for serving as major professor. Appreciation is also expressed to the Albert R. Case center for providing computer facilities for this research. CONTENTS LIST OF TABLES LIST OF FIGURES 1 INTRODUCTION 1.1 The Problem of Algebraic LOOps in System Equations ..........1 1.2 Previous Research 'ork ......................................2 1.3 Bond Graphs and Algebraic LOOps .............................6 1.4 An Approach Stressing Parallelism ..........................13 2 BOND GRAPH DYNAMIC ADGNENTATTON NETEOD 2.1 Identification and Partitioning of R-fields ................15 2.2 Dynamic Augmentation of Subfields ..........................18 2.3 Tho-time-scale Integration .................................34 3 SOME COMPUTATIONAL CONSIDERATIONS 3.1 Effect of Eigenvalues on Computational Efficiency ..........37 3.2 Parameter Selection in Linear erields .....................41 3.3 Parameter Selection in Nonlinear R-fields ..................62 4 NUMERICAL EXAMPLES 4.1 Linear Case ................ ..... ...........................70 4.2 Nonlinear Case .............................................83 5 CONCLUSION 5.1 Summary ....................................................90 5.2 Future Development .........................................92 REFERENCES ......................................................94 APPENDIX A: Program Calling Tree ................................96 APPENDIX B: Program Listings ....................................97 LI ST OF TABLES TABLE 3-1 EJGENVALUES TABLE.3-2 EJGENVALUES TABLE 3-3 EIGENVALUES TABLE 3-4 EIGENVALUES LIST OF TABLES OF A SECOND-ORDER AUGNENTATION...............48 OF A THIRD-ORDER AUGNENTATION................56 OFMMIMY SUBSYSMQQO00000000000000.0058 OF A SUBSYSTEM WITH CHAIN STRUCTURE .......61 LI ST OF FIGURES Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figuer Figure Figure Figure Figure Figure LIST OF FIGURES Bond Graph Structure and Key Vectors ...................8 Refield in a Physical System ..........................10 Physycal Systems with a Coupled R-field ...............16 The Partitioned Subsystems ............................17 The Interactions Among the Partitioned Subsystems .....19 A Static Field and its Augmentation ...................21 Schematic Diagrams ....................................23 Partitioning ..........................................26 Causality Orientations ................................29 An Example ............................................32 Schematic Diagram of Two-time-scale Inteegration ......36 Diffusion Convergence ...............................39 First-order Augmentation ..............................42 Second-order Augmentation .............................42 The Eigenvalue DIstribution ...........................50 Chain Junction Structure and its Augmentation .........53 An R-field : Example 1 ................................55 An R-field : Example 2 ................................57 A Third-order Augmentation ............................60 A Nonlinear R-field ...................................64 The Global Bond Graph Nodal for the Numerical Example .71 The Augmentation Result for the Example ...............72 The sub‘y‘ton' OO...O0.0.0.0.0...00.0.0000000000000000073 Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure 4-8 4-9 4-10 4-11 4-12 4-13 Local-time Integration over the First Global-time step 77 Local-time Integration over the Second Global-time Step ..................................................78 Numerical Result of Linear Case Obtained by the Two-time-scale Integration ............................79 Dynamic Response Obtained by the Two—time-scale Integration ...........................................80 Numerical Result Obtained by the ENPORT-S .............81 Dynamic Response Obtained by the ENFORT-S .............82 Local Integration with Arbitrary Parameters ...........86 Local Integration with Optimal Parameters .............87 Numerical Result Obtained by the Two-time-scale Integration ...........................................88 Dynamic Response of the Nonlinear Case ................89 1 INTRODUCTION 1.1 The Problem of Algebraic Loops in System Equations A dynamic system consisting of a number of lumped-parameter ele- ments may be described by ordinary differential equations in which time is the independent variable. By using vector notation. an n-th order differential system mmy be expressed as a set of first-order vector differential equations. This is the state-space representa- tion. Because the modern trend in engineering systems is toward greater complexity due mainly to the requirements of performing complex tasks with good accuracy. the state-space representation has come to play a very important role in modern system control and system dynamics. The general form of explicit state-space equations is in) = GF( xmmm ) (1.1) where the X is an n-dimensional vector, U is an m-dimensional vector, and G is a vector function. The superdot denotes time differentia- tion. If the system is linear. Eq.(1.1) takes on a simpler form, as shown below i = [AM + [810 (1.2) where x and U are defined as before and [A] and [B] are matrices of appropriate dimensions. In formulating equations for a dynamic system the explicit state-space equations often are preferred. If there are intermediate variables which are introduced in the initial problem formulation, there is the possibility that algebraic lOOps may exist in the system of equations. This situation may make it impossible to find an expli- cit form. More generally. the system equations can be written in the form in) = apt x. u. n ) (1.3.) R(t) - 61} x. u. a ) (1.3s) where B is a vector of dimension r. For a linear constant-coefficient system. an explicit state-space representation usually can be obtained by eliminating the intermediate variables from the equations. However. if even one of the G functions is a nonlinear function. it might make the elimination of B difficult. or even impossible. The existence of nonlinear algebraic loops in system equations may prevent subsequent reduction of the system equa- tion set to an explicit state-space form. That leads us to search for efficient computational techniques to treat such problems. 1-2 Previous Research 'ork The problem of algebraic leaps has been studied by many research- ers and many simulation programs are available that will diagnose the existence of algebraic loops in the equation set. Among those are CSNP III. CSSL-IV. DARE. and SCEPTRE [1.2.3.4]. Operationally. a loop diagnostic occurs following the equation sorting process. In this process.as the system equation set is manipulated . mutual algebraic loops are identified. Typically. execution of the program is termi- nated and appropriate modifications must be performed. lost methods of numerical solution for nonlinear algebraic equations are extended from those used for solving linear systems. The Jacobi method. the Gauss-Seidel method . the successive overrelax- ation method and the symmetric successive overrelaxation method are exampleslSJ. Among the methods for linear systems one which may be applicable to the nonlinear case is the use of an iterative procedure. each step of which involves the solution of linear algebraic equations. For example. consider the system 4n, - n, + (1 I10):“1 = 1 (1-4') 'u, + 4u3 + (1/8lu: = O (1.4b) An iterative method can be designed such that ) 4uin+1) ' u§“+" ‘|’(l/10)e“(n B 1 (1.5a) -u§n+" - 4u§n*" +(1/s) . 0 (1.6b) which we may write as Fu = 0. The Newton method is defined by “(n+1) = n‘h) _ (F'u(n))Fu(n) (1.7) where F'u‘n) is the Jacobian matrix. The Jacobian method is one of the basic methods for conducting the iteration. For a nonlinear system of equations f1(n1 .113 an, ) g 0 (1e8.) f.(n. .u. .u. ) = 0 (1.8b) fl(u1 an: an! ) g 0 (1.80) .n:n+1) 'n:n+1) by We find u£n+‘) f1(u£n+1) .ugn) .ugn) ) = 0 (1.9a) £,(n§n’ .u§n*" .ufin’ ) = o (1.9s) f,(u:n) .ugn) .u£n+:) ) = 0 (1.9c) At each time step . one has to solve a single nonlinear equation for one unknown. The Gauss-Seidel method is the same as the Jacobi method except that at each time stage one uses the latest available values. Thus for the above case f.(u§“*" .ufin’ .nfin’ ) - o (1.10.) f. 0. we can minimize p’ with respect to k1 and k,. namely de’)/dk. = —4(a.....k.-::.k.-2c:../B)B’ (3.20s) d(p‘)/dk3 = -4(g,,g,,k,~g§,r,-2c3,,/B)a“ (3.20b) 47 These equations yield 2Cg11 - BC/k; = 0 (3.21s) and 2Cg33 - BC/ka = 0 (3.21b) Finally we have kaiSii ‘ k283: (3.22) To ensure a minimum we also can show that d’(p')/dk: ) O and d’(p’)/dk: > 0 . So if we choose k, = 1/g11. then k, would be 1"); from the above relation. i.e.. one of the optimal selection will be ks ‘ 1,811 (3.23a) ks ‘ 1,83: (3.23b) This coincides with the result obtained by using the Gershgorin circle theorem. Let k1 = l/g1; and k, I 1,833. then "spread” p will be p = s..(1/g,,g,,)"’ (3.24) Since 3:3 < 8113:3' ‘0 P: T “Ia/81132: ( 13 hence P < 1 ° The above observation has been illustrated by an arbitrary numer- ical example in TABLE 1. The [A] matrix is 48 -----l"- ao=~¢>commo hamm.o «aaa.o cfiwc.o mo vacuum wee.ot was.cu vee.cu Na . mo=~a>commm eoo.~u moo on- eec.~I am cNN "Amu+e=vu um uAmz+wmvcnxu c—~ nmx+wm an: aumoaogo momma o—N umm+vm+~= can uwm+v¢+~m saw uwm+vm+uz Na; no amouosmumm oc— m: cm um «amuse—o a ma can we «Homoseuum can u“ m mmzucum «In maccowum uuouoeeuem comm «amuse—o a mo euoaosauea .IIIIIIIIIIILrIIIIIuIIIIIIIIIIII I IIIIIIIIIIIIII W'l:-'- . ---- zc~hzuunm «In manH a mopv.e www.ct cmh.o1 nuo.ua c.c~ c.ow c.on v—ww.c can.HI ovo.ml cc.nl o." o.« o.« ~awm.¢ vna.ci no.~1 vc.nt o.~u c.- o.nu cnmn.c oo~.«t «cm.o1 gov.) o.«n m.n— °.~v om o" o« N ca muu a pu-.o ~va.e) mom.¢l enu.nt a.nn c.nn o.uu o~an.c owwnnu oo.o—I ca.-| o.« o." O.“ chaa.o hnu.01 n-.ol uvu.~) c.ow o.oc~ $.95 ecoa.c who.~1 pwu.ou ac~.oa o.co c.oe o.oo~ ream.o «en.~l www.01 ma~.OI o.°o o.oo o.co— an as an an c" an Mllmmhm.o van.ul pu~.oi av~.cl o.oo o.ow c.oh mvom.o n.nwn) cc.o—I ~n.m~t c." o." c.~ noou.o mnh.—I hco.ci anv.on c.c~ c.m~ o.cm «vow.c vmo.~1 con.01 www.ct o.o~ o.o~ 0.0m ennn.c onh.~n con.on eon.ou o.ou o.o~ o.ov an o“ o“ c" on H a wnpn.o mna.u1 Huc.cl can.91 o.ou o.o~ o.On meno.c onm.n«) oco.cul Nv~.vvn G.“ o.« c.u mm um «m was vaz nu: ma cu m: n: as . oaau vacuum nee—aamouSm uuouoaauam ooum uumoao~o a he aneuoaauam awhmhmuam ~¢zmonu mun mqnmh 59 matrix is derived as below L(Rs'I'Rs'I'Ra) -R, as I1/m1, 0 0- [A] = '3, '(R,+R,) Rs 0 1/m14 0 . R2 R3 -(R1+R3)J .0 0 1/m15J Some numerical computational results on the eigenvalue ”spread" are tabulated in Table 3. It shows the parameter selection by using the general rule is rather close to the possible best one; therefore it is acceptable. The general rule for a "chain" type structure has been applied to a number of arbitrary [R] matrices with different dimensions and numerical conditions. Figure 3-8 represents a third-order augmented R-field by adding three I elements which introduce three free parame- ters: '1: m3 and m.. Three different cases have been investigated(Tab1e 4). For the first case the parameter values of all R elements are equal or close each other; we call this the normal case. For the second case the parameter values of R elements are dif- ferent in such a way that the R elements attached to the junctions to which the dynamicizers are added have relatively large parameter values compared with their neighbors. The third case is just the opposite of case 2. In every case. if we choose parameter values for m1, m, and m, according to the general rule obtained before. then the "spread” p 60 11 12 13 SF}——-o—-|1}——-0—-11}—-o——-|'1I——-sa R1 R2 R3 R4 33 36 Figure 3-8 A third-order augmentation 61 n: + v + n: a an §+~z+§u~= Inna «nom.o vco.ul ~n~.ct non.ui c.0a c.nm c.nn huha.o nmc.o1 nvn.nt www.ct o.nv o.cn~ o.nn oauo>m «nee.o «no.0: «ov.~) oc«.on ounv c.nm c.0h m cm n on m c« < ~o«u.c cn~.o0 onm.~1 coc.~n o.nm c.mm c.nn naav.o «ca.on vmv.oc vcu.nl c.cnn c.nr o.omn coon.o com «I wnv.ot «mo.ut c.nm c an" a can om n on on ecu an o—a-uo>au hnov.° nac.ut uwv.ol mma.°I c.nw o.nh c.om~ nvn~.o nu~.u) nah.o1 coo.n1 o.nw c.mh o.onn nn—m.e www.ct vnm.cl nan.no c.cm o.on c.on «can o man «I «on an coo «1 c on c cm 0 cm on as an on an cm macaw nm¢o.° noh.o1 anv.nl www.cl c.c~ o.cm o.om hmnn.c sun.n) mpv.cl ooc.ul o.o~ o.cm 0.9m mm am um um um an m: n: v: n: N: a: aeouummeou maoumm coma->monmm .ao—o momma uo .a-uam numoao—o mo uuouoaauam NMPHO=MHm z~<=u =hmh awhmmmnam < he mm=4<>2uc~m min mqn;l [p10] 5 SFf—b 0 __-41'__- 0.___-' 1 {1' 3 R R R x = U a: 5 p11 °9 Figure 3-9 A nonlinear R-field (a) Before augmentation (b) After augmentation 4l R 1 |-—- sa 84-[ R 65 e. = 2.osraN(r.)£:°’ (3.33.) e, = SIGN(1.)£: (3.33b) e, = arana(r,) (3.33c) e‘ = 2.01. (3.330) The equivalent parameters of the R elements linearized by the chordal approximation would be R1 = 2.0310N(£.)£:-’ (3.34.) R. = SIGNIfalf. (3.340) a, = 3TANH(f,)/f, (3.34c) a. = 2.0 (3.340) The state equations for the nonlinear subsystem can be derived from the bond graph model as usual. Remember that the added I ele- ments are linear with constant parameters m1. and m11. £1. - 2.0SIGN(r.-p,./n,.)(1,-p../n..)‘°' - SIGNIp../a..)(p../a..)’ - 3 T'ANH(p"/m1° - pat/m11) (3.35a) 3 TA”R(Pae/‘ao ' DIR/n11) ' 2°0p11/m11 ’ 99 p11 (3.35b) If we arrange the above equations as follows 66 *o' (p,./n,.)’ (f - lm ) - ( /m ) (fl-plo’mxo) s Pie so (p‘./m;.) Pie in 2.0(fs’pae/mao) p10 3TANH(p1./mgg - pit/n13) (Pie/”as ' pan/M11) P‘./m1° - p1,/m11) (3.36s) 3TANIi(p lm - p Im ) = 1. I. :: 1:(Pae/“io ' Pas/'11) ' Z'OPIII'II - o’ (pgg/mgo - Pia/mas) p11 (3.36b) Further manipulating yields Pie 3 ' [2-0(fs ’ FRO/‘10)... + Pie/lie + E ]Pao/'ae + a p../-.. + 2 0(1. - p../n..)'°‘£. <3-37a> 1.. = E p..I-.. - I E + 2.0 1.1,)... - ., (3.37b) where E = 3TANH(P1./I1.’p;1/flxg)l(ng/lgg’pgg/Igg) Comparing the terms in the brackets with the equivalent parameters of these R elements defined by the chordal approximation it turns out that they are identical. At a certain global time the state equations in matrix form would be i)... -(a,+a,+a.) a, Us... 0 p... r.-p,./a,1‘-‘) 0 f, (3.33.) it; . R. -(R,+R.) 0 l/m1 p11 0 l e, (3.38b) [A] where R1. R,. R,. R4 are defined by Eqs.(3.34a.b.c.d). With the equivalent linear resistances. an estimate of the instantaneous dynamics of the nonlinear system can be obtained by the extraction of the eigenvalues from the above [A] matrix. The [R] 67 matrix is analogous to the one of linear case described earlier. Although this analogous [R] matrix can not be used for direct simula- tion. it may serve to predict the local dynamics in the two-time-scale integration technique. It will help in parameter selection for the dynamicizers and the local integration controls. Therefore. such an [R] matrix is named the reference [R] matrix. By using the instantaneous values for the bond variables or state variables available from the previous global time step. a set of instantaneous equivalent linear resistances can be computed. In this example. at a certain global time step the state variables p1. and pu ‘10 known 38 Pa. and 511. The reference [R] matrix would be calculat- ed as follows [R] = - [(T,-511/511)°°’ + in];u + E ] E E -[E+2.0] where T.. 510.511. 3,. and 3,, are the values at the previous global time step. and E is as in Eq.(3.37). In many cases a set of R parameters could be used for several global time steps before re-evaluation would become necessary. This must be judged from the rate at which the local field input variables are changing. At steady state the equivalent resistance parameters virtually may be the functions of only the input vector to the R-field; namely 68 R. = 1.0)) (3.39) If the change of the input vector is not too large the equivalent resistance Ri will not change dramatically. provided the nonlinear dissipative element is well-behaved; for instance. the effort is a low order power of flow. For many physical systems. the nonlinear dissi- pative elements possess fairly moderate characteristics. The changes in equivalent parameters ever the dynamic range of interest are not very large. In the mechanical systems such nonlinear dissipation effects come from static friction. columb friction and other nonlinear frictions which have small degree of nonlinearity. Therefore. the reference [R] matrix will not change the local dynamics too much and will not require the freqent re-selection of added dynamicizers. The process described in the preceding paragraphs can be repeated as the global time variable increases; that is. the free parameters could be reselected intermittently throughout the global simulation in prescribed fashion. The technique of parameter selection for the n-th-order nonlinear subsystem is summarized below: 1) At t=t.. set all free parameters to be an arbitrary constant. say. unity. set arbitrary initial conditions for the added dynamic elements and choose a small time step and a long duration for local time scale. then integrate the subsystem to steady state. 69 2) Compute the instantaneous equivalent linear resistances for each nonlinear dissipative element in the augmented subsystem. 3) Form the reference [R] or [0] matrix. 4) Select the optimal free parameters following the general rule. 5) Compute the eigenvalues of -[G][R] or -[R][N“] matrix. reset the local time scale. 7) Integrate the subsystem to the steady state in the new local time scale. 8) Compute the output vector of the subsystem. 9) Continue with the global integration forward one step. 10) Repeat the parameter selection process according to the error control criteria. 70 4 NUMERICAL EXAMPLE To illustrate the effectiveness of the bond graph augmentation method discussed in the preceding chapters. a demonstration example is presented in Figure 4-1. The subroutine PART identified the system and partitioned it into one dynamic field and one static field. Then subroutine AUGMEN automatically determined which nodes should be aug- mented and what kind of dynamicizers should be added. After the augmentation process was finished. the augmentation information was printed out for inspection (Figure 4-2). The augmented subsystem and the dynamic subsystem are shown in Figure 4-3. The bonds and the nodes in both subsystems have been renumbered regarding the initial descending numbering sequence. For different purposes a linear case and a nonlinear case have been simulated. The existing program for linear systems can be used as an examiner. 4.1 Linear Case If the all dissipative elements in the erield are linear. then the state equations of the augmented subsystem are i)... -(a,+a.) a, 1n... 0 p... 0 -1 r. (4.1) ..- 1311 R, -(R1+R,+R,) O 1/mu p11 R1 0 e, 71 (8) (9) (10) (11) (12) (13) (14) (7) SPF—1‘0 —-9 1———1° 0—-11 1|-—-12 0—-|13 1——-|7 I R R R R C R (1) (2) (3) (4) (5) (6) Figure 4-1 The global bond graph model for the example 72 IL HE ARE 1 R~FIELDS IN THE GIVEN SYSTEM II FIELD NUI'IUI.R 1 NIIIJILS 9 O B 1 9 8 SF 8 I R 1 IO 1 9 2 10 a R 2 11 O 10 .3 11 3 R 3 12 1 11 4 12 4 R 4 13 SE 12 III)“ [S 12 THERE ARE 0 JUNCTION STRUCTURE COMPLEXES THERE ARE 1 DYNAMIC FIELDS IN THE GIVEN SYSTEM DYNAMIC FIELD NUMBER 1 I'J‘JDES , 13 O 12 5 13 12 SF 12 5 C 5 l4 1 13 6 7 6 R 6 7 I 7 PORTS 12 ADD C/I ELEMENT TO THE ACTING JUNCTIONS ADD 1 ELEMENT TO NEH NODE B (THE OLD NODE 12 ) ADD C/I ELEMENT TO THE SINGLE-TYPE JUNCTINS ADD I ELEMENT TO NEW MODE 4 (THE OLD NODE 10 ) THERE ARE 2 STATE VARIABLES AND .2 INPUT VARIABLES. THE STATE VECTOR... x 1 = P 10 x 2 =~P 11 THE INPUT VECTOR... u 1 = F 5 u 2 = E 9 Figure 4-2 The Augmentation Result for the Example 73 P f 10 5 X‘ 3 Us 8 v: 2 f9 1’11 ’9 ( s ) [p3] SFI'L-OL‘Tl-i‘ll :m I ’T . C :k R [91] (b) Figure 4-3 The subsystems s) Augmented subsystem b) Dynamic subsystem 74 If all the elements in the dynamic field are linear. the state equations of the dynamic sybsystem are as = fa '- 93,”: (4.23) fit ‘ qul ’ Rspa/”a (4.2b) Assume the parameters of the elements are R1 = R: = 10.0 a, - n: - 20.0 R, - n: = 5.0 n. - n: - 10.0 k, = 12 = 20.0 n. = 32 = 5.0 m, I m? = 2.0 where the superscripts s and d denote the augmented subsystem and the dynamic subsystem. respectively. The [3] matrix of the augmented subsystem is [R] = -15.0 5.0 5.0 -35.0 According to the general rule ve choose 15 and 35 for parameters l1. and ‘11: respectively. so the [A] matrix appears [A] ' -1.0 0.1429 0.3333 -1.0 The eigenvalues of the [A] matrix are a, - -O.7818 a, = -1.2182 We may set the local time scale as follows 75 At = 1"3‘a1n’ - l/(3‘1.2182) - 0.273 sec tf - 5/s_.x - 5/0.7818 - 6.395 sec If you want to change the scale by a factor n. you may change the parameters l3. and mg; by the factor. For instance. let m1. and m1, be 1.5 and 3.5. respectively. then ‘1 = -70818 ‘3 x -12.182 then the time interval and integral duration will be At = 0.0275 sec tf = 0.6395 sec In the execution we set At = 0.025 sec and tf = 0.65 sec. The global time scale may also be determined from the eigenstruc- ture. 81,, = -1.95 t 3.114j. as follows AT = 0.05 - 0.10 sec Tf = 5.0 sec Suppose that all the initial conditions are equal to zero at T = O. and the flow input from source SF8 is a constant. say. f: , 10,0, Since T = 0. q: = 0. and p, - 0. therefore e: = e? . 0 . These two subsystems interact through bond 12 in the initial system model.DOhat is the output of the augmented subsystem. f:, is the input 76 t0 th° dynamic subsystem. ‘2. while the output of the latter. of. is the input to the former, 0:. Besides the input to a augmented subsys- tem at present global time step from the adjacent dynamic subsystem would be the output of the latter at the just previous step. 80. at global time T 8 0.05 sec. the input e: s 0. Integrating in the local time scale that has been set earlier yields the output f: at T = 0.05. f: 3 Sic/nio° (4.3) It will be the input to the dynamic subsystem at T = 0.05. Figure 4-4 shows the local time scale integration process at the glo- bal time T - 0.05. and Figure 4-5 displays the next local integration. The dynamic subsystem then integrates one time step in the global time scale. The steady states of the augmented subsystem serve as initial conditions for next local-time-scale integration and also the states of dynamic subsystems become the initial condition for the next global-time-scale integration. These two subsystems interact in this manner throughout the entire global time so that the system simulation can be realized. To demonstrate that this procedure can lead to correct results. we have used the DIFFEQI12] package that can solve either linear and nonlinear differential equations. The numerical results and a plot are shown in Figure 4-6 and Figure 4-7. respectively. Comparing these with the results obtained by the ENPORT‘SI13] package (Figure 4-8 and Figure 4-9) shows that they are almost identical. The small differ- 77 con 06‘» m uuuuu emu uo>o momuuuuoumm alumna-cod vuv nonumm N noun alumna-moan «an . 3.. m.N o.m mK 9.0— m.N_ 78 oo- oluu m emcee. on» nose coma-uuoum« alumna-ecu n1. cunnmu N noun oluutuaacuu _ — - 2.. d.“ 9.0 5.9. m.N_ ”Huuuuuuuuwuuuoommqqo 99999999999999000999999999900000o ()flmVO‘UIbUI'Jl'Jflt-‘O . TIME .SODCE-Ol .lCOCE+OO .ISOCE+OO .2000E+OO SOOE+OO Iaoocs+oo SOOE+OO OOE+01 0cm) rmnm +++ 0cm: HHH on mnl ++ 00 HH OE+Ol CE+01 00 mm + O ..a 08000000000 m ' + + o o eds-e OE+01 QCKMDOCKMDOCKMDOCKMDOCKMDOCKNDOCKMDOCKMDO P10 .49BOE-01 .9497E-01 .1349E+OO .1693E+OO .19806400 .2212E+OO .2391E+OO .25218+OO .ZbObE+OO .26528+OO .26658+OO .2650E+OO .26128+OO .25546+OO .24B9E+OO .24138+OO .233SE+OO .22525+OO .217BE+OO .2098E+OO .2029E+OO .1966E+OO .l9llE+OO .leAE+OO .1825E4OO .1794E+OO .1752E+OO .l736E+OO .1739E400 .1754E+OO .177bE+OO .lBOOE+OO 1822E+OO 79 OCKMDOCKMDOCKNDOCKMDOCKMDOCKMDOCKMDOCKMDO P11 .2394E-01 .89745-01 .187BE+OO .3093E+OO .4462E+OO .59llE+OO .7384E+OO .8829E+OO .1020E+01 .ll485r01 .1263g+01 .1365E+Ol .1452E+Ol .1524E+01 .15825+Ol .1627E+01 .16598+Ol .1680E+Ol .lb9OE+Ol .169ZE+01 .1687E+Ol .16766+Ol .1661E+Ol .16438+Ol .1623E+01 .1602E+Ol .lelE+Ol .1524E+Ol .1494£+Ol .1473E+01 .145?E+01 .1453E+Ol .1452E+01 IOCKMDOCEMDOCKflDOCKMDOCHMDOCKMDOCKMDOCK”?O Figure 4-6 Numerical result of linear case E9 .99605+OD .1899E+Ol 269BE+01 .3386£+Ol .39blE+Ol .4424E+Ol .47825+01 .50428+Ol .52138+Ol .5305E+01 ,5329E+Ol .52?9E+Ol .5224E+Ol .5108E+01 .4979E+Ol .4827E+Ol .4566E+Ol 504E+Ol 4346E+Ol .4196E+Ol .4057E+Ol .39335+Ol .8822E*Ol .3728E+Ol .36505+Ol .3588E+Ol 504E+Ol .3471E+Ol .3478E+Ol 35085+Ol Iass1s+01 3599E+Ol .3644E+01 obtained by the two-time-scale integration 80 mcU-unoumm cane-leluulcsu 23 ha coma-«no oomonuou 3|.th TV 93.: 99999999999999999999999999999999999999990 TIME .OOOE 00 01 OCKMDOCKMDOCKMDOCI HHMHHHHHHHHHHH 999999999999999999999popppooopooooooooooo P10 .OOOOOE .480955-01 .918625-01 .13073E .16437E .19269E .21577E .23382E .24718E .25629E .2616CE 26364E .26292E .259945 .25521E 81 00 P11 OOOOOE 00 233865-01 13411E .14294E .15036E .1564OE .16112E .16461E .16697E O. 0. 0 0 O 0 O 0 O 0 O 0 O 0 0 O 0 O 0 O. O. O. 0 O 0 0 O O O O O 0 O O O 0 0 O 0 0 0 497E VQQOHUUVQHU .87213E-01 .18237E .300385 .43361E .57527E .719545 .861555 .99736E .11239E .123905 Figure 4-8 Numerical result obtained by the ENFORTBS 82 ss.m «Taxonzu emu hm conquumc o-moauou cum-ch: «Iv shaman ......zmx .llldx s \1 Q Q ”ozmmmn s¢.s sm.s sm.~ 5 mad» w4