Overview
Comment: | Fixed explicit/implicit descriptions of forward/backward Euler. Replaced -c examples with -cc. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a63abf19c41cc153ed6209bf3e06ff24 |
User & Date: | geraint@users.sourceforge.net on 2005-01-06 14:42:33 |
Other Links: | branch diff | manifest | tags |
Context
2005-01-06
| ||
15:36:06 | Tidied output of options. check-in: 5100ad10db user: geraint@users.sourceforge.net tags: origin/master, trunk | |
14:42:33 |
Fixed explicit/implicit descriptions of forward/backward Euler. Replaced -c examples with -cc. check-in: a63abf19c4 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
12:47:53 | Fixed generation of sese.r with -make-sort option. check-in: 7b11243df4 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/doc/mtt.texi from [0fbad0c92f] to [7581d31334].
︙ | ︙ | |||
12 13 14 15 16 17 18 19 20 21 22 23 24 25 | @comment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @comment Version control history @comment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @comment $Id$ @comment $Log$ @comment Revision 1.25 2004/08/27 20:12:34 geraint @comment Added note about "none" as an option for units. @comment @comment Revision 1.24 2004/08/13 01:39:24 geraint @comment Fixed variable names in diy makefile example (again) @comment @comment Revision 1.23 2004/08/11 08:24:28 geraint | > > > | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | @comment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @comment Version control history @comment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @comment $Id$ @comment $Log$ @comment Revision 1.26 2005/01/06 12:28:36 geraint @comment Minor typos. @comment @comment Revision 1.25 2004/08/27 20:12:34 geraint @comment Added note about "none" as an option for units. @comment @comment Revision 1.24 2004/08/13 01:39:24 geraint @comment Fixed variable names in diy makefile example (again) @comment @comment Revision 1.23 2004/08/11 08:24:28 geraint |
︙ | ︙ | |||
1730 1731 1732 1733 1734 1735 1736 | @example mtt rc sro view @end example @noindent An alternative (but more general) way of achieving the same result is @example | | | 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 | @example mtt rc sro view @end example @noindent An alternative (but more general) way of achieving the same result is @example mtt -cc rc odeso view @end example @noindent View the system transfer function @example mtt rc tf view @end example |
︙ | ︙ | |||
1776 1777 1778 1779 1780 1781 1782 | mtt rc tf tex mtt rc tf dvi mtt rc sro ps mtt rc lmfr ps mtt rc odes h mtt rc numpar txt mtt rc input txt | | | 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 | mtt rc tf tex mtt rc tf dvi mtt rc sro ps mtt rc lmfr ps mtt rc odes h mtt rc numpar txt mtt rc input txt mtt -cc rc odeso ps mtt rc rep txt @end example A non-hypertext version can be viewed using: @example mtt rc rep view @end example |
︙ | ︙ | |||
2033 2034 2035 2036 2037 2038 2039 | @end ftable There are a number solution algorithms available: @itemize @bullet @item explicit solution via the matrix exponential @item | | | | 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 | @end ftable There are a number solution algorithms available: @itemize @bullet @item explicit solution via the matrix exponential @item backward Euler integration (implicit) @item forward Euler integration (explicit) @item Runge Kutta IV integration (explicit, fixed step) @item Hybrd algebraic solver (MINPACK, Octave fsolve) @c @item @c LSODE (Hindmarsh's ODE solver as implemented in Octave) @c @item |
︙ | ︙ | |||
2060 2061 2062 2063 2064 2065 2066 | @item mtt system sro view creates the step response of a @emph{linear} system via the system_sm.m representation using explicit solution via the matrix exponential. @c @item mtt system odeso view @c creates the step response of a @emph{nonlinear} system via the @c system_ode.m representation using either METHOD=Euler or @c METHOD=LSODE in the parameter file (@pxref{Simulation parameters}). | | | | | | 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 | @item mtt system sro view creates the step response of a @emph{linear} system via the system_sm.m representation using explicit solution via the matrix exponential. @c @item mtt system odeso view @c creates the step response of a @emph{nonlinear} system via the @c system_ode.m representation using either METHOD=Euler or @c METHOD=LSODE in the parameter file (@pxref{Simulation parameters}). @item mtt -cc system odeso view creates the response of a @emph{nonlinear} system via the system_ode.cc representation using implicit integration. @item mtt -cc -i euler system odeso view creates the response of a @emph{nonlinear} system via the system_ode.cc representation using euler integration. @end ftable Simulation parameters are described in the system_simpar.txt file (@pxref{Simulation parameters}). The steady-state solution of a system can also be ``simulated''(@pxref{Steady-state solutions}). |
︙ | ︙ | |||
2446 2447 2448 2449 2450 2451 2452 | @node Simulation code, Simulation output, Simulation initial state, Simulation @comment node-name, next, previous, up @section Simulation code simulation code can be generated by @strong{MTT} in the form of the @code{ode2odes} transformation. This can be produced in a number of languages, including .m, .oct, C and C++ @pxref{Languages}. | | | 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 | @node Simulation code, Simulation output, Simulation initial state, Simulation @comment node-name, next, previous, up @section Simulation code simulation code can be generated by @strong{MTT} in the form of the @code{ode2odes} transformation. This can be produced in a number of languages, including .m, .oct, C and C++ @pxref{Languages}. To generate simulation code in C (deprecated): @example mtt -c [options] sys ode2odes c @end example Similarly, to generate C++ code: @example mtt -cc [options] sys ode2odes cc |
︙ | ︙ | |||
2524 2525 2526 2527 2528 2529 2530 | plot the variables with names na1 .. namen against time @item 'name1:name2' plot the variable with name2 against that with name 1 @end ftable An example of plotting a single variable against time is: @example | | | | 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 | plot the variables with names na1 .. namen against time @item 'name1:name2' plot the variable with name2 against that with name 1 @end ftable An example of plotting a single variable against time is: @example mtt -o -cc -ss OttoCycle odeso ps 'OttoCycle_cycle_V' @end example An example of plotting one variable against another is: @example mtt -o -cc -ss OttoCycle odeso ps 'OttoCycle_cycle_V:OttoCycle_cycle_P' @end example @menu * Viewing results with gnuplot:: * Exporting results to SciGraphica:: @end menu |
︙ | ︙ | |||
4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 | # Generated by MTT at Mon Jun 16 15:10:17 BST 1997 # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ # %% Revision 1.25 2004/08/27 20:12:34 geraint # %% Added note about "none" as an option for units. # %% # %% Revision 1.24 2004/08/13 01:39:24 geraint # %% Fixed variable names in diy makefile example (again) # %% # %% Revision 1.23 2004/08/11 08:24:28 geraint | > > > | 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 | # Generated by MTT at Mon Jun 16 15:10:17 BST 1997 # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% Version control history # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %% $Id$ # %% $Log$ # %% Revision 1.26 2005/01/06 12:28:36 geraint # %% Minor typos. # %% # %% Revision 1.25 2004/08/27 20:12:34 geraint # %% Added note about "none" as an option for units. # %% # %% Revision 1.24 2004/08/13 01:39:24 geraint # %% Fixed variable names in diy makefile example (again) # %% # %% Revision 1.23 2004/08/11 08:24:28 geraint |
︙ | ︙ |