Comment: | Made compatible with current MTT. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
9997e50efa0cfe9f0be7e5a0eb4d9627 |
User & Date: | gawthrop@users.sourceforge.net on 2003-06-06 06:40:34 |
Other Links: | branch diff | manifest | tags |
2003-06-06
| ||
07:16:22 | New parameters + better comments check-in: 9fa4363f64 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
06:40:34 | Made compatible with current MTT. check-in: 9997e50efa user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2003-05-22
| ||
17:26:52 | Sanity test on w check-in: d1d1386661 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Modified mttroot/mtt/lib/examples/AlgebraicLoops/aRC/aRC_desc.tex from [3196b31fcd] to [e70a959805].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | % Verbal description for system aRC (aRC_desc.tex) % Generated by MTT on Sun Aug 24 11:03:55 BST 1997. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.1 1997/08/24 10:27:18 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% The acausal bond graph of system \textbf{aRC} is displayed in Figure \Ref{aRC_abg} and its label file is listed in Section \Ref{sec:aRC_lbl}. The subsystems are listed in Section \Ref{sec:aRC_sub}. | > > > | | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | % Verbal description for system aRC (aRC_desc.tex) % Generated by MTT on Sun Aug 24 11:03:55 BST 1997. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.1 2000/12/28 17:02:29 peterg % %% To RCS % %% % %% Revision 1.1 1997/08/24 10:27:18 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% The acausal bond graph of system \textbf{aRC} is displayed in Figure \Ref{aRC_abg} and its label file is listed in Section \Ref{sec:aRC_lbl}. The subsystems are listed in Section \Ref{sec:aRC_sub}. The system \textbf{aRC} is the simple electrical rc circuit shown in Figure \Ref{aRC_abg}. It can be regarded as a single-input single-output system with input $e_1$ and output $e_2$. The two resistors ($r_1$ and $r_2$) are in series; this give an undercausal system with a corresponding algebraic loop. The loop is broken by adding the {\bf SS} component ``loop'' to localise the algabraic equation byh choosing the corresponding flow such that the corresponding effort is zero. This algebraic equation appears in Section \Ref{sec:aRC_dae-noargs.tex}. This loop is algbraicly solved to give the ordinary differential equation of Section \Ref{sec:aRC_ode-A.tex} and the transfer function of Section \Ref{sec:aRC_tf-A.tex}. |
Modified mttroot/mtt/lib/examples/AlgebraicLoops/aRC/aRC_rep.txt from [ecb3702c8e] to [ce544498bf].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ## -*-octave-*- Put Emacs into octave-mode ## Outline report file for system aRC (aRC_rep.txt) ## Generated by MTT on" Fri Oct 15 14:56:13 EST 1999. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ############################################################### mtt aRC abg tex # The system description mtt aRC cbg ps # The causal bond graph ## Uncomment the following lines or add others mtt aRC struc tex # The system structure mtt aRC dae tex # The system dae mtt -A aRC ode tex # The system ode ## mtt aRC sspar tex # Steady-state parameters ## mtt aRC ss tex # Steady state ## mtt aRC dm tex # Descriptor matrices (of linearised system) ## mtt aRC sm tex # State matrices (of linearised system) | > > > | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | ## -*-octave-*- Put Emacs into octave-mode ## Outline report file for system aRC (aRC_rep.txt) ## Generated by MTT on" Fri Oct 15 14:56:13 EST 1999. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 2000/12/28 17:02:29 peterg ## To RCS ## ############################################################### mtt aRC abg tex # The system description mtt aRC cbg ps # The causal bond graph ## Uncomment the following lines or add others mtt aRC struc tex # The system structure mtt aRC dae tex # The system dae mtt -A aRC ode tex # The system ode ## mtt aRC sspar tex # Steady-state parameters ## mtt aRC ss tex # Steady state ## mtt aRC dm tex # Descriptor matrices (of linearised system) ## mtt aRC sm tex # State matrices (of linearised system) mtt -A aRC tf tex # Transfer function (of linearised system) ## mtt aRC lmfr ps # log modulus of frequency response (of linearised system) ## mtt aRC simpar tex # Simulation parameters ## mtt aRC numpar tex # Numerical simulation parameters ## mtt aRC input tex # Simulation input ## mtt aRC odeso ps # Simulation output |
Modified mttroot/mtt/lib/examples/Chemical/Reactor/Reactor_abg.fig from [42573cb4d6] to [f1af6b8b3a].
︙ | ︙ | |||
103 104 105 106 107 108 109 | 9900 1200 9750 1050 2 1 0 2 -1 -1 0 0 -1 0.000 0 0 -1 0 0 3 4801 1801 5401 1201 5401 1426 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 5550 1350 5400 1200 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 5400 1200 5250 1050 | | | | | | | | | | | | | | | < | | | | | | | | | | | | | > | 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | 9900 1200 9750 1050 2 1 0 2 -1 -1 0 0 -1 0.000 0 0 -1 0 0 3 4801 1801 5401 1201 5401 1426 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 5550 1350 5400 1200 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 5400 1200 5250 1050 4 1 0 0 0 0 20 0.0000 4 195 1065 3075 4575 FMR:rfa\001 4 1 0 0 0 0 20 0.0000 4 195 1065 4575 4575 Rate:AD\001 4 1 0 0 0 0 20 0.0000 4 195 1050 6000 4575 Rate:AB\001 4 2 0 0 0 0 20 0.0000 4 255 810 1651 9076 SS:t_0\001 4 2 0 0 0 0 20 0.0000 4 255 690 3451 9976 C:h_r\001 4 1 0 0 0 0 20 0.0000 4 195 150 3000 6075 1\001 4 2 0 0 0 0 20 0.0000 4 210 525 1725 6075 SS:f\001 4 1 0 0 0 0 20 0.0000 4 195 150 3001 9076 1\001 4 1 0 0 0 0 20 0.0000 4 195 150 4501 9076 0\001 4 1 0 0 0 0 20 0.0000 4 195 1035 9001 4576 Rate:BC\001 4 1 0 0 0 0 20 0.0000 4 210 1080 10576 4576 FMR:rfb\001 4 1 1 1 0 3 20 0.0000 4 195 2595 9600 7800 THERMAL MODEL\001 4 1 1 1 0 3 20 0.0000 4 195 2865 9450 5700 HYDRAULIC MODEL\001 4 1 0 0 0 0 20 0.0000 4 195 915 3000 7575 FMR:rt\001 4 2 0 0 0 0 20 0.0000 4 255 855 1650 2175 SS:c_0\001 4 1 0 0 0 0 20 0.0000 4 195 150 3000 2175 1\001 4 1 0 0 0 0 20 0.0000 4 195 150 4500 2175 0\001 4 1 0 0 0 0 20 0.0000 4 195 150 6000 2175 1\001 4 1 0 0 0 0 20 0.0000 4 195 150 9001 2176 0\001 4 1 0 0 0 0 20 0.0000 4 195 150 10501 2176 1\001 4 1 0 0 0 0 20 0.0000 4 195 375 7500 2175 AF\001 4 1 0 0 0 0 20 0.0000 4 255 825 8100 1050 C:m_b\001 4 1 0 0 0 0 20 0.0000 4 240 810 3600 1050 C:m_a\001 4 1 1 1 0 3 20 0.0000 4 195 3645 9075 600 CONCENTRATION MODEL\001 4 1 0 0 0 0 20 0.0000 4 210 510 6151 9076 SS:t\001 4 1 0 0 0 0 20 0.0000 4 255 855 9975 1050 SS:c_b\001 4 1 0 0 0 0 20 0.0000 4 255 840 5475 1050 SS:c_a\001 4 1 1 1 0 3 20 0.0000 4 195 2640 9675 3750 REACTION MODEL\001 |
Modified mttroot/mtt/lib/examples/Chemical/Reactor/Reactor_input.txt from [033dc74e44] to [34abb31857].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # -*-octave-*- Put Emacs into octave-mode # Input specification (Reactor_input.txt) # Generated by MTT at Fri Mar 3 11:52:23 GMT 2000 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 2000/12/28 17:09:55 peterg ## To RCS ## ############################################################### ## Reduce steady-state parameter file (Reactor_sspar.r) ## as siso_sspar ecxept that inputs/states have different meaning | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # -*-octave-*- Put Emacs into octave-mode # Input specification (Reactor_input.txt) # Generated by MTT at Fri Mar 3 11:52:23 GMT 2000 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.2 2000/12/28 18:52:24 peterg ## Updated for new formats ## ## Revision 1.1 2000/12/28 17:09:55 peterg ## To RCS ## ############################################################### ## Reduce steady-state parameter file (Reactor_sspar.r) ## as siso_sspar ecxept that inputs/states have different meaning |
︙ | ︙ | |||
54 55 56 57 58 59 60 | # Set the inputs ## Removed by MTT on Thu Dec 28 18:44:39 GMT 2000: mttu(1) = u1 + 0.1*u1*(t>0.01); # f (Reactor) ## Removed by MTT on Thu Dec 28 18:44:39 GMT 2000: mttu(2) = u2 + 0.1*u2*(t>0.05) ; # t (Reactor) | | | > > | 57 58 59 60 61 62 63 64 65 66 67 | # Set the inputs ## Removed by MTT on Thu Dec 28 18:44:39 GMT 2000: mttu(1) = u1 + 0.1*u1*(t>0.01); # f (Reactor) ## Removed by MTT on Thu Dec 28 18:44:39 GMT 2000: mttu(2) = u2 + 0.1*u2*(t>0.05) ; # t (Reactor) ## Removed by MTT on Thu Jun 5 12:48:41 BST 2003: reactor_f = u1 + 0.1*u1*(t>0.01); # Added by MTT on Thu Dec 28 18:44:47 GMT 2000 ## Removed by MTT on Thu Jun 5 12:48:41 BST 2003: reactor_t = u2 + 0.1*u2*(t>0.05); # Added by MTT on Thu Dec 28 18:44:47 GMT 2000 reactor__f = u1 + 0.1*u1*(t>0.01); # f (Reactor) reactor__t = u2 + 0.1*u2*(t>0.05) ; # t (Reactor) |
Modified mttroot/mtt/lib/examples/Chemical/Reactor/Reactor_lbl.txt from [4b8c69ad2e] to [58ee2fa737].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | %% Label file for system Reactor (Reactor_lbl.txt) %SUMMARY Reactor: Simple reactor model %DESCRIPTION Pseudo bond graph reactor model (based on ancient version) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %ALIAS Rate Chemical/Rate % Extra variables %VAR t_s | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | %% Label file for system Reactor (Reactor_lbl.txt) %SUMMARY Reactor: Simple reactor model %DESCRIPTION Pseudo bond graph reactor model (based on ancient version) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.1 2000/12/28 17:09:55 peterg % %% To RCS % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %ALIAS Rate Chemical/Rate % Extra variables %VAR t_s |
︙ | ︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 | %VAR c %VAR c_A %VAR c_B %VAR x1 %VAR x2 %VAR x3 %VAR q_S %VAR u1 %VAR u2 % Port aliases % Argument aliases | > > > > | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | %VAR c %VAR c_A %VAR c_B %VAR x1 %VAR x2 %VAR x3 %VAR q_S %VAR h %VAR k %VAR n %VAR q %VAR u1 %VAR u2 % Port aliases % Argument aliases |
︙ | ︙ |
Modified mttroot/mtt/lib/examples/Chemical/Reactor/Reactor_numpar.txt from [a664ac56b4] to [39eebbbfae].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # -*-octave-*- Put Emacs into octave-mode # Numerical parameter file (Reactor_numpar.txt) # Generated by MTT at Fri Mar 3 09:22:56 GMT 2000 # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ## Dummies a = 0; # Dummy b = 0; # Dummy c = 0; # Dummy c_0 = 0; # Dummy | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # -*-octave-*- Put Emacs into octave-mode # Numerical parameter file (Reactor_numpar.txt) # Generated by MTT at Fri Mar 3 09:22:56 GMT 2000 # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ # %% Revision 1.1 2000/12/28 17:09:55 peterg # %% To RCS # %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ## Dummies a = 0; # Dummy b = 0; # Dummy c = 0; # Dummy c_0 = 0; # Dummy |
︙ | ︙ | |||
73 74 75 76 77 78 79 | > > | 76 77 78 79 80 81 82 83 84 | u1 = 1.0; # Added by MTT on Thu Jun 05 12:45:35 BST 2003 u2 = 1.0; # Added by MTT on Thu Jun 05 12:45:35 BST 2003 |
Modified mttroot/mtt/lib/examples/Chemical/Reactor/Reactor_rep.txt from [db07825607] to [303d4e3fcb].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ## -*-octave-*- Put Emacs into octave-mode ## Outline report file for system Reactor (Reactor_rep.txt) ## Generated by MTT on" Fri Mar 3 12:13:34 GMT 2000. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ############################################################### mtt Reactor abg tex # The system description mtt Reactor cbg ps # The causal bond graph ## Uncomment the following lines or add others mtt Reactor struc tex # The system structure ## mtt Reactor dae tex # The system dae mtt Reactor ode tex # The system ode mtt Reactor sspar tex # Steady-state parameters mtt Reactor ss tex # Steady state ## mtt Reactor dm tex # Descriptor matrices (of linearised system) mtt Reactor sm tex # State matrices (of linearised system) ## mtt Reactor tf tex # Transfer function (of linearised system) ## mtt Reactor lmfr ps # log modulus of frequency response (of linearised system) mtt Reactor simpar tex # Simulation parameters mtt Reactor numpar tex # Numerical simulation parameters mtt Reactor input tex # Simulation input mtt Reactor state tex # Simulation initial state ## The system outputs | > > > | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | ## -*-octave-*- Put Emacs into octave-mode ## Outline report file for system Reactor (Reactor_rep.txt) ## Generated by MTT on" Fri Mar 3 12:13:34 GMT 2000. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 2000/12/28 17:09:55 peterg ## To RCS ## ############################################################### mtt Reactor abg tex # The system description mtt Reactor cbg ps # The causal bond graph ## Uncomment the following lines or add others mtt Reactor struc tex # The system structure ## mtt Reactor dae tex # The system dae mtt Reactor ode tex # The system ode mtt Reactor sspar tex # Steady-state parameters mtt Reactor ss tex # Steady state ## mtt Reactor dm tex # Descriptor matrices (of linearised system) mtt Reactor sm tex # State matrices (of linearised system) ## mtt Reactor tf tex # Transfer function (of linearised system) ## mtt Reactor lmfr ps # log modulus of frequency response (of linearised system) mtt Reactor simpar tex # Simulation parameters mtt Reactor numpar tex # Numerical simulation parameters mtt Reactor input tex # Simulation input mtt Reactor state tex # Simulation initial state ## The system outputs mtt Reactor odeso ps 'Reactor__c_a' mtt Reactor odeso ps 'Reactor__c_b' mtt Reactor odeso ps 'Reactor__t' |
Modified mttroot/mtt/lib/examples/Chemical/Reactor/Reactor_state.txt from [cbf1efc5c4] to [6c03a0e0e1].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # -*-octave-*- Put Emacs into octave-mode # State specification (Reactor_state.txt) # Generated by MTT at Fri Mar 3 11:52:23 GMT 2000 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 2000/12/28 17:09:55 peterg ## To RCS ## ############################################################### ## Reduce steady-state parameter file (Reactor_sspar.r) ## as siso_sspar ecxept that states/states have different meaning | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # -*-octave-*- Put Emacs into octave-mode # State specification (Reactor_state.txt) # Generated by MTT at Fri Mar 3 11:52:23 GMT 2000 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.2 2000/12/28 18:52:25 peterg ## Updated for new formats ## ## Revision 1.1 2000/12/28 17:09:55 peterg ## To RCS ## ############################################################### ## Reduce steady-state parameter file (Reactor_sspar.r) ## as siso_sspar ecxept that states/states have different meaning |
︙ | ︙ | |||
55 56 57 58 59 60 61 | ## Removed by MTT on Thu Dec 28 18:46:20 GMT 2000: mttx(1) = x1; ## Removed by MTT on Thu Dec 28 18:46:20 GMT 2000: mttx(2) = x2; ## Removed by MTT on Thu Dec 28 18:46:20 GMT 2000: mttx(3) = x3; | | | | > > > | 58 59 60 61 62 63 64 65 66 67 68 69 70 | ## Removed by MTT on Thu Dec 28 18:46:20 GMT 2000: mttx(1) = x1; ## Removed by MTT on Thu Dec 28 18:46:20 GMT 2000: mttx(2) = x2; ## Removed by MTT on Thu Dec 28 18:46:20 GMT 2000: mttx(3) = x3; ## Removed by MTT on Thu Jun 5 12:47:23 BST 2003: reactor_h_r = x3; # Added by MTT on Thu Dec 28 18:46:25 GMT 2000 ## Removed by MTT on Thu Jun 5 12:47:23 BST 2003: reactor_m_a = x1; # Added by MTT on Thu Dec 28 18:46:25 GMT 2000 ## Removed by MTT on Thu Jun 5 12:47:23 BST 2003: reactor_m_b = x2; # Added by MTT on Thu Dec 28 18:46:25 GMT 2000 reactor__h_r = x3; reactor__m_a = x1; reactor__m_b = x2; |
Modified mttroot/mtt/lib/examples/Chemical/ReactorTF/ReactorTF_abg.fig from [986d2c3f0d] to [c9c0507fc0].
︙ | ︙ | |||
47 48 49 50 51 52 53 | 9225 4800 8775 4800 2 1 0 2 -1 -1 0 0 -1 0.000 0 0 -1 0 0 2 9225 4200 8775 4200 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 3000 7200 3000 6300 3150 6450 2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 10500 4800 3300 6000 3525 6075 | | | 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | 9225 4800 8775 4800 2 1 0 2 -1 -1 0 0 -1 0.000 0 0 -1 0 0 2 9225 4200 8775 4200 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 3000 7200 3000 6300 3150 6450 2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 10500 4800 3300 6000 3525 6075 2 4 1 2 1 7 1 0 -1 4.000 0 0 7 0 0 5 11100 5100 600 5100 600 3300 11100 3300 11100 5100 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 4485 2395 4485 4130 4633 3841 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 2999 2395 2999 4130 3148 3841 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 5970 2395 5970 4130 6119 3841 |
︙ | ︙ | |||
87 88 89 90 91 92 93 | 4050 1950 4350 1650 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 10050 1350 9900 1200 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 9900 1200 9750 1050 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 8550 1950 8850 1650 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | 4050 1950 4350 1650 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 10050 1350 9900 1200 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 9900 1200 9750 1050 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 8550 1950 8850 1650 2 4 1 2 1 7 1 0 -1 4.000 0 0 7 0 0 5 11100 300 600 300 600 2700 11100 2700 11100 300 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 3000 4800 3000 5700 3150 5550 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 2 4800 8775 4800 9000 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 2 5700 9000 5700 9225 2 1 0 2 -1 7 0 0 -1 0.000 0 0 -1 0 0 2 2700 6225 2700 6000 4 1 0 0 0 0 20 0.0000 4 195 1065 3075 4575 FMR:rfa\001 4 1 0 0 0 0 20 0.0000 4 195 1065 4575 4575 Rate:AD\001 4 1 0 0 0 0 20 0.0000 4 195 1050 6000 4575 Rate:AB\001 4 2 0 0 0 0 20 0.0000 4 255 810 1651 9076 SS:t_0\001 4 2 0 0 0 0 20 0.0000 4 255 690 3451 9976 C:h_r\001 4 1 0 0 0 0 20 0.0000 4 195 150 3000 6075 1\001 4 2 0 0 0 0 20 0.0000 4 210 525 1725 6075 SS:f\001 4 1 0 0 0 0 20 0.0000 4 195 150 3001 9076 1\001 4 1 0 0 0 0 20 0.0000 4 195 150 4501 9076 0\001 4 1 0 0 0 0 20 0.0000 4 195 1035 9001 4576 Rate:BC\001 4 1 0 0 0 0 20 0.0000 4 210 1080 10576 4576 FMR:rfb\001 4 1 1 1 0 3 20 0.0000 4 195 2595 9600 7800 THERMAL MODEL\001 4 1 0 0 0 0 20 0.0000 4 195 915 3000 7575 FMR:rt\001 4 1 1 1 0 3 20 0.0000 4 195 2640 9675 3750 REACTION MODEL\001 4 2 0 0 0 0 20 0.0000 4 255 855 1650 2175 SS:c_0\001 4 1 0 0 0 0 20 0.0000 4 195 150 3000 2175 1\001 4 1 0 0 0 0 20 0.0000 4 195 150 4500 2175 0\001 4 1 0 0 0 0 20 0.0000 4 195 150 6000 2175 1\001 4 1 0 0 0 0 20 0.0000 4 195 150 9001 2176 0\001 4 1 0 0 0 0 20 0.0000 4 195 150 10501 2176 1\001 4 1 0 0 0 0 20 0.0000 4 195 375 7500 2175 AF\001 4 1 0 0 0 0 20 0.0000 4 255 825 8100 1050 C:m_b\001 4 1 0 0 0 0 20 0.0000 4 255 855 9975 1050 SS:c_b\001 4 1 0 0 0 0 20 0.0000 4 240 810 3600 1050 C:m_a\001 4 1 1 1 0 3 20 0.0000 4 195 3645 9075 600 CONCENTRATION MODEL\001 4 1 0 0 0 0 20 0.0000 4 210 510 6151 9076 SS:t\001 4 1 1 1 0 3 20 0.0000 4 195 2865 9450 5700 HYDRAULIC MODEL\001 |
Modified mttroot/mtt/lib/examples/Chemical/ReactorTF/ReactorTF_input.txt from [f7ef1cabad] to [17d0ea4fb6].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # -*-octave-*- Put Emacs into octave-mode # Input specification (ReactorTF_input.txt) # Generated by MTT at Fri Mar 3 11:52:23 GMT 2000 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ############################################################### ## Reduce steady-state parameter file (ReactorTF_sspar.r) ## as siso_sspar ecxept that inputs/states have different meaning ## Steady state for constant c_a, c_b and t=t_s and f=f_s ## Unit volume ReactorTF: | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # -*-octave-*- Put Emacs into octave-mode # Input specification (ReactorTF_input.txt) # Generated by MTT at Fri Mar 3 11:52:23 GMT 2000 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 2000/12/28 17:12:57 peterg ## To RCS ## ############################################################### ## Reduce steady-state parameter file (ReactorTF_sspar.r) ## as siso_sspar ecxept that inputs/states have different meaning ## Steady state for constant c_a, c_b and t=t_s and f=f_s ## Unit volume ReactorTF: |
︙ | ︙ | |||
41 42 43 44 45 46 47 | #x3 = c_p*t_s*v_r; #Steady-state input q needed to achieve steady-state t_s q_s = -( (t_0-t_s)*c_p*f_s + e_1*h_1*k_1*x1 + e_2*h_2*k_2*x2 + e_3*h_3*k_3*x1^2); # Set the inputs | | | < < < | 44 45 46 47 48 49 50 51 52 | #x3 = c_p*t_s*v_r; #Steady-state input q needed to achieve steady-state t_s q_s = -( (t_0-t_s)*c_p*f_s + e_1*h_1*k_1*x1 + e_2*h_2*k_2*x2 + e_3*h_3*k_3*x1^2); # Set the inputs ## Removed by MTT on Thu Jun 5 14:13:24 BST 2003: mttu(1) = q_s + 0.1*q_s*(t>0.01); # q (ReactorTF) reactortf__t = q_s + 0.1*q_s*(t>0.01); # q (ReactorTF) |
Modified mttroot/mtt/lib/examples/Chemical/ReactorTF/ReactorTF_lbl.txt from [ee07601a68] to [254ff21c0a].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | %% Label file for system ReactorTF (ReactorTF_lbl.txt) %SUMMARY ReactorTF: Simple reactor model -- TF loop inverted %DESCRIPTION Pseudo bond graph reactor model (based on ancient version) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %ALIAS Rate Chemical/Rate % Extra variables %VAR t_s | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | %% Label file for system ReactorTF (ReactorTF_lbl.txt) %SUMMARY ReactorTF: Simple reactor model -- TF loop inverted %DESCRIPTION Pseudo bond graph reactor model (based on ancient version) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.1 2000/12/28 17:12:57 peterg % %% To RCS % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %ALIAS Rate Chemical/Rate % Extra variables %VAR t_s |
︙ | ︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 | %VAR c %VAR c_A %VAR c_B %VAR x1 %VAR x2 %VAR x3 %VAR q_S % Port aliases % Argument aliases %% each line should be of one of the following forms: | > > > > > | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | %VAR c %VAR c_A %VAR c_B %VAR x1 %VAR x2 %VAR x3 %VAR q_S %VAR h %VAR k %VAR n %VAR q % Port aliases % Argument aliases %% each line should be of one of the following forms: |
︙ | ︙ |
Modified mttroot/mtt/lib/examples/Chemical/ReactorTF/ReactorTF_rep.txt from [e0ee6f308d] to [e9c51c0201].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | ## -*-octave-*- Put Emacs into octave-mode ## Outline report file for system ReactorTF (ReactorTF_rep.txt) ## Generated by MTT on" Fri Mar 3 12:13:34 GMT 2000. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ############################################################### mtt ReactorTF abg tex # The system description mtt ReactorTF cbg ps # The causal bond graph ## Uncomment the following lines or add others mtt ReactorTF struc tex # The system structure ## mtt ReactorTF dae tex # The system dae mtt ReactorTF ode tex # The system ode mtt ReactorTF sspar tex # Steady-state parameters mtt ReactorTF ss tex # Steady state ## mtt ReactorTF dm tex # Descriptor matrices (of linearised system) mtt ReactorTF sm tex # State matrices (of linearised system) ## mtt ReactorTF tf tex # Transfer function (of linearised system) ## mtt ReactorTF lmfr ps # log modulus of frequency response (of linearised system) mtt ReactorTF simpar tex # Simulation parameters mtt ReactorTF numpar tex # Numerical simulation parameters mtt ReactorTF input tex # Simulation input mtt ReactorTF state tex # Simulation initial state | > > > | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | ## -*-octave-*- Put Emacs into octave-mode ## Outline report file for system ReactorTF (ReactorTF_rep.txt) ## Generated by MTT on" Fri Mar 3 12:13:34 GMT 2000. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 2000/12/28 17:12:57 peterg ## To RCS ## ############################################################### mtt ReactorTF abg tex # The system description mtt ReactorTF cbg ps # The causal bond graph ## Uncomment the following lines or add others mtt ReactorTF struc tex # The system structure ## mtt ReactorTF dae tex # The system dae mtt ReactorTF ode tex # The system ode mtt ReactorTF sspar tex # Steady-state parameters mtt ReactorTF ss tex # Steady state ## mtt ReactorTF dm tex # Descriptor matrices (of linearised system) mtt ReactorTF sm tex # State matrices (of linearised system) ## mtt ReactorTF tf tex # Transfer function (of linearised system) ## mtt ReactorTF lmfr ps # log modulus of frequency response (of linearised system) mtt ReactorTF simpar tex # Simulation parameters mtt ReactorTF numpar tex # Numerical simulation parameters mtt ReactorTF input tex # Simulation input mtt ReactorTF state tex # Simulation initial state mtt ReactorTF odeso ps # Simulation |
Modified mttroot/mtt/lib/examples/Chemical/ReactorTF/ReactorTF_state.txt from [c612c2654e] to [c53a41506a].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # -*-octave-*- Put Emacs into octave-mode # State specification (ReactorTF_state.txt) # Generated by MTT at Fri Mar 3 11:52:23 GMT 2000 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ############################################################### ## Reduce steady-state parameter file (ReactorTF_sspar.r) ## as siso_sspar ecxept that states/states have different meaning ## Steady state for constant c_a, c_b and t=t_s and f=f_s ## Unit volume ReactorTF: | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # -*-octave-*- Put Emacs into octave-mode # State specification (ReactorTF_state.txt) # Generated by MTT at Fri Mar 3 11:52:23 GMT 2000 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 2000/12/28 17:12:57 peterg ## To RCS ## ############################################################### ## Reduce steady-state parameter file (ReactorTF_sspar.r) ## as siso_sspar ecxept that states/states have different meaning ## Steady state for constant c_a, c_b and t=t_s and f=f_s ## Unit volume ReactorTF: |
︙ | ︙ | |||
37 38 39 40 41 42 43 | x1 = c_a*v_r; x2 = c_b*v_r; #Thermal state #x3 = c_p*t_s*v_r; ## Load up the states | | | | > > | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | x1 = c_a*v_r; x2 = c_b*v_r; #Thermal state #x3 = c_p*t_s*v_r; ## Load up the states ## Removed by MTT on Thu Jun 5 14:14:18 BST 2003: mttx(1) = x1; ## Removed by MTT on Thu Jun 5 14:14:18 BST 2003: mttx(2) = x2; ## Removed by MTT on Thu Jun 5 14:14:18 BST 2003: mttx(3) = x3; reactortf__m_a = x1; reactortf__m_b = x2; |
Modified mttroot/mtt/lib/examples/Chemical/ReactorTQ/ReactorTQ_abg.fig from [cd7058cbd0] to [79f241dde0].
︙ | ︙ | |||
60 61 62 63 64 65 66 | 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 2999 2395 2999 4130 3148 3841 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 5970 2395 5970 4130 6119 3841 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 10428 2397 10428 4132 10577 3843 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 | < < | 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 2999 2395 2999 4130 3148 3841 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 5970 2395 5970 4130 6119 3841 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 10428 2397 10428 4132 10577 3843 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 1800 2100 2700 2100 2550 2250 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 3300 2100 4200 2100 4050 2250 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 4800 2100 5700 2100 5550 2250 2 1 0 2 -1 -1 0 0 -1 0.000 0 0 -1 0 0 3 4200 1800 3600 1200 3600 1425 |
︙ | ︙ | |||
95 96 97 98 99 100 101 | 8550 1950 8850 1650 2 4 1 2 1 7 0 0 -1 4.000 0 0 7 0 0 5 11100 300 600 300 600 2700 11100 2700 11100 300 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 3000 4800 3000 5700 3150 5550 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 2 4800 8775 4800 9225 | > > | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | 8550 1950 8850 1650 2 4 1 2 1 7 0 0 -1 4.000 0 0 7 0 0 5 11100 300 600 300 600 2700 11100 2700 11100 300 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 3000 4800 3000 5700 3150 5550 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 2 4800 8775 4800 9225 2 1 0 2 0 0 0 0 -1 0.000 0 0 0 0 0 3 8943 2397 8943 4132 9091 3843 4 1 0 0 0 0 20 0.0000 4 195 1065 3075 4575 FMR:rfa\001 4 1 0 0 0 0 20 0.0000 4 195 1065 4575 4575 Rate:AD\001 4 1 0 0 0 0 20 0.0000 4 195 1050 6000 4575 Rate:AB\001 4 2 0 0 0 0 20 0.0000 4 255 810 1651 9076 SS:t_0\001 4 2 0 0 0 0 20 0.0000 4 255 690 3451 9976 C:h_r\001 4 1 0 0 0 0 20 0.0000 4 195 150 3000 6075 1\001 4 2 0 0 0 0 20 0.0000 4 210 525 1725 6075 SS:f\001 4 1 0 0 0 0 20 0.0000 4 195 150 3001 9076 1\001 4 1 0 0 0 0 20 0.0000 4 195 150 4501 9076 0\001 4 1 0 0 0 0 20 0.0000 4 195 1035 9001 4576 Rate:BC\001 4 1 0 0 0 0 20 0.0000 4 210 1080 10576 4576 FMR:rfb\001 4 1 1 1 0 3 20 0.0000 4 195 2595 9600 7800 THERMAL MODEL\001 4 1 1 1 0 3 20 0.0000 4 195 2865 9450 5700 HYDRAULIC MODEL\001 4 1 0 0 0 0 20 0.0000 4 195 915 3000 7575 FMR:rt\001 4 1 1 1 0 3 20 0.0000 4 195 2640 9675 3750 REACTION MODEL\001 4 2 0 0 0 0 20 0.0000 4 255 855 1650 2175 SS:c_0\001 4 1 0 0 0 0 20 0.0000 4 195 150 3000 2175 1\001 4 1 0 0 0 0 20 0.0000 4 195 150 4500 2175 0\001 4 1 0 0 0 0 20 0.0000 4 195 150 6000 2175 1\001 4 1 0 0 0 0 20 0.0000 4 195 150 9001 2176 0\001 4 1 0 0 0 0 20 0.0000 4 195 150 10501 2176 1\001 4 1 0 0 0 0 20 0.0000 4 195 375 7500 2175 AF\001 4 1 0 0 0 0 20 0.0000 4 255 825 8100 1050 C:m_b\001 4 1 0 0 0 0 20 0.0000 4 255 855 9975 1050 SS:c_b\001 4 1 0 0 0 0 20 0.0000 4 240 810 3600 1050 C:m_a\001 4 1 1 1 0 3 20 0.0000 4 195 3645 9075 600 CONCENTRATION MODEL\001 4 1 0 0 0 0 20 0.0000 4 210 510 6151 9076 SS:t\001 |
Modified mttroot/mtt/lib/examples/Chemical/ReactorTQ/ReactorTQ_input.txt from [322195a7f3] to [81403cdca4].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # -*-octave-*- Put Emacs into octave-mode # Input specification (ReactorTQ_input.txt) # Generated by MTT at Fri Mar 3 11:52:23 GMT 2000 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ############################################################### ## Reduce steady-state parameter file (ReactorTQ_sspar.r) ## as siso_sspar ecxept that inputs/states have different meaning ## Steady state for constant c_a, c_b and t=t_s and f=f_s ## Unit volume ReactorTQ: | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # -*-octave-*- Put Emacs into octave-mode # Input specification (ReactorTQ_input.txt) # Generated by MTT at Fri Mar 3 11:52:23 GMT 2000 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 2000/12/28 17:19:08 peterg ## To RCS ## ############################################################### ## Reduce steady-state parameter file (ReactorTQ_sspar.r) ## as siso_sspar ecxept that inputs/states have different meaning ## Steady state for constant c_a, c_b and t=t_s and f=f_s ## Unit volume ReactorTQ: |
︙ | ︙ | |||
37 38 39 40 41 42 43 | x1 = c_a*v_r; x2 = c_b*v_r; #Thermal state x3 = c_p*t_s*v_r; # Set the inputs | | | < < | 40 41 42 43 44 45 46 47 48 | x1 = c_a*v_r; x2 = c_b*v_r; #Thermal state x3 = c_p*t_s*v_r; # Set the inputs ## Removed by MTT on Thu Jun 5 14:27:42 BST 2003: mttu(1) = f_s + 0.1*f_s*(t>0.01); # f (ReactorTQ) reactortq__f = f_s + 0.1*f_s*(t>0.01); # f (ReactorTQ) |
Modified mttroot/mtt/lib/examples/Chemical/ReactorTQ/ReactorTQ_lbl.txt from [a4a8cc895a] to [a344d9fe61].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | %% Label file for system ReactorTQ (ReactorTQ_lbl.txt) %SUMMARY ReactorTQ: Simple reactor model - with TQ loop inverted %DESCRIPTION Pseudo bond graph reactor model (based on ancient version) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %ALIAS Rate Chemical/Rate % Extra variables %VAR t_s | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | %% Label file for system ReactorTQ (ReactorTQ_lbl.txt) %SUMMARY ReactorTQ: Simple reactor model - with TQ loop inverted %DESCRIPTION Pseudo bond graph reactor model (based on ancient version) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.1 2000/12/28 17:19:08 peterg % %% To RCS % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %ALIAS Rate Chemical/Rate % Extra variables %VAR t_s |
︙ | ︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 | %VAR c %VAR c_A %VAR c_B %VAR x1 %VAR x2 %VAR x3 %VAR q_S % Port aliases % Argument aliases %% each line should be of one of the following forms: | > > > > > | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | %VAR c %VAR c_A %VAR c_B %VAR x1 %VAR x2 %VAR x3 %VAR q_S %VAR h %VAR k %VAR n %VAR q % Port aliases % Argument aliases %% each line should be of one of the following forms: |
︙ | ︙ |
Modified mttroot/mtt/lib/examples/Chemical/ReactorTQ/ReactorTQ_rep.txt from [532236426b] to [eb12752c52].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | ## -*-octave-*- Put Emacs into octave-mode ## Outline report file for system ReactorTQ (ReactorTQ_rep.txt) ## Generated by MTT on" Fri Mar 3 12:13:34 GMT 2000. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ############################################################### mtt ReactorTQ abg tex # The system description mtt ReactorTQ cbg ps # The causal bond graph ## Uncomment the following lines or add others mtt ReactorTQ struc tex # The system structure ## mtt ReactorTQ dae tex # The system dae mtt ReactorTQ ode tex # The system ode ## mtt ReactorTQ sspar tex # Steady-state parameters ## mtt ReactorTQ ss tex # Steady state ## mtt ReactorTQ dm tex # Descriptor matrices (of linearised system) mtt ReactorTQ sm tex # State matrices (of linearised system) ## mtt ReactorTQ tf tex # Transfer function (of linearised system) ## mtt ReactorTQ lmfr ps # log modulus of frequency response (of linearised system) mtt ReactorTQ simpar tex # Simulation parameters mtt ReactorTQ numpar tex # Numerical simulation parameters mtt ReactorTQ input tex # Simulation input mtt ReactorTQ state tex # Simulation initial state | > > > | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | ## -*-octave-*- Put Emacs into octave-mode ## Outline report file for system ReactorTQ (ReactorTQ_rep.txt) ## Generated by MTT on" Fri Mar 3 12:13:34 GMT 2000. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 2000/12/28 17:19:08 peterg ## To RCS ## ############################################################### mtt ReactorTQ abg tex # The system description mtt ReactorTQ cbg ps # The causal bond graph ## Uncomment the following lines or add others mtt ReactorTQ struc tex # The system structure ## mtt ReactorTQ dae tex # The system dae mtt ReactorTQ ode tex # The system ode ## mtt ReactorTQ sspar tex # Steady-state parameters ## mtt ReactorTQ ss tex # Steady state ## mtt ReactorTQ dm tex # Descriptor matrices (of linearised system) mtt ReactorTQ sm tex # State matrices (of linearised system) ## mtt ReactorTQ tf tex # Transfer function (of linearised system) ## mtt ReactorTQ lmfr ps # log modulus of frequency response (of linearised system) mtt ReactorTQ simpar tex # Simulation parameters mtt ReactorTQ numpar tex # Numerical simulation parameters mtt ReactorTQ input tex # Simulation input mtt ReactorTQ state tex # Simulation initial state mtt ReactorTQ odeso ps |
Modified mttroot/mtt/lib/examples/Chemical/ReactorTQ/ReactorTQ_state.txt from [c8a0452632] to [ce4a9fee19].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # -*-octave-*- Put Emacs into octave-mode # State specification (ReactorTQ_state.txt) # Generated by MTT at Fri Mar 3 11:52:23 GMT 2000 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ############################################################### ## Reduce steady-state parameter file (ReactorTQ_sspar.r) ## as siso_sspar ecxept that states/states have different meaning ## Steady state for constant c_a, c_b and t=t_s and f=f_s ## Unit volume ReactorTQ: | > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # -*-octave-*- Put Emacs into octave-mode # State specification (ReactorTQ_state.txt) # Generated by MTT at Fri Mar 3 11:52:23 GMT 2000 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.1 2000/12/28 17:19:08 peterg ## To RCS ## ############################################################### ## Reduce steady-state parameter file (ReactorTQ_sspar.r) ## as siso_sspar ecxept that states/states have different meaning ## Steady state for constant c_a, c_b and t=t_s and f=f_s ## Unit volume ReactorTQ: |
︙ | ︙ | |||
38 39 40 41 42 43 44 | x2 = c_b*v_r; ## The two inputs at steady-state ##mttu(1) = f_s; ## Load up the states | | | | | < < | 41 42 43 44 45 46 47 48 49 50 51 | x2 = c_b*v_r; ## The two inputs at steady-state ##mttu(1) = f_s; ## Load up the states ## Removed by MTT on Thu Jun 5 14:25:48 BST 2003: mttx(1) = x1; ## Removed by MTT on Thu Jun 5 14:25:48 BST 2003: mttx(2) = x2; reactortq__m_a = x1; reactortq__m_b = x2; |
Modified mttroot/mtt/lib/examples/Components/OnePorts/OnePorts_desc.tex from [bcbc416ce5] to [940098c23a].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | % -*-latex-*- Put EMACS into LaTeX-mode % Verbal description for system OnePorts (OnePorts_desc.tex) % Generated by MTT on Fri Apr 19 08:12:54 BST 2002. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.1 2000/12/28 09:13:38 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% The acausal bond graph of system \textbf{OnePorts} is displayed in Figure \Ref{fig:OnePorts_abg.ps}; it contains the one port components: \textbf{R}, \textbf{C} and \textbf{I} in each of the two possible causalities. Note that the \textbf{R} has no prefered causality and, in this case, a causal stroke must be provided by the user. On the other hand, the \textbf{C} and \textbf{I} components are assigned prefered causality by MTT in the 3rd and 5th cases where no stroke is assigned by ther user. In the 4th and 6th cases, the user provides a causal stroke to put the components into derivative | > > > | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | % -*-latex-*- Put EMACS into LaTeX-mode % Verbal description for system OnePorts (OnePorts_desc.tex) % Generated by MTT on Fri Apr 19 08:12:54 BST 2002. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.1 2002/04/19 07:42:28 gawthrop % %% Simple teaching examples % %% % %% Revision 1.1 2000/12/28 09:13:38 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% The acausal bond graph of system \textbf{OnePorts} is displayed in Figure \Ref{fig:OnePorts_abg.ps}; it contains the one port components: \textbf{R}, \textbf{C} and \textbf{I} in each of the two possible causalities. Note that the \textbf{R} has no prefered causality and, in this case, a causal stroke must be provided by the user. On the other hand, the \textbf{C} and \textbf{I} components are assigned prefered causality by MTT in the 3rd and 5th cases where no stroke is assigned by ther user. In the 4th and 6th cases, the user provides a causal stroke to put the components into derivative causality. \Ref{fig:OnePorts_cbg-noargs.ps} shows the causality automatically completed for the 3rd and 5th cases. Section \Ref{sec:OnePorts_ode-noargs.tex} gives the system equations, $y_1$ to $y_6$ are the outputs (with the given causality) of the 6 components and $u_1$ to $u_6$ are the coresponding inputs. $x_1$ and $x_2$ are the states of the 3rd and 5th cases (ie integrated flow and effort respectively), $z_1$ and $z_2$ are the corresponding quantities for the the 4th and 6th cases, the two components in derivative causality. |
Modified mttroot/mtt/lib/examples/Components/TwoPorts/TwoPorts_desc.tex from [72c779d344] to [b3da0d8473].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | % -*-latex-*- Put EMACS into LaTeX-mode % Verbal description for system TwoPorts (TwoPorts_desc.tex) % Generated by MTT on Fri Apr 19 08:12:54 BST 2002. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.1 2000/12/28 09:13:38 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% The acausal bond graph of system \textbf{TwoPorts} is displayed in Figure \Ref{fig:TwoPorts_abg.ps}; it contains the two port components: \textbf{TF} and \textbf{GY} in each of the two possible causalities. Note that the neither component has prefered causality and, in both cases, a causal stroke must be provided by the user. | > > > | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | % -*-latex-*- Put EMACS into LaTeX-mode % Verbal description for system TwoPorts (TwoPorts_desc.tex) % Generated by MTT on Fri Apr 19 08:12:54 BST 2002. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.1 2002/04/19 07:47:45 gawthrop % %% Simple teaching example. % %% % %% Revision 1.1 2000/12/28 09:13:38 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% The acausal bond graph of system \textbf{TwoPorts} is displayed in Figure \Ref{fig:TwoPorts_abg.ps}; it contains the two port components: \textbf{TF} and \textbf{GY} in each of the two possible causalities. Note that the neither component has prefered causality and, in both cases, a causal stroke must be provided by the user. Section \Ref{sec:TwoPorts_ode-noargs.tex} gives the system equations. |
Modified mttroot/mtt/lib/examples/Electromechanical/Electrostatic/Electrostatic_input.txt from [f997874330] to [25020041f1].
1 2 3 4 5 6 7 8 9 10 11 | # Numerical parameter file (Electrostatic_input.txt) # Generated by MTT at Fri Sep 19 17:34:53 BST 1997 # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Set the inputs | > > > | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Numerical parameter file (Electrostatic_input.txt) # Generated by MTT at Fri Sep 19 17:34:53 BST 1997 # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ # %% Revision 1.1 2000/12/28 17:42:25 peterg # %% To RCS # %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Set the inputs ## Removed by MTT on Thu Jun 5 15:47:51 BST 2003: u(1) = 1.0; # V (Default value) electrostatic__v = 1.0; # Added by MTT on Thu Jun 05 15:47:54 BST 2003 |
Modified mttroot/mtt/lib/examples/Electromechanical/Electrostatic/Electrostatic_numpar.txt from [5c1dbfcaba] to [6073a2643a].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # Numerical parameter file (Electrostatic_numpar.txt) # Generated by MTT at Fri Sep 19 17:43:25 BST 1997 # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Parameters c_0 = 1.0; # Parameter c_0 for Electrostatic d = 1.0; # Parameter d for Electrostatic k = 100.0; # Parameter k for Electrostatic m = 1.0; # Parameter m for Electrostatic r = 1.0; # Parameter r for Electrostatic x_0 = 1.0; # Parameter x_0 for Electrostatic # Initial states | > > > | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Numerical parameter file (Electrostatic_numpar.txt) # Generated by MTT at Fri Sep 19 17:43:25 BST 1997 # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ # %% Revision 1.1 2000/12/28 17:42:25 peterg # %% To RCS # %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Parameters c_0 = 1.0; # Parameter c_0 for Electrostatic d = 1.0; # Parameter d for Electrostatic k = 100.0; # Parameter k for Electrostatic m = 1.0; # Parameter m for Electrostatic r = 1.0; # Parameter r for Electrostatic x_0 = 1.0; # Parameter x_0 for Electrostatic # Initial states ## Removed by MTT on Thu Jun 5 15:45:05 BST 2003: x(1) = 0.0; # Initial state for Electrostatic (k) ## Removed by MTT on Thu Jun 5 15:45:05 BST 2003: x(2) = 0.0; # Initial state for Electrostatic_cm (transducer) ## Removed by MTT on Thu Jun 5 15:45:05 BST 2003: x(3) = 1.0; # Initial state for Electrostatic_cm (transducer) ## Removed by MTT on Thu Jun 5 15:45:05 BST 2003: x(4) = 0.0; # Initial state for Electrostatic_cm (mass) |
Modified mttroot/mtt/lib/examples/Electromechanical/Electrostatic/Electrostatic_rep.txt from [aec852c6bc] to [6fccff7b53].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Outline report file for system Electrostatic (Electrostatic_rep.txt) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% mtt Electrostatic abg tex mtt Electrostatic struc tex mtt Electrostatic ode tex mtt Electrostatic numpar txt mtt Electrostatic input txt mtt Electrostatic simpar txt | > > > | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # Outline report file for system Electrostatic (Electrostatic_rep.txt) % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ % %% Revision 1.1 2000/12/28 17:42:25 peterg % %% To RCS % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% mtt Electrostatic abg tex mtt Electrostatic struc tex mtt Electrostatic ode tex mtt Electrostatic numpar txt mtt Electrostatic input txt mtt Electrostatic simpar txt mtt Electrostatic odeso ps |
Modified mttroot/mtt/lib/examples/Electromechanical/Electrostatic/Electrostatic_state.txt from [d1fa5b1a0b] to [2359358d24].
1 2 3 4 5 6 7 8 9 | ## -*-octave-*- Put Emacs into octave-mode ## ## ## System Electrostatic, representation state, language txt; ## File Electrostatic_state.txt; ## Generated by MTT on Mon Feb 5 16:40:35 GMT 2001; | | | | | > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## -*-octave-*- Put Emacs into octave-mode ## ## ## System Electrostatic, representation state, language txt; ## File Electrostatic_state.txt; ## Generated by MTT on Mon Feb 5 16:40:35 GMT 2001; ## Removed by MTT on Thu Jun 5 15:45:42 BST 2003: Electrostatic_cm_1_mass = 0.0; # Default ## Removed by MTT on Thu Jun 5 15:45:42 BST 2003: Electrostatic_cm_1_transducer = 0.0; # Default ## Removed by MTT on Thu Jun 5 15:45:42 BST 2003: ## Removed by MTT on Thu Jun 5 15:45:42 BST 2003: Electrostatic_cm_1_transducer_2 = 1.0; # plate displacement ## Removed by MTT on Thu Jun 5 15:45:42 BST 2003: Electrostatic_k = 0.0; # Default electrostatic__cm__mass = 0.0; electrostatic__cm__transducer = 0.0; electrostatic__cm__transducer_2 = 1.0; electrostatic__k = 0.0; |
Modified mttroot/mtt/lib/examples/Electromechanical/MotorGenerator/MotorGenerator_input.txt from [53349dd464] to [887fa90928].
1 2 3 4 5 6 7 8 9 | ## -*-octave-*- Put Emacs into octave-mode ## ## ## System MotorGenerator, representation input, language txt; ## File MotorGenerator_input.txt; ## Generated by MTT on Mon Dec 9 09:08:54 UTC 2002; | | > | 1 2 3 4 5 6 7 8 9 10 11 | ## -*-octave-*- Put Emacs into octave-mode ## ## ## System MotorGenerator, representation input, language txt; ## File MotorGenerator_input.txt; ## Generated by MTT on Mon Dec 9 09:08:54 UTC 2002; ## Removed by MTT on Thu Jun 5 16:43:47 BST 2003: MotorGenerator_v1_v_u = 1.0; # Default motorgenerator__v1__v__u = 1.0; # Added by MTT on Thu Jun 05 16:43:50 BST 2003 |