50 ancestors of 324f841c3c5bf783

2002-07-10
15:52:17
Updated from main branch. Leaf check-in: 324f841c3c user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
15:22:30
Updated from main branch. check-in: df5f842a8c user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
15:02:33
Updated from main branch. check-in: 4749685170 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
14:55:19
Created branch optimise-algebraic-equations check-in: d7af98a1ba user: gawthrop@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
2002-06-21
13:30:59
Reformat input line for rates and outputs as well as algebraic equations. check-in: a5d8bcd452 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
2002-06-18
16:56:51
Trying to get optimisation to work with maxima. check-in: 878c509228 user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
2002-06-06
17:10:25
Added a couple more simplification rules for pow. check-in: 697e0dcbed user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
16:28:45
Eliminated use of variable to pass rhs expression to optimise check-in: c355dc9a3f user: geraint@users.sourceforge.net tags: origin/optimise-algebraic-equations, trunk
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

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