/[ascend]/trunk/models
ViewVC logotype

Log of /trunk/models

View Directory Listing Directory Listing


Sticky Revision:

Revision 2305 - Directory Listing
Modified Sun Aug 22 11:22:34 2010 UTC (13 years, 1 month ago) by jpye
Rename 'node' to 'air_node' and 'stream' to 'air_stream' in brayton.a4c.
More plotting routines in cycle_plot.
Finalised combined cycle models including ammonia.
Small bug in nitrogen.c when testing (./test.py nitrogen).

Revision 2304 - Directory Listing
Modified Sun Aug 22 02:33:59 2010 UTC (13 years, 1 month ago) by jpye
Fix bug in regen cycles.

Revision 2303 - Directory Listing
Modified Sun Aug 22 01:33:16 2010 UTC (13 years, 1 month ago) by jpye
Fix minor issue with building FPROPS from ~/ascend.
Added heat-exchanger plopts in cycle_plot.py.
Finished ammonia and toluene regen cycles.

Revision 2302 - Directory Listing
Modified Sat Aug 21 13:50:06 2010 UTC (13 years, 1 month ago) by jpye
Add data table for Tc, pc, Tt, pt etc.
Add model of toluene and water regenerative rankine cycles.

Revision 2301 - Directory Listing
Modified Sat Aug 21 13:28:35 2010 UTC (13 years, 1 month ago) by jpye
Regen toluene model working, next water.

Revision 2300 - Directory Listing
Modified Fri Aug 20 13:50:05 2010 UTC (13 years, 1 month ago) by jpye
Fixing test routine.

Revision 2299 - Directory Listing
Modified Fri Aug 20 06:53:38 2010 UTC (13 years, 1 month ago) by jpye
Automatic generation of the fluids list completed now (hopefully).

Revision 2298 - Directory Listing
Modified Fri Aug 20 05:50:25 2010 UTC (13 years, 1 month ago) by jpye
moving fluids to subdirectory.

Revision 2297 - Directory Listing
Modified Fri Aug 20 05:47:43 2010 UTC (13 years, 1 month ago) by jpye
Working on streamlined system for adding/retrieving fluids.

Revision 2296 - Directory Listing
Modified Mon Aug 16 12:10:40 2010 UTC (13 years, 1 month ago) by jpye
adding negative_specific_work and positive.

Revision 2295 - Directory Listing
Modified Mon Aug 16 10:06:22 2010 UTC (13 years, 1 month ago) by jpye
Checking toluene Rankine cycle.

Revision 2294 - Directory Listing
Modified Mon Aug 16 08:52:51 2010 UTC (13 years, 1 month ago) by jpye
Fix basic rankine cycle plot to include condenser curve.

Revision 2293 - Directory Listing
Modified Mon Aug 16 08:46:28 2010 UTC (13 years, 1 month ago) by jpye
sat_T routine returns critical point properties if T is within 1e-8 K of critical point.

Revision 2292 - Directory Listing
Modified Mon Aug 16 08:39:06 2010 UTC (13 years, 1 month ago) by jpye
Added C test code for testing saturation curve (./test.py carbondioxide).

Revision 2291 - Directory Listing
Modified Sun Aug 15 14:13:59 2010 UTC (13 years, 1 month ago) by jpye
Add plotting of p=constant lines on Ts diagram for the power cycles.
Add calculation of heat exchanger effectiveness (faulty!), trying to trap physically impossible heat exchange cases.

Revision 2290 - Directory Listing
Modified Sun Aug 15 10:11:54 2010 UTC (13 years, 1 month ago) by jpye
Trying to catch errors associated with pressure below triple point for CO2.

Revision 2289 - Directory Listing
Modified Sun Aug 15 06:34:28 2010 UTC (13 years, 1 month ago) by jpye
Resolved bug with evaluation at temperatures very very very slightly below triple point.

Revision 2288 - Directory Listing
Modified Sun Aug 15 06:16:13 2010 UTC (13 years, 1 month ago) by jpye
Fixed some more FPE issues with pt->l going off the end of the array!
satcvgc working everywhere now except exactly at sat_p for p=p_t.

Revision 2287 - Directory Listing
Modified Sun Aug 15 01:19:21 2010 UTC (13 years, 1 month ago) by jpye
Trying to track down an error that's started occurring with CO2 saturation curves.

Revision 2286 - Directory Listing
Modified Sat Aug 14 15:05:12 2010 UTC (13 years, 1 month ago) by jpye
Working on plots for combined cycle. Something is broken with CO2 model.

Revision 2285 - Directory Listing
Modified Sat Aug 14 13:47:07 2010 UTC (13 years, 1 month ago) by jpye
Added routine to calculate ideal->m and ideal->c for desired reference state values.
Adjusted toluene reference state so that s=0, h=0 for liquid at the triple pt.

Revision 2284 - Directory Listing
Modified Sat Aug 14 10:52:06 2010 UTC (13 years, 1 month ago) by jpye
Working on combined cycle simulation using toluene in the bottoming cycle.
Seem to be getting negative values of h and s for toluene in some cases.

Revision 2283 - Directory Listing
Modified Sat Aug 14 09:30:57 2010 UTC (13 years, 1 month ago) by jpye
Add extra condition in sat.c to allow Akasaka algorithm to converge for toluene.

Revision 2281 - Directory Listing
Modified Sat Aug 14 08:47:16 2010 UTC (13 years, 1 month ago) by jpye
Fixing ignore list, adding couple of short test routines.

Revision 2280 - Directory Listing
Modified Sat Aug 14 08:16:37 2010 UTC (13 years, 1 month ago) by hongke
jpye: Merging r2695:3040 from 'hongke' branch into trunk. Thanks HongKe for all your work!

Revision 2279 - Directory Listing
Modified Sat Aug 14 07:21:51 2010 UTC (13 years, 1 month ago) by jpye
Combined cycle working now with CO2 as the working fluid in the rankine cycle.

Revision 2278 - Directory Listing
Modified Thu Aug 12 05:56:36 2010 UTC (13 years, 1 month ago) by jpye
Combined-cycle model converges with FPROPS! Now it's getting useful :-)

Revision 2277 - Directory Listing
Modified Thu Aug 12 04:39:13 2010 UTC (13 years, 1 month ago) by jpye
remove (v,T) code, rankine models now converge with FPROPS.

Revision 2276 - Directory Listing
Modified Wed Aug 11 14:50:25 2010 UTC (13 years, 1 month ago) by jpye
Basic Rankine model converging using FPROPS. The more complex models are not yet converging.

Revision 2275 - Directory Listing
Modified Wed Aug 11 13:58:25 2010 UTC (13 years, 1 month ago) by jpye
Fixing error return from asc_helmholtz function.
The bug with 'defaultall' functionality is still here... see boiler_simple_test mode in models/johnpye/fprops/rankine_fprops.a4c.

Revision 2274 - Directory Listing
Modified Wed Aug 11 11:23:30 2010 UTC (13 years, 1 month ago) by jpye
adding ph mode to stream_state_test.

Revision 2272 - Directory Listing
Modified Sun Aug 8 23:15:10 2010 UTC (13 years, 1 month ago) by jpye
Add fprops_Tvsh_ph to asc_helmholtz for calculation in terms of (p,h). The
routine does not seem to work particularly well though.

Revision 2271 - Directory Listing
Modified Sun Aug 8 12:17:00 2010 UTC (13 years, 1 month ago) by jpye
Removed p_t, p_c from HelmholtzData, added routines that calculate those values directly.
'satcvgc.py' now runs without errors for 100% of data points.

Revision 2270 - Directory Listing
Modified Sun Aug 8 09:07:43 2010 UTC (13 years, 1 month ago) by jpye
Seem to have fixed the solve_ph problems, but new problems in fprops_sat_p have arisen.

Revision 2269 - Directory Listing
Modified Sun Aug 8 05:40:41 2010 UTC (13 years, 1 month ago) by jpye
Avoid stepping outside saturation region in fprops_sat_hf.

Revision 2268 - Directory Listing
Modified Fri Aug 6 07:31:35 2010 UTC (13 years, 1 month ago) by jpye
Improved first guess has eliminated many of the errors, still problems though.

Revision 2267 - Directory Listing
Modified Fri Aug 6 00:54:48 2010 UTC (13 years, 2 months ago) by jpye
Adding better starting guess for T,rho when solving (p,h) in compressed subcritical liquid region.

Revision 2266 - Directory Listing
Modified Thu Aug 5 13:53:01 2010 UTC (13 years, 2 months ago) by jpye
The (p,h) function is converging almost everywhere. The home-made Newton iteration wasn't starting well for supercritical states
when the starting guess had rho = rho_c, so changing slightly away from fixed almost all the problems.

Revision 2265 - Directory Listing
Modified Thu Aug 5 12:04:22 2010 UTC (13 years, 2 months ago) by jpye
cleaning up couple of compiler warnings.

Revision 2264 - Directory Listing
Modified Thu Aug 5 09:25:55 2010 UTC (13 years, 2 months ago) by jpye
A basic fprops_sat_p function working now.
Need to add p_t, T_t data to all materials.

Revision 2263 - Directory Listing
Modified Thu Aug 5 08:42:30 2010 UTC (13 years, 2 months ago) by jpye
Removing these; code was moved into sat.[ch].

Revision 2262 - Directory Listing
Modified Thu Aug 5 08:34:43 2010 UTC (13 years, 2 months ago) by jpye
Deleted sat2.c and sat2.h, that code is not being used anywhere in ASCEND/FPROPS now. REFPROP algorithm replaced by Akasaka approach.
Moving sat3.c code into sat.h.

Revision 2261 - Directory Listing
Modified Thu Aug 5 07:41:31 2010 UTC (13 years, 2 months ago) by jpye
First attempt at Akasaka algorithm. But something's badly broken in the test suite, need to go find what.

Revision 2260 - Directory Listing
Modified Thu Aug 5 06:28:01 2010 UTC (13 years, 2 months ago) by jpye
Error messages to detect temperatures below critical point.

Revision 2259 - Directory Listing
Modified Thu Aug 5 03:37:14 2010 UTC (13 years, 2 months ago) by jpye
Working on convergence of (p,h) over wide range.

Revision 2258 - Directory Listing
Modified Wed Aug 4 11:41:45 2010 UTC (13 years, 2 months ago) by jpye
Debugging nan in f1 in helm_resid_deldel.

Revision 2257 - Directory Listing
Modified Wed Aug 4 09:45:52 2010 UTC (13 years, 2 months ago) by jpye
Converging in supercritical region now.
Fixed some nan errors in helmholtz, needs cleaning up.

Revision 2256 - Directory Listing
Modified Wed Aug 4 08:33:48 2010 UTC (13 years, 2 months ago) by jpye
Converging... for one little case at least.

Revision 2255 - Directory Listing
Modified Wed Aug 4 04:43:18 2010 UTC (13 years, 2 months ago) by jpye
Adding bespoke (p,h) iteration code, but looks like some errors with the partial derivatives.

Revision 2254 - Directory Listing
Modified Wed Aug 4 02:56:52 2010 UTC (13 years, 2 months ago) by jpye
For some reason the fdfsolver is not varying the guess values...

Revision 2253 - Directory Listing
Modified Wed Aug 4 00:14:19 2010 UTC (13 years, 2 months ago) by jpye
Cleaning up syntax of some derivs.h calls; working towards getting nonsolver working.

Revision 2252 - Directory Listing
Modified Tue Aug 3 14:30:53 2010 UTC (13 years, 2 months ago) by jpye
Fixed solve_ph for saturation region.
Still not implemented 'nonsolver' for non-saturation cases.

Revision 2251 - Directory Listing
Modified Tue Aug 3 14:12:37 2010 UTC (13 years, 2 months ago) by jpye
Added binding for solve_ph, but code is not yet completed.

Revision 2250 - Directory Listing
Modified Tue Aug 3 13:56:52 2010 UTC (13 years, 2 months ago) by jpye
Fixed error in helmholtz_g (another one).
fprops_sat_p is working for simple cases now.
Added p_t value for water from IAPWS95 rev 2009.

Revision 2249 - Directory Listing
Modified Tue Aug 3 12:03:12 2010 UTC (13 years, 2 months ago) by jpye
Trying to add Tsat(p) routine to FPROPS.

Revision 2248 - Directory Listing
Modified Tue Aug 3 08:48:59 2010 UTC (13 years, 2 months ago) by jpye
More work on adding (p,h) solver in FPROPS.

Revision 2247 - Directory Listing
Modified Tue Aug 3 07:51:40 2010 UTC (13 years, 2 months ago) by jpye
Some work towards (p,h) solver and derivatives function for FPROPS.

Revision 2246 - Directory Listing
Modified Mon Aug 2 05:47:27 2010 UTC (13 years, 2 months ago) by jpye
Added *calculated* values of p_c to data, fixes problems with satcvgc.py for most cases.

Revision 2245 - Directory Listing
Modified Mon Aug 2 04:20:18 2010 UTC (13 years, 2 months ago) by jpye
Added test 3b to defaultall tests, all looks to be working fine now.

Revision 2244 - Directory Listing
Modified Mon Aug 2 01:05:11 2010 UTC (13 years, 2 months ago) by jpye
Fix bug with 'RUN default', need to use Initialize(GetSimulationRoot(sim),...) for running methods!

Revision 2243 - Directory Listing
Modified Sun Aug 1 23:18:55 2010 UTC (13 years, 2 months ago) by jpye
Adding support for changeble fluid in rankine_fprops models.
Ammonia saturation line is OK now, was just missing p_c value.
Problem case added in phsx_test.

Revision 2242 - Directory Listing
Modified Sun Aug 1 03:55:33 2010 UTC (13 years, 2 months ago) by jpye
Working on bug 477, trying to fix recursive 'default_self' behaviour.
Looks like problem is something to do with the 'RUN default' in basemodel.a4l, not sure why.
Added 'STOP' to gedit syntax highlighting.

Revision 2237 - Directory Listing
Modified Fri Jul 30 01:04:49 2010 UTC (13 years, 2 months ago) by jpye
Add simple Rankine cycle model using FPROPS for steam calculation.

Revision 2236 - Directory Listing
Modified Thu Jul 29 13:51:34 2010 UTC (13 years, 2 months ago) by jpye
Initial model with support for saturation calculation with FPROPS. More debugging required.

Revision 2235 - Directory Listing
Modified Thu Jul 29 08:45:54 2010 UTC (13 years, 2 months ago) by jpye
we'll satisfy ourselves with a finite difference approximation of helm_resid_deldeldel for the moment, and
move on with the saturation curve problem.

Revision 2234 - Directory Listing
Modified Thu Jul 29 04:07:26 2010 UTC (13 years, 2 months ago) by jpye
Added second derivative to spinodal plot. Looks like bugs with d2pdrho2 still.

Revision 2233 - Directory Listing
Modified Wed Jul 28 09:09:11 2010 UTC (13 years, 2 months ago) by jpye
helm_resid_deldeldel implementation complete... now for testing.

Revision 2232 - Directory Listing
Modified Wed Jul 28 09:02:51 2010 UTC (13 years, 2 months ago) by jpye
working towards implementing helm_resid_deldeldel

Revision 2231 - Directory Listing
Modified Tue Jul 27 09:07:35 2010 UTC (13 years, 2 months ago) by jpye
Adding helm_resid_deldeldel function, in progress.

Revision 2230 - Directory Listing
Modified Tue Jul 27 01:56:55 2010 UTC (13 years, 2 months ago) by jpye
Fixed error with use of 'abs' instead of 'fabs' in sat2.c.
This fixes convergence of CO2 and H2O everywhere except close to critical point.

Revision 2229 - Directory Listing
Modified Mon Jul 26 13:29:14 2010 UTC (13 years, 2 months ago) by jpye
Add error count.

Revision 2228 - Directory Listing
Modified Mon Jul 26 13:20:51 2010 UTC (13 years, 2 months ago) by jpye
Add 'name' and 'T_t' (triple-point temperature) to HelmholtzData struct.
Add satcvgc.py for quick check of convergence of fprops_sat_T routine over 'all' fluids.

Revision 2227 - Directory Listing
Modified Mon Jul 26 08:40:51 2010 UTC (13 years, 2 months ago) by jpye
update plot to shot unconverged points.

Revision 2226 - Directory Listing
Modified Mon Jul 26 03:42:34 2010 UTC (13 years, 2 months ago) by jpye
Plot error values as well.

Revision 2225 - Directory Listing
Modified Mon Jul 26 03:40:18 2010 UTC (13 years, 2 months ago) by jpye
Added python bindings for new function. 
We can see that it's not converging for about 10% of cases.

Revision 2224 - Directory Listing
Modified Mon Jul 26 01:14:48 2010 UTC (13 years, 2 months ago) by jpye
Saturation curve is converging now, for CO2 and water, but haven't yet tested its 'safe' range.
There will certainly still be problems near the critical point.

Revision 2223 - Directory Listing
Modified Sun Jul 25 23:58:36 2010 UTC (13 years, 2 months ago) by jpye
correct to Helmholtz energy, instead of Gibbs, according IAPWS95 release.

Revision 2222 - Directory Listing
Modified Sun Jul 25 14:45:45 2010 UTC (13 years, 2 months ago) by jpye
numerical algorithms for saturation curve. algorithms are based on those used by REFPROP, but the code is a new implementation. hoping that this is all legally correct; please let me know if there are any issues -- JP.

Revision 2218 - Directory Listing
Modified Tue Jul 20 07:30:48 2010 UTC (13 years, 2 months ago) by jpye
Playing around with temperature limits.

Revision 2215 - Directory Listing
Modified Mon Jul 12 23:11:29 2010 UTC (13 years, 2 months ago) by jpye
Copying HongKe's methane correlation to trunk (pending testing?) and fixing helmholtz_g as suggested by Shrikantch (also needs double-checking).
Fixed problem with GSL in fprops/SConstruct.

Revision 2214 - Directory Listing
Modified Fri Jul 9 03:22:37 2010 UTC (13 years, 2 months ago) by jpye
Revert to polynomial implem.

Revision 2213 - Directory Listing
Modified Wed Jun 2 00:58:21 2010 UTC (13 years, 4 months ago) by jpye
Add some missing data that had to be manually typed in.

Revision 2212 - Directory Listing
Modified Tue Jun 1 14:18:13 2010 UTC (13 years, 4 months ago) by jpye
we actually want col 6.

Revision 2211 - Directory Listing
Modified Tue Jun 1 14:14:48 2010 UTC (13 years, 4 months ago) by jpye
Working to add 'ideal air tables' to brayton model.

Revision 2210 - Directory Listing
Modified Mon May 31 08:16:27 2010 UTC (13 years, 4 months ago) by jpye
Fixed problem with moran_9_13 model, solves OK now although not exactly matching M&S values.

Revision 2205 - Directory Listing
Modified Fri May 21 06:02:14 2010 UTC (13 years, 4 months ago) by jpye
Add slvreq commands to fourbar problem.

Revision 2183 - Directory Listing
Modified Tue May 4 13:38:42 2010 UTC (13 years, 5 months ago) by jpye
Merging slvreq functionality into trunk.

Revision 2182 - Directory Listing
Modified Tue Apr 13 04:58:52 2010 UTC (13 years, 5 months ago) by jpye
Remove unneeded nominal values.

Revision 2181 - Directory Listing
Modified Mon Apr 12 05:02:15 2010 UTC (13 years, 5 months ago) by jpye
Fixing combined cycle model.

Revision 2176 - Directory Listing
Modified Thu Apr 8 08:52:05 2010 UTC (13 years, 5 months ago) by jpye
Added Cengel model for combined cycle. Still some errors though.

Revision 2174 - Directory Listing
Modified Wed Apr 7 08:23:13 2010 UTC (13 years, 5 months ago) by jpye
Add combined-cycle model (Moran & Shapiro Example 9.13). More still to do on exergy accounting part of the problem.

Revision 2167 - Directory Listing
Modified Thu Mar 25 05:18:24 2010 UTC (13 years, 6 months ago) by jpye
Add 'heater_closed_test'.

Revision 2166 - Directory Listing
Modified Thu Mar 25 04:47:50 2010 UTC (13 years, 6 months ago) by jpye
Fix closed heater equation (thanks Kelvin!)

Revision 2156 - Directory Listing
Modified Tue Mar 23 06:24:38 2010 UTC (13 years, 6 months ago) by jpye
Add thermal resistance to gedit lang def.
Change 'eps' in cavity model to 'fraction'.

Revision 2155 - Directory Listing
Modified Mon Mar 22 01:11:02 2010 UTC (13 years, 6 months ago) by jpye
cavity.a4c: view factor should be a fraction.
pv_*: working on annual simulation model, but more work required (eg power point tracking)
gtkbrowser: work on bug #405
commenting out debug output in simulation.cpp and relation_util.c.

Revision 2153 - Directory Listing
Modified Thu Feb 25 01:54:21 2010 UTC (13 years, 7 months ago) by jpye
Adding a comment.

Revision 2152 - Directory Listing
Modified Thu Feb 25 01:19:27 2010 UTC (13 years, 7 months ago) by jpye
Some attempts to fix ASCEND for latest Gaphas.
Working on an annual simulation of PV output, ongoing!

Revision 2151 - Directory Listing
Modified Wed Feb 24 06:17:12 2010 UTC (13 years, 7 months ago) by jpye
Add 'specific_volume_rate'.
Remove 'dh_desktop' from debian/rules.
Add note about windows prerequisites.

Revision 2150 - Directory Listing
Modified Tue Feb 16 06:08:57 2010 UTC (13 years, 7 months ago) by mahesh
Bump trunk to 0.9.8.
Some work on detection of SUNDIALS on Linux (will need to be reviewed on Windows).
Update DistTar for smoother building of tarball, less stray deps.

Revision 2149 - Directory Listing
Modified Fri Jan 22 20:20:33 2010 UTC (13 years, 8 months ago) by kchittur


Revision 2147 - Directory Listing
Modified Fri Jan 22 04:15:50 2010 UTC (13 years, 8 months ago) by kchittur


Revision 2142 - Directory Listing
Modified Mon Dec 21 00:30:45 2009 UTC (13 years, 9 months ago) by kchittur


Revision 2130 - Directory Listing
Modified Fri Dec 18 01:32:28 2009 UTC (13 years, 9 months ago) by mahesh
Merging all changes from Mahesh's GSOC project.
svn merge -r2273:2671 svn://ascend.cheme.cmu.edu/ascend/code/branches/mahesh .
See http://ascendwiki.cheme.cmu.edu/User:Mnm87 for details.

Revision 2125 - Directory Listing
Modified Tue Dec 15 08:35:38 2009 UTC (13 years, 9 months ago) by jpye
Test file for solving phase criterion using QRSlv (no success yet).

Revision 2124 - Directory Listing
Modified Tue Dec 15 08:34:56 2009 UTC (13 years, 9 months ago) by jpye
Various efforts at implementing Maxwell phase criterion, nothing working yet.

Revision 2123 - Directory Listing
Modified Mon Dec 14 08:14:44 2009 UTC (13 years, 9 months ago) by jpye
Switched to derivative-free method, more luck with convergence but wrong result still.

Revision 2122 - Directory Listing
Modified Mon Dec 14 07:47:41 2009 UTC (13 years, 9 months ago) by jpye
Attempt at implementing solver for saturation state using GSL fdfsolver.

Revision 2121 - Directory Listing
Modified Sun Dec 13 23:58:51 2009 UTC (13 years, 9 months ago) by jpye
Fixed bug in Chouaieb vapour density calc.

Revision 2120 - Directory Listing
Modified Thu Dec 10 23:08:15 2009 UTC (13 years, 9 months ago) by jpye
Fix build of SharedObject.
Put Chouaieb and Rackett models in separate functions.

Revision 2119 - Directory Listing
Modified Wed Dec 9 08:40:36 2009 UTC (13 years, 9 months ago) by jpye
Add helmholtz_g (Gibbs energy, needs testing).
Working on adding Chouaieb estimate of vapour density, ongoing.

Revision 2118 - Directory Listing
Modified Wed Dec 9 05:00:17 2009 UTC (13 years, 9 months ago) by jpye
Fix build for Linux.

Revision 2117 - Directory Listing
Modified Wed Dec 9 04:30:18 2009 UTC (13 years, 9 months ago) by jpye
Improving Python build of FPROPS.
Added spinodal.py for visualisation of spinodal points.
Added placeholder critical and triple point data for the other fluids (needs to be filled in).
Allow peering inside helmholtz data form Python (eg to access critical point data).

Revision 2116 - Directory Listing
Modified Wed Dec 9 01:34:31 2009 UTC (13 years, 9 months ago) by jpye
Trying out some numerics for saturation curve.

Revision 2115 - Directory Listing
Modified Tue Dec 8 23:55:10 2009 UTC (13 years, 9 months ago) by jpye
Add code to evaluate phase criterion (not solving yet).

Revision 2114 - Directory Listing
Modified Tue Dec 8 08:08:00 2009 UTC (13 years, 9 months ago) by jpye
Starting some more work on saturation curves.

Revision 2113 - Directory Listing
Modified Tue Dec 8 03:37:27 2009 UTC (13 years, 9 months ago) by jpye
Update copyright info. Add citation for CO2.

Revision 2112 - Directory Listing
Modified Tue Dec 8 03:13:39 2009 UTC (13 years, 9 months ago) by jpye
Fixing for new test.h fn sig.

Revision 2111 - Directory Listing
Modified Tue Dec 8 03:05:36 2009 UTC (13 years, 9 months ago) by jpye
CO2 correlation looks to be working now.
Work on support for SUNDIALS on Windows.

Revision 2110 - Directory Listing
Modified Mon Dec 7 04:13:05 2009 UTC (13 years, 9 months ago) by jpye
Still working on CO2 bugs.

Revision 2109 - Directory Listing
Modified Mon Dec 7 01:53:33 2009 UTC (13 years, 9 months ago) by jpye
Fixed problem with CO2 pressure calc. Still need to fix c,m for enthalpy & entropy.

Revision 2108 - Directory Listing
Modified Sun Dec 6 08:35:27 2009 UTC (13 years, 9 months ago) by jpye
Fixed error in CO2 cp0 expr.

Revision 2107 - Directory Listing
Modified Fri Dec 4 06:25:16 2009 UTC (13 years, 10 months ago) by jpye
More work on the carbon dioxide coefficients.

Revision 2106 - Directory Listing
Modified Thu Dec 3 08:29:21 2009 UTC (13 years, 10 months ago) by jpye
Starting on CO2 properties from paper by Span and Wagner.

Revision 2105 - Directory Listing
Modified Thu Dec 3 02:55:53 2009 UTC (13 years, 10 months ago) by jpye
Add some regex-based excludes for installation of models (eg FPROPS).
Add IPOPT to default solvers.

Revision 2101 - Directory Listing
Modified Wed Dec 2 06:56:16 2009 UTC (13 years, 10 months ago) by jpye
Add intercooling/reheat/regen Brayton cycle model.
Add copyright notes.

Revision 2100 - Directory Listing
Modified Wed Dec 2 00:50:45 2009 UTC (13 years, 10 months ago) by jpye
Added regenerator effectiveness factor to model.

Revision 2099 - Directory Listing
Modified Tue Dec 1 23:25:40 2009 UTC (13 years, 10 months ago) by jpye
Fixed bug in pump/compressor model.

Revision 2098 - Directory Listing
Modified Tue Dec 1 12:12:15 2009 UTC (13 years, 10 months ago) by jpye
Add regenerative brayton cycle model. Testing required.

Revision 2096 - Directory Listing
Modified Tue Dec 1 07:04:39 2009 UTC (13 years, 10 months ago) by jpye
Simple model of brayton cycle. Needs checking and expansion.

Revision 2095 - Directory Listing
Modified Mon Nov 30 07:27:28 2009 UTC (13 years, 10 months ago) by jpye
Add entropy to air props (needs checking, really).

Revision 2093 - Directory Listing
Modified Mon Nov 9 23:30:27 2009 UTC (13 years, 10 months ago) by jpye
Add sublimation curve for water.

Revision 2087 - Directory Listing
Modified Wed Oct 7 06:48:30 2009 UTC (13 years, 11 months ago) by jpye
Minor changes to fix hydrosim to work with current ASCEND.
Included some additional 'on_load' methods so that models load correctly in PyGTK GUI.

Revision 2086 - Directory Listing
Modified Wed Oct 7 01:56:30 2009 UTC (13 years, 11 months ago) by jpye
Imported HydroSim library, from files received by email from Luis Cisternas.
See also http://ascendwiki.cheme.cmu.edu/HydroSim.

Revision 2085 - Directory Listing
Modified Wed Sep 30 07:21:01 2009 UTC (14 years ago) by jpye
Update support for SUNDIALS 2.4.0. This fixes a bug with boundary crossing detection, as was hoped!

Revision 2082 - Directory Listing
Modified Wed Sep 23 10:50:28 2009 UTC (14 years ago) by jpye
A silly little model that tests out Jose's interpolation code with air props.

Revision 2074 - Directory Listing
Modified Fri Sep 4 06:50:08 2009 UTC (14 years, 1 month ago) by arijit
Google SoC 2009 Project : Implementation of canvas based modeller for energy systems

Revision 2071 - Directory Listing
Modified Fri Aug 28 02:42:47 2009 UTC (14 years, 1 month ago) by jose
MERGE Jose's branch [2274]:[2584] into trunk

Revision 2067 - Directory Listing
Modified Thu Aug 13 10:39:43 2009 UTC (14 years, 1 month ago) by jpye
Add thermal_resistance type.
Formatting of thermodynamics.a4l.
Changing to 'molar_gas_constant' in eos-vanderwaals.

Revision 2066 - Directory Listing
Modified Tue Aug 11 03:50:20 2009 UTC (14 years, 1 month ago) by jpye
Reformatting.

Revision 2064 - Directory Listing
Modified Mon Jul 6 12:03:36 2009 UTC (14 years, 3 months ago) by jpye
Trying to solve some bugs with sensitivity external method.

Revision 2061 - Directory Listing
Modified Sat Jun 27 15:23:36 2009 UTC (14 years, 3 months ago) by jpye
Add legend_position parameter to plot models.
Add missing 'EXTERNAL' keyword to a4c.lang (for Andre Simon's "highlight")

Revision 2058 - Directory Listing
Modified Thu Jun 25 12:45:12 2009 UTC (14 years, 3 months ago) by jpye
Add test mode for bug 407.

Revision 2057 - Directory Listing
Modified Thu Jun 25 10:27:30 2009 UTC (14 years, 3 months ago) by jpye
Merging changes changeset 2379 into trunk (accidentally commited to branch).

Revision 2054 - Directory Listing
Modified Tue Jun 23 01:37:46 2009 UTC (14 years, 3 months ago) by jpye
Fix messed up menus, fix 'show notes' for case where no model instantiated.

Revision 2051 - Directory Listing
Modified Mon Jun 15 14:09:54 2009 UTC (14 years, 3 months ago) by jpye
Add simple_pv model from Ioan-Alexandru Lazar.

Revision 2050 - Directory Listing
Modified Mon Jun 15 07:17:22 2009 UTC (14 years, 3 months ago) by jpye
Add efficiency calc to rankine_reheat_regen.
Remove dcps from time calc.

Revision 2049 - Directory Listing
Modified Sun Jun 14 13:20:28 2009 UTC (14 years, 3 months ago) by jpye
Fixed rankine_reheat_regen.

Revision 2048 - Directory Listing
Modified Sun Jun 14 13:13:21 2009 UTC (14 years, 3 months ago) by jpye
rankine_reheat_regen solves now (with some fiddling).

Revision 2047 - Directory Listing
Modified Sun Jun 14 09:03:24 2009 UTC (14 years, 3 months ago) by jpye
Some progress on reheat-regen Rankine cycle model.
'Fixed variables' dialog now gives a count.

Revision 2044 - Directory Listing
Modified Sat Jun 13 13:48:01 2009 UTC (14 years, 3 months ago) by jpye
Fixed solution values for M&S ex8.5.

Revision 2043 - Directory Listing
Modified Sat Jun 13 09:32:51 2009 UTC (14 years, 3 months ago) by jpye
Fixed rankine_regen model, it now converges, just needs RELNOMSCALE to be enabled first.

Revision 2041 - Directory Listing
Modified Sat Jun 13 08:06:10 2009 UTC (14 years, 3 months ago) by jpye
Attempting to fixed rankine_regen model, not working.
This commit with model rankine.a4c demonstrates bug 399.
Added dspec, first attempt at single-file debian package script.

Revision 2036 - Directory Listing
Modified Mon May 18 15:03:16 2009 UTC (14 years, 4 months ago) by ballan
issues resolved:
295
390
301
cmslv.c: unused var cleanup.
lsode/SConscript: fortran flags bugs-- may not work with 0.9x scons.
works with 1.2+. when adding -w, or any special flags, be sure to add
them and not replace the original flag.
system/var.c: 64bit clarity.
system/discrete.c: 64bit clarity.
system/analyze*: g_reuse declared in wrong place. 64bit clarity
system/diffvars: missing prototype function, 64bit clarity.
compiler/numlist.*: changed from int to glint.
compiler/simlist.c: missing includes needed for 64bit clarity.
compiler/instance_io.c: missing includes needed for 64bit clarity.
compiler/initialize.[ch]: const clarifications.
compiler/packages.c: const clarifications.
compiler/module.c: const clarifications.
compiler/statio.c: unused var cleanup.
compiler/procframe; const clarification. memory deallocation bugs.
compiler/notequery.c: repaired multiple casting and 64bit issues.
compiler/importhandler.c: const and free issues fixed.
compiler/type_desc.c: ridiculous if constructs clarified.
compiler/createinst.c: casting stupidity repaired.
linear/ranki2.c: missing includes needed for 64bitness.
solver/solver.c: const issues clarified.
utilities/ascConfig.h: added GLint typedefs for dealing with gllist
64bit portability.
utilities/ascPanic.c: removed extraneous const.
general/ospath.c: safer,quieter handling for string pointer difference.
integrator/integrator.c: const issues clarified.
packages/sensitivity.c: missing includes needed fo 64bit sanity.
tcltk/interface/Integrators.c: 64 bitness.
tcltk/interface/SimsProc.c: const errors.
tcltk/interface/Driver.c: fixed env var handling wrt ascend-config (295)
models/test/z*a4c: fixed meters -> m conversion; someone never ran the
test suite after teasing the default units to ambiguous abbreviations.
SConstruct: added sizeof checks; output might be better put in a ascend
system-wide header.



Revision 2018 - Directory Listing
Modified Wed Apr 29 03:38:10 2009 UTC (14 years, 5 months ago) by jpye
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.

Revision 2016 - Directory Listing
Modified Tue Apr 28 09:30:57 2009 UTC (14 years, 5 months ago) by jpye
Trying to fix up ASCEND for change of model library location to /usr/lib/ascend/models.

Revision 2007 - Directory Listing
Modified Mon Apr 27 06:09:29 2009 UTC (14 years, 5 months ago) by jpye
Break ASCEND into dev package and main package.
Fix up gtksourceview syntax rules, add more keywords, remove C cruft.
Add tools/scons/ascend.py tool for detecting ASCEND when building software using SCons.
DTAR now fails if dpkg-buildpackage fails, keeps temp files hanging around for inspection.
Plots generated by 'plot.a4l' no longer add legend if no labels specified.
Committing python bindings for FPROPS. Much testing remains to be done there.


Revision 2005 - Directory Listing
Modified Mon Apr 20 08:39:46 2009 UTC (14 years, 5 months ago) by jpye
Started work on exposing model parameters to canvas GUI.
Updated header/comment formatting in type_descio.h.
Fixed some warnings in error.c.
A bug still exists error_reporter_tree_start that is causing problems with the
canvas-based GUI.
Added Info class to canvas code, for output of debug information via GUI.
Added a few missing types of gtksourceview langdef.

Revision 2004 - Directory Listing
Modified Wed Apr 15 08:59:46 2009 UTC (14 years, 5 months ago) by jpye
Add steps to converge rankine_regen (still problematic). 
Fixed 'rename' tool in canvas model so that Enter key works. 
Added Export as SVG support in blocklist.py.
In PyGTK GUI, "Fixed variables" dialog now includes the values (no units yet).
Graphviz view of system now attempts to show unconverged relations (ongoing).

Revision 2003 - Directory Listing
Modified Fri Mar 13 05:30:00 2009 UTC (14 years, 6 months ago) by jpye
Update to current freesteam.

Revision 1997 - Directory Listing
Modified Wed Feb 18 22:32:16 2009 UTC (14 years, 7 months ago) by jpye
Commenting out fprintfs in helmholtz.c so that ASCEND extfn can build.
Revert canvas to Gaphas zoomtool.

Revision 1996 - Directory Listing
Modified Thu Feb 5 09:42:42 2009 UTC (14 years, 7 months ago) by jpye
Added acentric factor to HelmholtzData.
Working on adding calculation of saturation curve using Maxwell phase-equilibrium condition (per IAPWS95).

Revision 1995 - Directory Listing
Modified Wed Feb 4 13:20:31 2009 UTC (14 years, 8 months ago) by jpye
Add support for hydrogen, water in ASCEND.

Revision 1994 - Directory Listing
Modified Wed Feb 4 03:52:36 2009 UTC (14 years, 8 months ago) by jpye
Still some error near critical point for calculation of speed of sound.
However this error is not reconcilable with both IAPWS95 and REFPROP8, because those
two sources give different values. The value returned by FPROPS is midway between
the two.

Revision 1993 - Directory Listing
Modified Tue Feb 3 23:52:53 2009 UTC (14 years, 8 months ago) by jpye
Normalising code for critical terms; still a bug with calculation of helmholtz_w in critical region.

Revision 1990 - Directory Listing
Modified Tue Feb 3 11:12:40 2009 UTC (14 years, 8 months ago) by jpye
Added critical terms to helm_resid_deldel and helm_resid_deltau.
Tests are still not passing though, need to check for errors.

Revision 1989 - Directory Listing
Modified Tue Feb 3 07:29:29 2009 UTC (14 years, 8 months ago) by jpye
Added helmholtz_w and helmholtz_cp.
Added test for helmholtz_w with water.
This exposes the fact that helm_resid_deldel and helm_resid_deltau need critical terms added.

Revision 1988 - Directory Listing
Modified Tue Feb 3 05:38:33 2009 UTC (14 years, 8 months ago) by jpye
Added critical terms to helm_resid_tautau.
Tests for water for cv pass.

Revision 1987 - Directory Listing
Modified Tue Feb 3 05:25:49 2009 UTC (14 years, 8 months ago) by jpye
Added evaluation of helm_resid_tau, gives correct values for entropy with water.

Revision 1986 - Directory Listing
Modified Tue Feb 3 05:19:15 2009 UTC (14 years, 8 months ago) by jpye
Fixed helm_resid and helm_resid_del with critical terms.

Revision 1985 - Directory Listing
Modified Tue Feb 3 01:15:17 2009 UTC (14 years, 8 months ago) by jpye
Added critical term calculation in helm_resid.
Added gaussian and critical term values for water from IAPWS95.
Added some test data from IAPWS95 to water.c tests.

Revision 1984 - Directory Listing
Modified Wed Jan 21 22:56:28 2009 UTC (14 years, 8 months ago) by jpye
Added Library::loadString method for loading string modules.
First steps on 'run' command for canvas-based models.
Fixed bug with use of obrowser.
Minor correction to blocktypes.a4c.

Revision 1974 - Directory Listing
Modified Mon Dec 29 12:04:53 2008 UTC (14 years, 9 months ago) by jpye
Fixed typo, added note.

Revision 1967 - Directory Listing
Modified Mon Dec 1 07:58:58 2008 UTC (14 years, 10 months ago) by jpye
First code for exporting canvas model to ASCEND model code.

Revision 1955 - Directory Listing
Modified Thu Nov 13 11:55:24 2008 UTC (14 years, 10 months ago) by jpye
Added WHILE test.

Revision 1941 - Directory Listing
Modified Tue Nov 4 03:30:32 2008 UTC (14 years, 11 months ago) by jpye
Example exergy calculation.
Added delta_entropy to atoms.a4l.
Cleaning up some library dependencies issues in build script.
Increased default block size to 64×64 in canvas-based modeller.

Revision 1934 - Directory Listing
Modified Tue Oct 21 03:37:34 2008 UTC (14 years, 11 months ago) by jpye
Clear some executable flags.

Revision 1929 - Directory Listing
Modified Thu Oct 16 07:47:21 2008 UTC (14 years, 11 months ago) by jpye
Fixed apparent bug in pairlist_append_unique.
Added pairlist_set and pairlist_values_and_destroy.
Fixed implementation of notes_refined_for_type_with_lang in notequery.c.
Added new test models in test/canvas/blocktypes.a4c.


Revision 1928 - Directory Listing
Modified Wed Oct 8 23:05:53 2008 UTC (14 years, 11 months ago) by jpye
Added Wiki link.

Revision 1926 - Directory Listing
Modified Wed Oct 8 04:23:52 2008 UTC (14 years, 11 months ago) by jpye
Still working on the inputs, outputs list. Problem with the notequery functions,
seems that assumption about ordering of notes returned form GetNotesList was wrong.

Revision 1925 - Directory Listing
Modified Wed Oct 8 02:25:14 2008 UTC (14 years, 11 months ago) by jpye
Added new 'block' NOTE for declaring a type as being a block for the purpose
of canvas-based modelling. Fixed up the blocklist test script to detect
inlets and outlets of such models (ongoing).

Revision 1923 - Directory Listing
Modified Fri Oct 3 07:30:04 2008 UTC (15 years ago) by jpye
Added derivatives for u in ASCEND hooks.

Revision 1922 - Directory Listing
Modified Fri Oct 3 07:09:15 2008 UTC (15 years ago) by jpye
Checked u,h derivatives with ammonia, nitrogen, hydrogen, all appear to be OK
and match finite difference estimates.

Revision 1921 - Directory Listing
Modified Fri Oct 3 07:06:12 2008 UTC (15 years ago) by jpye
Fixed (du/drho)_T

Revision 1920 - Directory Listing
Modified Fri Oct 3 07:02:27 2008 UTC (15 years ago) by jpye
Fixed bug with du/dT and dh/dT.

Revision 1919 - Directory Listing
Modified Fri Oct 3 05:52:22 2008 UTC (15 years ago) by jpye
Implemented (dh/drho)_T

Revision 1918 - Directory Listing
Modified Fri Oct 3 05:13:08 2008 UTC (15 years ago) by jpye
Fixed problem with dh/dT_rho.

Revision 1917 - Directory Listing
Modified Fri Oct 3 04:36:44 2008 UTC (15 years ago) by jpye
Fixed most of the problem with dh/dT_rho, still not right.

Revision 1916 - Directory Listing
Modified Thu Oct 2 08:52:46 2008 UTC (15 years ago) by jpye
Added dhdT_rho test, currently failing.

Revision 1915 - Directory Listing
Modified Thu Oct 2 08:49:17 2008 UTC (15 years ago) by jpye
Adding calculation of derivatives of h.

Revision 1910 - Directory Listing
Modified Mon Sep 29 07:29:44 2008 UTC (15 years ago) by jpye
Finished fixing up parametric version of Rankine models.

Revision 1909 - Directory Listing
Modified Sun Sep 28 07:41:24 2008 UTC (15 years ago) by jpye
The helmholtz_p function now provides its own derivatives to ASCEND.
Restored full test suite for Hydrogen.

Revision 1908 - Directory Listing
Modified Sat Sep 27 11:52:27 2008 UTC (15 years ago) by jpye
helm_resid_deldel working now, dpdrho_T fixed. Need to wire in with ASCEND now.

Revision 1907 - Directory Listing
Modified Sat Sep 27 09:45:06 2008 UTC (15 years ago) by jpye
Working on dpdrho_T, still looks like problems with Gaussian terms.

Revision 1906 - Directory Listing
Modified Sat Sep 27 08:56:29 2008 UTC (15 years ago) by jpye
Fixed initialisation error in helm_resid_deltau.

Revision 1905 - Directory Listing
Modified Sat Sep 27 04:54:12 2008 UTC (15 years ago) by jpye
Calculated (dp/dT)_rho, seems to look OK when testing with hydrogen.

Revision 1904 - Directory Listing
Modified Sat Sep 27 03:32:21 2008 UTC (15 years ago) by jpye
Removed redundant HelmholtzExpTerm, and corrected nitrogen.c to use
HelmholtzGausTerm instead.

Revision 1903 - Directory Listing
Modified Thu Sep 25 08:47:22 2008 UTC (15 years ago) by jpye
Expanded the ASCEND interface for fprops to include p,u,s,h,a.

Revision 1901 - Directory Listing
Modified Thu Sep 25 07:40:47 2008 UTC (15 years ago) by jpye
Completed hydrogen, passes tests for h,u,s,p,a to high accuracy.

Revision 1900 - Directory Listing
Modified Thu Sep 25 07:34:56 2008 UTC (15 years ago) by jpye
fixed helm_resid_tau for calculation of gaussian terms.

Revision 1899 - Directory Listing
Modified Thu Sep 25 07:31:56 2008 UTC (15 years ago) by jpye
Fixed hydrogen for helmholtz_p (there was a typo in the power term coeffs!)

Revision 1898 - Directory Listing
Modified Thu Sep 25 07:01:05 2008 UTC (15 years ago) by jpye
Debugging hydrogen, checked helm_resid_del values against spread, seem OK...

Revision 1897 - Directory Listing
Modified Thu Sep 25 03:46:29 2008 UTC (15 years ago) by jpye
Fixed small bug in helm_resid_tau, but still not correct.

Revision 1896 - Directory Listing
Modified Thu Sep 25 01:43:22 2008 UTC (15 years ago) by jpye
Updated comments.

Revision 1895 - Directory Listing
Modified Wed Sep 24 13:59:50 2008 UTC (15 years ago) by jpye
Added new worked example of FEA from Holman.

Revision 1892 - Directory Listing
Modified Wed Sep 24 05:58:29 2008 UTC (15 years ago) by jpye
Working on parametric versions of rankine models.

Revision 1891 - Directory Listing
Modified Tue Sep 23 06:46:28 2008 UTC (15 years ago) by jpye
Fixed bug in helm_resid_tau for gaussian terms.

Revision 1890 - Directory Listing
Modified Mon Sep 22 11:05:46 2008 UTC (15 years ago) by jpye
Note about wrong functions (needing rewrite).

Revision 1889 - Directory Listing
Modified Mon Sep 22 10:19:52 2008 UTC (15 years ago) by jpye
Fixed little error with nitrogen after last changes.

Revision 1888 - Directory Listing
Modified Mon Sep 22 10:09:48 2008 UTC (15 years ago) by jpye
Added correlations for hydrogen (from thesis of Jacob Leachman).

Revision 1887 - Directory Listing
Modified Mon Sep 22 10:05:27 2008 UTC (15 years ago) by jpye
Working on debugging gaussian terms.

Revision 1886 - Directory Listing
Modified Fri Sep 19 07:22:54 2008 UTC (15 years ago) by jpye
Adding separate file with basic test routine.

Revision 1885 - Directory Listing
Modified Fri Sep 19 04:46:18 2008 UTC (15 years ago) by jpye
Starting work on data structures for 'critical terms' as used in water and hydrogen correlations.

Revision 1884 - Directory Listing
Modified Thu Sep 18 13:51:59 2008 UTC (15 years ago) by jpye
Add missing term for phi0 for nitrogen.

Revision 1883 - Directory Listing
Modified Thu Sep 18 13:50:28 2008 UTC (15 years ago) by jpye
All tests for ammonia pass to within 5.5% (h, u, s, a, p).
Remaining error needs further investigation; it looks that REFPROP's cp0 is not agreeing with Tillner-Roth
but this needs to be double-checked.

Revision 1882 - Directory Listing
Modified Thu Sep 18 13:33:46 2008 UTC (15 years ago) by jpye
Nitrogen passes all tests now: p, u, h, s, a.

Revision 1881 - Directory Listing
Modified Thu Sep 18 13:10:28 2008 UTC (15 years ago) by jpye
helm_ideal_tau seems to agree now.

Revision 1880 - Directory Listing
Modified Thu Sep 18 10:39:18 2008 UTC (15 years ago) by jpye
Apparently a problem in helm_ideal_tau with exponential terms?

Revision 1879 - Directory Listing
Modified Thu Sep 18 10:19:06 2008 UTC (15 years ago) by jpye
helm_ideal checked against 'simple' function for comparison.

Revision 1878 - Directory Listing
Modified Thu Sep 18 05:39:04 2008 UTC (15 years ago) by jpye
Added precalc.c, used by precalc.py for preparing cp0 coefficients from phi0.

Revision 1877 - Directory Listing
Modified Thu Sep 18 05:38:37 2008 UTC (15 years ago) by jpye
Reverted ammonia cp0 coefficients to calculated values, rather than hacky curvefit values.

Revision 1876 - Directory Listing
Modified Thu Sep 18 04:31:12 2008 UTC (15 years ago) by jpye
Add README for fprops.

Revision 1875 - Directory Listing
Modified Thu Sep 18 04:30:49 2008 UTC (15 years ago) by jpye
Fixed water helm_ideal calculation.

Revision 1874 - Directory Listing
Modified Thu Sep 18 04:27:16 2008 UTC (15 years ago) by jpye
Added some GPL headers, fixing water helm_ideal coefficients.

Revision 1873 - Directory Listing
Modified Thu Sep 18 02:34:54 2008 UTC (15 years ago) by jpye
Adding water to fluids set (for the purpose of debuggin using freesteam code).

Revision 1872 - Directory Listing
Modified Wed Sep 17 08:18:41 2008 UTC (15 years ago) by jpye
Worked out that errors in helmholtz_a are linear in T... what to do?

Revision 1871 - Directory Listing
Modified Wed Sep 17 07:36:27 2008 UTC (15 years ago) by jpye
More accurate value of the linear constant gives better agreement of h, u for nitrogen.

Revision 1870 - Directory Listing
Modified Wed Sep 17 06:45:10 2008 UTC (15 years ago) by jpye
Fixed error in helmholtz_a.

Revision 1869 - Directory Listing
Modified Wed Sep 17 06:38:04 2008 UTC (15 years ago) by jpye
Add calculation for Re for annulus.

Revision 1868 - Directory Listing
Modified Wed Sep 17 06:37:45 2008 UTC (15 years ago) by jpye
More debugging

Revision 1867 - Directory Listing
Modified Mon Sep 15 14:30:49 2008 UTC (15 years ago) by jpye
helm_resid seems to agree with spreadsheet now,
still perhaps probs with helm_ideal.

Revision 1866 - Directory Listing
Modified Mon Sep 15 08:44:11 2008 UTC (15 years ago) by jpye
Nitrogen test spreadsheet.

Revision 1865 - Directory Listing
Modified Mon Sep 15 08:40:14 2008 UTC (15 years ago) by jpye
Still working on fixing helmholtz_a.

Revision 1864 - Directory Listing
Modified Mon Sep 15 03:36:16 2008 UTC (15 years ago) by jpye
working on debugging helmholtz_a.

Revision 1863 - Directory Listing
Modified Mon Sep 15 03:12:29 2008 UTC (15 years ago) by jpye
Added tests for Helmholtz energy, still failing.

Revision 1862 - Directory Listing
Modified Sun Sep 14 08:39:51 2008 UTC (15 years ago) by jpye
Remove stderr from default build.

Revision 1861 - Directory Listing
Modified Sun Sep 14 08:37:50 2008 UTC (15 years ago) by jpye
Fix offsets for u, h.
Still need to fix entropy routines.

Revision 1860 - Directory Listing
Modified Sun Sep 14 08:00:29 2008 UTC (15 years ago) by jpye
Comments about difference in cp0.

Revision 1859 - Directory Listing
Modified Sun Sep 14 07:22:39 2008 UTC (15 years ago) by jpye
Fixed error in helm_ideal_tau formula.

Revision 1858 - Directory Listing
Modified Fri Sep 12 02:27:14 2008 UTC (15 years ago) by jpye
Very simple model for calculating Reynolds number in a round pipe, or v.v. for
calculating flow speed for a specified Reynolds number.

Revision 1857 - Directory Listing
Modified Thu Sep 11 14:46:51 2008 UTC (15 years ago) by jpye
p, u, h working for nitrogen, still problems with s.

Revision 1856 - Directory Listing
Modified Thu Sep 11 14:19:26 2008 UTC (15 years ago) by jpye
Maxima macros for ideal gas relations.

Revision 1855 - Directory Listing
Modified Thu Sep 11 13:50:55 2008 UTC (15 years ago) by jpye
Fixed evaluation of cp0 for both ammonia and nitrogen now.

Revision 1851 - Directory Listing
Modified Wed Sep 10 09:17:43 2008 UTC (15 years ago) by jpye
Fixed up some warnings for non-test mode.

Revision 1850 - Directory Listing
Modified Tue Sep 2 06:56:47 2008 UTC (15 years, 1 month ago) by jpye
Added ideal cp0 values to test data and added
calculation function for this. Works for nitrogen 
but not for ammonia.

Revision 1849 - Directory Listing
Modified Mon Sep 1 14:48:55 2008 UTC (15 years, 1 month ago) by jpye
Working on fixing the ideal component curves so that they calculate
directly from the cp0(T) form. Currently broken.

Revision 1848 - Directory Listing
Modified Mon Sep 1 13:12:41 2008 UTC (15 years, 1 month ago) by jpye
Add 'ideal.c' to the compile lists.

Revision 1847 - Directory Listing
Modified Mon Sep 1 05:42:21 2008 UTC (15 years, 1 month ago) by jpye
Split out ideal curves from helmholtz.c.

Revision 1846 - Directory Listing
Modified Mon Sep 1 04:59:03 2008 UTC (15 years, 1 month ago) by jpye
Add more to validation spreadsheet.

Revision 1845 - Directory Listing
Modified Sat Aug 30 15:02:45 2008 UTC (15 years, 1 month ago) by jpye
Working on helmholtz_h with nitrogen.

Revision 1844 - Directory Listing
Modified Sat Aug 30 07:33:11 2008 UTC (15 years, 1 month ago) by jpye
Cleaned up helmholtz_resid_del, seems to be fixed now.

Revision 1843 - Directory Listing
Modified Fri Aug 29 07:29:55 2008 UTC (15 years, 1 month ago) by jpye
Add validation spreadsheet.

Revision 1842 - Directory Listing
Modified Fri Aug 29 07:28:47 2008 UTC (15 years, 1 month ago) by jpye
tighter nitrogen error tolerance for helmholtz_p.

Revision 1841 - Directory Listing
Modified Fri Aug 29 07:27:59 2008 UTC (15 years, 1 month ago) by jpye
Fixed calculation of nitrogen helmholtz_p.

Revision 1840 - Directory Listing
Modified Fri Aug 29 03:52:04 2008 UTC (15 years, 1 month ago) by jpye
Fixed test data for ammonia p,h,s: agreement to 0.09% for all values.

Revision 1839 - Directory Listing
Modified Thu Aug 28 09:20:11 2008 UTC (15 years, 1 month ago) by jpye
Getting closer with nitrogen test data.

Revision 1838 - Directory Listing
Modified Thu Aug 28 08:32:29 2008 UTC (15 years, 1 month ago) by jpye
Added 'exponential' terms for nitrogen correlation (still testing).

Revision 1836 - Directory Listing
Modified Mon Aug 25 08:32:38 2008 UTC (15 years, 1 month ago) by jpye
Fixed helm_resid and helm_resid_tau.

Revision 1835 - Directory Listing
Modified Mon Aug 25 08:18:23 2008 UTC (15 years, 1 month ago) by jpye
Checked in generalised version of ideal gas component.
Working on adding the 'exponential' term for the Nitrogen correlation.

Revision 1834 - Directory Listing
Modified Fri Aug 22 08:48:51 2008 UTC (15 years, 1 month ago) by jpye
Adding nitrogen properties (ongoing)

Revision 1833 - Directory Listing
Modified Fri Aug 22 07:26:09 2008 UTC (15 years, 1 month ago) by jpye
Converted ammonia data and tests into a separate file.

Revision 1832 - Directory Listing
Modified Fri Aug 22 07:23:58 2008 UTC (15 years, 1 month ago) by jpye
Refactor helm_resid_tau.

Revision 1831 - Directory Listing
Modified Fri Aug 22 05:54:53 2008 UTC (15 years, 1 month ago) by jpye
Fix copyright date.

Revision 1830 - Directory Listing
Modified Fri Aug 22 05:54:04 2008 UTC (15 years, 1 month ago) by jpye
All tests pass to max error 2.0% (errors for low temperature liquids)

Revision 1829 - Directory Listing
Modified Fri Aug 22 05:00:53 2008 UTC (15 years, 1 month ago) by jpye
Added entropy relation and tests. All entropy tests pass to within 0.03%.

Revision 1828 - Directory Listing
Modified Fri Aug 22 00:48:31 2008 UTC (15 years, 1 month ago) by jpye
Fixed some problems with helmholtz_h.

Revision 1827 - Directory Listing
Modified Thu Aug 21 09:36:00 2008 UTC (15 years, 1 month ago) by jpye
Test cases for helmholtz_p now passing, need to fix helmholtz_u.

Revision 1826 - Directory Listing
Modified Thu Aug 21 08:32:33 2008 UTC (15 years, 1 month ago) by jpye
Fixed: tests for pressure relation are working now.

Revision 1825 - Directory Listing
Modified Thu Aug 21 05:03:19 2008 UTC (15 years, 1 month ago) by jpye
Added functions for enthalpy and internal energy.
Test suites still needed!

Revision 1824 - Directory Listing
Modified Thu Aug 21 02:28:32 2008 UTC (15 years, 1 month ago) by jpye
Added helmholtz_u and helmholtz_h, still require testing.

Revision 1823 - Directory Listing
Modified Wed Aug 20 11:05:05 2008 UTC (15 years, 1 month ago) by jpye
Testing of ammonia p(rho,T) relation.

Revision 1822 - Directory Listing
Modified Wed Aug 20 09:06:39 2008 UTC (15 years, 1 month ago) by jpye
More on helmholtz functions.

Revision 1811 - Directory Listing
Modified Wed Jul 30 05:26:50 2008 UTC (15 years, 2 months ago) by jpye
Added on_load method to test model.
Added simple SConstruct to demonstrate building library independently.

Revision 1810 - Directory Listing
Modified Tue Jul 29 07:45:48 2008 UTC (15 years, 2 months ago) by jpye
Added new code for calculating properties according to modified BWR correlation, also some initial
work on Helmholtz free energy correlation.

Revision 1809 - Directory Listing
Modified Mon Jul 28 07:47:09 2008 UTC (15 years, 2 months ago) by jpye
Rewriting the thermodynamics examples so they don't depend on .a4s driver
scripts.

Revision 1808 - Directory Listing
Modified Wed Jul 23 04:50:55 2008 UTC (15 years, 2 months ago) by jpye
Added 'kinematic_viscosity' to atoms.a4l.


Revision 1807 - Directory Listing
Modified Mon Jul 21 09:23:57 2008 UTC (15 years, 2 months ago) by jpye
Added legend to zplot.

Revision 1806 - Directory Listing
Modified Mon Jul 21 08:57:55 2008 UTC (15 years, 2 months ago) by jpye
More whitespace changes.

Revision 1805 - Directory Listing
Modified Mon Jul 21 08:48:03 2008 UTC (15 years, 2 months ago) by jpye
Little bit of indenting for clarity (hope it's ok, Krishnan).
Added 'EXTERNAL' keyword in lang-def for gedit.

Revision 1802 - Directory Listing
Modified Tue Jul 15 00:45:50 2008 UTC (15 years, 2 months ago) by jpye
Formatting in when_demo.
Added test case in rankine.a4c.

Revision 1800 - Directory Listing
Modified Mon Jul 14 04:33:11 2008 UTC (15 years, 2 months ago) by jpye
Adding 'most refined note' support.

Revision 1798 - Directory Listing
Modified Wed Jul 2 00:37:24 2008 UTC (15 years, 3 months ago) by jpye
Fixed silly mistake in turbine model.

Revision 1787 - Directory Listing
Modified Sat Jun 7 06:32:58 2008 UTC (15 years, 3 months ago) by jpye
Fixed against Tcl/Tk on Fedora 9.
Removed lots more env.Copy(), change to env.Clone() for newer SCons.

Revision 1775 - Directory Listing
Modified Wed May 21 09:51:59 2008 UTC (15 years, 4 months ago) by jpye
Silenced som runtime debug output for datareader and solver.
Added first shot at canvas gui code using Gaphas.

Revision 1774 - Directory Listing
Modified Mon May 19 04:32:37 2008 UTC (15 years, 4 months ago) by jpye
Fixed values of radiation, added timestudy script to plot returned data.

Revision 1773 - Directory Listing
Modified Mon May 19 02:52:08 2008 UTC (15 years, 4 months ago) by jpye
More on ACDB data reader. Reads data OK now, need to check the values are coming through correctly.

Revision 1772 - Directory Listing
Modified Fri May 16 07:31:56 2008 UTC (15 years, 4 months ago) by jpye
Added data reader for Australian Climate Data Bank data.
Added URL to 'About' dialog.
Eliminated catching of ctrl-C in gtkexcepthook.py.

Revision 1766 - Directory Listing
Modified Mon Apr 7 09:06:56 2008 UTC (15 years, 5 months ago) by jpye
Fixed heading numbers in book.pdf, some tinkering to expose bug in IDA when there are derivs with out undiff vars.

Revision 1755 - Directory Listing
Modified Sun Feb 24 08:15:06 2008 UTC (15 years, 7 months ago) by jpye
Two surface model, to understand radiation exchange between rough surfaces.

Revision 1754 - Directory Listing
Modified Mon Feb 18 06:32:50 2008 UTC (15 years, 7 months ago) by jpye
cavity...

Revision 1750 - Directory Listing
Modified Sun Feb 10 10:51:56 2008 UTC (15 years, 7 months ago) by jpye
Made the cavity model generic (added cavity_base).

Revision 1746 - Directory Listing
Modified Sun Feb 10 00:24:32 2008 UTC (15 years, 7 months ago) by jpye
Simplified test case for bug #278.

Revision 1745 - Directory Listing
Modified Sun Feb 10 00:20:47 2008 UTC (15 years, 7 months ago) by jpye
Added test case for bug #278.

Revision 1744 - Directory Listing
Modified Sun Feb 10 00:08:08 2008 UTC (15 years, 7 months ago) by jpye
Related file for bug #362.

Revision 1741 - Directory Listing
Modified Sat Feb 9 12:09:23 2008 UTC (15 years, 7 months ago) by jpye
PyGTK GUI shows True for logrel satisfied, False if not.
Removed HTML comments from compiler/logrel*.h.

Revision 1739 - Directory Listing
Modified Fri Feb 8 04:39:24 2008 UTC (15 years, 7 months ago) by jpye
Fixed definition of milliwatts

Revision 1735 - Directory Listing
Modified Wed Feb 6 04:12:44 2008 UTC (15 years, 7 months ago) by jpye
Fixed bug 359 (units is none)
Fixed bug 358 (progress indicator with DOPRI5)
Added SI prefixes to units-of-measure file (peta, yotta, etc).
Removed debug output from DOPRI5.

Revision 1734 - Directory Listing
Modified Wed Feb 6 01:22:28 2008 UTC (15 years, 7 months ago) by jpye
Fixing up DOPRI5 as standard integrator.
Fixed bug 357 preventing repeated registration of integrators (in integrator.c).
Cleaned up SConstruct file use of WITH_SOLVERS a little bit.

Revision 1733 - Directory Listing
Modified Wed Feb 6 00:18:31 2008 UTC (15 years, 7 months ago) by jpye
In process of moving DOPRI5 solver to 'solvers' dir.

Revision 1731 - Directory Listing
Modified Thu Jan 17 23:43:30 2008 UTC (15 years, 8 months ago) by jpye
Added models from Pedro Vale Lima via Krishnan.

Revision 1729 - Directory Listing
Modified Wed Jan 16 02:55:14 2008 UTC (15 years, 8 months ago) by jpye
Updated GPL and reformatted comments at top of file.

Revision 1728 - Directory Listing
Modified Wed Jan 16 01:01:07 2008 UTC (15 years, 8 months ago) by kchittur
Minor changes to eos-vanderwaals.a4c and zplot.py

Revision 1727 - Directory Listing
Modified Tue Jan 15 23:03:20 2008 UTC (15 years, 8 months ago) by jpye
Updated cavity to current CLFR design Stage 2.
Added 'singletube' model to tubebank.
Improved functionality of the Module view in PyGTK GUI (corrected highlighting of instantiable types, enabled doubleclick expansion of module type list).
Added reporting of inline notes via console output (TODO: incorporate this into the GUI).
Added Type::isModel and corrected Type::hasParameters (C++).

Revision 1703 - Directory Listing
Modified Sun Jan 6 04:11:10 2008 UTC (15 years, 8 months ago) by jpye
standardised measures.a4l a little further.

Revision 1701 - Directory Listing
Modified Sun Jan 6 03:42:21 2008 UTC (15 years, 8 months ago) by jpye
Changed fundamental units to the standard SI abbreviations.
Added new solver parameters for IPOPT (still needs testing).
Added context-aware UnitsDialog that by default uses the type selected in the browser.
Added attempt at detection of 'lmodern' (for bug #351).
Changed base units in compiler/units.h.


Revision 1698 - Directory Listing
Modified Fri Jan 4 07:50:28 2008 UTC (15 years, 9 months ago) by jpye
some work in adding 'units dialog' for outputting available units of measurement.

Revision 1696 - Directory Listing
Modified Wed Dec 26 09:28:29 2007 UTC (15 years, 9 months ago) by jpye
working on fixing F, F_cum (currently wrong). Fixed syntax causing crash in bug #350 (bug still needs to be fixed though)

Revision 1695 - Directory Listing
Modified Wed Dec 26 08:23:08 2007 UTC (15 years, 9 months ago) by jpye
Fixed up some debug output and lint, formatting.
tubebank model currently causes crash as noted in bug #350.

Revision 1694 - Directory Listing
Modified Wed Dec 26 04:50:12 2007 UTC (15 years, 9 months ago) by jpye
Added commenting

Revision 1689 - Directory Listing
Modified Wed Dec 26 01:00:06 2007 UTC (15 years, 9 months ago) by jpye
Improved convergence of this conditional model but choosing 
a slightly different formulation.

Revision 1688 - Directory Listing
Modified Mon Dec 24 13:07:59 2007 UTC (15 years, 9 months ago) by jpye
Added comments

Revision 1687 - Directory Listing
Modified Mon Dec 24 07:27:44 2007 UTC (15 years, 9 months ago) by jpye
Added model of radiation from a tube bank. Requires CMSlv solver.
Seems to require several 'F9' presses before it solves, but it does solve.

Revision 1684 - Directory Listing
Modified Thu Dec 20 22:30:30 2007 UTC (15 years, 9 months ago) by jpye
Added test cases to instantiate models using the compiler, and test for resulting child instances etc.
Changed most 'AddSymbolL' to 'AddSymbol' (to reduce use of magic #s).
Cleaned up a few #include lists.
Renamed 'Asc_DeAllocSim' to 'sim_destroy'.
Removed some CVS 'lint'.
Removed 'SimsProc' commenting from 'simlist.c'.
Added some missing #includes in .h files (FWIW).
Removed the 'STATIC_xxx' headers from base/generic/solver/SConscript.

Revision 1676 - Directory Listing
Modified Tue Dec 18 07:38:18 2007 UTC (15 years, 9 months ago) by jpye
More on rankine_regen, but bleed fraction is still not a free variable.

Revision 1675 - Directory Listing
Modified Tue Dec 18 04:59:37 2007 UTC (15 years, 9 months ago) by jpye
Fixed rankine_reheat (there is a bit of a question about how to calculate cycle efficiency when pump work is *not* neglected).

Revision 1671 - Directory Listing
Modified Mon Dec 17 06:45:53 2007 UTC (15 years, 9 months ago) by jpye
little more work on reheat rankine cycle, but problems still there.

Revision 1670 - Directory Listing
Modified Mon Dec 17 05:16:41 2007 UTC (15 years, 9 months ago) by jpye
Few more self-tests for rankine_reheat.

Revision 1669 - Directory Listing
Modified Mon Dec 17 05:06:09 2007 UTC (15 years, 9 months ago) by jpye
Added self_test for rankine_reheat.

Revision 1667 - Directory Listing
Modified Mon Dec 17 04:48:55 2007 UTC (15 years, 9 months ago) by jpye
Fixed reheat rankine cycle model.
Added 'btu' (lowercase) to units of measurement.

Revision 1664 - Directory Listing
Modified Thu Dec 13 06:59:30 2007 UTC (15 years, 9 months ago) by jpye
Worked on adding regenerative rankine cycle model.

Revision 1663 - Directory Listing
Modified Thu Dec 13 04:35:35 2007 UTC (15 years, 9 months ago) by jpye
Added simple model of a Rankine cycle.

Revision 1660 - Directory Listing
Modified Thu Nov 29 23:28:51 2007 UTC (15 years, 10 months ago) by jpye
Removed references to <malloc.h> (replaced by <stdlib.h>).

Revision 1646 - Directory Listing
Modified Thu Nov 15 05:51:36 2007 UTC (15 years, 10 months ago) by jpye
IPOPT solver not loaded by default.

Revision 1634 - Directory Listing
Modified Sat Oct 13 05:02:42 2007 UTC (15 years, 11 months ago) by jpye
Limited set of model files installed by 'scons install'.
TODO: fix 'installer.nsi' to use the PACKAGE file lists also (need SubstInFile)
TODO: fix tarball to only include model files given in PACKAGE lists also (modified DistTar?)

Revision 1632 - Directory Listing
Modified Mon Oct 1 13:50:18 2007 UTC (16 years ago) by kchittur


Revision 1631 - Directory Listing
Modified Sun Sep 30 23:37:48 2007 UTC (16 years ago) by kchittur
Z

Revision 1628 - Directory Listing
Modified Wed Sep 26 09:36:47 2007 UTC (16 years ago) by jpye
Corrected lib dependency in Debian (libtktable2.9 instead of libtktable).
Added some ATOM types for heat exchanger analysis.
Identified a bug in package_load for case where DLL is in the current directory (still needs fixing).

Revision 1621 - Directory Listing
Modified Mon Sep 10 10:53:45 2007 UTC (16 years ago) by jpye
Updated the 'PACKAGE' file with the remaining .a4c and .a4l files (still
need to do the .a4s files). Other minor reformatting.

Revision 1620 - Directory Listing
Modified Thu Sep 6 08:17:36 2007 UTC (16 years, 1 month ago) by jpye
Addeding a 'PACKAGE' file for the main model directory.

Revision 1619 - Directory Listing
Modified Wed Sep 5 06:48:07 2007 UTC (16 years, 1 month ago) by jpye
Added air specific volumme.

Revision 1612 - Directory Listing
Modified Thu Aug 30 19:36:25 2007 UTC (16 years, 1 month ago) by kchittur


Revision 1610 - Directory Listing
Modified Thu Aug 30 02:29:50 2007 UTC (16 years, 1 month ago) by jpye
typo

Revision 1606 - Directory Listing
Modified Wed Aug 29 12:31:20 2007 UTC (16 years, 1 month ago) by jpye
Fixed wrong year in copyright header.

Revision 1603 - Directory Listing
Modified Wed Aug 29 08:06:24 2007 UTC (16 years, 1 month ago) by jpye
Added an air enthalpy correlation from a paper by Adebiyi (2005).

Revision 1599 - Directory Listing
Modified Fri Aug 17 07:32:10 2007 UTC (16 years, 1 month ago) by jpye
Fixed building of bboxtest for new naming convention.

Revision 1597 - Directory Listing
Modified Fri Aug 17 05:26:05 2007 UTC (16 years, 1 month ago) by jpye
New external library naming scheme on Windows: 'name_ascend.dll' instead of 'name.dll'.
This applies to solvers as well as external methods, extpy, import handlers, etc.

Revision 1589 - Directory Listing
Modified Thu Aug 9 07:22:42 2007 UTC (16 years, 1 month ago) by jpye
Improved model convergence by rearranging the secant formula.

Revision 1588 - Directory Listing
Modified Thu Aug 9 07:06:17 2007 UTC (16 years, 1 month ago) by jpye
Moved solve_stress into columnbuckling_model.

Revision 1587 - Directory Listing
Modified Wed Aug 8 14:36:55 2007 UTC (16 years, 1 month ago) by jpye
Fixed the solve_stress question with some better upper/lower bounds.

Revision 1586 - Directory Listing
Modified Wed Aug 8 13:37:13 2007 UTC (16 years, 1 month ago) by jpye
Added comment about 'solve_stress' and moved call to bound_self.

Revision 1583 - Directory Listing
Modified Tue Aug 7 09:04:16 2007 UTC (16 years, 1 month ago) by jpye
added brent solver for column buckling

Revision 1582 - Directory Listing
Modified Mon Aug 6 14:49:57 2007 UTC (16 years, 2 months ago) by jpye
More comments in column buckling model.

Revision 1581 - Directory Listing
Modified Mon Aug 6 11:56:44 2007 UTC (16 years, 2 months ago) by jpye
Added 'power_per_area' and 'R_value' to atom definitions.
Corrected some errors in the column buckling and section calculators.

Revision 1565 - Directory Listing
Modified Mon Jul 30 14:30:02 2007 UTC (16 years, 2 months ago) by jpye
Trying to track down what looks like an integer rounding error.

Revision 1564 - Directory Listing
Modified Mon Jul 30 13:52:25 2007 UTC (16 years, 2 months ago) by jpye
Test cases pass for compound sections.

Revision 1563 - Directory Listing
Modified Mon Jul 30 13:42:20 2007 UTC (16 years, 2 months ago) by jpye
Woops, got confused with I_y and I_z

Revision 1562 - Directory Listing
Modified Mon Jul 30 13:22:43 2007 UTC (16 years, 2 months ago) by jpye
Fixed bug with compound section.
Added test case for johnpye/section.a4c.

Revision 1561 - Directory Listing
Modified Mon Jul 30 07:35:58 2007 UTC (16 years, 2 months ago) by jpye
Added kgf and tonnef as measures (these are not SI units).
Added 'columnbuckling' formula for buckling of an eccentrically loaded
column using the secant formula.


Revision 1560 - Directory Listing
Modified Mon Jul 30 04:36:07 2007 UTC (16 years, 2 months ago) by jpye
More work on section calculator

Revision 1559 - Directory Listing
Modified Fri Jul 27 08:07:33 2007 UTC (16 years, 2 months ago) by jpye
Work in progress

Revision 1553 - Directory Listing
Modified Tue Jul 24 08:56:59 2007 UTC (16 years, 2 months ago) by jpye
Placeholder ipopt_get_status.
Added very simple test-case for IPOPT.

Revision 1538 - Directory Listing
Modified Wed Jul 11 09:13:45 2007 UTC (16 years, 2 months ago) by jpye
Update debian 'shlibs:Depends'
Removed debug info framevis.py

Revision 1537 - Directory Listing
Modified Wed Jul 11 06:55:32 2007 UTC (16 years, 2 months ago) by jpye
Fixed aspect & FOV

Revision 1536 - Directory Listing
Modified Tue Jul 10 13:26:36 2007 UTC (16 years, 2 months ago) by jpye
Simple visualisation using OpenGL wireframe

Revision 1533 - Directory Listing
Modified Thu Jul 5 16:26:11 2007 UTC (16 years, 3 months ago) by aw0a
added testframe model

Revision 1524 - Directory Listing
Modified Sat Jun 30 23:21:49 2007 UTC (16 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 (16 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 (16 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 (16 years, 3 months ago) by aw0a
overconstrained test model

Revision 1504 - Directory Listing
Modified Sat Jun 23 14:12:34 2007 UTC (16 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 (16 years, 3 months ago) by jpye
Commenting re matrices

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

Revision 1500 - Directory Listing
Modified Thu Jun 21 14:38:59 2007 UTC (16 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 (16 years, 3 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 (16 years, 3 months ago) by jpye
Added missing #include

Revision 1495 - Directory Listing
Modified Mon Jun 11 07:32:03 2007 UTC (16 years, 3 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 (16 years, 3 months ago) by jpye
Fixing <solver/conopt.h>

Revision 1491 - Directory Listing
Modified Sun Jun 10 13:49:39 2007 UTC (16 years, 3 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 (16 years, 3 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 (16 years, 3 months ago) by jpye
Fixed Z equation following suggestions from Krishnan

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


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


Revision 1483 - Directory Listing
Modified Thu Jun 7 12:51:01 2007 UTC (16 years, 3 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 (16 years, 3 months ago) by jpye
GAMS sample problem added

Revision 1480 - Directory Listing
Modified Wed Jun 6 13:44:59 2007 UTC (16 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 (16 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 (16 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 (16 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 (16 years, 4 months ago) by kchittur


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


Revision 1474 - Directory Listing
Modified Mon Jun 4 13:11:05 2007 UTC (16 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 (16 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 (16 years, 4 months ago) by jpye
Added sample model

Revision 1464 - Directory Listing
Modified Sun Jun 3 04:09:36 2007 UTC (16 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 (16 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 (16 years, 4 months ago) by kchittur


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

Revision 1452 - Directory Listing
Modified Mon May 28 14:01:51 2007 UTC (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 years, 6 months ago) by jpye
Added delta_specific_enthalpy

Revision 1375 - Directory Listing
Modified Sat Mar 31 02:44:14 2007 UTC (16 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 (16 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 (16 years, 6 months ago) by jpye
Adding missing 'values' method.

Revision 1372 - Directory Listing
Modified Fri Mar 30 11:01:20 2007 UTC (16 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 (16 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 (16 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 (16 years, 6 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 (16 years, 6 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 (16 years, 6 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 (16 years, 6 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 (16 years, 6 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 (16 years, 6 months ago) by jpye
Annotate where the model comes from

Revision 1344 - Directory Listing
Modified Mon Mar 12 00:08:34 2007 UTC (16 years, 6 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 (16 years, 6 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 (16 years, 6 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 (16 years, 6 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 (16 years, 6 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 (16 years, 6 months ago) by jpye
Removed some debug output

Revision 1331 - Directory Listing
Modified Thu Mar 8 06:03:43 2007 UTC (16 years, 6 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 (16 years, 6 months ago) by jpye
Clean up dead files

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

Revision 1328 - Directory Listing
Modified Thu Mar 8 03:05:27 2007 UTC (16 years, 6 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 (16 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 (16 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 (16 years, 7 months ago) by johnpye
default_self again

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

Revision 1311 - Directory Listing
Modified Sun Mar 4 13:26:32 2007 UTC (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 years, 7 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 (16 years, 7 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 (16 years, 7 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 (16 years, 7 months ago) by johnpye
Central differences added in some cases (DSGSAT3)

Revision 1277 - Directory Listing
Modified Sun Feb 4 07:39:31 2007 UTC (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 years, 8 months ago) by johnpye
loosened error tolerance

Revision 1268 - Directory Listing
Modified Sat Feb 3 06:18:11 2007 UTC (16 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 (16 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 (16 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 (16 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 (16 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 (16 years, 8 months ago) by johnpye
Copyright dates

Revision 1257 - Directory Listing
Modified Sun Jan 28 01:30:08 2007 UTC (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 years, 8 months ago) by johnpye
Fixed testfixedvars1

Revision 1221 - Directory Listing
Modified Wed Jan 24 13:33:06 2007 UTC (16 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 (16 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 (16 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 (16 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 (16 years, 8 months ago) by johnpye
Removed unnecessary #include <compiler.h>

Revision 1209 - Directory Listing
Modified Tue Jan 23 04:11:50 2007 UTC (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 years, 8 months ago) by johnpye
Fixed idadenx for test.py

Revision 1183 - Directory Listing
Modified Sat Jan 20 09:15:51 2007 UTC (16 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 (16 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 (16 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 (16 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 (16 years, 8 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 (16 years, 8 months ago) by johnpye
Fixed tolerance on collapsingcan2 self test.

Revision 1174 - Directory Listing
Modified Thu Jan 18 00:27:50 2007 UTC (16 years, 8 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 (16 years, 8 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 (16 years, 8 months ago) by johnpye
Added notes for freesteam installation.

Revision 1169 - Directory Listing
Modified Wed Jan 17 12:17:25 2007 UTC (16 years, 8 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 (16 years, 8 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 (16 years, 8 months ago) by johnpye
Added out-of-date notices.

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

Revision 1164 - Directory Listing
Modified Wed Jan 17 07:06:28 2007 UTC (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 months ago) by johnpye
More reformatting of model files

Revision 1158 - Directory Listing
Modified Tue Jan 16 12:44:13 2007 UTC (16 years, 8 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 (16 years, 8 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 (16 years, 8 months ago) by johnpye
Reformatting and annotation of heatex.a4c.

Revision 1153 - Directory Listing
Modified Tue Jan 16 10:15:29 2007 UTC (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 months ago) by johnpye
more...

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

Revision 1119 - Directory Listing
Modified Thu Jan 11 13:33:54 2007 UTC (16 years, 8 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 (16 years, 8 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 (16 years, 8 months ago) by johnpye
Updated comments

Revision 1109 - Directory Listing
Modified Thu Jan 11 04:07:02 2007 UTC (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 years, 8 months ago) by johnpye
Moved extpy warning to better place

Revision 1058 - Directory Listing
Modified Sat Jan 6 23:14:11 2007 UTC (16 years, 8 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 (16 years, 8 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 (16 years, 8 months ago) by johnpye
simplified slv_check_bounds call.

Revision 1052 - Directory Listing
Modified Sat Jan 6 04:28:44 2007 UTC (16 years, 8 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 (16 years, 8 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 (16 years, 8 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 years, 9 months ago) by johnpye
Adding missing test models.

Revision 1039 - Directory Listing
Modified Thu Jan 4 23:21:20 2007 UTC (16 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 (16 years, 9 months ago) by johnpye
Fixed the remaining TestBlackBox cases.

Revision 1037 - Directory Listing
Modified Thu Jan 4 08:11:55 2007 UTC (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 years, 9 months ago) by johnpye
woops, should be RuntimeError

Revision 1019 - Directory Listing
Modified Wed Jan 3 06:51:02 2007 UTC (16 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 (16 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 (16 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 (16 years, 9 months ago) by johnpye
Fixing building for libpython *present*

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

Revision 981 - Directory Listing
Modified Thu Dec 21 01:43:07 2006 UTC (16 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 (16 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 (16 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 (16 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 (16 years, 9 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 (16 years, 9 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 (16 years, 9 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 (16 years, 9 months ago) by johnpye
Fixed OSPATH typo
Other minor doc changes.

Revision 964 - Directory Listing
Modified Tue Dec 12 14:34:18 2006 UTC (16 years, 9 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 (16 years, 9 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 (16 years, 9 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 (16 years, 9 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 (16 years, 9 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 (16 years, 9 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 (16 years, 9 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 years, 10 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 (16 years, 10 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 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 (16 years, 11 months ago) by johnpye
Added pressure_per_temperature.

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

Revision 890 - Directory Listing
Modified Thu Oct 12 14:06:37 2006 UTC (16 years, 11 months 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 (16 years, 11 months ago) by aw0a
adding simplified ivpDAE models directory and file

Revision 888 - Directory Listing
Modified Wed Oct 11 14:53:27 2006 UTC (16 years, 11 months 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 (16 years, 11 months ago) by johnpye
Woops, added back attribution.

Revision 886 - Directory Listing
Modified Wed Oct 11 11:44:01 2006 UTC (16 years, 11 months 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 (16 years, 11 months 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 (16 years, 11 months ago) by johnpye
Added a newton's law of cooling model.

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

Revision 881 - Directory Listing
Modified Mon Oct 9 10:51:06 2006 UTC (16 years, 11 months 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 (16 years, 11 months ago) by johnpye
bumping versions to 0.9.5.101

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

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

Revision 877 - Directory Listing
Modified Sat Oct 7 09:31:51 2006 UTC (16 years, 11 months 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 (16 years, 11 months ago) by johnpye
Slightly simplified access to child instances from python

Revision 875 - Directory Listing
Modified Sat Oct 7 06:26:34 2006 UTC (16 years, 11 months 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 (17 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 (17 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 (17 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 (17 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 (17 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 (17 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 (17 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 (17 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 (17 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 (17 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 (17 years ago) by johnpye


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

Revision 854 - Directory Listing
Modified Wed Sep 20 13:36:40 2006 UTC (17 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 (17 years ago) by johnpye
Vector calcs

Revision 847 - Directory Listing
Modified Mon Sep 18 06:29:19 2006 UTC (17 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 (17 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 (17 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 (17 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 (17 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 (17 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 (17 years ago) by johnpye
Added beam model.

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

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

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

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

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

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

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

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

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

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

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

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

Revision 565 - Directory Listing
Modified Fri May 5 02:58:36 2006 UTC (17 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 (17 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 (17 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 (17 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 (17 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 (17 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 (17 years, 5 months ago) by aw0a
updated READMEmodelStatus.txt file

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

Revision 485 - Directory Listing
Modified Tue Apr 18 04:47:11 2006 UTC (17 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 (17 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 (17 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 (17 years, 5 months ago) by ben.allan
new file.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Revision 44 - Directory Listing
Modified Thu Mar 3 07:19:05 2005 UTC (18 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 (18 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 (18 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 (18 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 (18 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