Overview
Comment: | Updated for new formats |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
cc854cc932f558386f681dd72ce0a24a |
User & Date: | gawthrop@users.sourceforge.net on 2000-12-28 18:52:25 |
Other Links: | branch diff | manifest | tags |
Context
2001-02-02
| ||
21:26:30 | *** empty log message *** check-in: 2c77a50aab user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2000-12-28
| ||
18:52:25 | Updated for new formats check-in: cc854cc932 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
18:42:18 |
New input definition. NB Needs to handle mutiports properly and state.txt modified accordingly check-in: f46da74fa9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/lib/examples/Chemical/Reactor/Reactor_input.txt from [94324e4c27] to [033dc74e44].
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$ ############################################################### ## Reduce steady-state parameter file (Reactor_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 Reactor: | > > > | 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.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 ## Steady state for constant c_a, c_b and t=t_s and f=f_s ## Unit volume Reactor: |
︙ | ︙ | |||
46 47 48 49 50 51 52 | ## The two inputs at steady-state u1 = f_s; u2 = q_s; # Set the inputs | | | > > | 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | ## The two inputs at steady-state u1 = f_s; u2 = q_s; # 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) reactor_f = u1 + 0.1*u1*(t>0.01); # Added by MTT on Thu Dec 28 18:44:47 GMT 2000 reactor_t = u2 + 0.1*u2*(t>0.05); # Added by MTT on Thu Dec 28 18:44:47 GMT 2000 |
Modified mttroot/mtt/lib/examples/Chemical/Reactor/Reactor_state.txt from [47f84318d6] to [cbf1efc5c4].
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$ ############################################################### ## Reduce steady-state parameter file (Reactor_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 Reactor: | > > > | 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.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 ## Steady state for constant c_a, c_b and t=t_s and f=f_s ## Unit volume Reactor: |
︙ | ︙ | |||
45 46 47 48 49 50 51 | 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); ## The two inputs at steady-state u1 = f_s; u2 = q_s; ## Load up the states | | | | > > > | 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | 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); ## The two inputs at steady-state u1 = f_s; u2 = q_s; ## Load up the states ## 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; reactor_h_r = x3; # Added by MTT on Thu Dec 28 18:46:25 GMT 2000 reactor_m_a = x1; # Added by MTT on Thu Dec 28 18:46:25 GMT 2000 reactor_m_b = x2; # Added by MTT on Thu Dec 28 18:46:25 GMT 2000 |