Index: mttroot/mtt/lib/examples/GasDynamics/LeakyCylinder/LeakyCylinder_rep.txt ================================================================== --- mttroot/mtt/lib/examples/GasDynamics/LeakyCylinder/LeakyCylinder_rep.txt +++ mttroot/mtt/lib/examples/GasDynamics/LeakyCylinder/LeakyCylinder_rep.txt @@ -3,10 +3,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.2 2003/06/11 15:57:57 gawthrop +% %% Updated examples for latest MTT. +% %% % %% Revision 1.1 2000/12/28 17:44:35 peterg % %% To RCS % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -14,10 +17,10 @@ mtt LeakyCylinder struc tex mtt LeakyCylinder sympar tex mtt LeakyCylinder ode tex mtt LeakyCylinder ss tex mtt LeakyCylinder sm tex -mtt LeakyCylinder odeso ps +##mtt LeakyCylinder odeso ps mtt LeakyCylinder rep txt Index: mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_input.txt ================================================================== --- mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_input.txt +++ mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_input.txt @@ -4,9 +4,13 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.1 2000/12/28 18:06:11 peterg +# %% To RCS +# %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Set the inputs -u(1) = 10.0*(t<5.0); # I_r +## Removed by MTT on Sun Aug 17 13:03:18 BST 2003: u(1) = 10.0*(t<5.0); # I_r +bigheatedrod__i_r = 10.0*(t<5.0); # I_r Index: mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_lbl.txt ================================================================== --- mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_lbl.txt +++ mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_lbl.txt @@ -1,48 +1,52 @@ -%SUMMARY BigHeatedRod: Thermal/Electrical model of Electric rod -%DESCRIPTION Introduces the idea of the ES component which -%DESCRIPTION transforms a relative-temperature/enthalpy pseudo bond -%DESCRIPTION (at the [e]port) into an absolute-temperature/enntropy -%DESCRIPTION energy bond (at the [s] port) and vice versa. - -%VAR rod_length -%VAR rod_radius -%VAR electrical_resistivity -%VAR thermal_resistivity -%VAR thermal_capacity -%VAR segments -%VAR area -%VAR delta_x -%VAR volume -%VAR density -%VAR mass - -%% Label file for system BigHeatedRod (BigHeatedRod_lbl.txt) - -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% Version control history -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% %% $Id$ -% %% $Log$ -% %% Revision 1.1 1997/09/11 16:16:29 peterg -% %% Initial revision -% %% -% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -%% Each line should be of one of the following forms: -% a comment (ie starting with %) -% Component-name CR_name arg1,arg2,..argn -% blank - - - -% Component type RT +#SUMMARY BigHeatedRod: Thermal/Electrical model of Electric rod +#DESCRIPTION Introduces the idea of the ES component which +#DESCRIPTION transforms a relative-temperature/enthalpy pseudo bond +#DESCRIPTION (at the [e]port) into an absolute-temperature/enntropy +#DESCRIPTION energy bond (at the [s] port) and vice versa. + +#PAR rod_length +#PAR rod_radius +#PAR electrical_resistivity +#PAR thermal_resistivity +#PAR thermal_capacity +#PAR segments +#PAR area +#PAR delta_x +#PAR volume +#PAR density +#PAR mass +#PAR pi + +## Label file for system BigHeatedRod (BigHeatedRod_lbl.txt) + +# ############################################################### +# ## Version control history +# ############################################################### +# ## $Id$ +# ## $Log$ +# ## Revision 1.1 2000/12/28 18:06:11 peterg +# ## To RCS +# ## +# ## Revision 1.1 1997/09/11 16:16:29 peterg +# ## Initial revision +# ## +# ############################################################### + +## Each line should be of one of the following forms: +# a comment (ie starting with #) +# Component-name CR_name arg1,arg2,..argn +# blank + + + +# Component type RT r_2 lin flow,r_2 -% Component type SS +# Component type SS I_r SS internal,external T_1 SS t_0,internal T_2 SS t_0,internal V_0 SS internal,internal -% Component type Segment +# Component type Segment s Index: mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_numpar.txt ================================================================== --- mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_numpar.txt +++ mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_numpar.txt @@ -4,10 +4,13 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.1 2000/12/28 18:06:11 peterg +# %% To RCS +# %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Constants for copper density = 8.96; @@ -15,10 +18,11 @@ rod_radius = 1e-3; electrical_resistivity = 16.8*0.000000001; thermal_resistivity = 1/390.0; thermal_capacity = 380.0; +pi = 3.142; segments = 100; area = pi*rod_radius*rod_radius; delta_x = rod_length/segments; volume = area*delta_x; Index: mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_rep.txt ================================================================== --- mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_rep.txt +++ mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_rep.txt @@ -3,13 +3,16 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.1 1998/11/23 13:37:55 peterg +% %% Initial revision +% %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -mtt -o -c BigHeatedRod abg tex +mtt -o -cc BigHeatedRod abg tex -mtt -o -c BigHeatedRod numpar txt -mtt -o -c BigHeatedRod input txt -mtt -o -c BigHeatedRod odeso ps +mtt -o -cc BigHeatedRod numpar txt +mtt -o -cc BigHeatedRod input txt +mtt -o -cc BigHeatedRod odeso ps Index: mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_state.txt ================================================================== --- mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_state.txt +++ mttroot/mtt/lib/examples/Simulation/BigHeatedRod/BigHeatedRod_state.txt @@ -4,108 +4,211 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.1 2000/12/28 18:06:11 peterg +## To RCS +## ############################################################### # Set the states -mttx(1) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(2) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(3) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(4) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(5) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(6) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(7) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(8) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(9) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(10) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(11) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(12) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(13) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(14) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(15) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(16) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(17) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(18) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(19) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(20) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(21) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(22) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(23) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(24) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(25) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(26) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(27) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(28) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(29) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(30) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(31) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(32) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(33) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(34) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(35) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(36) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(37) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(38) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(39) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(40) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(41) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(42) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(43) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(44) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(45) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(46) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(47) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(48) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(49) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(50) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(51) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(52) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(53) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(54) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(55) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(56) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(57) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(58) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(59) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(60) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(61) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(62) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(63) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(64) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(65) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(66) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(67) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(68) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(69) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(70) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(71) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(72) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(73) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(74) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(75) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(76) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(77) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(78) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(79) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(80) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(81) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(82) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(83) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(84) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(85) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(86) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(87) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(88) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(89) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(90) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(91) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(92) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(93) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(94) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(95) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(96) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(97) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(98) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(99) = c_t*t_0; # c (BigHeatedRod_s_c_t) -mttx(100) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(1) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(2) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(3) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(4) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(5) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(6) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(7) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(8) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(9) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(10) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(11) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(12) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(13) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(14) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(15) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(16) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(17) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(18) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(19) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(20) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(21) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(22) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(23) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(24) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(25) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(26) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(27) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(28) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(29) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(30) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(31) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(32) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(33) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(34) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(35) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(36) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(37) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(38) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(39) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(40) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(41) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(42) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(43) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(44) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(45) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(46) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(47) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(48) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(49) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(50) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(51) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(52) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(53) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(54) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(55) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(56) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(57) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(58) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(59) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(60) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(61) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(62) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(63) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(64) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(65) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(66) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(67) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(68) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(69) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(70) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(71) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(72) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(73) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(74) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(75) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(76) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(77) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(78) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(79) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(80) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(81) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(82) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(83) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(84) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(85) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(86) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(87) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(88) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(89) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(90) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(91) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(92) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(93) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(94) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(95) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(96) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(97) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(98) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(99) = c_t*t_0; # c (BigHeatedRod_s_c_t) +## Removed by MTT on Sun Aug 17 13:05:21 BST 2003: mttx(100) = c_t*t_0; # c (BigHeatedRod_s_c_t) +bigheatedrod__s__100__c_t__c = c_t*t_0; +bigheatedrod__s__10__c_t__c = c_t*t_0; +bigheatedrod__s__11__c_t__c = c_t*t_0; +bigheatedrod__s__12__c_t__c = c_t*t_0; +bigheatedrod__s__13__c_t__c = c_t*t_0; +bigheatedrod__s__14__c_t__c = c_t*t_0; +bigheatedrod__s__15__c_t__c = c_t*t_0; +bigheatedrod__s__16__c_t__c = c_t*t_0; +bigheatedrod__s__17__c_t__c = c_t*t_0; +bigheatedrod__s__18__c_t__c = c_t*t_0; +bigheatedrod__s__19__c_t__c = c_t*t_0; +bigheatedrod__s__20__c_t__c = c_t*t_0; +bigheatedrod__s__21__c_t__c = c_t*t_0; +bigheatedrod__s__22__c_t__c = c_t*t_0; +bigheatedrod__s__23__c_t__c = c_t*t_0; +bigheatedrod__s__24__c_t__c = c_t*t_0; +bigheatedrod__s__25__c_t__c = c_t*t_0; +bigheatedrod__s__26__c_t__c = c_t*t_0; +bigheatedrod__s__27__c_t__c = c_t*t_0; +bigheatedrod__s__28__c_t__c = c_t*t_0; +bigheatedrod__s__29__c_t__c = c_t*t_0; +bigheatedrod__s__2__c_t__c = c_t*t_0; +bigheatedrod__s__30__c_t__c = c_t*t_0; +bigheatedrod__s__31__c_t__c = c_t*t_0; +bigheatedrod__s__32__c_t__c = c_t*t_0; +bigheatedrod__s__33__c_t__c = c_t*t_0; +bigheatedrod__s__34__c_t__c = c_t*t_0; +bigheatedrod__s__35__c_t__c = c_t*t_0; +bigheatedrod__s__36__c_t__c = c_t*t_0; +bigheatedrod__s__37__c_t__c = c_t*t_0; +bigheatedrod__s__38__c_t__c = c_t*t_0; +bigheatedrod__s__39__c_t__c = c_t*t_0; +bigheatedrod__s__3__c_t__c = c_t*t_0; +bigheatedrod__s__40__c_t__c = c_t*t_0; +bigheatedrod__s__41__c_t__c = c_t*t_0; +bigheatedrod__s__42__c_t__c = c_t*t_0; +bigheatedrod__s__43__c_t__c = c_t*t_0; +bigheatedrod__s__44__c_t__c = c_t*t_0; +bigheatedrod__s__45__c_t__c = c_t*t_0; +bigheatedrod__s__46__c_t__c = c_t*t_0; +bigheatedrod__s__47__c_t__c = c_t*t_0; +bigheatedrod__s__48__c_t__c = c_t*t_0; +bigheatedrod__s__49__c_t__c = c_t*t_0; +bigheatedrod__s__4__c_t__c = c_t*t_0; +bigheatedrod__s__50__c_t__c = c_t*t_0; +bigheatedrod__s__51__c_t__c = c_t*t_0; +bigheatedrod__s__52__c_t__c = c_t*t_0; +bigheatedrod__s__53__c_t__c = c_t*t_0; +bigheatedrod__s__54__c_t__c = c_t*t_0; +bigheatedrod__s__55__c_t__c = c_t*t_0; +bigheatedrod__s__56__c_t__c = c_t*t_0; +bigheatedrod__s__57__c_t__c = c_t*t_0; +bigheatedrod__s__58__c_t__c = c_t*t_0; +bigheatedrod__s__59__c_t__c = c_t*t_0; +bigheatedrod__s__5__c_t__c = c_t*t_0; +bigheatedrod__s__60__c_t__c = c_t*t_0; +bigheatedrod__s__61__c_t__c = c_t*t_0; +bigheatedrod__s__62__c_t__c = c_t*t_0; +bigheatedrod__s__63__c_t__c = c_t*t_0; +bigheatedrod__s__64__c_t__c = c_t*t_0; +bigheatedrod__s__65__c_t__c = c_t*t_0; +bigheatedrod__s__66__c_t__c = c_t*t_0; +bigheatedrod__s__67__c_t__c = c_t*t_0; +bigheatedrod__s__68__c_t__c = c_t*t_0; +bigheatedrod__s__69__c_t__c = c_t*t_0; +bigheatedrod__s__6__c_t__c = c_t*t_0; +bigheatedrod__s__70__c_t__c = c_t*t_0; +bigheatedrod__s__71__c_t__c = c_t*t_0; +bigheatedrod__s__72__c_t__c = c_t*t_0; +bigheatedrod__s__73__c_t__c = c_t*t_0; +bigheatedrod__s__74__c_t__c = c_t*t_0; +bigheatedrod__s__75__c_t__c = c_t*t_0; +bigheatedrod__s__76__c_t__c = c_t*t_0; +bigheatedrod__s__77__c_t__c = c_t*t_0; +bigheatedrod__s__78__c_t__c = c_t*t_0; +bigheatedrod__s__79__c_t__c = c_t*t_0; +bigheatedrod__s__7__c_t__c = c_t*t_0; +bigheatedrod__s__80__c_t__c = c_t*t_0; +bigheatedrod__s__81__c_t__c = c_t*t_0; +bigheatedrod__s__82__c_t__c = c_t*t_0; +bigheatedrod__s__83__c_t__c = c_t*t_0; +bigheatedrod__s__84__c_t__c = c_t*t_0; +bigheatedrod__s__85__c_t__c = c_t*t_0; +bigheatedrod__s__86__c_t__c = c_t*t_0; +bigheatedrod__s__87__c_t__c = c_t*t_0; +bigheatedrod__s__88__c_t__c = c_t*t_0; +bigheatedrod__s__89__c_t__c = c_t*t_0; +bigheatedrod__s__8__c_t__c = c_t*t_0; +bigheatedrod__s__90__c_t__c = c_t*t_0; +bigheatedrod__s__91__c_t__c = c_t*t_0; +bigheatedrod__s__92__c_t__c = c_t*t_0; +bigheatedrod__s__93__c_t__c = c_t*t_0; +bigheatedrod__s__94__c_t__c = c_t*t_0; +bigheatedrod__s__95__c_t__c = c_t*t_0; +bigheatedrod__s__96__c_t__c = c_t*t_0; +bigheatedrod__s__97__c_t__c = c_t*t_0; +bigheatedrod__s__98__c_t__c = c_t*t_0; +bigheatedrod__s__99__c_t__c = c_t*t_0; +bigheatedrod__s__9__c_t__c = c_t*t_0; +bigheatedrod__s__c_t__c = c_t*t_0; Index: mttroot/mtt/lib/examples/Simulation/ImplicitRC/ImplicitRC_desc.tex ================================================================== --- mttroot/mtt/lib/examples/Simulation/ImplicitRC/ImplicitRC_desc.tex +++ mttroot/mtt/lib/examples/Simulation/ImplicitRC/ImplicitRC_desc.tex @@ -5,10 +5,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.1 2000/12/28 18:06:50 peterg +% %% To RCS +% %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% This report describes the \emph{implicit} integration methods available in MTT. They are introduced to provide simulation of systems within the following context: @@ -81,23 +84,23 @@ In contrast, the implicit method is stable. \subsubsection{Example} The acausal bond graph of system \textbf{ImplicitRC} is - displayed in Figure \Ref{ImplicitRC_abg} and its label - file is listed in Section \Ref{sec:ImplicitRC_lbl}. + displayed in Figure \Ref{fig:ImplicitRC_abg.ps} and its label + file is listed in Section \Ref{sec:ImplicitRC_lbl} The subsystems are listed in Section \Ref{sec:ImplicitRC_sub}. The system represents two simple RC circuits in series with -differential equations as given in Section \Ref{sec:ImplicitRC_ode.tex} and -transfer function as given in Section \Ref{sec:ImplicitRC_tf.tex}. +differential equations as given in Section \Ref{sec:ImplicitRC_ode-noargs.tex} and +transfer function as given in Section \Ref{sec:ImplicitRC_tf-noargs.tex}. For the purposes of this example the two time constants are $1$ and $\epsilon=10^{-3}$ -- this is a stiff system. All of the simulations use a sample interval of $\Delta t = 0.1$ ang the input is a unit -step. Section \Ref{sec:ImplicitRC_sro} shows the exact (computed from -the matrix exponential) solution, and Section \Ref{sec:ImplicitRC_odeso} +step. Section \Ref{sec:ImplicitRC_sro-noargs.ps} shows the exact (computed from +the matrix exponential) solution, and Section {sec:ImplicitRC_odeso-cc.ps} shows the solution by implicit integration. The explicit solution is not shown, but was found to be unstable for $\Delta t > 0.002$ as predicted. Index: mttroot/mtt/lib/examples/Simulation/ImplicitRC/ImplicitRC_numpar.txt ================================================================== --- mttroot/mtt/lib/examples/Simulation/ImplicitRC/ImplicitRC_numpar.txt +++ mttroot/mtt/lib/examples/Simulation/ImplicitRC/ImplicitRC_numpar.txt @@ -4,12 +4,15 @@ # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ +# %% Revision 1.1 2000/12/28 18:06:50 peterg +# %% To RCS +# %% # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Parameters epsilon = 1e-3; # ImplicitRC -c = 1.0; -r = 1.0; +## Removed by MTT on Sun Aug 17 13:59:26 BST 2003: ## Removed by MTT on Sun Aug 17 13:59:26 BST 2003: c = 1.0; +## Removed by MTT on Sun Aug 17 13:59:26 BST 2003: r = 1.0; Index: mttroot/mtt/lib/examples/Simulation/ImplicitRC/ImplicitRC_rep.txt ================================================================== --- mttroot/mtt/lib/examples/Simulation/ImplicitRC/ImplicitRC_rep.txt +++ mttroot/mtt/lib/examples/Simulation/ImplicitRC/ImplicitRC_rep.txt @@ -3,10 +3,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.1 2000/12/28 18:06:50 peterg +% %% To RCS +% %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% mtt ImplicitRC abg tex mtt ImplicitRC struc tex mtt ImplicitRC ode tex @@ -17,6 +20,6 @@ mtt ImplicitRC sro ps mtt ImplicitRC numpar tex mtt ImplicitRC simpar tex -mtt -c ImplicitRC odeso ps +mtt -cc ImplicitRC odeso ps Index: mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/LiquidTurbine/LiquidTurbine_rep.txt ================================================================== --- mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/LiquidTurbine/LiquidTurbine_rep.txt +++ mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/LiquidTurbine/LiquidTurbine_rep.txt @@ -3,10 +3,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.2 1999/12/21 23:50:25 peterg +% %% Use compiled version +% %% % %% Revision 1.1 1999/02/21 02:13:25 peterg % %% Initial revision % %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -18,10 +21,10 @@ mtt -o -ss LiquidTurbine numpar txt mtt -o -ss LiquidTurbine input txt -mtt -o -ss -c LiquidTurbine odeso ps 'LiquidTurbine_Heat' -mtt -o -ss -c LiquidTurbine odeso ps 'LiquidTurbine_Work' -mtt -o -ss -c LiquidTurbine odeso ps 'LiquidTurbine_in_Hy_in' -mtt -o -ss -c LiquidTurbine odeso ps 'LiquidTurbine_out_Hy_out' -mtt -o -ss -c LiquidTurbine odeso ps 'LiquidTurbine_out_Th_out' +mtt -o -ss LiquidTurbine odeso ps 'LiquidTurbine__Heat' +mtt -o -ss LiquidTurbine odeso ps 'LiquidTurbine__Work' +mtt -o -ss LiquidTurbine odeso ps 'LiquidTurbine__in__Hy_in' +mtt -o -ss LiquidTurbine odeso ps 'LiquidTurbine__out__Hy_out' +mtt -o -ss LiquidTurbine odeso ps 'LiquidTurbine__out__Th_out' Index: mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/LiquidTurbine/LiquidTurbine_sspar.r ================================================================== --- mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/LiquidTurbine/LiquidTurbine_sspar.r +++ mttroot/mtt/lib/examples/Thermal/Incompressible/Incompressible-Systems/LiquidTurbine/LiquidTurbine_sspar.r @@ -4,17 +4,20 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % $Id$ % % $Log$ +% % Revision 1.1 2000/12/28 18:11:16 peterg +% % To RCS +% % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Steady-state states MTTX1 := 1; % LiquidTurbine (j_s) -MTTX2 := p_0*c/rho; % LiquidTurbine_C1 (tank) - pressure = p0 -MTTX3 := t_0*p_0*c*c_p; % LiquidTurbine_C1 (tank) - temp = t0 +MTTX2 := p_0*c_t/rho; % LiquidTurbine_C1 (tank) - pressure = p0 +MTTX3 := t_0*p_0*c_t*c_p; % LiquidTurbine_C1 (tank) - temp = t0 % Steady-state inputs MTTU1 := q_0; % LiquidTurbine (Heat) MTTU2 := 0; % LiquidTurbine (Work) ;;END;