50 descendants and 50 ancestors of d9e3b30dc2047e52

2002-06-05
23:34:33
Eliminated argument list too long warnings.
Now get a Segmentation Fault with very long equations!
check-in: df4560e091 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
18:23:38
Cosmetic change. check-in: 56f530fcb4 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
17:57:50
Main part of optimisation routine moved to separate file. check-in: 9e8650bb26 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
17:28:00
Cosmetic change. check-in: 96f269ef83 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
17:27:18
commented out incomplete debugging code. check-in: a7340b2ea2 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
15:22:11
fix_c.r called at ese2rdae stage so that pow gets fixed in ae.r. check-in: 64117a2b31 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
11:14:51
ae.r now generated using def2write_r like cse?.r
fix_c.r called at ese2rdae stage so that pow gets fixed in ae.r.

These changes produce the desired result (optimised algebraic equations) but
have highlighted a problem; when optimisation fails, Reduce does not write
a result. For complicated systems, this can lead to missing assignments in
the resultant code. check-in: ea9834becc user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk

10:54:13
Created branch optimise-algebraic-equations check-in: 28ad1630ec user: gawthrop@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
10:54:12
#include "useful-functions.hh" added to files. check-in: e168fd1202 user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-05-29
18:40:43
Made file C compliant. check-in: 27de151df7 user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-05-28
22:52:48
Starting to move rep into single file. check-in: 5cb35287c8 user: geraint@users.sourceforge.net tags: origin/master, trunk
18:08:38
Fixed [ 547294 ] CRs are not sought from MTT_CRS. check-in: e4e5e97c5b user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-05-27
15:30:41
Replaced awk with gawk (managed to unlock file at last). check-in: aead96b7ab user: geraint@users.sourceforge.net tags: origin/master, trunk
15:18:48
Trying to get rid of this! check-in: 86612195ab user: geraint@users.sourceforge.net tags: origin/master, trunk
14:52:15
Parameters in sfun reps are now declared using sympar.h at the top of the
sfun*.c file instead of in individual functions. This causes the optimisation
variables (mtt_tmp*) to be declared correctly without causing conflicts in the
scope of parameter declarations.
check-in: bdfbe12d56 user: geraint@users.sourceforge.net tags: origin/master, trunk
14:48:34
Inclusion of sympar.h moved to top of file for consistency with other templates.

states and outputs prepended with an underscore to prevent conflicts when
inputs and outputs have the same names. check-in: 0463689b2b user: geraint@users.sourceforge.net tags: origin/master, trunk

13:19:09
Added "#include <math.h>". check-in: cbc3f2e90e user: geraint@users.sourceforge.net tags: origin/master, trunk
10:36:21
Fix for bug [553524] #define PI causes parse error.
Only substitutes for PI if it is not a number. This prevents Reduce from
trying to substitute for 3.14... when "on rounded" has been set.
check-in: adc4f01f84 user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-05-26
17:28:27
Tweaked figures again check-in: 974eef3cb5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-25
09:23:47
Self-naming components: name is mttTYPE or mttTYPE_2 ... check-in: bef089cdef user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-24
16:19:42
Builds Simulink .mdl as well as sys_sfun.mexglx. check-in: d23074a21b user: geraint@users.sourceforge.net tags: origin/master, trunk
11:04:10
Removed unnecessary message about *.log file not existing when -D option is used. check-in: 16d5375ac8 user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-05-23
17:27:06
Made output of U and parameters consistent. check-in: 6c8bf9597f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:26:07
Cosmetic tweaks to graphs check-in: 4d5e314d90 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
17:08:21
`mtt sys sfun zip` now produces an input block and an interface block for MTT models.
Models can be embedded within larger Simulink models by the 2 ports.
The user must edit 2 code blocks in <sys>_sfun_interface.c before compiling with mex.
check-in: 0ae1960649 user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-05-22
16:59:59
Multiple ps files generated - view shows all check-in: 8d0ad4c90b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:33:18
Nameless components are now named according to type - replaces old
mtt1 etc style.
check-in: df4eab1c5e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:35:49
Added insertor variable to stop sh-mode font-lock from getting hopelessly confused by embedded C++. check-in: a342b52fce user: geraint@users.sourceforge.net tags: origin/master, trunk
09:15:03
Non-repetitive components no longer use _1 in names check-in: cc90f0dc4e user: gawthrop@users.sourceforge.net tags: origin/master, trunk
07:33:11
New collocated P controller check-in: 58ba440d77 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-21
18:50:11
Customised figures. check-in: 3824e1f3d9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:46:31
MTT input block "sys_sfun_input.mexglx" created to provide inputs from MTT input file to plant model within Simulink.
The command "mtt sys sfun zip" now also creates a simple sys.mdl file which connects the input block to the plant block correctly.
check-in: f281078eb6 user: geraint@users.sourceforge.net tags: origin/master, trunk
08:47:41
Implicit rules check-in: 9bdd1aa5cf user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:45:36
DIY reps: no longer skips rep if file exists already.
Avoids problems in rep.txt when options change
check-in: 1ca84ea61b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-20
13:42:31
Uses simpar.first for first printed output check-in: 8953950403 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:32:36
Sanity check on y_0 check-in: ffbec8fe83 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:29:59
-oct now forces an m target language to be oct
(if the rep is an the list: "ae input logic numpar simpar state")
check-in: 8da889c6d5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:09:28
Added zip to suggested list - used by 'sfun.zip' target. check-in: 442ec01b46 user: geraint@users.sourceforge.net tags: origin/master, trunk
08:51:49
Tidied generated code up a little bit. check-in: c699cea8d8 user: geraint@users.sourceforge.net tags: origin/master, trunk
08:50:12
Cleans _sfun_ae.mexglx. check-in: 71d9f9d85b user: geraint@users.sourceforge.net tags: origin/master, trunk
08:10:11
Now changes 10-1 to 9, not 09. etc. check-in: 9184eb0ecf user: gawthrop@users.sourceforge.net tags: origin/master, trunk
07:41:03
Take t (time) from mtt_data - works with non-zero simpar.first check-in: 63cb6a27c6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
07:12:05
Trying to get oct files generated with -oct check-in: 039197b659 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-19
13:01:22
Numerical solution of algebraic equations implemented for S-function target.

Equation solving requires the Matlab Optimization Toolbox to be installed.

Code has been changed from C++ to C to allow mex files to be built with LCC,
the compiler bundled with Matlab.

Parameters are now obtained from numpar.c instead of a dialogue box.

`mtt <sys> sfun zip` creates all necessary files for building the model mex files. check-in: 062029b187 user: geraint@users.sourceforge.net tags: origin/master, trunk

2002-05-17
11:17:35
No longer uses df() if corresponding sensitivity parameter is 0. check-in: a29cbd4fd9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:15:38
Messages about copying when using -dr now only appear in verbose (-v) mode. check-in: d000204e8b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:14:58
Optimises each line in a separate session. Allows larger models to be built. check-in: 96490e7dda user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-05-15
16:37:30
Added third argument (file extension) check-in: b82977ea46 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
16:34:11
Added Q to arg list of ppp_optimise (par ident) check-in: 9cfe2af552 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
16:32:35
Now notices changes in numpar state input and simpar check-in: 84114d6041 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:22:26
Code for Simulink S-function target written direct to sfun.cc instead of
calling .mexglx files. This eliminates the sfun dependency on Octave
ColumnVectors. sys_sfun.cc should build directly on a MS Windows machine
(can't test this yet).

added sfun.zip target to create source code to export. check-in: d9e3b30dc2 user: geraint@users.sourceforge.net tags: origin/master, trunk

11:01:24
New PI controller component check-in: 2d57a51128 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-14
20:19:06
Fixed some memory leaks. check-in: 0ff8fc3bca user: geraint@users.sourceforge.net tags: origin/master, trunk
15:43:41
Complete rewrite check-in: 63d93d8226 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-13
22:46:30
Plant can now have multiple inputs. check-in: 2d5df8ac83 user: geraint@users.sourceforge.net tags: origin/master, trunk
16:11:09
Various changes check-in: 12e17795c6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
16:01:10
Addes Q weighting matrix check-in: 302ba43d9c user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:52:23
FIRST parameter of simpar now specifies first printed point -
simulation still starts at zero
check-in: eb24171cc0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:16:32
Now handles derivative causality when fixcc is set in _dae.r check-in: 3998a6b373 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-11
01:14:17
Fix for [ 553218 ] simpar.oct and simpar.m different.
Translation added between ColumnVector in base .cc and Octave_map in .oct.
check-in: 6e685b7bca user: geraint@users.sourceforge.net tags: origin/master, trunk
00:53:27
reinstated dependency on libncurses5-dev - liboctinterp needs it. check-in: 405fd5839c user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-05-10
15:50:53
Rates and outputs now update correctly. Debugging print statements removed.
'mtt rc sfun mexglx' creates a valid S-function "rc_sfun.mexglx" which
runs correctly in Simulink.
Algebraic solver code has not yet been added.
Inertial switches still don't work.
check-in: ae9b9270dd user: geraint@users.sourceforge.net tags: origin/master, trunk
15:18:29
static mxArrays and void update_ functions replace mxArray* get_ functions.
Rates still don't update, but simulation doesn't crash now.
check-in: a89801b8c5 user: geraint@users.sourceforge.net tags: origin/master, trunk
14:07:16
Preserve .cc files. check-in: cf208f97b4 user: geraint@users.sourceforge.net tags: origin/master, trunk
13:47:51
*** empty log message *** check-in: e521a22e53 user: geraint@users.sourceforge.net tags: origin/master, trunk
13:24:58
Added initial support for building Simulink S-functions.
Rates do not update properly yet.
Inertial switches do not work yet.
Implicit integration not supported yet.

build with: mtt -i euler MotorGenerator sfun mexglx. check-in: c120c65076 user: geraint@users.sourceforge.net tags: origin/master, trunk

12:41:08
Substitution of pi for its numerical value moved from
useful-functions.hh to fix_c.r
check-in: 5b09adc924 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
12:38:11
Updated to new format check-in: a2ed2470df user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:46:45
Removed debugging lines check-in: 53b055c7bb user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:08:55
Added EMTF and INTF
Fixed bug in writing out component headings
check-in: 0cb15cb36f user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-09
16:07:54
Now handles multiple options whis .tex files as well check-in: eae0c949b8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:52:09
Now uses current cr file is its newer than abg.m check-in: e9251d571b user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:40:22
-dr touches copied files to redo timestamp check-in: 2e299bf7bf user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-08
22:13:47
Removed redundant path from mtt_*.cc targets in mexglx build line. check-in: 2df52d421f user: geraint@users.sourceforge.net tags: origin/master, trunk
21:32:26
Tidied up $1_ode2odes_*.* targets and renamed dummies as *.stamp. check-in: dc8f84a4a1 user: geraint@users.sourceforge.net tags: origin/master, trunk
16:03:32
Added mex support for ode2odes: mtt sys ode2odes mexglx.
This mex stuff seems to require octave2.1-headers.
check-in: 20ae5bf7e0 user: geraint@users.sourceforge.net tags: origin/master, trunk
14:51:04
Moved matlab/octave data type conversion functions to a separate file. check-in: cdb81663cf user: geraint@users.sourceforge.net tags: origin/master, trunk
14:14:55
Tidied up ode2odes code - reduced interweaving of STANDALONE/OCTAVEDLD sections check-in: 80539fd341 user: geraint@users.sourceforge.net tags: origin/master, trunk
11:39:36
Added MTT_REP to PATH check-in: a3f28d5c6c user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:37:30
Preliminary version of new style DIY rep for nppp check-in: fe8e70d7e1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:14:21
Idetification now OK (Moved data range in ppp_optimise by one sample interval) check-in: 2584b3af97 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-07
23:50:34
Preliminary support for Matlab dynamically linked shared objects:
invoke with: mtt -cc sys rep mexglx
ode2odes support is not yet included.
check-in: db3acb3909 user: geraint@users.sourceforge.net tags: origin/master, trunk
16:28:26
Trying to fix parameter identification problem ... check-in: 73256b3545 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:48:43
Improved clarity of code generated for -cc and -oct (except ode2odes).
Octave DEFUN_DLDs now call (rather than replace) their .cc equivalents.
check-in: 058538fe27 user: geraint@users.sourceforge.net tags: origin/master, trunk
12:04:49
Upgraded to return Nx3 matrix of indices check-in: e0b1b92895 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:13:48
Files marked by update as out of sync check-in: 615e55d26d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-02
20:12:45
Added -Wl,--rpath to MTT_CXXLIBS. Sets the runtime linker path so that the
sys-admin does not have to ldconfig the octave directory for -cc to work.
check-in: fdf020c850 user: geraint@users.sourceforge.net tags: origin/master, trunk
16:10:39
Preliminary working version - ok with rc_PPP check-in: f13b092674 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
15:02:12
Added iteration count to output args check-in: 239edc5052 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
11:10:11
s/loctave/loctinterp/ check-in: 1f05367ea6 user: geraint@users.sourceforge.net tags: origin/master, trunk
11:03:46
Reinstated -liboctinterp and -lncurses; needed by xleftdiv. check-in: 8ea8c2e079 user: geraint@users.sourceforge.net tags: origin/master, trunk
09:43:39
Generates parameter coefficients for ppp optimisation. check-in: e2f2985b7a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:30:22
_ssim.m now returns t as 4th arg check-in: 35c0c04449 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:19:40
replaced by cxxsim_rep.make check-in: 9f60cc53cb user: geraint@users.sourceforge.net tags: origin/master, trunk
2002-05-01
17:30:56
Improved pre-processor directives to better accommodate future alternatives (matlab)
if necessary.
check-in: 5685d298d1 user: geraint@users.sourceforge.net tags: origin/master, trunk
14:26:03
Whoops! Put awk back to gawk check-in: 81205b4869 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:10:22
Added -dr foo (reads from dir foo) option check-in: c6e2d506f9 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:07:44
Added -dr foo (reads files from foo) dir. check-in: 62841de034 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:05:47
Changed some tex to txt check-in: 92c3a0eb6a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:49:03
const --> step check-in: 6da3a32fb4 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:43:21
New example using the -dr option check-in: 90bab50302 user: gawthrop@users.sourceforge.net tags: origin/master, trunk

MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]