/[ascend]/trunk/models
ViewVC logotype

Log of /trunk/models

View Directory Listing Directory Listing


Sticky Revision:

Revision 866 - Directory Listing
Modified Fri Sep 29 06:22:21 2006 UTC (17 years, 11 months 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 (17 years, 11 months 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 (17 years, 11 months 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 (17 years, 11 months ago) by johnpye


Revision 862 - Directory Listing
Modified Tue Sep 26 13:47:27 2006 UTC (17 years, 11 months 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 (17 years, 11 months 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 (17 years, 11 months ago) by johnpye
Removed some verbage in Integrator output

Revision 854 - Directory Listing
Modified Wed Sep 20 13:36:40 2006 UTC (17 years, 11 months 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 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 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 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 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 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 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 ago) by johnpye
Added beam model.

Revision 837 - Directory Listing
Modified Fri Sep 8 06:40:59 2006 UTC (18 years 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 ago) by aw0a
added testnotes to model library

Revision 835 - Directory Listing
Modified Wed Sep 6 15:52:46 2006 UTC (18 years 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 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 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 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 ago) by johnpye
About to rename...

Revision 830 - Directory Listing
Modified Wed Aug 23 06:38:05 2006 UTC (18 years 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, 1 month 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, 1 month 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, 1 month 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, 1 month ago) by johnpye
A little sample calculation

Revision 819 - Directory Listing
Modified Wed Aug 16 15:36:12 2006 UTC (18 years, 1 month 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, 1 month 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, 1 month ago) by johnpye
Removed some debug output

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

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

Revision 812 - Directory Listing
Modified Fri Aug 11 04:22:18 2006 UTC (18 years, 1 month 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, 1 month 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, 1 month ago) by johnpye
woops, missed a bit

Revision 809 - Directory Listing
Modified Mon Aug 7 14:48:55 2006 UTC (18 years, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 2 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, 2 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, 2 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, 2 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, 2 months ago) by johnpye
Fixing for MSVC++

Revision 762 - Directory Listing
Modified Thu Jul 13 05:17:30 2006 UTC (18 years, 2 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, 2 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, 2 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, 2 months ago) by johnpye
Some extfn test cases.

Revision 753 - Directory Listing
Modified Wed Jul 12 03:16:51 2006 UTC (18 years, 2 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, 2 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, 2 months ago) by johnpye
Just comment

Revision 743 - Directory Listing
Modified Thu Jul 6 14:22:26 2006 UTC (18 years, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 3 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, 3 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, 3 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, 3 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, 3 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, 4 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, 4 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, 4 months ago) by johnpye
Test model for bug #215.

Revision 617 - Directory Listing
Modified Wed May 17 06:58:19 2006 UTC (18 years, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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, 4 months ago) by johnpye
Remove dependency on perl5

Revision 565 - Directory Listing
Modified Fri May 5 02:58:36 2006 UTC (18 years, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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, 5 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, 5 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, 5 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, 5 months ago) by ben.allan
new file.

Revision 466 - Directory Listing
Modified Sun Apr 16 15:07:48 2006 UTC (18 years, 5 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, 5 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, 5 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, 5 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, 5 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, 5 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, 5 months ago) by ben.allan
test of svn

Revision 421 - Directory Listing
Modified Mon Apr 3 17:26:22 2006 UTC (18 years, 5 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, 5 months ago) by aw0a
added comment to file

Revision 419 - Directory Listing
Modified Mon Apr 3 15:01:01 2006 UTC (18 years, 5 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, 5 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, 5 months ago) by aw0a
commit changes to simpleFS files

Revision 384 - Directory Listing
Modified Tue Mar 28 20:43:06 2006 UTC (18 years, 5 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, 5 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, 6 months ago) by johnpye
Fixing python path for Linux

Revision 381 - Directory Listing
Modified Sun Mar 19 23:01:39 2006 UTC (18 years, 6 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, 6 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, 6 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, 6 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, 6 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, 6 months ago) by johnpye
Renaming without the 'pkg' prefix.

Revision 367 - Directory Listing
Modified Fri Mar 10 07:44:59 2006 UTC (18 years, 6 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, 6 months ago) by johnpye
Added external radiation losses

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

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

Revision 344 - Directory Listing
Modified Wed Mar 1 11:07:59 2006 UTC (18 years, 6 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, 6 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, 6 months ago) by johnpye
Messing

Revision 331 - Directory Listing
Modified Mon Feb 27 23:38:01 2006 UTC (18 years, 6 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, 6 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, 6 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, 6 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, 6 months ago) by johnpye
Some messing about...

Revision 305 - Directory Listing
Modified Wed Feb 22 03:07:10 2006 UTC (18 years, 6 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, 6 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, 7 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, 7 months ago) by johnpye
Adding 'mixer' to loop

Revision 292 - Directory Listing
Modified Fri Feb 10 04:19:11 2006 UTC (18 years, 7 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, 7 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, 7 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, 7 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, 7 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, 7 months ago) by johnpye
Adding separator

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

Revision 265 - Directory Listing
Modified Fri Feb 3 04:27:15 2006 UTC (18 years, 7 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, 7 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, 7 months ago) by johnpye
Adding non-saturated condenser mode

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

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

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

Revision 243 - Directory Listing
Modified Mon Jan 30 15:03:08 2006 UTC (18 years, 7 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, 7 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, 7 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, 7 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, 7 months ago) by johnpye
Small changes

Revision 217 - Directory Listing
Modified Wed Jan 25 03:10:42 2006 UTC (18 years, 7 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, 7 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, 7 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, 8 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, 8 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, 8 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, 8 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, 8 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, 8 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, 8 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, 8 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, 8 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, 8 months ago) by johnpye
Fixing up self-testing models

Revision 154 - Directory Listing
Modified Thu Dec 22 15:18:02 2005 UTC (18 years, 8 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, 8 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, 9 months ago) by johnpye
Changing 'log' function to 'log10'

Revision 121 - Directory Listing
Modified Mon Dec 19 06:11:50 2005 UTC (18 years, 9 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, 9 months ago) by johnpye
Adding demonstration to bug #165.

Revision 116 - Directory Listing
Modified Sun Dec 18 07:25:17 2005 UTC (18 years, 9 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, 9 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, 9 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, 9 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, 9 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, 9 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, 9 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, 9 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, 9 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, 9 months ago) by johnpye
Added saturation curves

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

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

Revision 93 - Directory Listing
Modified Wed Dec 7 16:38:00 2005 UTC (18 years, 9 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, 9 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, 9 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, 9 months ago) by aw0a
updated README for westerberg subdirectory

Revision 86 - Directory Listing
Modified Wed Dec 7 04:38:54 2005 UTC (18 years, 9 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, 9 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, 9 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, 9 months ago) by johnpye
Fixed default_self method

Revision 78 - Directory Listing
Modified Tue Dec 6 06:14:55 2005 UTC (18 years, 9 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, 9 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, 9 months ago) by johnpye
SI 'litre' and 'L' measure

Revision 44 - Directory Listing
Modified Thu Mar 3 07:19:05 2005 UTC (19 years, 6 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, 10 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, 10 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, 10 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, 10 months ago) by aw0a
Setting up web subdirectory in repository

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