Index: mttroot/mtt/lib/examples/Hybrid/Bounce/Bounce_desc.tex ================================================================== --- mttroot/mtt/lib/examples/Hybrid/Bounce/Bounce_desc.tex +++ mttroot/mtt/lib/examples/Hybrid/Bounce/Bounce_desc.tex @@ -4,10 +4,13 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% Version control history % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %% $Id$ % %% $Log$ +% %% Revision 1.1 2000/12/28 17:45:24 peterg +% %% To RCS +% %% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% The acausal bond graph of system \textbf{Bounce}, togehter with a schematic diagram is displayed in Figure \Ref{Bounce_abg} and its label @@ -14,11 +17,11 @@ file is listed in Section \Ref{sec:Bounce_lbl}. The subsystems are listed in Section \Ref{sec:Bounce_sub}. The model uses the {\bf CSW} switched {\bf C} element to simulate contact with the ground. The corresponding switching function (See -Section \ref{sec:Bounce_input.txt}), is based on the height above the +Section \ref{sec:Bounce_input-noargs.txt}), is based on the height above the ground $h$ as follows: \begin{equation} i_{sw} = \begin{cases} 0 & \text{if $h > 0$}\\ @@ -32,13 +35,13 @@ The ball is modelled as a point mass (the \textbf{I} component) and a linear resistance to motion (the (the \textbf{R} component). The system was simulated for 100 time units and the resultant height -is plotted in Figure \ref{fig:Bounce_odeso.ps}. The ball was released at zero +is plotted in Figure \ref{fig:Bounce_odeso-noargs.ps}. The ball was released at zero velocity from a height of ten units. The bounce height decreases due to the effect of the modelled air resistance. %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End: Index: mttroot/mtt/lib/examples/Hybrid/Bounce/Bounce_logic.txt ================================================================== --- mttroot/mtt/lib/examples/Hybrid/Bounce/Bounce_logic.txt +++ mttroot/mtt/lib/examples/Hybrid/Bounce/Bounce_logic.txt @@ -4,13 +4,16 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.2 2000/12/28 17:45:24 peterg +## To RCS +## ## Revision 1.1 2000/05/18 11:29:58 peterg ## Initial revision ## ############################################################### # Set the switches -bounce_ground_1_mtt_switch_logic = (bounce_intf_1_mtt3<0); +bounce_ground_mtt_switch_logic = (bounce_intf_mttc < 0); # Index: mttroot/mtt/lib/examples/Hybrid/Bounce/Bounce_state.txt ================================================================== --- mttroot/mtt/lib/examples/Hybrid/Bounce/Bounce_state.txt +++ mttroot/mtt/lib/examples/Hybrid/Bounce/Bounce_state.txt @@ -1,23 +1,23 @@ +# -*-octave-*- # Initial state file (Bounce_state.txt) # Generated by MTT at Sat Jul 25 15:56:57 BST 1998 ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.3 2001/10/05 11:24:30 gawthrop +## Updated for new mtt features - input.txt etc +## ## Revision 1.2 1998/07/25 20:34:05 peterg ## *** empty log message *** ## ## Revision 1.1 1998/07/25 14:59:11 peterg ## Initial revision ## ############################################################### # Set the states -## Removed by MTT on Fri Oct 5 10:38:29 BST 2001: mttx(1) = 10.0; # 3 (Bounce_intf) -## Removed by MTT on Fri Oct 5 10:38:29 BST 2001: mttx(2) = 0.0; # MTT_SWITCH (Bounce_ground) -## Removed by MTT on Fri Oct 5 10:38:29 BST 2001: mttx(3) = 0.0; # ball_mass (Bounce) - -bounce_ball_mass = 0.0; # Added by MTT on Fri Oct 05 10:38:33 BST 2001 -bounce_ground_1_mtt_switch = 0.0; # Added by MTT on Fri Oct 05 10:38:33 BST 2001 -bounce_intf_1_mtt3 = 10.0; # Added by MTT on Fri Oct 05 10:38:33 BST 2001 +bounce_ball_mass = 0.0; # +bounce_ground_mtt_switch = 0.0; # +bounce_intf_mttc = 10.0; #