/[ascend]/trunk/models/johnpye/fprops/combinedcycle_fprops.a4c
ViewVC logotype

Log of /trunk/models/johnpye/fprops/combinedcycle_fprops.a4c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 2693 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 5 05:23:34 2013 UTC (9 years, 3 months ago) by jpye
File length: 9122 byte(s)
Diff to previous 2661
Modified test case for bug 564 slightly, now able to access the error via valgrind as well. Valgrind output gives:

solvers/qrslv/qrslv.c:3373 (structural_analysis): In QRSlv, got vused = 219...
==28310== Invalid read of size 8
==28310==    at 0x4EFCF76: CalcResidGivenValue (relation_util.c:4037)
==28310==    by 0x4EFD90C: zbrent (rootfind.c:84)
==28310==    by 0x4EFD235: RootFind (relation_util.c:4120)
==28310==    by 0x4EFAB80: RelationFindRoots (relation_util.c:3210)
==28310==    by 0x4F4C59E: relman_directly_solve_new (relman.c:1039)
==28310==    by 0x4F509D7: slv_direct_solve (slv_common.c:208)
==28310==    by 0x70324C6: qrslv_iterate (qrslv.c:3842)
==28310==    by 0x70336E5: qrslv_solve (qrslv.c:4175)
==28310==    by 0x4F60CB1: slv_solve (solver.c:364)
==28310==    by 0x42F607: test_bug564 (test_qrslv.c:244)
==28310==    by 0x61587A3: run_single_test (TestRun.c:1129)
==28310==    by 0x6156161: CU_run_selected_tests (TestRun.c:473)
==28310==  Address 0x100793d338 is not stack'd, malloc'd or (recently) free'd
==28310== 
==28310== 
==28310== Process terminating with default action of signal 11 (SIGSEGV)
==28310==  Access not within mapped region at address 0x100793D338
==28310==    at 0x4EFCF76: CalcResidGivenValue (relation_util.c:4037)
==28310==    by 0x4EFD90C: zbrent (rootfind.c:84)
==28310==    by 0x4EFD235: RootFind (relation_util.c:4120)
==28310==    by 0x4EFAB80: RelationFindRoots (relation_util.c:3210)
==28310==    by 0x4F4C59E: relman_directly_solve_new (relman.c:1039)
==28310==    by 0x4F509D7: slv_direct_solve (slv_common.c:208)
==28310==    by 0x70324C6: qrslv_iterate (qrslv.c:3842)
==28310==    by 0x70336E5: qrslv_solve (qrslv.c:4175)
==28310==    by 0x4F60CB1: slv_solve (solver.c:364)
==28310==    by 0x42F607: test_bug564 (test_qrslv.c:244)
==28310==    by 0x61587A3: run_single_test (TestRun.c:1129)
==28310==    by 0x6156161: CU_run_selected_tests (TestRun.c:473)
==28310==  If you believe this happened as a result of a stack
==28310==  overflow in your program's main thread (unlikely but
==28310==  possible), you can try to increase the size of the
==28310==  main thread stack using the --main-stacksize= flag.
==28310==  The main thread stack size used in this run was 8388608.
==28310== 


Revision 2661 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 17 00:15:12 2013 UTC (9 years, 5 months ago) by jpye
File length: 9189 byte(s)
Diff to previous 2654
Update GPL header, debugging issue with (p,h) for Water.

Revision 2654 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 16 02:04:07 2013 UTC (9 years, 5 months ago) by jpye
File length: 9256 byte(s)
Diff to previous 2649
Merged (copied) fprops2 branch to trunk. This copy overwrites the trunk version of fprops,
and history is preserved via the fprops2 sequence. I hope that's OK...

Revision 2649 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 12 12:39:25 2012 UTC (9 years, 6 months ago) by jpye
File length: 9189 byte(s)
Diff to previous 2327
Fixing GPL header, removing postal address (rpmlint incorrect-fsf-address)

Revision 2327 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 22 07:17:24 2010 UTC (11 years, 6 months ago) by jpye
File length: 9256 byte(s)
Diff to previous 2307
Merging in refactor of the C++ code, which is moved out of 'pygtk' and into 'ascxx'.
Adding support for IPOPT 3.9.1, the current latest version.
Support in dtar for parallel builds (possibly needs some testing still).

Revision 2307 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 2 03:36:57 2010 UTC (11 years, 9 months ago) by jpye
File length: 11437 byte(s)
Diff to previous 2305
Minor changes to FPROPS cycle models.
Fix 'scons install' to also install FPROPS in Python path in Linux (still need to test install with Windows).

Revision 2305 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 22 11:22:34 2010 UTC (11 years, 10 months ago) by jpye
File length: 11397 byte(s)
Diff to previous 2291
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 2291 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 15 14:13:59 2010 UTC (11 years, 10 months ago) by jpye
File length: 9149 byte(s)
Diff to previous 2290
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 15 10:11:54 2010 UTC (11 years, 10 months ago) by jpye
File length: 8527 byte(s)
Diff to previous 2286
Trying to catch errors associated with pressure below triple point for CO2.

Revision 2286 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 14 15:05:12 2010 UTC (11 years, 10 months ago) by jpye
File length: 8525 byte(s)
Diff to previous 2285
Working on plots for combined cycle. Something is broken with CO2 model.

Revision 2285 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 14 13:47:07 2010 UTC (11 years, 10 months ago) by jpye
File length: 8319 byte(s)
Diff to previous 2284
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 14 10:52:06 2010 UTC (11 years, 10 months ago) by jpye
File length: 8241 byte(s)
Diff to previous 2279
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 2279 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 14 07:21:51 2010 UTC (11 years, 10 months ago) by jpye
File length: 7442 byte(s)
Diff to previous 2278
Combined cycle working now with CO2 as the working fluid in the rankine cycle.

Revision 2278 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu Aug 12 05:56:36 2010 UTC (11 years, 10 months ago) by jpye
File length: 5608 byte(s)
Combined-cycle model converges with FPROPS! Now it's getting useful :-)

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

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