/[ascend]/trunk/models
ViewVC logotype

Log of /trunk/models

View Directory Listing Directory Listing


Sticky Revision:

Revision 1524 - Directory Listing
Modified Sat Jun 30 23:21:49 2007 UTC (17 years, 3 months ago) by jpye
changed to ASC_ENV_SOLVERS and ASC_ENV_LIBRARY in C code.
Rerranged order of Tcl/Tk initialisation so that path env vars are set before solvers are loaded.

Revision 1520 - Directory Listing
Modified Sat Jun 30 01:23:36 2007 UTC (17 years, 3 months ago) by jpye
Fixing for missing yacc/lex on Windows, auto-update of them when yacc/lex *are* avail.
Fixing 'test.py' operation on Windows (ASCENDSOLVERS env var)
Adding missing ida.dll to installer.
Adding some missing export symbols in libascend.

Revision 1507 - Directory Listing
Modified Wed Jun 27 11:25:37 2007 UTC (17 years, 3 months ago) by jpye
Moving integrators to own directory, about to make them self-contained shared libraries.

Revision 1506 - Directory Listing
Modified Tue Jun 26 12:22:42 2007 UTC (17 years, 3 months ago) by aw0a
overconstrained test model

Revision 1504 - Directory Listing
Modified Sat Jun 23 14:12:34 2007 UTC (17 years, 3 months ago) by jpye
Moving solvers to their own directory

Revision 1503 - Directory Listing
Modified Sat Jun 23 12:44:10 2007 UTC (17 years, 3 months ago) by jpye
Commenting re matrices

Revision 1502 - Directory Listing
Modified Fri Jun 22 05:03:51 2007 UTC (17 years, 3 months ago) by jpye
Some documentation comments re TRON

Revision 1500 - Directory Listing
Modified Thu Jun 21 14:38:59 2007 UTC (17 years, 3 months ago) by jpye
Preliminary work for TRON tie-in.

Revision 1499 - Directory Listing
Modified Tue Jun 19 13:58:30 2007 UTC (17 years, 4 months ago) by jpye
Added build script for TRON optimiser, more to come.

Revision 1497 - Directory Listing
Modified Mon Jun 11 08:07:47 2007 UTC (17 years, 4 months ago) by jpye
Added missing #include

Revision 1495 - Directory Listing
Modified Mon Jun 11 07:32:03 2007 UTC (17 years, 4 months ago) by jpye
Fixed missing symbol exports for building on Windows.
External solvers are working fine in the PyGTK interface.
A bug appears to be present in the Tcl/Tk interface.

Revision 1492 - Directory Listing
Modified Sun Jun 10 13:53:10 2007 UTC (17 years, 4 months ago) by jpye
Fixing <solver/conopt.h>

Revision 1491 - Directory Listing
Modified Sun Jun 10 13:49:39 2007 UTC (17 years, 4 months ago) by jpye
Moved all solvers to dynamically loaded modules currently in folder models/johnpye.
Location of these files will ultimately change.

Revision 1487 - Directory Listing
Modified Sun Jun 10 05:09:34 2007 UTC (17 years, 4 months ago) by jpye
Changes to the way in which sovlers are registered, to facilitate
dynamically-loaded solvers. Also split much of the 'solver' stuff
from slv.c (in the system directory) out into new file solver/solver.c
and added matching solver/solver.h. Solver IDs are now fixed-- they
don't change, and are stored in a list instead of in an array.

Revision 1486 - Directory Listing
Modified Fri Jun 8 00:46:49 2007 UTC (17 years, 4 months ago) by jpye
Fixed Z equation following suggestions from Krishnan

Revision 1485 - Directory Listing
Modified Thu Jun 7 15:51:25 2007 UTC (17 years, 4 months ago) by kchittur


Revision 1484 - Directory Listing
Modified Thu Jun 7 13:57:19 2007 UTC (17 years, 4 months ago) by kchittur


Revision 1483 - Directory Listing
Modified Thu Jun 7 12:51:01 2007 UTC (17 years, 4 months ago) by jpye
Added some units of measurement to help with the 'markets' problem.
Converted the 'markets' problem to unitful values.

Revision 1482 - Directory Listing
Modified Thu Jun 7 12:03:26 2007 UTC (17 years, 4 months ago) by jpye
GAMS sample problem added

Revision 1480 - Directory Listing
Modified Wed Jun 6 13:44:59 2007 UTC (17 years, 4 months ago) by jpye
Added stats output in DOPRI5 integrator.
Typo in ida.c.
Added assertions in TestDOPRI5 (current they fail).
Still got problems with DOPRI5 integrator.

Revision 1479 - Directory Listing
Modified Tue Jun 5 14:06:15 2007 UTC (17 years, 4 months ago) by jpye
Some work on sub-step interpolation for DOPRI5; ongoing.

Revision 1478 - Directory Listing
Modified Tue Jun 5 13:34:08 2007 UTC (17 years, 4 months ago) by jpye
Fixed time values of DOPRI5 integrator.

Revision 1477 - Directory Listing
Modified Tue Jun 5 10:38:45 2007 UTC (17 years, 4 months ago) by jpye
Fixed bugs in aren.a4c model, test case runs but needs validation.

Revision 1476 - Directory Listing
Modified Mon Jun 4 16:44:46 2007 UTC (17 years, 4 months ago) by kchittur


Revision 1475 - Directory Listing
Modified Mon Jun 4 15:13:28 2007 UTC (17 years, 4 months ago) by kchittur


Revision 1474 - Directory Listing
Modified Mon Jun 4 13:11:05 2007 UTC (17 years, 4 months ago) by jpye
'aren' model, test case for DOPRI5, added. Ongoing.

Revision 1473 - Directory Listing
Modified Mon Jun 4 13:10:01 2007 UTC (17 years, 4 months ago) by jpye
Fix problem with incidence matrix and detection of matplotlib

Revision 1472 - Directory Listing
Modified Mon Jun 4 11:34:35 2007 UTC (17 years, 4 months ago) by jpye
Added sample model

Revision 1464 - Directory Listing
Modified Sun Jun 3 04:09:36 2007 UTC (17 years, 4 months ago) by jpye
Added 'alert' option to 'loading' module.
Added start menu shortcut to Model Library
Bumped version to 0.9.5.111.
Fixed loading of fourbarplot.py example when matplotlib not available.

Revision 1459 - Directory Listing
Modified Thu May 31 13:28:33 2007 UTC (17 years, 4 months ago) by jpye
DOPRI5 is running... but is it correct? Still needs lots of testing

Revision 1458 - Directory Listing
Modified Mon May 28 18:05:06 2007 UTC (17 years, 4 months ago) by kchittur


Revision 1457 - Directory Listing
Modified Mon May 28 17:50:45 2007 UTC (17 years, 4 months ago) by kchittur
krishnan chittur

Revision 1452 - Directory Listing
Modified Mon May 28 14:01:51 2007 UTC (17 years, 4 months ago) by jpye
Integrators can now be dynamically loaded. DOPRI5 has progressed but still doesn't work.

Revision 1451 - Directory Listing
Modified Mon May 28 10:20:09 2007 UTC (17 years, 4 months ago) by jpye
Some more work on the DOPRI5 integrator.

Revision 1446 - Directory Listing
Modified Sun May 27 00:16:01 2007 UTC (17 years, 4 months ago) by jpye
Added a short README for the DOPRI stuff.

Revision 1445 - Directory Listing
Modified Sat May 26 14:43:48 2007 UTC (17 years, 4 months ago) by jpye
Starting some work on a DOPRI5 integrator.

Revision 1439 - Directory Listing
Modified Sat May 26 01:53:11 2007 UTC (17 years, 4 months ago) by jpye
Fixed launch-time dependency on matplotlib.

Revision 1436 - Directory Listing
Modified Mon May 21 09:39:28 2007 UTC (17 years, 4 months ago) by jpye
Fixed build for SCons 0.96.92. Needs testing.

Revision 1395 - Directory Listing
Modified Sat Apr 21 15:11:45 2007 UTC (17 years, 5 months ago) by jpye
Added full jacobian preconditioner (ongoing).
Some tweaks to dsgsat & related models.

Revision 1385 - Directory Listing
Modified Sat Apr 7 09:13:41 2007 UTC (17 years, 6 months ago) by jpye
Some work on adding 'listing' support in the ASCEND manual.

Revision 1383 - Directory Listing
Modified Fri Apr 6 10:50:41 2007 UTC (17 years, 6 months ago) by jpye
Substituted stationary momentum in dsgsat3.a4c

Revision 1377 - Directory Listing
Modified Thu Apr 5 14:10:17 2007 UTC (17 years, 6 months ago) by jpye
Added delta_specific_enthalpy

Revision 1375 - Directory Listing
Modified Sat Mar 31 02:44:14 2007 UTC (17 years, 6 months ago) by jpye
Added test case from brent.a4c

Revision 1374 - Directory Listing
Modified Sat Mar 31 02:41:26 2007 UTC (17 years, 6 months ago) by jpye
Added support for brent solver in EXTERNAL method

Revision 1373 - Directory Listing
Modified Fri Mar 30 11:06:22 2007 UTC (17 years, 6 months ago) by jpye
Adding missing 'values' method.

Revision 1372 - Directory Listing
Modified Fri Mar 30 11:01:20 2007 UTC (17 years, 6 months ago) by jpye
Added some tests that pick up two bugs in the current implementation of default_self

Revision 1364 - Directory Listing
Modified Wed Mar 28 11:24:36 2007 UTC (17 years, 6 months ago) by jpye
Fixing solvernotes support for string parameters.

Revision 1363 - Directory Listing
Modified Tue Mar 27 23:05:24 2007 UTC (17 years, 6 months ago) by jpye
Added test case for relation 'included' flag in python.

Revision 1354 - Directory Listing
Modified Mon Mar 19 02:06:01 2007 UTC (17 years, 7 months ago) by jpye
Fixed 'do_check' in PyGTK GUI.
Added black box direct solve, experimental.

Revision 1353 - Directory Listing
Modified Sun Mar 18 01:48:40 2007 UTC (17 years, 7 months ago) by jpye
Removed some redundant #include statments.
Added some explanation of testtmy.a4c (although currently broken with IDA).


Revision 1351 - Directory Listing
Modified Wed Mar 14 07:48:27 2007 UTC (17 years, 7 months ago) by jpye
Added test for write('graph'). Added couple of items to syntax definition. Updated GPL notice in some core model files.

Revision 1348 - Directory Listing
Modified Tue Mar 13 06:53:59 2007 UTC (17 years, 7 months ago) by jpye
Fixed silly error in logrelation.c from June 2006 :-)
Added regression test.

Revision 1347 - Directory Listing
Modified Tue Mar 13 06:40:06 2007 UTC (17 years, 7 months ago) by jpye
Added routine for outputting system as a DOT graph.
Changed an 'assert' to an 'asc_assert' in logrelation.c.
Changed logical relation in sequence.a4c (was causing a crash).
Added Simulation::write(FILE,char*) for outputting *stuff* from a simulation.

Revision 1345 - Directory Listing
Modified Mon Mar 12 00:15:32 2007 UTC (17 years, 7 months ago) by jpye
Annotate where the model comes from

Revision 1344 - Directory Listing
Modified Mon Mar 12 00:08:34 2007 UTC (17 years, 7 months ago) by jpye
Added test case for the 'sonic.a4c' model described by Joe Zaher/implemented by Vicente.

Revision 1342 - Directory Listing
Modified Sun Mar 11 13:57:34 2007 UTC (17 years, 7 months ago) by jpye
Added test of sequence of logical relations.
Fixed regression with activeblock from last commit.

Revision 1341 - Directory Listing
Modified Sun Mar 11 13:47:33 2007 UTC (17 years, 7 months ago) by jpye
Added a test case for the simplest-possible logical relation solve.
Tolerate lack of bb->block in Simulation::processVarStatus.
Fixed a bug in analyze.c in case of pure-logical system.

Revision 1337 - Directory Listing
Modified Sat Mar 10 12:33:15 2007 UTC (17 years, 7 months ago) by jpye
Added support for detection of boundary crossing in the IDA integrator.
Cleared up some code comments and formatting.

Revision 1335 - Directory Listing
Modified Fri Mar 9 02:54:03 2007 UTC (17 years, 7 months ago) by jpye
Fixed problem with logrel instances in PyGTK GUI.
Removed faulty INSTALL_DOC directory -- docs just go to INSTALL_ASCDATA for now.

Revision 1332 - Directory Listing
Modified Thu Mar 8 06:39:30 2007 UTC (17 years, 7 months ago) by jpye
Removed some debug output

Revision 1331 - Directory Listing
Modified Thu Mar 8 06:03:43 2007 UTC (17 years, 7 months ago) by jpye
Reverted shm.a4c.
Added shmroots.a4c which displays the two complex roots of the SHM system using the extpy 'roots' module.

Revision 1330 - Directory Listing
Modified Thu Mar 8 05:27:47 2007 UTC (17 years, 7 months ago) by jpye
Clean up dead files

Revision 1329 - Directory Listing
Modified Thu Mar 8 05:22:54 2007 UTC (17 years, 7 months ago) by jpye
Routines for computing integration system eigenvalues

Revision 1328 - Directory Listing
Modified Thu Mar 8 03:05:27 2007 UTC (17 years, 7 months ago) by jpye
Added stability analysis example in models/steam.
'unattached' icon was created some time ago but is not yet in use

Revision 1317 - Directory Listing
Modified Mon Mar 5 14:11:37 2007 UTC (17 years, 7 months ago) by johnpye
Added new 'system_jacobian' function for use by IDA (maybe elsewhere?)
Refactored the matrix output stuff in IDA.
Fixed the index checking in idaanalyse
Still a problem with checking rank of small matrices.

Revision 1316 - Directory Listing
Modified Mon Mar 5 07:22:21 2007 UTC (17 years, 7 months ago) by johnpye
Another one of these big refactorings. Split out 'system' directory from 'solver' directory. This will need more work
but it's a start at getting the non-solver-specific code out separately.

Revision 1313 - Directory Listing
Modified Sun Mar 4 14:10:58 2007 UTC (17 years, 7 months ago) by johnpye
default_self again

Revision 1312 - Directory Listing
Modified Sun Mar 4 14:04:39 2007 UTC (17 years, 7 months ago) by johnpye
Fixed the model again :-(

Revision 1311 - Directory Listing
Modified Sun Mar 4 13:26:32 2007 UTC (17 years, 7 months ago) by johnpye
Fixed problem with ctrl-c
Improved column alignment in text output of integration results
Pared back the default method in dsgsat3.a4c

Revision 1309 - Directory Listing
Modified Sun Mar 4 07:40:17 2007 UTC (17 years, 7 months ago) by johnpye
Added index checking for semi-explicit DAE systems.
Migrated error messages for mtx and linsolqr to the error_reporter mechanism.

Revision 1307 - Directory Listing
Modified Sat Mar 3 12:09:15 2007 UTC (17 years, 7 months ago) by johnpye
Fixed failing testidapeturb (removed some upwind4 formula)

Revision 1306 - Directory Listing
Modified Sat Mar 3 11:50:47 2007 UTC (17 years, 7 months ago) by johnpye
Added and performed basic tests of integrator_ida_write_matrix. Generalised the write_matrix
routine so that *any* requested output can be retrieved from the integrator (for the case
of IDA this is y and y', but it could equally be more complicated stuff.)

Revision 1305 - Directory Listing
Modified Sat Mar 3 04:57:04 2007 UTC (17 years, 7 months ago) by johnpye
Converted grid to constants, added some alias quantities

Revision 1304 - Directory Listing
Modified Thu Mar 1 06:34:04 2007 UTC (17 years, 7 months ago) by johnpye
Added test for empty sets with new default behaviour.

Revision 1298 - Directory Listing
Modified Tue Feb 27 11:04:48 2007 UTC (17 years, 7 months ago) by johnpye
Fixed comments, removed unused 'set' statements.

Revision 1297 - Directory Listing
Modified Tue Feb 27 06:34:36 2007 UTC (17 years, 7 months ago) by johnpye
Added a model of advection using the numerical method of lines, BDF (implicit) integration and various spatial discretisation formulae.

Revision 1295 - Directory Listing
Modified Tue Feb 27 01:17:12 2007 UTC (17 years, 7 months ago) by johnpye
Fixed vesselPlot.a4c to 'just work' with the PyGTK GUI.

Revision 1294 - Directory Listing
Modified Mon Feb 26 22:44:04 2007 UTC (17 years, 7 months ago) by johnpye
Added build() inside Simulation::check() function.
Updated syntax/comments in vessel, vesselPlain models (need to revisit the tutorial now).

Revision 1293 - Directory Listing
Modified Mon Feb 26 07:33:49 2007 UTC (17 years, 7 months ago) by johnpye
Updated header block, removed 'RUN reset' from METHOD on_load.

Revision 1292 - Directory Listing
Modified Mon Feb 26 06:47:08 2007 UTC (17 years, 7 months ago) by johnpye
Added undefined test for defaults with ARE_THE_SAME

Revision 1291 - Directory Listing
Modified Mon Feb 26 06:20:43 2007 UTC (17 years, 7 months ago) by johnpye
Added EXTERNAL asc_default_all plus test cases.

Revision 1290 - Directory Listing
Modified Mon Feb 26 04:54:45 2007 UTC (17 years, 7 months ago) by johnpye
Added new 'default' functionality plus test case

Revision 1283 - Directory Listing
Modified Thu Feb 15 04:27:09 2007 UTC (17 years, 8 months ago) by johnpye
Catch non-converged cases and continue, rather than aborting.

Revision 1280 - Directory Listing
Modified Sat Feb 10 10:47:23 2007 UTC (17 years, 8 months ago) by johnpye
Fully operational test suite again (fixed TestIntegrator.testparameters)

Revision 1279 - Directory Listing
Modified Sat Feb 10 09:31:55 2007 UTC (17 years, 8 months ago) by johnpye
Removed some debug output.
DSGSAT model L=10, n=47

Revision 1278 - Directory Listing
Modified Fri Feb 9 02:35:43 2007 UTC (17 years, 8 months ago) by johnpye
Central differences added in some cases (DSGSAT3)

Revision 1277 - Directory Listing
Modified Sun Feb 4 07:39:31 2007 UTC (17 years, 8 months ago) by johnpye
All of TestSteam passes.
Have increased zone of convergence for dsgsat3 model by changing to some central differences. Randomly.

Revision 1276 - Directory Listing
Modified Sun Feb 4 06:28:53 2007 UTC (17 years, 8 months ago) by johnpye
Removed teststeadyida2 (not implemented correctly).
Re-added default_self values from earlier.

Revision 1275 - Directory Listing
Modified Sun Feb 4 06:03:13 2007 UTC (17 years, 8 months ago) by johnpye
Found a working 'zone' for the DSG integration problem.

Revision 1274 - Directory Listing
Modified Sun Feb 4 04:59:57 2007 UTC (17 years, 8 months ago) by johnpye
Fixed the 700->1000 problem, but testpeturbida still not working

Revision 1273 - Directory Listing
Modified Sun Feb 4 04:54:20 2007 UTC (17 years, 8 months ago) by johnpye
Identified a problem in moving from qdot_s = 700 to qdot_s = 1000 in QRSlv steady case. Maybe a problem with nominal values?

Revision 1272 - Directory Listing
Modified Sun Feb 4 03:12:37 2007 UTC (17 years, 8 months ago) by johnpye
Adding a little readme file for models/steam.

Revision 1271 - Directory Listing
Modified Sun Feb 4 02:00:01 2007 UTC (17 years, 8 months ago) by johnpye
Added bounds checking to IDA.
Suppressed some debug output.
TestSteam.testpeturbida is broken now.

Revision 1270 - Directory Listing
Modified Sun Feb 4 01:01:18 2007 UTC (17 years, 8 months ago) by johnpye
Reduced some debug output.
Added ATOM for specific_energy_rate.
Fixed default_self routines for DSG models.
Added testdsgsatrepeat test to check above.

Revision 1269 - Directory Listing
Modified Sat Feb 3 06:27:13 2007 UTC (17 years, 8 months ago) by johnpye
loosened error tolerance

Revision 1268 - Directory Listing
Modified Sat Feb 3 06:18:11 2007 UTC (17 years, 8 months ago) by johnpye
Stable with 4 nodes now, but only with a small peturbation.

Revision 1267 - Directory Listing
Modified Sat Feb 3 03:39:50 2007 UTC (17 years, 8 months ago) by johnpye
dsgsat3 model gives correct pressure drops now.
found an error in the momentum equation.

Revision 1265 - Directory Listing
Modified Thu Feb 1 13:54:56 2007 UTC (17 years, 8 months ago) by johnpye
Fixed insanity between var_fixed and var_apply_filter in idaanalyse.c
Copyright info in pipeline.a4c.
Added teststeadyida in TestSteam (currently passes)
Fixed LSODE parameters in teststeadylsode.

Revision 1264 - Directory Listing
Modified Sun Jan 28 04:05:11 2007 UTC (17 years, 8 months ago) by johnpye
let texttable.c use native strdup (for the moment)

Revision 1261 - Directory Listing
Modified Sun Jan 28 03:44:43 2007 UTC (17 years, 8 months ago) by johnpye
Fixed prob with HAVE_IEEE.
Added self_test method to bvp.a4l bvp_test.

Revision 1259 - Directory Listing
Modified Sun Jan 28 01:49:38 2007 UTC (17 years, 8 months ago) by johnpye
Copyright dates

Revision 1257 - Directory Listing
Modified Sun Jan 28 01:30:08 2007 UTC (17 years, 8 months ago) by johnpye
Fixed the bounding problem in Slv9.
Added python test cases for all of the models in Vicente's thesis.
Will now add these tests to buildbot.

Revision 1256 - Directory Listing
Modified Sat Jan 27 10:59:39 2007 UTC (17 years, 8 months ago) by johnpye
Loosening tolerances for FC5 (seems to be less accurate for some reason)

Revision 1255 - Directory Listing
Modified Sat Jan 27 10:56:58 2007 UTC (17 years, 8 months ago) by johnpye
Small error with the chemakzo test case.

Revision 1254 - Directory Listing
Modified Sat Jan 27 10:50:40 2007 UTC (17 years, 8 months ago) by johnpye
Added transamp.a4c, another one of the tests from Univ. of Bari.

Revision 1253 - Directory Listing
Modified Sat Jan 27 09:05:53 2007 UTC (17 years, 8 months ago) by johnpye
Addded Chemical Akzo Nobel test problem (DAE of index 1)

Revision 1252 - Directory Listing
Modified Sat Jan 27 06:29:17 2007 UTC (17 years, 8 months ago) by johnpye
Removed the 'command line solver' from the Tcl/Tk interface.
Deactivated the 'plot' command in slv_interface.
Eliminated various #include <compiler/*> from the solver.
Added another sample model (which current fails because of problem with non-incident diff vars.

Revision 1251 - Directory Listing
Modified Sat Jan 27 05:04:49 2007 UTC (17 years, 8 months ago) by johnpye
Fixed 'hires' test (needed to rack down the tolerances a bit)
Removed newton test (until we make some changes to the solvers var list)
All of TestIDADENSE passes now and will be added to the buildbot list.

Revision 1247 - Directory Listing
Modified Sat Jan 27 00:11:34 2007 UTC (17 years, 8 months ago) by johnpye
Added 'hires.a4c' test model.
Split slv_system_structure out of slv.c and into system_impl.h.
Changed void* diffvars pointer in slv_system_structure to a typed pointer.
Moved SolverDiffVarCollectionStruct into system_impl.h.
Renamed slv_system_structure to just system_structure (in anticipation of a 'system' module separate from the actual solvers).

Revision 1238 - Directory Listing
Modified Fri Jan 26 02:50:52 2007 UTC (17 years, 8 months ago) by johnpye
Fixed testfixedvars1

Revision 1221 - Directory Listing
Modified Wed Jan 24 13:33:06 2007 UTC (17 years, 8 months ago) by johnpye
Implemented the DAE partitioning routine but am nowing tracking down a fiendish memory crash.

Revision 1214 - Directory Listing
Modified Tue Jan 23 11:30:25 2007 UTC (17 years, 8 months ago) by johnpye
Added tests for dealing with dF/dy and dF/dy' incidence in IDA.

Revision 1213 - Directory Listing
Modified Tue Jan 23 10:43:55 2007 UTC (17 years, 8 months ago) by johnpye
Added test cases for IDA incidence check.
Added test for where REQUIRE specifies nonexistent file.

Revision 1211 - Directory Listing
Modified Tue Jan 23 05:09:50 2007 UTC (17 years, 8 months ago) by johnpye
Fixed dependencies on dimen.h and fractions.h.

Revision 1210 - Directory Listing
Modified Tue Jan 23 04:25:51 2007 UTC (17 years, 8 months ago) by johnpye
Removed unnecessary #include <compiler.h>

Revision 1209 - Directory Listing
Modified Tue Jan 23 04:11:50 2007 UTC (17 years, 8 months ago) by johnpye
Cleaning up some redundant compiler dependencies

Revision 1208 - Directory Listing
Modified Tue Jan 23 03:53:46 2007 UTC (17 years, 8 months ago) by johnpye
Cleaned up some header file dependencies

Revision 1201 - Directory Listing
Modified Mon Jan 22 13:26:06 2007 UTC (17 years, 8 months ago) by johnpye
Added some more test cases for DAE problem analysis.
Little bit of tidying up in the slv*.c files.

Revision 1199 - Directory Listing
Modified Mon Jan 22 11:22:15 2007 UTC (17 years, 8 months ago) by johnpye
Added method integrator_debug to integrator API (outputs internal data structures from integrator).
Added test cases for the diffvars code (python test.py).
Suppressed a lot of 'slv_get_*_*_list is NULL' messages when destroying system.
Specialised the system_build error message a little.

Revision 1198 - Directory Listing
Modified Mon Jan 22 08:29:32 2007 UTC (17 years, 8 months ago) by johnpye
Fixed 'plotbvp' example.
Tried to clean up C++ wrapping wrt default ctors & std::vector in SWIG (not much improvement though)

Revision 1194 - Directory Listing
Modified Mon Jan 22 01:30:56 2007 UTC (17 years, 8 months ago) by johnpye
Split diffvars stuff out of analyse.c.
Fixed IDA to work when vars are fixed/freed after the integration system is build.
There will still be problems where fixing/freeing a *derivative* causes relations to drop out.

Revision 1193 - Directory Listing
Modified Sun Jan 21 12:51:19 2007 UTC (17 years, 8 months ago) by johnpye
Fixed idadenx for test.py

Revision 1183 - Directory Listing
Modified Sat Jan 20 09:15:51 2007 UTC (17 years, 8 months ago) by johnpye
Huge reorganisation -- all mtx and lin files moved to base/generic/linear.
Required many #include statements to be changed.

Revision 1182 - Directory Listing
Modified Sat Jan 20 04:42:54 2007 UTC (17 years, 8 months ago) by johnpye
Change to allow LSODE to *attempt* models/nonstate.a4c. Not working correctly yet though.

Revision 1181 - Directory Listing
Modified Sat Jan 20 03:50:21 2007 UTC (17 years, 8 months ago) by johnpye
Shifted everything integration-related out into a separate directory.

Revision 1179 - Directory Listing
Modified Fri Jan 19 01:14:32 2007 UTC (17 years, 8 months ago) by johnpye
Fixed problem with 'v' (spec vol) verusus 'vel' in one equation!
Added new formulation where (rho*u) equation is rewritten as (u).

Revision 1178 - Directory Listing
Modified Thu Jan 18 06:47:19 2007 UTC (17 years, 9 months ago) by johnpye
Adding example problem from Petzold paper "DAEs are not ODEs".

Revision 1177 - Directory Listing
Modified Thu Jan 18 01:03:16 2007 UTC (17 years, 9 months ago) by johnpye
Fixed tolerance on collapsingcan2 self test.

Revision 1174 - Directory Listing
Modified Thu Jan 18 00:27:50 2007 UTC (17 years, 9 months ago) by johnpye
Fixed 'ascdev' script to work correctly in MSYS (now needs retesting in linux).
Removed 'make_matrix' and 'free_matrix' from sensitivity code and reused densemtx.c instead.
Fixed linking issues in finitediff.dll.

Revision 1173 - Directory Listing
Modified Wed Jan 17 14:54:03 2007 UTC (17 years, 9 months ago) by johnpye
Added new sample transient model for lumped heat capacity model. 
Avoid ascend restart when LD_LIBRARY_PATH only requires /usr/lib.

Revision 1171 - Directory Listing
Modified Wed Jan 17 12:27:55 2007 UTC (17 years, 9 months ago) by johnpye
Added notes for freesteam installation.

Revision 1169 - Directory Listing
Modified Wed Jan 17 12:17:25 2007 UTC (17 years, 9 months ago) by johnpye
Fixed EXTERNAL do_solve(instance)
Improved error message in ascParse.
Added collapsingcan2 model that uses freesteam steam properties.

Revision 1167 - Directory Listing
Modified Wed Jan 17 09:32:29 2007 UTC (17 years, 9 months ago) by johnpye
Added (failing) test case for do_sensitivity_all.

Revision 1166 - Directory Listing
Modified Wed Jan 17 07:52:33 2007 UTC (17 years, 9 months ago) by johnpye
Added out-of-date notices.

Revision 1165 - Directory Listing
Modified Wed Jan 17 07:35:42 2007 UTC (17 years, 9 months ago) by johnpye
Added 'distance_calc' to the self-tests.

Revision 1164 - Directory Listing
Modified Wed Jan 17 07:06:28 2007 UTC (17 years, 9 months ago) by johnpye
Removed the finite difference and solve methods from sensitivity.c (and place them in their own external module)

Revision 1163 - Directory Listing
Modified Wed Jan 17 06:33:30 2007 UTC (17 years, 9 months ago) by johnpye
Refactored sensitivity module a little further, added self_test.

Revision 1162 - Directory Listing
Modified Wed Jan 17 04:34:59 2007 UTC (17 years, 9 months ago) by johnpye
Fixed sensitivity module. It now runs as mostly external code, with just a few relics required by LSODE still in packages/sensitivity.c.

Revision 1161 - Directory Listing
Modified Wed Jan 17 01:35:13 2007 UTC (17 years, 9 months ago) by johnpye
Fixed value of 'dz' in dsgsat.a4c.
Added test case for saturated steam in terms of (u,v)
Other minor debug output changes.

Revision 1159 - Directory Listing
Modified Tue Jan 16 13:08:34 2007 UTC (17 years, 9 months ago) by johnpye
More reformatting of model files

Revision 1158 - Directory Listing
Modified Tue Jan 16 12:44:13 2007 UTC (17 years, 9 months ago) by johnpye
More reformatting of model files. Note that plotbvp seems to be broken at present.

Revision 1155 - Directory Listing
Modified Tue Jan 16 11:33:52 2007 UTC (17 years, 9 months ago) by johnpye
More tidying up of old models. Will add roots_of_poly to the list.

Revision 1154 - Directory Listing
Modified Tue Jan 16 10:26:50 2007 UTC (17 years, 9 months ago) by johnpye
Reformatting and annotation of heatex.a4c.

Revision 1153 - Directory Listing
Modified Tue Jan 16 10:15:29 2007 UTC (17 years, 9 months ago) by johnpye
Slight reformatting, added URL link for Vicente's thesis.

Revision 1152 - Directory Listing
Modified Tue Jan 16 09:43:47 2007 UTC (17 years, 9 months ago) by johnpye
Added 'collapsing can' example model and self-test.

Revision 1146 - Directory Listing
Modified Mon Jan 15 14:34:13 2007 UTC (17 years, 9 months ago) by johnpye
Reduced slv_far_from_nominals bignum value in PyGTK GUI to 10.0
Added some more nominals to the steam models.

Revision 1145 - Directory Listing
Modified Mon Jan 15 12:50:20 2007 UTC (17 years, 9 months ago) by johnpye
Added support for slv_far_from_nominals in C++/Python layer.
Converted 'child not found' from error to CONSOLE_DEBUG message.
Added some nominal values in iapwssatprops.a4c.
Added getRealPref in preferences.py.


Revision 1142 - Directory Listing
Modified Mon Jan 15 06:46:44 2007 UTC (17 years, 9 months ago) by johnpye
Got paranoid about turning off signal handling... added '#ifdef ASC_SIGNAL_TRAPS' anywhere that signal handling referenced.
Signal handling is OFF by default now.

Revision 1141 - Directory Listing
Modified Mon Jan 15 04:44:12 2007 UTC (17 years, 9 months ago) by johnpye
More sensible slv_param_real bounds in LSODE and IDA.
Run ode_init by default for dsgsat.a4c.
Fixed dependencies for swig python outputs.
Fixed [X] button on Integrator dialog.


Revision 1137 - Directory Listing
Modified Sun Jan 14 13:21:45 2007 UTC (17 years, 9 months ago) by johnpye
Attempting to fix sunos test.py problem.
Preparting dsgsat2. for IDA.

Revision 1133 - Directory Listing
Modified Sun Jan 14 11:51:48 2007 UTC (17 years, 9 months ago) by johnpye
Removed the 'REX' and 'IEX' array aliases (added the solver parameter comments directly in the slv_param_* calls).
Renamed Simulation::[gs]etSolverParameters to Simulation::[gs]etParameters.
Added [gs]etParameter (singular) methods to SWIG wrapper.
Fixed missing NULL in IDA.
Fixed bug with BDF/AM wrong way round in LSODE.
Removed some debug output from slv.c

Revision 1132 - Directory Listing
Modified Sun Jan 14 10:40:58 2007 UTC (17 years, 9 months ago) by johnpye
Converted slv3 (QRSlv) to new slv_param_bool (etc) parameter code.
Adding a testcase for dsgsat with LSODE as well as IDA.
Fixed some remaining external function calls (needing userdata ptr).
Adding LSODE parameters 'METH' and 'MITER' for setting AM and BDF methods.
Rerranged v_expr in iapwssat.a4c.
Removed lower bound on mdot in satsteamstream.a4c.

Revision 1125 - Directory Listing
Modified Sat Jan 13 00:15:02 2007 UTC (17 years, 9 months ago) by johnpye
Got rid of hg_expr pivot problems on load

Revision 1124 - Directory Listing
Modified Fri Jan 12 23:51:09 2007 UTC (17 years, 9 months ago) by johnpye
Fixed the 'A_w' problem by adding some default values

Revision 1123 - Directory Listing
Modified Fri Jan 12 12:17:37 2007 UTC (17 years, 9 months ago) by johnpye
Removed some unattached vars from dsgsat2.a4c
Rearranged hf_expr in iapwssatprops.

Revision 1122 - Directory Listing
Modified Fri Jan 12 02:43:17 2007 UTC (17 years, 9 months ago) by johnpye
more...

Revision 1121 - Directory Listing
Modified Fri Jan 12 01:01:46 2007 UTC (17 years, 9 months ago) by johnpye
dsgsat behaving correctly in steady-state mode

Revision 1119 - Directory Listing
Modified Thu Jan 11 13:33:54 2007 UTC (17 years, 9 months ago) by johnpye
Fixed test suite to safely run TestFreesteam (will add to buildbot)

Revision 1117 - Directory Listing
Modified Thu Jan 11 10:57:24 2007 UTC (17 years, 9 months ago) by johnpye
Added ability to show all fixed variables in a model using PyGTK interface.

Revision 1116 - Directory Listing
Modified Thu Jan 11 09:48:32 2007 UTC (17 years, 9 months ago) by johnpye
Updated comments

Revision 1109 - Directory Listing
Modified Thu Jan 11 04:07:02 2007 UTC (17 years, 9 months ago) by johnpye
Added some more user error messages from the solver.
Added detection for the MFGRAPH library, which will be used to output GraphViz files based on the incidence matrix.

Revision 1107 - Directory Listing
Modified Wed Jan 10 13:21:45 2007 UTC (17 years, 9 months ago) by johnpye
Make dsgsat2.a4c load without EXTERNAL method calls.

Revision 1106 - Directory Listing
Modified Wed Jan 10 13:07:45 2007 UTC (17 years, 9 months ago) by johnpye
Fixed a bug introduced into slvDOF_structsing.
Fixed an LD_LIBRARY_PATH problem with test.py

Revision 1074 - Directory Listing
Modified Tue Jan 9 02:45:44 2007 UTC (17 years, 9 months ago) by johnpye
Added more to catch missing X windows server

Revision 1063 - Directory Listing
Modified Sun Jan 7 07:54:06 2007 UTC (17 years, 9 months ago) by johnpye
Changed ASC_DLLSPEC(TYPE) to ASC_DLLSPEC TYPE, because it was causing havoc with doxygen and ctags.

Revision 1059 - Directory Listing
Modified Sat Jan 6 23:27:57 2007 UTC (17 years, 9 months ago) by johnpye
Moved extpy warning to better place

Revision 1058 - Directory Listing
Modified Sat Jan 6 23:14:11 2007 UTC (17 years, 9 months ago) by johnpye
Marked extpy as EXPERIMENTAL via ASC_PROG_WARNING during load.
Commented out the IDADENSE.testkryx test case, as it's been causing a hang.

Revision 1056 - Directory Listing
Modified Sat Jan 6 15:04:40 2007 UTC (17 years, 9 months ago) by johnpye
Fixing up setpoint in satsteamstream test.
Commenting out failing tests (with @TODO comments)

Revision 1055 - Directory Listing
Modified Sat Jan 6 14:47:13 2007 UTC (17 years, 9 months ago) by johnpye
simplified slv_check_bounds call.

Revision 1052 - Directory Listing
Modified Sat Jan 6 04:28:44 2007 UTC (17 years, 9 months ago) by johnpye
Changed TestSteam.testiapwssat to use bounds check instead of ASSERT x == 1.01;

Revision 1051 - Directory Listing
Modified Sat Jan 6 04:08:29 2007 UTC (17 years, 9 months ago) by johnpye
Changing to asc_assert in module.c
Changing WriteWhyNotFound to use char* instead of symchar*.
Fixing paths in models/steam/* to be relative to models/

Revision 1050 - Directory Listing
Modified Sat Jan 6 04:04:47 2007 UTC (17 years, 9 months ago) by johnpye
Adding integration test in TestSteam.testdsgsat.
Naming couple of anonymous structs.

Revision 1049 - Directory Listing
Modified Fri Jan 5 13:45:13 2007 UTC (17 years, 9 months ago) by johnpye
Changed integrator_solve to return 0 on success
Changed integrator_checkstatus to return 0 on success
Some flow-through changes as a result of these.
Fixed problem with reporting of errors in do_method (gtkbrowser.py)
Expanded error msg in integrator.cpp
Fixed catching of Integrator C++ exceptions in integratorreporter.py.
Removed M.checkStructuralSingularity() in TestSteam.testdsgsat -- causes crash (why?)

Revision 1046 - Directory Listing
Modified Fri Jan 5 11:15:16 2007 UTC (17 years, 9 months ago) by johnpye
Several changes to get BinToken compilation active again from PyGTK interface. Still not working but the problems now are in the C layer.
Tidied doc for slvDOF.h
Changed BinTokenSetOptions to saner use of strings -- no more 'taking ownership' of char arrays passed.
Added Compiler.use_binary_compilation option in PyGTK GUI.
Moved all the bintoken stuff out of class Type and into Compiler, where it should be (C++).

Revision 1045 - Directory Listing
Modified Fri Jan 5 06:46:08 2007 UTC (17 years, 9 months ago) by johnpye
fixing ERROR_REPORTER to ERROR_REPORTER_HERE.

Revision 1043 - Directory Listing
Modified Fri Jan 5 06:24:59 2007 UTC (17 years, 9 months ago) by johnpye
Fixed PyGTK GUI for case where syntax errors in command-line-specified file are found.
Fixed 'reload' behaviour for above case also.
Fixed satsteam test cases.

Revision 1042 - Directory Listing
Modified Fri Jan 5 04:53:38 2007 UTC (17 years, 9 months ago) by johnpye
Added saturated steam routines (taked from IAPWS 'supsat.pdf')
Added test case TestSteam for evaluating iapwssatprops.a4c documented test cases.

Revision 1040 - Directory Listing
Modified Fri Jan 5 00:26:06 2007 UTC (17 years, 9 months ago) by johnpye
Adding missing test models.

Revision 1039 - Directory Listing
Modified Thu Jan 4 23:21:20 2007 UTC (17 years, 9 months ago) by johnpye
Fixed up some #includes in compiler .[ch] files.
Switched instantiate.c to using 'asc_assert' instead of 'assert'.
Added some missing GPL headers in C++ code.
Silenced some slv3.c debug output.
Switch void-return to int-return in slv9_presolve etc (slv9.c)
Attemping to fix solvernotes.py for the commandline environment (browser==None)
Removed redundant solve(SELF) in thermalequilibrium2.a4c.
Some error reporting from addone_calc (extfntest.c).
Expanded test size in extrelfor.a4c.
Big rearrangement of bboxtest.c for top-down style.
Fixed TestFreesteam.testintegrator, added end-value checks.


Revision 1038 - Directory Listing
Modified Thu Jan 4 08:49:05 2007 UTC (17 years, 9 months ago) by johnpye
Fixed the remaining TestBlackBox cases.

Revision 1037 - Directory Listing
Modified Thu Jan 4 08:11:55 2007 UTC (17 years, 9 months ago) by johnpye
Fixed a few more TestBlackBox test cases.

Revision 1035 - Directory Listing
Modified Thu Jan 4 07:35:22 2007 UTC (17 years, 9 months ago) by johnpye
Softened error from bintoken.c
Improved error reporting in instantiate.c
Rearranged #includes in relation_util.[ch]
Changed to asc_assert in relman.c
Lots of fixed in slv3.c to get reporting of 'calc_ok' right.
Also some better error reporting from slv3.c.
Fixed usage info for error_reporter_tree_start().
Improved error/status reporting from bboxtest.c.
Set PyGTK GUI to correctly catch ::solve errors.
Improved reporting about when solver fails (diverged, inconsistent, exceeded time/iters)
Fixed TestBlackBox.testfail1 and TestBlackBox.testfail2.
Fixed type.cpp to throw errors when instantiation fails.

Revision 1034 - Directory Listing
Modified Thu Jan 4 05:37:55 2007 UTC (17 years, 9 months ago) by johnpye
Switch 'void slv_*' function to output a 0-on-success error flag.
Added some debug output to ensure that such output gets through.
Fixed TestBlackBox.testfail1 to work, using above changes.
Simulation::solve now throws an exception on failure (will need to modify PyGTK GUI accordingly)

Revision 1033 - Directory Listing
Modified Thu Jan 4 01:57:39 2007 UTC (17 years, 9 months ago) by johnpye
Moved all purely 'test' models into test subdirectory in models.

Revision 1032 - Directory Listing
Modified Thu Jan 4 01:51:38 2007 UTC (17 years, 9 months ago) by johnpye
Added a necessary export symbol in extcall for used by bboxtest.
Broke apart Ben's z-bbox test suite and added it to the Python tests.

Revision 1031 - Directory Listing
Modified Wed Jan 3 15:33:23 2007 UTC (17 years, 9 months ago) by johnpye
Merging Ben's changes from trunk, changeset 1105 to changeset 1234.
This breaks Python test suite TestExtFn, so will need investigation.

Revision 1027 - Directory Listing
Modified Wed Jan 3 12:46:37 2007 UTC (17 years, 9 months ago) by johnpye
Fixing bug with importhandler_setsharedpointer (you need to RemoveTableData if you want to overwrite a value)
Minor correction to (not fully implemented) importhandler_destroylibrary for case where library is NULL.

Revision 1024 - Directory Listing
Modified Wed Jan 3 10:27:43 2007 UTC (17 years, 9 months ago) by johnpye
Added extfn and extpy to python test suites.

Revision 1020 - Directory Listing
Modified Wed Jan 3 06:59:04 2007 UTC (17 years, 9 months ago) by johnpye
woops, should be RuntimeError

Revision 1019 - Directory Listing
Modified Wed Jan 3 06:51:02 2007 UTC (17 years, 9 months ago) by johnpye
Attempting to remove test suite dependency on GTK again

Revision 990 - Directory Listing
Modified Thu Dec 21 07:12:58 2006 UTC (17 years, 9 months ago) by johnpye
Added TestIDA.testkryxDENSE which seems to work OK.

Revision 985 - Directory Listing
Modified Thu Dec 21 04:06:02 2006 UTC (17 years, 9 months ago) by johnpye
Trying to get idakryx example working.
Better reporting of failures from IDACalcIC.

Revision 983 - Directory Listing
Modified Thu Dec 21 03:43:11 2006 UTC (17 years, 9 months ago) by johnpye
Fixing building for libpython *present*

Revision 982 - Directory Listing
Modified Thu Dec 21 03:18:54 2006 UTC (17 years, 9 months ago) by johnpye
Fixed for nonexistent libpython

Revision 981 - Directory Listing
Modified Thu Dec 21 01:43:07 2006 UTC (17 years, 9 months ago) by johnpye
Disable build of 'extpy' if not WITH_PYTHON.

Revision 979 - Directory Listing
Modified Wed Dec 20 14:34:16 2006 UTC (17 years, 9 months ago) by johnpye
Added simplified ASC_PANIC call that uses var-args, added throughout relation_util.c.
Fixed var_filter_t stuff in djex and fvex.
More assertions in integrator.c
Added output of initial state from lsode.c (hoping that's a good idea?)
Fixed output code from relman_diff2.
Added asc_panic_nofunc for non var-arg CPPs.
Disabled -O3 flag in building C++ API
Added __getitem__ and __getattr__ methods in Simuluation for simplified python syntax (eg M.x instead M.sim.x)
Integrator::analyse throws exceptions on error now.


Revision 974 - Directory Listing
Modified Tue Dec 19 11:00:57 2006 UTC (17 years, 9 months ago) by johnpye
Fixed 'testcmslv2' test case.
Fixed 'sunpos5' test case.
One can now type 'python test.py TestSolver' and all current tests pass.

Revision 973 - Directory Listing
Modified Tue Dec 19 10:48:38 2006 UTC (17 years, 9 months ago) by johnpye
Fixed the 'repeated test' bug (a static pointer to a destroyed symchar was being used in type.cpp)
Improved error reporting for 'not a refined solver_var' message.
Refactors Library::listModules and Library::getModules to use shared code.
TODO: find a more efficient solution to the static pointer problem above.

Revision 972 - Directory Listing
Modified Tue Dec 19 07:55:02 2006 UTC (17 years, 10 months ago) by johnpye
Fixed a bug with initial time step in IDA (and added a checking asc_assert)
Added switch to turn on and off 'IDACalcIC'.
Changed 'already loaded' ASC_PROG_ERR into ASC_PROG_WARN (so that repeated 'IMPORT' doesn't cause problems)
Removed unnecessary solver tricks from shm.a4c (for easier debugging of Integrator API)
Widened self_test limits in zill.a4c.
Some more debugging in simulation.cpp.
Breaking down test.py into smaller test classes (thinking about moving it to its own directory)

Revision 969 - Directory Listing
Modified Tue Dec 19 00:57:26 2006 UTC (17 years, 10 months ago) by johnpye
Added placeholder for a C version of Art's DAE solver (named 'AWW')
Added support for SPBCG and SPTFQMR Krylov solvers in IDA.
Attempted separation of ascpy.i and solver.i (ongoing)
Fixed an error message in typedef.c
Fixed typo in ivpStepN.tcl
Added correctly hidden Simulation() ctor.

Revision 968 - Directory Listing
Modified Mon Dec 18 05:49:00 2006 UTC (17 years, 10 months ago) by johnpye
Added SCons tests to check SIGINT and to replace ascresetneeded (need replacement for this in Autoconf as well).
Removed debugging from createinst.c
Typo (text) in evaluate.c
Commented out redundant code in importhandler.c
Added signal handling in ExecuteCASGN.
Added missing ospath_free in ModuleSearchPath.
Exported InitSymbolTable, DestroySymbolTable in symtab (dubious)
Moved FPRESET macro out of ascConfig.h and into ascSignal.h
Added Asc_SignalHandler{Push,Pop}Default.
Added ASC_RESETNEEDED and HAVE_C99FPE macros in config.h.in.
Found the bug causing the SIGFPE in idakryx.a4c (raises a question about int/float division in modelling, I think)
Added system_destroy call in Simulation::~Simulation (dubious).

Revision 965 - Directory Listing
Modified Wed Dec 13 23:53:57 2006 UTC (17 years, 10 months ago) by johnpye
Fixed OSPATH typo
Other minor doc changes.

Revision 964 - Directory Listing
Modified Tue Dec 12 14:34:18 2006 UTC (17 years, 10 months ago) by johnpye
Added a test method to run a integration with one variable (a numerical example from the text by Zill)

Revision 963 - Directory Listing
Modified Tue Dec 12 13:36:52 2006 UTC (17 years, 10 months ago) by johnpye
Added ATOLVECT, RTOLVECT parameters to LSODE
Fixed silly bug in testing of newton.a4c
Text changes in ida.c.

Revision 962 - Directory Listing
Modified Mon Dec 11 14:43:02 2006 UTC (17 years, 10 months ago) by johnpye
Adding more LSODE test cases.
Removing some 'error tree' debug output.
Added RTOLDEF and ATOLDEF parameters to LSODE (and fixed a bug relating to integrator_lsode_params_default).

Revision 961 - Directory Listing
Modified Mon Dec 11 14:04:13 2006 UTC (17 years, 10 months ago) by johnpye
Fixed a silly bug with Integrator::setEngine.
Added test case for lotka.a4c to test.py

Revision 960 - Directory Listing
Modified Sun Dec 10 03:14:24 2006 UTC (17 years, 10 months ago) by johnpye
Able to compile now on Solaris.
Fixed a problem with datareader.c returning non-void.
Remains a problem with std::logic_error not being linked to _ascpy

Revision 956 - Directory Listing
Modified Sat Dec 9 15:38:05 2006 UTC (17 years, 10 months ago) by johnpye
Removed references to 'ASC_BIG_BUGMAIL' and 'ASC_MILD_BUGMAIL'
Disabled stream redirection functions (they were making testing difficult)
Re-wrote the main test-runner to permit specific tests to be run from the commandline (ongoing)
Disabled readln tests that required stream redirection.

Revision 953 - Directory Listing
Modified Thu Dec 7 14:47:15 2006 UTC (17 years, 10 months ago) by johnpye
Added test for C99 FPE handling
Fixing mess-up of ChildByChar in arrayinst.h header.
Added 'safeeval' config option to IDA.
Changed 'SigHandler' to 'SigHandlerFn *' in line with other function pointer datatypes being used in ASCEND.
Moved processVarStatus *after* 'Failed integrator' exception (ongoing issue).

Revision 951 - Directory Listing
Modified Sun Nov 26 05:01:49 2006 UTC (17 years, 10 months ago) by johnpye
Added 'GSMODIFIED' parameter to IDA implementation.
Working on getting the idadenx model to converge using the SPGMR solver.

Revision 944 - Directory Listing
Modified Sat Nov 25 10:46:13 2006 UTC (17 years, 10 months ago) by johnpye
Implemented ATOLVECT, ATOL, RTOL parameters for the IDA integrator.

Revision 942 - Directory Listing
Modified Sat Nov 25 05:26:47 2006 UTC (17 years, 10 months ago) by johnpye
Incorporated 'SolverParameters' functionality into 'Integrator', both at C level and C++/Python.
This shouldn't break Tcl/Tk as default parameters will be set and used invisibly.

Revision 938 - Directory Listing
Modified Fri Nov 24 06:09:46 2006 UTC (17 years, 10 months ago) by johnpye
Added support for dmalloc (http://dmalloc.com)
Added Integrator::setEngine(string name)
Minor other stuff.

Revision 937 - Directory Listing
Modified Fri Nov 24 03:58:49 2006 UTC (17 years, 10 months ago) by johnpye
Fixed ability to run 'solve' from an external script method, without the present of the PyGTY GUI.

Revision 935 - Directory Listing
Modified Fri Nov 24 00:37:11 2006 UTC (17 years, 10 months ago) by johnpye
Adopted suggestions wrt Py_None on Windows platform (extpy)
Fixed up default values of CUNIT_PREFIX (needs testing for case where missing)

Revision 932 - Directory Listing
Modified Thu Nov 23 13:23:33 2006 UTC (17 years, 10 months ago) by johnpye
Working on bugs in the 'error_reporter_tree' stuff.
Removed binary files from base/generic/utilities/test (these are built as needed by SCons now)

Revision 930 - Directory Listing
Modified Wed Nov 22 13:09:09 2006 UTC (17 years, 10 months ago) by johnpye
solve.py raises ImportError if 'browser' object is not available (right approach?)
Freeing some variables in dsgsat2.a4c.
Returing Py_None from extpy routine in 'browser' object not defined (eg during non-GUI unit testing)
Error reporting from extpy import handler (ongoing)
Timeout in versioncheck (when server unavailable)
A little more tinkering with IDA.

Revision 924 - Directory Listing
Modified Thu Nov 9 13:57:02 2006 UTC (17 years, 11 months ago) by johnpye
Added simple harmonic motion model.
Fixed loop-termination bug in ida.c

Revision 923 - Directory Listing
Modified Thu Nov 9 10:54:14 2006 UTC (17 years, 11 months ago) by johnpye
Moving this file from my (separate) dsg-transient project into ASCEND.

Revision 919 - Directory Listing
Modified Mon Nov 6 04:48:59 2006 UTC (17 years, 11 months ago) by johnpye
Fixing bug #305 (CONOPT not working with testconopt.a4c).
Some effort to rearrange external 'solve' scripts, ongoing.
Note, relman_diff2 returns 0 on success, but relman_eval returns 1 on success!

Revision 917 - Directory Listing
Modified Thu Nov 2 21:34:59 2006 UTC (17 years, 11 months ago) by johnpye
Added some debug stuff to work on the on_load problem.

Revision 915 - Directory Listing
Modified Sat Oct 28 07:06:22 2006 UTC (17 years, 11 months ago) by johnpye
Working on what the problem is with 'on_load' methods in the C++/Python code.
Seems that 'EXTERNAL solve(SELF);' puts the model into a state which 'works' but if that's
not done first, then that set values in the model don't work correctly...

Revision 914 - Directory Listing
Modified Sat Oct 28 05:27:58 2006 UTC (17 years, 11 months ago) by johnpye
Fixed prototype for extpy_destroy
Dubious fix for the message about directory node in doc/SConscript (is $ expansion happening?)


Revision 913 - Directory Listing
Modified Sat Oct 28 03:55:19 2006 UTC (17 years, 11 months ago) by johnpye
Added test for SUNDIALS version (2.2.1 and 2.3.0-pre are preferred)
Fixed silly warning message about ignored return values from CONSOLE_DEBUG on GCC.

Revision 912 - Directory Listing
Modified Fri Oct 27 07:18:21 2006 UTC (17 years, 11 months ago) by johnpye
Removed BBOXWHINE (replaced with some one-time-only warnings for the moment)
Added ExtMethodDestroyFn to allow 'user_data' associated with external methods to be destroyed.
Implemented the destroy fn through to 'extpy' module.
Added 'name' as an extra parameter in the user_data for extpy, to help with debug msgs.
Moved 'solvernotes' to a file of its own (was part of listnotes.py)
Added 'repaint' to GTK 'tools' menu (for debugging)
Added 'python.h' to top of library, type files (pygtk) to stop silly warnings.
Working on some diagnosing of problems as noted in Simulation::checkInstance.
Removed some old comments from namio.h and others.
Renamed 'blsys' to 'sys' in integrator.c.
Some work on fixing up the J*v function for IDA (not yet complete).
Added new 'destroyfn' parameter (as NULL) to all calls to 'CreateUserFunctionMethod'.

Revision 911 - Directory Listing
Modified Thu Oct 26 13:44:58 2006 UTC (17 years, 11 months ago) by johnpye
Removed a few more redundant debug msgs

Revision 910 - Directory Listing
Modified Thu Oct 26 13:35:25 2006 UTC (17 years, 11 months ago) by johnpye
In instantiate.c, made new blackbox code tolerant of blackboxes that don't need initialisation.
Removed some debug output.
Expanded 'extfntest.py' a little bit, for ease of testing.
Converted 'blackbox is experimental' warnings to one-time-only.
Minor change to way that webbrowser is invoked under linux.

Revision 908 - Directory Listing
Modified Thu Oct 26 10:18:53 2006 UTC (17 years, 11 months ago) by johnpye
first attempt at merging with Ben's changes on the trunk

Revision 903 - Directory Listing
Modified Wed Oct 25 13:07:12 2006 UTC (17 years, 11 months ago) by johnpye
Some success with IDA: fixed up the indexing dilemma and was able to
integrate 'johnpye/thermalequilibrium.a4c' for a short time span (but
through to 3000 s as with LSODE). I would blame lack of jacobian routine
in the first instance.

Added 'more properties' button in Properties dialog for a variable, to allow
values of ode_id, ode_type etc to be queried (but not changed).


Revision 901 - Directory Listing
Modified Wed Oct 25 06:18:28 2006 UTC (17 years, 11 months ago) by johnpye
Added 'solve.py' as a simple way of calling the current solver from the PyGTK GUI. Breaks Tcl/Tk, almost certainly.

Revision 900 - Directory Listing
Modified Wed Oct 25 06:03:04 2006 UTC (17 years, 11 months ago) by johnpye
The 'sim' object is correctly accessible from script methods now, even if run during on_load.
Added 'getSimulation' to registry.cpp, added 'runDefaultMethod' to Simulation, added 'getMethod' to Type.
Running of 'on_load' is instigated at the Python level now, so that relevent python variables are set at simulations are built, etc. This appears to have cause some changes to the way the solver behaves, possibly.
Added SearchProcList to exports in libascend.


Revision 898 - Directory Listing
Modified Tue Oct 24 13:34:13 2006 UTC (17 years, 11 months ago) by johnpye
Added 'solver notes' to thermalequilibrium.a4c.
Added 'setup_solver' method in listnotes.py
Added 'getLanguage' to Annotation class
Added 'paramname' to SolverParameters popup in PyGTK
Fixed up some commenting in notate.c
Turned on warning about ignored notes in ascParse.y

Revision 897 - Directory Listing
Modified Tue Oct 24 11:05:18 2006 UTC (17 years, 11 months ago) by johnpye
Adding 'NOTES' support to C++ interface. 'johnpye/thermalequilibrium2.a4c' is the example case.
listnotes.py performs listing via a python external script method.
annotation.h and annotation.cpp implement the C++ wrapper referenced by SWIG.
library.{h,cpp} modified to provide access to the AnnotationDatabase.
Typemapping modified in ascpy.i in attempt to get a more maintainable wrapping.
Added annotation.cpp to build.
Updated copyright header and formatting of notate.{c,h}.
Improved ErrMsg_BracesEOF error message fn.
Updated copyright header and formatting of braced.{c,h}
Some misc debug output removed esp in simulation.cpp, conopt.c, importhandler.c.


Revision 896 - Directory Listing
Modified Tue Oct 24 05:04:24 2006 UTC (17 years, 11 months ago) by johnpye
Renamed 'tank' to 'dyn_tank' in dyntank.* (for benefit of 'on_load' behaviour in PyGTK GUI)
Formatting in ivpStep.a4c (ivpDAE), updated copyright block.
Improved formatting of typelint error messages (using error_reporter a bit better, eliminating 'StatioLabel' calls where possible).

Revision 893 - Directory Listing
Modified Sun Oct 22 05:18:36 2006 UTC (17 years, 11 months ago) by johnpye
Better plot points in moody diagram model.
Attempt to get rid of some compiler warnings in extmethod.
Better handling of LD_LIBRARY_PATH and ASCENDLIBRARY in ascdev.
Changed default documentation path (to avoid warnings, seems like a scons bug?)

Revision 892 - Directory Listing
Modified Thu Oct 19 14:30:21 2006 UTC (17 years, 11 months ago) by johnpye
Added pressure_per_temperature.

Revision 891 - Directory Listing
Modified Thu Oct 12 23:43:03 2006 UTC (18 years ago) by johnpye
Added extra measures for energy (GJ etc)

Revision 890 - Directory Listing
Modified Thu Oct 12 14:06:37 2006 UTC (18 years ago) by johnpye
Eliminated T1, T2 from dsg.a4c.
Added moody diagram example model (with python script)
Removed some debug output from solverreporter.py and simulation.cpp

Revision 889 - Directory Listing
Modified Wed Oct 11 21:01:41 2006 UTC (18 years ago) by aw0a
adding simplified ivpDAE models directory and file

Revision 888 - Directory Listing
Modified Wed Oct 11 14:53:27 2006 UTC (18 years ago) by johnpye
Added 'energy_per_volume' and 'power_per_volume' to atoms.a4l.
Converting dsg.a4c into a dynamic (IVP) model.
Removed some debug output from various places.
Renamed some functions in lsode.c (removed references to 'blsode' name)
Added comments in LSODE about what method is being used.
Improved LSODE error output a little bit (why bother tho eh)
Improved coupla error msgs in slv_stdcalls.c.

Revision 887 - Directory Listing
Modified Wed Oct 11 11:44:59 2006 UTC (18 years ago) by johnpye
Woops, added back attribution.

Revision 886 - Directory Listing
Modified Wed Oct 11 11:44:01 2006 UTC (18 years ago) by johnpye
Just some work on cleaning up indenting of FOR loops etc.
Replaced license block with the newer text.

Revision 885 - Directory Listing
Modified Wed Oct 11 11:01:44 2006 UTC (18 years ago) by johnpye
This model uses the freesteam library to perform something similar to
the 'thermalequilibrium.a4c' model, except that there is a phase change
taking place in S[1] in this model as the heat is transferred.

Revision 883 - Directory Listing
Modified Tue Oct 10 12:24:42 2006 UTC (18 years ago) by johnpye
Added a newton's law of cooling model.

Revision 882 - Directory Listing
Modified Mon Oct 9 15:06:06 2006 UTC (18 years ago) by johnpye
some docs on how to use dsg.a4c

Revision 881 - Directory Listing
Modified Mon Oct 9 10:51:06 2006 UTC (18 years ago) by johnpye
Removed some debug output in importhandler.
Fixed aspect ratio on four bar linkage plot.
Fixed up dsg.a4c for consistency with dsg-transient library.

Revision 880 - Directory Listing
Modified Sun Oct 8 23:38:31 2006 UTC (18 years ago) by johnpye
bumping versions to 0.9.5.101

Revision 879 - Directory Listing
Modified Sat Oct 7 10:00:53 2006 UTC (18 years ago) by johnpye
fixing small mistake in comment

Revision 878 - Directory Listing
Modified Sat Oct 7 09:58:14 2006 UTC (18 years ago) by johnpye
Slightly improved plot, reduced GUI output for speed

Revision 877 - Directory Listing
Modified Sat Oct 7 09:31:51 2006 UTC (18 years ago) by johnpye
Added example of external scripting to the model 'fourbarplot.py'.
Allows plotting of the status of the four bar linkage.
TODO: test in the Tcl/Tk environment

Revision 876 - Directory Listing
Modified Sat Oct 7 06:55:11 2006 UTC (18 years ago) by johnpye
Slightly simplified access to child instances from python

Revision 875 - Directory Listing
Modified Sat Oct 7 06:26:34 2006 UTC (18 years ago) by johnpye
Can now access the ASCEND model from an external python script method. The API is not at all nice, but it's basically working now.

Revision 874 - Directory Listing
Modified Thu Oct 5 15:13:22 2006 UTC (18 years ago) by johnpye
Can now access python methods from ASCEND. Still can't access the 'SELF' instance: that's the next thing to do.

Revision 873 - Directory Listing
Modified Thu Oct 5 14:51:49 2006 UTC (18 years ago) by johnpye
Can now register python methods with ASCEND. Still can't execute the python code, but getting close.

Revision 872 - Directory Listing
Modified Thu Oct 5 12:52:43 2006 UTC (18 years ago) by johnpye
Converted to Python fopen routine (on suggestion of Fredrik Lundh from comp.lang.python)

Revision 871 - Directory Listing
Modified Thu Oct 5 09:30:08 2006 UTC (18 years ago) by johnpye
Changed the way that SWIG accesses the C++ 'Registry' class in the case of Python (trying to make it language neutral)

Revision 869 - Directory Listing
Modified Wed Oct 4 14:03:46 2006 UTC (18 years ago) by johnpye
'hello world' works from external python module, correctly hooks into 'browser' object.

Revision 868 - Directory Listing
Modified Wed Oct 4 09:17:38 2006 UTC (18 years ago) by johnpye
Added 'python models' to installer script
Added 'delta_area'.

Revision 867 - Directory Listing
Modified Fri Sep 29 11:25:47 2006 UTC (18 years ago) by johnpye
more diagnostic output, trying to find reason for crash on Windows

Revision 866 - Directory Listing
Modified Fri Sep 29 06:22:21 2006 UTC (18 years ago) by johnpye
Adding polar moment of inertia to atoms.a4l.
Fixing two small windows-related bugs in new importhandler stuff.

Revision 865 - Directory Listing
Modified Thu Sep 28 14:19:17 2006 UTC (18 years ago) by johnpye
First success at executing python code from inside ASCEND "IMPORT" statement :-)

Revision 864 - Directory Listing
Modified Thu Sep 28 13:39:16 2006 UTC (18 years ago) by johnpye
ImportHandler seems to be working, tested with datareader/testtmy.a4c and extfn/testextfn.a4c.

Revision 863 - Directory Listing
Modified Thu Sep 28 08:17:18 2006 UTC (18 years ago) by johnpye


Revision 862 - Directory Listing
Modified Tue Sep 26 13:47:27 2006 UTC (18 years ago) by johnpye
Some work on the IMPORT handler functionality. Mostly just placeholders at this stage.

Revision 857 - Directory Listing
Modified Mon Sep 25 08:49:10 2006 UTC (18 years ago) by johnpye
Added 'pile.a4c', a model for laterally loaded piles (in progress)

Revision 855 - Directory Listing
Modified Wed Sep 20 14:00:41 2006 UTC (18 years ago) by johnpye
Removed some verbage in Integrator output

Revision 854 - Directory Listing
Modified Wed Sep 20 13:36:40 2006 UTC (18 years ago) by johnpye
First tentative version in 'integration reporting':
Values of observed variables from the simulation are added to an Observer table after simulation completes.
This is not very efficiently coded at this stage but is a start.
Also some minor changes to text and comments in some base/generic files.

Revision 850 - Directory Listing
Modified Tue Sep 19 07:21:41 2006 UTC (18 years ago) by johnpye
Vector calcs

Revision 847 - Directory Listing
Modified Mon Sep 18 06:29:19 2006 UTC (18 years, 1 month ago) by johnpye
Added beam designation to beam model.
Created automatically calculated beam geometry for beam4.a4c.

Revision 846 - Directory Listing
Modified Sun Sep 17 07:34:20 2006 UTC (18 years, 1 month ago) by johnpye
Added simple Lotka-Volterra population model. Needs validation still.
Added 'rate' to atoms.a4l.
Fixed 'pendulum' into a single-order version (needs checking).
Removed debug output from relation_util.c.

Revision 844 - Directory Listing
Modified Mon Sep 11 08:31:21 2006 UTC (18 years, 1 month ago) by johnpye
Bumped version to 0.9.5.98.
Added support for 'setSymbolValue' from C++ interface, and allow symbol variables to be edited via the PyGTK GUI.
Added some limited data about structural analysis of beams in johnpye/aiscbeams.a4c.
Updated johnpye/beam4.a4c to use this data.
Added some currency conversions to measure.a4l.
Added some units related to Mechanics of Solids to atoms.a4l.

Revision 842 - Directory Listing
Modified Sun Sep 10 06:15:00 2006 UTC (18 years, 1 month ago) by johnpye
Reformating tmy.c to be more concise.
In testtmy.a4c, assume that the tmy file is in the datareader directory under models.

Revision 840 - Directory Listing
Modified Sun Sep 10 06:10:36 2006 UTC (18 years, 1 month ago) by johnpye
Added 'deflection' to atoms.a4l.
Updated beam models to use 'abs' instead of full conditional modelling.

Revision 839 - Directory Listing
Modified Fri Sep 8 07:46:53 2006 UTC (18 years, 1 month ago) by johnpye
Removed some debug output from cond_config.c
Added superposition test (beam2.a4c)
Fixed up problems in beam.a4c (ongoing).

Revision 838 - Directory Listing
Modified Fri Sep 8 06:57:55 2006 UTC (18 years, 1 month ago) by johnpye
Added beam model.

Revision 837 - Directory Listing
Modified Fri Sep 8 06:40:59 2006 UTC (18 years, 1 month ago) by johnpye
Added youngs_modulus and second_moment_of_area to atoms.a4l.
Added GPa to measures.

Revision 836 - Directory Listing
Modified Wed Sep 6 15:54:00 2006 UTC (18 years, 1 month ago) by aw0a
added testnotes to model library

Revision 835 - Directory Listing
Modified Wed Sep 6 15:52:46 2006 UTC (18 years, 1 month ago) by aw0a
corrected collocation.a4l errors created when changing FIXED statements

Revision 834 - Directory Listing
Modified Thu Aug 31 05:39:14 2006 UTC (18 years, 1 month ago) by johnpye
Added little 'fourbar' model for a four bar linkage.
Added 'plotfourbar.a4c' as well, for graphical output
using the present plot system (as a bit of a test).
Fixed support for plotting (bug #282)

Revision 833 - Directory Listing
Modified Wed Aug 23 08:09:36 2006 UTC (18 years, 1 month ago) by johnpye
Added ability to invert a=tan(x).
Added test model 'testtan' to testfunc.a4c.

Revision 832 - Directory Listing
Modified Wed Aug 23 07:06:47 2006 UTC (18 years, 1 month ago) by johnpye
Renamed testTrig to testfunc.a4c.
Removed some buildtime messages.
Added self-test to testfunc model.
Some windows-specific changes to SConstruct (need testing?)

Revision 831 - Directory Listing
Modified Wed Aug 23 06:52:01 2006 UTC (18 years, 1 month ago) by johnpye
About to rename...

Revision 830 - Directory Listing
Modified Wed Aug 23 06:38:05 2006 UTC (18 years, 1 month ago) by johnpye
Copying Art's trig test to the extfn branch

Revision 824 - Directory Listing
Modified Thu Aug 17 16:30:24 2006 UTC (18 years, 2 months ago) by johnpye
bumped version to 0.9.5.97
added error message when datareader file not found in search path
fixed datareader linkage for Windows.

Revision 822 - Directory Listing
Modified Thu Aug 17 14:54:26 2006 UTC (18 years, 2 months ago) by johnpye
Added a sun position and extraterrestrial radiation model using the equations from Duffie and Beckman.
When combined with the new data reader, this will start to be useful for 'real' solar energy problems.

Revision 821 - Directory Listing
Modified Thu Aug 17 11:57:54 2006 UTC (18 years, 2 months ago) by johnpye
Changed 'hr' to 'h' and 'dy' to 'd' in accordance with SI units.

Revision 820 - Directory Listing
Modified Thu Aug 17 05:45:27 2006 UTC (18 years, 2 months ago) by johnpye
A little sample calculation

Revision 819 - Directory Listing
Modified Wed Aug 16 15:36:12 2006 UTC (18 years, 2 months ago) by johnpye
Moved the location of the PATHENVIRONMENTVAR to config.h.in so that
it can be shared with other places that want to use that variable.
Did some bug fixing of the simple TMY reader.

Revision 816 - Directory Listing
Modified Tue Aug 15 14:40:33 2006 UTC (18 years, 2 months ago) by johnpye
Adding the 'sun.c' and 'sun.h' files back into ASCEND so that we don't need dependency on libradtran.
Added detection of Scrollkeeper, the freedesktop.org documentation manager.
Added placeholder SConscript file for building the user's manual.

Revision 815 - Directory Listing
Modified Fri Aug 11 04:51:27 2006 UTC (18 years, 2 months ago) by johnpye
Removed some debug output

Revision 814 - Directory Listing
Modified Fri Aug 11 04:38:10 2006 UTC (18 years, 2 months ago) by johnpye
Added comment about data source.

Revision 813 - Directory Listing
Modified Fri Aug 11 04:35:15 2006 UTC (18 years, 2 months ago) by johnpye
Modified model to permit integration.

Revision 812 - Directory Listing
Modified Fri Aug 11 04:22:18 2006 UTC (18 years, 2 months ago) by johnpye
First apparently working version of data reader. This version just done linear interpolation.

Revision 811 - Directory Listing
Modified Thu Aug 10 17:08:16 2006 UTC (18 years, 2 months ago) by johnpye
Added vim 'syntax=python' comments to many SConscript files.
Lots more work on the datareader extfn.
The testtmy.a4c file requires the file obtained here ('gzip -d' before use)
http://rredc.nrel.gov/solar/old_data/nsrdb/tmy2/unix/23161.tm2.Z

Revision 810 - Directory Listing
Modified Mon Aug 7 14:49:46 2006 UTC (18 years, 2 months ago) by johnpye
woops, missed a bit

Revision 809 - Directory Listing
Modified Mon Aug 7 14:48:55 2006 UTC (18 years, 2 months ago) by johnpye
A little more tinkering on the Data Reader. I have added routines
to read data from the TMY2 format, but they're a long way from being
fully implemented yet. The added files sun.c and sun.h should
provide some useful routines for sun position and time of day, for
use with the TMY2 reader functions.

Revision 808 - Directory Listing
Modified Fri Aug 4 09:08:16 2006 UTC (18 years, 2 months ago) by johnpye
Some debug output in cond_config.
Working on adding PyGTK GUI functionality to show inactive relaitons.

Revision 807 - Directory Listing
Modified Fri Aug 4 08:14:39 2006 UTC (18 years, 2 months ago) by johnpye
Added new CMSlv test model.
Fixed a speling misteak.

Revision 802 - Directory Listing
Modified Thu Aug 3 02:24:45 2006 UTC (18 years, 2 months ago) by johnpye
Removed incorrect copyright in extfntest.c.
Fixed CONOPT detection on linux in SConstruct.
Tidied up comments in instquery.h.

Revision 801 - Directory Listing
Modified Thu Aug 3 01:48:05 2006 UTC (18 years, 2 months ago) by johnpye
Added shell of a Data Reader external function, RFC.

Revision 799 - Directory Listing
Modified Tue Aug 1 00:56:10 2006 UTC (18 years, 2 months ago) by johnpye
Corrected syntax in testcmslv.
Changed instance.cpp so that residuals are not called for logrels.
Added CONOPT_BOUNDLIMIT to both slv8 and slv9.
Changed limits for colsta in slv9 (needs checking)

Revision 798 - Directory Listing
Modified Mon Jul 31 12:40:50 2006 UTC (18 years, 2 months ago) by johnpye
slight changes to ascpanic output in relation.c
commenting changge in testcmslv

Revision 797 - Directory Listing
Modified Mon Jul 31 10:52:34 2006 UTC (18 years, 2 months ago) by johnpye
Added 'testcmslv' model.
Fixed error in CONOPT build test.

Revision 793 - Directory Listing
Modified Thu Jul 27 14:14:47 2006 UTC (18 years, 2 months ago) by johnpye
Updated simpleflowsheet01cost for easy running/testing with PyGTK interface.

Revision 791 - Directory Listing
Modified Thu Jul 27 12:04:19 2006 UTC (18 years, 2 months ago) by johnpye
Moved 'SearchArchiveLibraryPath' into ascDynaLoad so that it can be shared between
compiler/packages and solver/conopt.

Changed debug messages in ospath.

Fixed conopt to search for consub3 in $LD_LIBRARY_PATH or /usr/lib:/usr/local/lib
by default on Linux (or %PATH% or c:\Program Files\ASCEND on Windows).

Modified definition of testconopt so that some parameters can be varied via the interface.

Revision 789 - Directory Listing
Modified Thu Jul 27 04:35:17 2006 UTC (18 years, 2 months ago) by johnpye
Working version of testconopt.a4c now. This model yeilds the solution given in the CONOPT tutorial.

Revision 788 - Directory Listing
Modified Thu Jul 27 03:17:54 2006 UTC (18 years, 2 months ago) by johnpye
CONOPT running with testconopt.a4c but seems to give the wrong answer still.

Revision 786 - Directory Listing
Modified Wed Jul 26 15:04:32 2006 UTC (18 years, 2 months ago) by johnpye
Added a test model for use with CONOPT.

Revision 783 - Directory Listing
Modified Wed Jul 26 09:16:19 2006 UTC (18 years, 2 months ago) by johnpye
First work towards reinstating the CONOPT solver. So far, I've got it building
and linking without errors, but haven't tested the resulting runtime.

Revision 781 - Directory Listing
Modified Tue Jul 25 00:18:19 2006 UTC (18 years, 2 months ago) by johnpye
Fixed up building of extfntest on MinGW.
Added extfntest DLL to Windows installer.

Revision 775 - Directory Listing
Modified Sat Jul 15 07:18:54 2006 UTC (18 years, 3 months ago) by johnpye
Tidied up headers in slvDOF.h
Added 'show freeable vars' to GUI.
Fixed up the 'check' function a bit. It was doing strange things.

Revision 774 - Directory Listing
Modified Fri Jul 14 08:01:48 2006 UTC (18 years, 3 months ago) by johnpye
Added the ability to run methods on sub-models within a simulation. Use the right-click context menu.

Revision 772 - Directory Listing
Modified Fri Jul 14 06:03:47 2006 UTC (18 years, 3 months ago) by johnpye
Improved the reporting of structural singularities in PyGTK interface.

Revision 771 - Directory Listing
Modified Fri Jul 14 04:31:54 2006 UTC (18 years, 3 months ago) by johnpye
Removed some debug noise.
Minor changes to dsg models.

Revision 763 - Directory Listing
Modified Thu Jul 13 06:02:11 2006 UTC (18 years, 3 months ago) by johnpye
Fixing for MSVC++

Revision 762 - Directory Listing
Modified Thu Jul 13 05:17:30 2006 UTC (18 years, 3 months ago) by johnpye
Renaming model to enable auto-sim in PyGTK GUI.

Revision 761 - Directory Listing
Modified Thu Jul 13 04:46:13 2006 UTC (18 years, 3 months ago) by johnpye
Added necessary changes to allow 'johnpye/extfn/libextfntest.so' to be
built automatically as part of main SCons build. This will make testing
of external relations a little easier.

Revision 760 - Directory Listing
Modified Thu Jul 13 04:33:15 2006 UTC (18 years, 3 months ago) by johnpye
About to rename this file to 'SConscript'.

Revision 758 - Directory Listing
Modified Thu Jul 13 01:15:58 2006 UTC (18 years, 3 months ago) by johnpye
Some extfn test cases.

Revision 753 - Directory Listing
Modified Wed Jul 12 03:16:51 2006 UTC (18 years, 3 months ago) by johnpye
Removed some debug output from 'extcall'.

Revision 748 - Directory Listing
Modified Tue Jul 11 05:54:26 2006 UTC (18 years, 3 months ago) by johnpye
Lot of svn ignore tagging.
Little more work on DSG model.

Revision 745 - Directory Listing
Modified Fri Jul 7 04:01:49 2006 UTC (18 years, 3 months ago) by johnpye
Just comment

Revision 743 - Directory Listing
Modified Thu Jul 6 14:22:26 2006 UTC (18 years, 3 months ago) by johnpye
Few small changes to fix for Linux after the recent MSVC++ oriented changes.

Revision 738 - Directory Listing
Modified Thu Jul 6 02:08:04 2006 UTC (18 years, 3 months ago) by johnpye
Added comment about missing library in dsg.a4c

Revision 737 - Directory Listing
Modified Wed Jul 5 12:36:29 2006 UTC (18 years, 3 months ago) by johnpye
DSG model converges, using 3 external functions :-)
Added more info in 'diagnose' varinfo and relinfo popups, plus tabstops in display.
Allowed parameters to be used with instantiation_error in instantiate.c.
Fixed up some error messages in bintoken.c.
Renamed 'newcalc_done' to 'evaluation_required' in rel.c.
Other minor changes to error messages and commenting.


Revision 736 - Directory Listing
Modified Wed Jul 5 04:56:26 2006 UTC (18 years, 3 months ago) by johnpye
Relation expressions shown in diagnose window
(click in incidence matrix, then (i) or alt-r)

Revision 733 - Directory Listing
Modified Tue Jul 4 15:11:00 2006 UTC (18 years, 3 months ago) by johnpye
Adding model of direct steam generation, under development still.

Revision 730 - Directory Listing
Modified Tue Jul 4 07:29:50 2006 UTC (18 years, 3 months ago) by johnpye
Removed duplicate README files, just left README.txt (the one
that Windows users can easily open).

Revision 721 - Directory Listing
Modified Mon Jul 3 06:22:42 2006 UTC (18 years, 3 months ago) by johnpye
Added '--models' option to ascend-config.
Fixed a bug with packages.c wrt generating absolute paths to library files.
Added SCons directives to install header files in INSTALL_INCLUDE subdirs.
Changed rel.c so that init function is only run if provided in the package.
Added 'ospath_getabs' to convert relative paths into absolute paths by adding prefix of fully-resolved '.'

Revision 719 - Directory Listing
Modified Sat Jul 1 09:35:23 2006 UTC (18 years, 3 months ago) by johnpye
Added 'invars' and 'outvars' pointers (to var_variable pointer arrays) in ExtRelCache.
This will allow the ExtRel_MapDataToMtx function to be reimplemented using solver-side pointers
instead of going back to the arglist stuff in ExtCallNode.

Revision 711 - Directory Listing
Modified Thu Jun 29 16:18:54 2006 UTC (18 years, 3 months ago) by johnpye
ExtRel_Evaluate_RHS is working now! (At least for my 1+1=2 example).
Working now on fixing ExtRel_Evaluate_LHS.

Revision 709 - Directory Listing
Modified Wed Jun 28 16:28:57 2006 UTC (18 years, 3 months ago) by johnpye
Monster commit!
Lots of recommenting and reorganising of external relations-related stuff.
Replaced a lot of ascmalloc and asccalloc calls with the new ASC_NEW* macros.
Fixed (?) the problem Art is having with icons in PyGTK.
Turned on -Wall in SConstruct and fixed up a stack of warnings.
Removed the redundant exit(2) from after Asc_Panic calls and added __attribute__((noreturn)).
Set doxygen to create callgraphs to level 2, updated doxyfile to version 1.4.7.
Fixed up building of extfntest.c.

Revision 707 - Directory Listing
Modified Tue Jun 27 05:49:11 2006 UTC (18 years, 3 months ago) by johnpye
Lots of tidying up in instantiate.c.
Fixed up some GPL headers.
Changed from 'solver_var' to 'factor' in extfntest.a4c.
Added test for AtomAssigned in extfunc.c.

Revision 694 - Directory Listing
Modified Thu Jun 22 07:54:53 2006 UTC (18 years, 3 months ago) by johnpye
Lots of tidying up to relation_util code. (Most commments but a 
little refactoring of repeated code chunks.)
Added 'IMPORT' to the Gedit syntax definition.
Added error_reporters in place of some console output.

Revision 692 - Directory Listing
Modified Thu Jun 22 02:45:47 2006 UTC (18 years, 3 months ago) by johnpye
Fixed up behaviour of default ASCENDLIBRARY in python interface (for the case
where you're using ascpy without using the PyGTK GUI).
Removed some debug output when loading external libraries.
Fixed up the 'extfntest' example & SConscript file.

Revision 691 - Directory Listing
Modified Thu Jun 22 01:14:09 2006 UTC (18 years, 3 months ago) by johnpye
Added on_load and self_test to simpleflowsheet01.a4c.
Hopefully the value I selected to test for is OK?

Revision 669 - Directory Listing
Modified Wed Jun 21 07:00:45 2006 UTC (18 years, 3 months ago) by johnpye
Merged changes from DAE branch (revisions 702 to 819) back into trunk.
This adds the Integration API to the ASCEND solver (in base/generic).
Also provides pre-alpha support for 'IDA' from the SUNDIALS suite, a DAE solver.
Many other minor code clean-ups, including adoption of new 'ASC_NEW' and friends (to replace 'ascmalloc')
Added some very sketchy stuff providing 'DIFF(...)' syntax, although it is anticipated that this will be removed.

Revision 668 - Directory Listing
Modified Mon Jun 19 19:25:14 2006 UTC (18 years, 4 months ago) by aw0a
rename ivp.a4c to be ivp12Poly.a4c to reflect the order polynomials it uses for integrating - to mimic LSODE

Revision 667 - Directory Listing
Modified Mon Jun 19 19:23:38 2006 UTC (18 years, 4 months ago) by aw0a
save changes to ivp.a4c as precursor to renaming it

Revision 666 - Directory Listing
Modified Mon Jun 19 18:47:33 2006 UTC (18 years, 4 months ago) by aw0a
saving models for new approach to solve DAE models

Revision 629 - Directory Listing
Modified Wed May 24 04:34:25 2006 UTC (18 years, 4 months ago) by johnpye
Added changes to allow autotools build on ubuntu. There were some wrong assumptions
about file locations that I was able to correct using information in the 
tclConfig.sh and tkConfig.sh files. This will need testing on Fedora/Unix/etc.

Revision 628 - Directory Listing
Modified Wed May 24 01:45:02 2006 UTC (18 years, 4 months ago) by johnpye
Fixed up standard paths stuff to use 'INSTALL_ASCDATA' as the place where tcltk/python/models etc
will live. The confusion here came from the fact that I was taking 'INSTALL_SHARE' to be be assumed
to mean 'the location of /usr/share' -- hence the resulting '$INSTALL_SHARE/ascend' that was bothering
Ben. The 'INSTALL_ASCDATA' fixes this, and behaves as he will like, I hope.

Also note that I have switched the default situation in config.h.in to use relative paths by default,
which is the preferred CMU way. SCons builds will default to absolute paths on non-Windows systems.

Revision 625 - Directory Listing
Modified Thu May 18 16:07:09 2006 UTC (18 years, 5 months ago) by johnpye
Fixed incidences of INSTALL_DATA in SConscript files.

Revision 624 - Directory Listing
Modified Thu May 18 15:39:38 2006 UTC (18 years, 5 months ago) by ben.allan
Summary: most of the recent complaints about autotools build fixed,
but the buildbot might find a problem with the scons build/install/rpmbuild.


Details:

configure,Driver.c,utilities/config.h.in:
The choice of INSTALL_DATA as a configure variable name
has been repaired (renamed INSTALL_SHARE); INSTALL_DATA is the unix
canonical name for the program 'install' handling a data file.
Both autotools and scons builds have been updated to reflect this,
in the process correcting the definition from prefix/share to
prefix/share/ascend. 

autotools build:
Added --with-quiet option to make the install of already installed and
unchanged files less verbose.
Put in a workaround for the '' problem in tkConfig.sh seen by KC/JP.
Added --datadir support to autotools configure. If you configure
the autotools --datadir=PREFIX/share/ascend you get the same behavior
as the Pye packaging; by default you get the CMU packaging convention instead.
Added utilities/env.c to build.

compiler:
Turned off AWAL in anontype.c.
Noodling away at blackboxes continues...


Revision 621 - Directory Listing
Modified Thu May 18 06:25:11 2006 UTC (18 years, 5 months ago) by johnpye
Test model for bug #215.

Revision 617 - Directory Listing
Modified Wed May 17 06:58:19 2006 UTC (18 years, 5 months ago) by johnpye
Corrected problem with pipe diameters, added overall U-value

Revision 616 - Directory Listing
Modified Wed May 17 06:34:46 2006 UTC (18 years, 5 months ago) by johnpye
Fixed bugs with unspecified vars in this model.

Revision 615 - Directory Listing
Modified Wed May 17 06:29:40 2006 UTC (18 years, 5 months ago) by johnpye
Forced pygtk to share major env vars with base library.
Modified 'can't use this here' error messages.
Added notification when colour codes are being disabled.

Revision 612 - Directory Listing
Modified Wed May 17 02:51:33 2006 UTC (18 years, 5 months ago) by johnpye
This revision causes a segfault when you mouseover the incidence
matrix!

Revision 611 - Directory Listing
Modified Tue May 16 08:27:05 2006 UTC (18 years, 5 months ago) by johnpye
Adding a simple model for radial heat loss, eg from an insulated pipe. Under development.

Revision 576 - Directory Listing
Modified Tue May 9 03:42:08 2006 UTC (18 years, 5 months ago) by johnpye
Changed all cases of *.fixed := {TRUE,FALSE} to 'FIX' and 'FREE' statements.

Revision 568 - Directory Listing
Modified Fri May 5 09:36:26 2006 UTC (18 years, 5 months ago) by johnpye
Another place to remove the 'update-Makefile.pl'

Revision 566 - Directory Listing
Modified Fri May 5 09:22:01 2006 UTC (18 years, 5 months ago) by johnpye
Remove dependency on perl5

Revision 565 - Directory Listing
Modified Fri May 5 02:58:36 2006 UTC (18 years, 5 months ago) by johnpye
This is a sample file to illustrate ASCEND syntax.

Revision 561 - Directory Listing
Modified Thu May 4 07:35:43 2006 UTC (18 years, 5 months ago) by johnpye
Changes to detection of TkTable. TkTable detection was not possible
on FC5 due to the provided tktable package not coming with header
files, and no tktable-devel being offered. Hence static linkage
to Tktable is not possible. Maybe it's not a great idea anyway.
Also modified and updated the DistTar builder for SCons.
Modified SConstruct to allow Tcl/Tk 8.4 to be used.
Modified ascend.spec.in to use system-standard version of Tcl/Tk 8.4.

Revision 552 - Directory Listing
Modified Sat Apr 29 08:53:04 2006 UTC (18 years, 5 months ago) by johnpye
Created 'scons install' command that also works for Tcl/Tk interface.
These changes required some modifications to the default values of the environment variables.
Installed Tcl/Tk version now works with only the LD_LIBRARY_PATH env var being required.

Revision 542 - Directory Listing
Modified Wed Apr 26 15:15:40 2006 UTC (18 years, 5 months ago) by johnpye
This is a patch to allow statements like "IMPORT johnpye/extfn/extfntest".
It modifies the methods in packages.c. Plan is to reuse the same code for "REQUIRE xxxxxx" statements as well.


Revision 534 - Directory Listing
Modified Tue Apr 25 13:25:04 2006 UTC (18 years, 5 months ago) by johnpye
Working on platform-independent pathnames for the IMPORT command.
Added 'ospath.c' to base/generic/general for this purpose.
Patched kvalues and sensitivity to use the 'IMPORT "libname";' syntax
instead of 'IMPORT registerfn FROM libname;'.
Fixed pathnames in create.nsi.
Added GPL header to coupla files.
Added quoting to 'IMPORT' syntax in ascParse.y.
Removed 'PackageOption' from Tcl/Tk related Scons options so that missing Tcl/Tk
doesn't cause breakage.

Revision 529 - Directory Listing
Modified Sat Apr 22 06:26:23 2006 UTC (18 years, 5 months ago) by johnpye
Working of debugging the mysterious PyGTK bug. Seems to be coming from a wrong
char *filename in an error_reporter call from the DEBUG_RELS sections of the
compiler code.
Also renamed the WSEM and WSNM macros for clarity, removed unused file pointer.

Revision 518 - Directory Listing
Modified Thu Apr 20 17:11:51 2006 UTC (18 years, 5 months ago) by aw0a
updated READMEmodelStatus.txt file

Revision 517 - Directory Listing
Modified Thu Apr 20 14:50:01 2006 UTC (18 years, 5 months ago) by aw0a
corrected minor typo

Revision 485 - Directory Listing
Modified Tue Apr 18 04:47:11 2006 UTC (18 years, 6 months ago) by johnpye
Huge cleanup of file header comments (GPL notice etc).

Changed from ASC_DLLSPEC to ASC_DLLSPEC(TYPE) -- like python

Fixed up some badly export symbols (missing 'extern')

Fixed exporting of symbols from error.h

Removed ASC_DLLSPEC from .c files-- only in .h files now (hope that's right...)

Changed the way bintoken does its exporting, to take 
advantage of ASC_BUILDING_LIBASCEND (needs testing)

I wonder if the 'extern' keywork should be a part of the ASC_DLLSPEC macro?


Revision 471 - Directory Listing
Modified Mon Apr 17 03:44:25 2006 UTC (18 years, 6 months ago) by ben.allan
fixed up per new extfunc.h. linking still not on.

Revision 469 - Directory Listing
Modified Mon Apr 17 03:21:29 2006 UTC (18 years, 6 months ago) by ben.allan
getting rid of executable bits.

Revision 468 - Directory Listing
Modified Mon Apr 17 03:20:06 2006 UTC (18 years, 6 months ago) by ben.allan
new file.

Revision 466 - Directory Listing
Modified Sun Apr 16 15:07:48 2006 UTC (18 years, 6 months ago) by johnpye
Rolled back revision 451, since the DLL loading issue on Windows is now resolved.
Fixed up some #ifdef brackets in slv*.h headers.
Added NSIS functionality to SConstruct file
Renamed default installer to 'ascend-setup.exe' pending a more clever approach to version numbers.

Revision 461 - Directory Listing
Modified Tue Apr 11 14:29:53 2006 UTC (18 years, 6 months ago) by aw0a
added copyright statements to simple* files, added READMEmodelstatus.txt file

Revision 457 - Directory Listing
Modified Wed Apr 5 14:19:41 2006 UTC (18 years, 6 months ago) by aw0a
modified 2_cis_hexene data in components.a4l, updated simpleflowsheetrigorous.a4c

Revision 449 - Directory Listing
Modified Wed Apr 5 01:32:45 2006 UTC (18 years, 6 months ago) by johnpye
Adding 'models' directory to SCons install

Revision 434 - Directory Listing
Modified Tue Apr 4 07:45:54 2006 UTC (18 years, 6 months ago) by johnpye
Taking out the 'stop' in models/johnpye/extfn/extfntest.py

Revision 424 - Directory Listing
Modified Tue Apr 4 00:40:07 2006 UTC (18 years, 6 months ago) by johnpye
Fixing test external library code, migrating to SCons

Revision 422 - Directory Listing
Modified Mon Apr 3 17:29:28 2006 UTC (18 years, 6 months ago) by ben.allan
test of svn

Revision 421 - Directory Listing
Modified Mon Apr 3 17:26:22 2006 UTC (18 years, 6 months ago) by ben.allan
updated kvalues example to parse and put in model library.
changed import library name to dquote text for more generality.
fixed many, but not all problems in kvalues.c

Revision 420 - Directory Listing
Modified Mon Apr 3 15:04:59 2006 UTC (18 years, 6 months ago) by aw0a
added comment to file

Revision 419 - Directory Listing
Modified Mon Apr 3 15:01:01 2006 UTC (18 years, 6 months ago) by aw0a
renamed atomssimpleunits.a4c to simpleunitsatoms.a4c

Revision 418 - Directory Listing
Modified Mon Apr 3 14:54:22 2006 UTC (18 years, 6 months ago) by aw0a
updating all simpleflowsheet models, atomssimpleunits.a4c/s, atoms.a4l

Revision 417 - Directory Listing
Modified Mon Apr 3 14:19:01 2006 UTC (18 years, 6 months ago) by aw0a
commit changes to simpleFS files

Revision 384 - Directory Listing
Modified Tue Mar 28 20:43:06 2006 UTC (18 years, 6 months ago) by aw0a
new and modified simpleFS and simpleUnits models

Revision 383 - Directory Listing
Modified Mon Mar 27 03:21:25 2006 UTC (18 years, 6 months ago) by johnpye
Correcting units on Stefan-Boltzmann constant

Revision 382 - Directory Listing
Modified Sun Mar 19 23:39:23 2006 UTC (18 years, 7 months ago) by johnpye
Fixing python path for Linux

Revision 381 - Directory Listing
Modified Sun Mar 19 23:01:39 2006 UTC (18 years, 7 months ago) by johnpye
Fixing 'auto package registration' with 'libstemname_register'.
Fixed bug #247.

Revision 380 - Directory Listing
Modified Sat Mar 18 07:29:48 2006 UTC (18 years, 7 months ago) by johnpye
Fixed up dynamic loading so that external libraries can be used on Windows -- no unresolved symbols in the DLL.

Revision 379 - Directory Listing
Modified Wed Mar 15 12:48:03 2006 UTC (18 years, 7 months ago) by johnpye
Ensuring that plugins contain no undefined symbols (for the sake of Windows).
Rearranging and commending error.c slightly.
Removing some debug output in solverreporter.

Revision 377 - Directory Listing
Modified Wed Mar 15 11:27:22 2006 UTC (18 years, 7 months ago) by johnpye
By default, no xterm console colour codes are used now.
More output in extfn test python script.
pygtk/interface/Makefile cleans up gcov files when 'make clean'.

Revision 373 - Directory Listing
Modified Tue Mar 14 08:39:37 2006 UTC (18 years, 7 months ago) by johnpye
Tidied up formatting in measures.a4l
Added GPL notice to cavity.a4c
Fixed up reconfig to turn OFF gcov testing by default.
Removed some debug output from typedef.c and instantiate.c and arrayinst.c.
Commenting changes in extinst.h.
Working on getting the buildbot working :-)

Revision 370 - Directory Listing
Modified Fri Mar 10 09:14:50 2006 UTC (18 years, 7 months ago) by johnpye
Renaming without the 'pkg' prefix.

Revision 367 - Directory Listing
Modified Fri Mar 10 07:44:59 2006 UTC (18 years, 7 months ago) by johnpye
Trying to fix up johnpye/extfn/extfntest.c to work on Windows (MinGW)
(ie to fix linking problems).

Revision 360 - Directory Listing
Modified Tue Mar 7 03:38:36 2006 UTC (18 years, 7 months ago) by johnpye
Added external radiation losses

Revision 354 - Directory Listing
Modified Fri Mar 3 04:47:59 2006 UTC (18 years, 7 months ago) by johnpye
Added external losses to model.

Revision 346 - Directory Listing
Modified Wed Mar 1 13:53:45 2006 UTC (18 years, 7 months ago) by johnpye
Adding a better base-case

Revision 344 - Directory Listing
Modified Wed Mar 1 11:07:59 2006 UTC (18 years, 7 months ago) by johnpye
Adding Stefan-Boltzmann constant for blackbody radiation.

Revision 343 - Directory Listing
Modified Wed Mar 1 11:07:06 2006 UTC (18 years, 7 months ago) by johnpye
Radiation heat transfer between grey bodies in a cavity.
Reference: Incropera & DeWitt, Fundamentals of Heat & Mass Transfer, 4th Ed, p.733.

Revision 335 - Directory Listing
Modified Tue Feb 28 11:38:33 2006 UTC (18 years, 7 months ago) by johnpye
Messing

Revision 331 - Directory Listing
Modified Mon Feb 27 23:38:01 2006 UTC (18 years, 7 months ago) by johnpye
Removed enormous file and replaced by bzipped version
Trying to download via dialup here!

Revision 330 - Directory Listing
Modified Sun Feb 26 05:48:10 2006 UTC (18 years, 7 months ago) by johnpye
Added some testing of pre-calculating steam properties when doing (p,h) calcs

Revision 327 - Directory Listing
Modified Fri Feb 24 02:04:49 2006 UTC (18 years, 7 months ago) by johnpye
Adding some labels to equations in iapws95.a4c file
Adding some scaling commands, but still to no avail.

Revision 324 - Directory Listing
Modified Fri Feb 24 00:41:08 2006 UTC (18 years, 7 months ago) by johnpye
Added two self-tests: one for subcooled (p,h) and another
for superheated (p,h). Both fail at the moment.

Revision 320 - Directory Listing
Modified Thu Feb 23 13:38:40 2006 UTC (18 years, 7 months ago) by johnpye
Some messing about...

Revision 305 - Directory Listing
Modified Wed Feb 22 03:07:10 2006 UTC (18 years, 7 months ago) by johnpye
Test case for changeset 370 / bug #206.

Revision 302 - Directory Listing
Modified Mon Feb 20 07:40:03 2006 UTC (18 years, 7 months ago) by johnpye
Minor fix following changes to error_reporter

Revision 296 - Directory Listing
Modified Thu Feb 16 09:58:21 2006 UTC (18 years, 8 months ago) by johnpye
Removed speed of sound calculation
Improved 'mixer' -- now converges (with trouble)
Working on 'loop'.

Revision 293 - Directory Listing
Modified Sun Feb 12 23:00:30 2006 UTC (18 years, 8 months ago) by johnpye
Adding 'mixer' to loop

Revision 292 - Directory Listing
Modified Fri Feb 10 04:19:11 2006 UTC (18 years, 8 months ago) by johnpye
Simple absorber loop that kinda converges

Revision 289 - Directory Listing
Modified Fri Feb 10 01:11:29 2006 UTC (18 years, 8 months ago) by johnpye
Added sensible nominal value for delta_temperature, 5 {K}.
Condenser saturated model works better now

Revision 288 - Directory Listing
Modified Fri Feb 10 00:52:07 2006 UTC (18 years, 8 months ago) by johnpye
Changed 'heat_capacity' to 'molar_heat_capacity'

Revision 276 - Directory Listing
Modified Mon Feb 6 00:07:58 2006 UTC (18 years, 8 months ago) by johnpye
Changes to the condenser model
Working on a 'diagnose' window, maybe

Revision 275 - Directory Listing
Modified Sun Feb 5 13:33:25 2006 UTC (18 years, 8 months ago) by johnpye
Added reporting of divergent relation names.
Found more convergent form of LMTD heat-exchanger equation

Revision 267 - Directory Listing
Modified Fri Feb 3 05:35:50 2006 UTC (18 years, 8 months ago) by johnpye
Adding separator

Revision 266 - Directory Listing
Modified Fri Feb 3 05:34:13 2006 UTC (18 years, 8 months ago) by johnpye
More tweaking of condenser

Revision 265 - Directory Listing
Modified Fri Feb 3 04:27:15 2006 UTC (18 years, 8 months ago) by johnpye
More progress with loop/condenser. But also a crash, see bug #217

Revision 263 - Directory Listing
Modified Fri Feb 3 01:37:56 2006 UTC (18 years, 8 months ago) by johnpye
Working on subcooling HE, still not converging

Revision 261 - Directory Listing
Modified Thu Feb 2 16:15:32 2006 UTC (18 years, 8 months ago) by johnpye
Adding non-saturated condenser mode

Revision 259 - Directory Listing
Modified Thu Feb 2 15:28:05 2006 UTC (18 years, 8 months ago) by johnpye
LMTD condenser is working

Revision 257 - Directory Listing
Modified Thu Feb 2 14:10:05 2006 UTC (18 years, 8 months ago) by johnpye
Implemenenting LMTD HE

Revision 244 - Directory Listing
Modified Tue Jan 31 03:40:13 2006 UTC (18 years, 8 months ago) by johnpye
Small tweak fixes convergence issue

Revision 243 - Directory Listing
Modified Mon Jan 30 15:03:08 2006 UTC (18 years, 8 months ago) by johnpye
Set scaling to RELNOM and this model converges for changed values of radiation.

Revision 240 - Directory Listing
Modified Mon Jan 30 09:35:34 2006 UTC (18 years, 8 months ago) by johnpye
Can now view block numbers via console while mouse-ing over incidence matrix

Revision 229 - Directory Listing
Modified Sat Jan 28 16:29:08 2006 UTC (18 years, 8 months ago) by aw0a
committed files that add ASCEND mode to the emacs editor

Revision 225 - Directory Listing
Modified Fri Jan 27 14:55:43 2006 UTC (18 years, 8 months ago) by johnpye
Added const-ness to 2nd parameter of slv_set_char_parameter.
Implemented setting of int, real and string parameters via PyGTK interface.

Revision 218 - Directory Listing
Modified Wed Jan 25 04:06:38 2006 UTC (18 years, 8 months ago) by johnpye
Small changes

Revision 217 - Directory Listing
Modified Wed Jan 25 03:10:42 2006 UTC (18 years, 8 months ago) by johnpye
Sort-of-working very simple circuit model

Revision 213 - Directory Listing
Modified Tue Jan 24 23:25:56 2006 UTC (18 years, 8 months ago) by johnpye
Fixed some missed 'ExtFn'->'ExtMethod' changes

Revision 209 - Directory Listing
Modified Tue Jan 24 12:44:32 2006 UTC (18 years, 8 months ago) by johnpye
Adding external function test most and library.

Revision 186 - Directory Listing
Modified Fri Jan 13 03:36:44 2006 UTC (18 years, 9 months ago) by johnpye
Modularising the 'loop' components in my steam system test case.
Changing some models to use the new 'FIX varlist' syntax (bug 204)

Revision 179 - Directory Listing
Modified Tue Jan 10 14:15:18 2006 UTC (18 years, 9 months ago) by aw0a
accidentally updated iapws95.a4c.  Restore previous version.

Revision 178 - Directory Listing
Modified Tue Jan 10 13:58:14 2006 UTC (18 years, 9 months ago) by aw0a
added l for liter in measures.a4l

Revision 169 - Directory Listing
Modified Fri Jan 6 02:50:41 2006 UTC (18 years, 9 months ago) by johnpye
Added failing version for bug #201.

Revision 167 - Directory Listing
Modified Fri Jan 6 00:54:21 2006 UTC (18 years, 9 months ago) by johnpye
Working on implementing slack variables with IAPWS.

Revision 166 - Directory Listing
Modified Thu Jan 5 09:51:50 2006 UTC (18 years, 9 months ago) by johnpye
Working on re-formulating the IAPWS-95 two-phase version with 'slack variables'

Revision 165 - Directory Listing
Modified Thu Jan 5 05:07:40 2006 UTC (18 years, 9 months ago) by johnpye
Changed 'mt' to 't' and 'mton' and 'metton' to 'tonne' in accordance
with NIST recommendations. Added kilotonne, megatonne, gigatonne and
kt, Mt, Gt.

Revision 157 - Directory Listing
Modified Fri Dec 23 01:30:46 2005 UTC (18 years, 9 months ago) by johnpye
Adding test for other WHEN branch
Colour highlighting of failed ASSERTs on xterm

Revision 156 - Directory Listing
Modified Fri Dec 23 01:08:33 2005 UTC (18 years, 9 months ago) by johnpye
Corrections to simple test of WHEN

Revision 155 - Directory Listing
Modified Fri Dec 23 00:59:32 2005 UTC (18 years, 9 months ago) by johnpye
Fixing up self-testing models

Revision 154 - Directory Listing
Modified Thu Dec 22 15:18:02 2005 UTC (18 years, 9 months ago) by johnpye
Removing debug output, adding self_test to iapws95.

Revision 150 - Directory Listing
Modified Thu Dec 22 09:24:56 2005 UTC (18 years, 9 months ago) by johnpye
Committed changes to C++ solver class to accommodate new slv_lookup_client.
Still seeing bug #178 though.

Revision 125 - Directory Listing
Modified Tue Dec 20 08:35:08 2005 UTC (18 years, 9 months ago) by johnpye
This is an example that uses the new 'TEST' syntax :)

Revision 123 - Directory Listing
Modified Mon Dec 19 06:59:40 2005 UTC (18 years, 10 months ago) by johnpye
Changing 'log' function to 'log10'

Revision 121 - Directory Listing
Modified Mon Dec 19 06:11:50 2005 UTC (18 years, 10 months ago) by johnpye
Adding self-test method, still working on this

Revision 120 - Directory Listing
Modified Mon Dec 19 06:07:52 2005 UTC (18 years, 10 months ago) by johnpye
Adding demonstration to bug #165.

Revision 116 - Directory Listing
Modified Sun Dec 18 07:25:17 2005 UTC (18 years, 10 months ago) by johnpye
Adding the failing version of IAPWS95 as discussed relating to bug #154

Revision 115 - Directory Listing
Modified Sun Dec 18 01:38:49 2005 UTC (18 years, 10 months ago) by johnpye
Added 'ideal_steam' model. This doesn't represent *real* steam properties,
it's the IDEAL component of IAPWS-95's correlation *only*.

Revision 112 - Directory Listing
Modified Wed Dec 14 06:25:28 2005 UTC (18 years, 10 months ago) by johnpye
Moving saturation curves into a separate file.
Adding a simple loop simulation using ideal-steam and fixed-density water.

Revision 111 - Directory Listing
Modified Wed Dec 14 01:25:23 2005 UTC (18 years, 10 months ago) by johnpye
Added 'total cost' to the when_demo.a4c example.
It doesn't seem to be working for me though.

Revision 110 - Directory Listing
Modified Wed Dec 14 01:20:32 2005 UTC (18 years, 10 months ago) by johnpye
Updated minimum wage to 2005 level, change to units USD.

Revision 109 - Directory Listing
Modified Wed Dec 14 00:34:09 2005 UTC (18 years, 10 months ago) by johnpye
Standardising all currency amounts to ISO 4217. USdollar and dollar
replaced by USD in all models in the library.

Revision 108 - Directory Listing
Modified Tue Dec 13 05:53:20 2005 UTC (18 years, 10 months ago) by johnpye
Moved some solver error messages to FPRINTF(ASCERR) convention.
Trying to get IAPWS-95 to work two-phase.

Revision 107 - Directory Listing
Modified Mon Dec 12 14:18:25 2005 UTC (18 years, 10 months ago) by johnpye
Making iapws95 and iapws95_sat refinements of a base class thermo_state

Revision 106 - Directory Listing
Modified Mon Dec 12 12:14:48 2005 UTC (18 years, 10 months ago) by johnpye
Added iapws95.a4c, giving all the other properties along
the saturation line.

Revision 105 - Directory Listing
Modified Mon Dec 12 11:40:30 2005 UTC (18 years, 10 months ago) by johnpye
Added saturation curves

Revision 104 - Directory Listing
Modified Mon Dec 12 05:16:57 2005 UTC (18 years, 10 months ago) by johnpye
Workaround for bug #165.

Revision 96 - Directory Listing
Modified Thu Dec 8 17:22:38 2005 UTC (18 years, 10 months ago) by johnpye
Some work towards bug #164.

Revision 93 - Directory Listing
Modified Wed Dec 7 16:38:00 2005 UTC (18 years, 10 months ago) by johnpye
Added the missing equation for pressure

Revision 90 - Directory Listing
Modified Wed Dec 7 16:03:44 2005 UTC (18 years, 10 months ago) by johnpye
Adding some more (under development) models...

Revision 88 - Directory Listing
Modified Wed Dec 7 15:26:47 2005 UTC (18 years, 10 months ago) by aw0a
removing models/westerberg/SiirolaJohn directory - not of general interest

Revision 87 - Directory Listing
Modified Wed Dec 7 14:53:34 2005 UTC (18 years, 10 months ago) by aw0a
updated README for westerberg subdirectory

Revision 86 - Directory Listing
Modified Wed Dec 7 04:38:54 2005 UTC (18 years, 10 months ago) by johnpye
Fixing bug #152 (jerry's solution)
Also some minor fixes to error reporting calls
Changed default values of IAPWS95 to some that converge.

Revision 85 - Directory Listing
Modified Tue Dec 6 18:04:27 2005 UTC (18 years, 10 months ago) by johnpye
A working (very slow) version of IAPWS95 which works around bug #154.
Added some debugging messages to solver (temporary).
Removed SIGINT trap.

Revision 84 - Directory Listing
Modified Tue Dec 6 16:57:44 2005 UTC (18 years, 10 months ago) by johnpye
Fixing bug in IAPWS95 with gas constant
Hunting for the cause of the strange CalcRelationNominal bug

Revision 83 - Directory Listing
Modified Tue Dec 6 13:18:32 2005 UTC (18 years, 10 months ago) by johnpye
Fixed default_self method

Revision 78 - Directory Listing
Modified Tue Dec 6 06:14:55 2005 UTC (18 years, 10 months ago) by johnpye
Added IAPWS95 file to ASCEND model library

Revision 72 - Directory Listing
Modified Fri Dec 2 14:27:44 2005 UTC (18 years, 10 months ago) by johnpye
Adding a johnpye directory under models

Revision 63 - Directory Listing
Modified Wed Nov 30 06:03:46 2005 UTC (18 years, 10 months ago) by johnpye
SI 'litre' and 'L' measure

Revision 44 - Directory Listing
Modified Thu Mar 3 07:19:05 2005 UTC (19 years, 7 months ago) by ben.allan
Updated configure and all the makefiles to handle
VPATH with or without --srcdir. gnu make is now
required on unix.

Revision 13 - Directory Listing
Modified Thu Nov 18 06:02:19 2004 UTC (19 years, 11 months ago) by ben.allan
test of a fix in a loop exit condition in anontype.c
that cause distinct types to be labeled as equal.

Revision 8 - Directory Listing
Modified Thu Nov 11 22:08:47 2004 UTC (19 years, 11 months ago) by aw0a
added ivp test model that breaks compiler

Revision 5 - Directory Listing
Modified Sun Nov 7 19:45:14 2004 UTC (19 years, 11 months ago) by aw0a
adding ivp models to model library

Revision 1 - Directory Listing
Added Fri Oct 29 20:54:12 2004 UTC (19 years, 11 months ago) by aw0a
Setting up web subdirectory in repository

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22