ADDED mttroot/mtt/lib/examples/Components/OnePorts/OnePorts_abg.fig Index: mttroot/mtt/lib/examples/Components/OnePorts/OnePorts_abg.fig ================================================================== --- mttroot/mtt/lib/examples/Components/OnePorts/OnePorts_abg.fig +++ mttroot/mtt/lib/examples/Components/OnePorts/OnePorts_abg.fig @@ -0,0 +1,43 @@ +#FIG 3.2 +Portrait +Center +Metric +A4 +100.00 +Single +-2 +1200 2 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 3375 2925 4725 2925 4500 3150 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 4725 2700 4725 3150 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 3375 3600 4725 3600 4500 3825 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 3375 3375 3375 3825 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 3375 4275 4725 4275 4500 4500 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 3375 4950 4725 4950 4500 5175 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 4725 4725 4725 5175 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 3375 5625 4725 5625 4500 5850 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 3375 6300 4725 6300 4500 6525 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 3375 6075 3375 6525 +2 4 0 2 31 7 101 0 -1 0.000 0 0 7 0 0 5 + 5850 6750 2025 6750 2025 2475 5850 2475 5850 6750 +4 1 0 100 0 18 18 0.0000 4 270 690 5265 3015 R:r_1\001 +4 1 0 100 0 18 18 0.0000 4 270 1050 2790 3015 SS:ss_1\001 +4 1 0 100 0 18 18 0.0000 4 270 690 5265 3690 R:r_2\001 +4 1 0 100 0 18 18 0.0000 4 270 1050 2790 3690 SS:ss_2\001 +4 1 0 100 0 18 18 0.0000 4 270 750 5265 4365 C:c_3\001 +4 1 0 100 0 18 18 0.0000 4 270 1050 2790 4365 SS:ss_3\001 +4 1 0 100 0 18 18 0.0000 4 270 750 5265 5040 C:c_4\001 +4 1 0 100 0 18 18 0.0000 4 270 1050 2790 5040 SS:ss_4\001 +4 1 0 100 0 18 18 0.0000 4 270 540 5265 5715 I:i_5\001 +4 1 0 100 0 18 18 0.0000 4 270 1050 2790 5715 SS:ss_5\001 +4 1 0 100 0 18 18 0.0000 4 270 540 5265 6390 I:i_6\001 +4 1 0 100 0 18 18 0.0000 4 270 1050 2790 6390 SS:ss_6\001 ADDED mttroot/mtt/lib/examples/Components/OnePorts/OnePorts_desc.tex Index: mttroot/mtt/lib/examples/Components/OnePorts/OnePorts_desc.tex ================================================================== --- mttroot/mtt/lib/examples/Components/OnePorts/OnePorts_desc.tex +++ mttroot/mtt/lib/examples/Components/OnePorts/OnePorts_desc.tex @@ -0,0 +1,36 @@ +% -*-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 + causality. \Ref{fig:OnePorts_cbg.ps} shows the causality + automatically completed for the 3rd and 5th cases. + + Section \Ref{sec:OnePorts_ode.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. + ADDED mttroot/mtt/lib/examples/Components/OnePorts/OnePorts_rep.txt Index: mttroot/mtt/lib/examples/Components/OnePorts/OnePorts_rep.txt ================================================================== --- mttroot/mtt/lib/examples/Components/OnePorts/OnePorts_rep.txt +++ mttroot/mtt/lib/examples/Components/OnePorts/OnePorts_rep.txt @@ -0,0 +1,35 @@ +## -*-octave-*- Put Emacs into octave-mode +## Outline report file for system OnePorts (OnePorts_rep.txt) +## Generated by MTT on" Thu Apr 18 08:49:49 BST 2002. + +############################################################### +## Version control history +############################################################### +## $Id$ +## $Log$ +## Revision 1.1 2000/12/28 11:58:07 peterg +## Put under RCS +## +############################################################### + +mtt OnePorts abg tex # The system description +mtt OnePorts cbg ps # The causal bond graph +mtt OnePorts struc tex # The system structure +mtt OnePorts sympar tex # The system parameters +## Uncomment the following lines or add others +## mtt OnePorts dae tex # The system dae +mtt OnePorts ode tex # The system ode +## mtt OnePorts sspar tex # Steady-state parameters +## mtt OnePorts ss tex # Steady state +## mtt OnePorts dm tex # Descriptor matrices (of linearised system) +## mtt OnePorts sm tex # State matrices (of linearised system) +## mtt OnePorts tf tex # Transfer function (of linearised system) +## mtt OnePorts lmfr ps # log modulus of frequency response (of linearised system) +## mtt OnePorts simpar tex # Simulation parameters +## mtt OnePorts numpar tex # Numerical simulation parameters +## mtt OnePorts state tex # Simulation initial state +## mtt OnePorts input tex # Simulation input +## mtt OnePorts logic tex # Logic control +## mtt OnePorts odeso ps # Simulation output + +## mtt OnePorts rep txt # This file ADDED mttroot/mtt/lib/examples/Components/TwoPorts/TwoPorts_abg.fig Index: mttroot/mtt/lib/examples/Components/TwoPorts/TwoPorts_abg.fig ================================================================== --- mttroot/mtt/lib/examples/Components/TwoPorts/TwoPorts_abg.fig +++ mttroot/mtt/lib/examples/Components/TwoPorts/TwoPorts_abg.fig @@ -0,0 +1,47 @@ +#FIG 3.2 +Portrait +Center +Metric +A4 +100.00 +Single +-2 +1200 2 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 2700 2925 4050 2925 3825 3150 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 5175 2925 6525 2925 6300 3150 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 5175 2700 5175 3150 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 2700 3825 4050 3825 3825 4050 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 5175 3825 6525 3825 6300 4050 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 4050 3600 4050 4050 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 2700 4725 4050 4725 3825 4950 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 5175 4725 6525 4725 6300 4950 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 5175 4500 5175 4950 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 2700 5625 4050 5625 3825 5850 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3 + 5175 5625 6525 5625 6300 5850 +2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2 + 4050 5400 4050 5850 +2 4 0 2 31 7 101 0 -1 0.000 0 0 7 0 0 5 + 8100 6300 1125 6300 1125 2250 8100 2250 8100 6300 +4 1 0 100 0 18 18 0.0000 4 270 900 4635 3015 TF:n_1\001 +4 2 0 100 0 18 18 0.0000 4 270 1200 2520 3015 SS:ss_11\001 +4 0 0 100 0 18 18 0.0000 4 270 1200 6705 3015 SS:ss_12\001 +4 1 0 100 0 18 18 0.0000 4 270 900 4635 3915 TF:n_2\001 +4 2 0 100 0 18 18 0.0000 4 270 1200 2520 3915 SS:ss_21\001 +4 0 0 100 0 18 18 0.0000 4 270 1200 6705 3915 SS:ss_22\001 +4 1 0 100 0 18 18 0.0000 4 270 960 4635 4815 GY:n_3\001 +4 2 0 100 0 18 18 0.0000 4 270 1200 2520 4815 SS:ss_31\001 +4 0 0 100 0 18 18 0.0000 4 270 1200 6705 4815 SS:ss_32\001 +4 1 0 100 0 18 18 0.0000 4 270 960 4635 5715 GY:n_4\001 +4 2 0 100 0 18 18 0.0000 4 270 1200 2520 5715 SS:ss_41\001 +4 0 0 100 0 18 18 0.0000 4 270 1200 6705 5715 SS:ss_42\001