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

Diff of /trunk/models/johnpye/fprops/brayton_split_salt.a4c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2695 by jpye, Tue Mar 5 03:13:14 2013 UTC revision 2696 by jpye, Thu Mar 7 00:21:44 2013 UTC
# Line 1  Line 1 
1  REQUIRE "johnpye/fprops/brayton_split.a4c";  REQUIRE "johnpye/fprops/brayton_split.a4c";
2  REQUIRE "johnpye/moltensalt.a4c";  REQUIRE "johnpye/moltensalt.a4c";
3    
4    (*
5        This is a very simplified salt heat exchanger model. It has to be done
6        differently from heatex_pinch because we don't yet have support for
7        fluids of the type expressed in moltensalt.a4c under FPROPS.
8    *)
9  MODEL boiler_heatex_salt REFINES boiler_simple;  MODEL boiler_heatex_salt REFINES boiler_simple;
10      inlet_salt, outlet_salt IS_A moltensalt_node;      inlet_salt, outlet_salt IS_A moltensalt_node;
11    
# Line 22  MODEL brayton_split_salt_co2 REFINES bra Line 27  MODEL brayton_split_salt_co2 REFINES bra
27      HEH.n :== 8;          HEH.n :== 8;    
28  METHODS  METHODS
29  METHOD on_load;  METHOD on_load;
     RUN brayton_split_co2::on_load;  
   
30      FIX BO.inlet_salt.T := 565 {K} + 263.15 {K};      FIX BO.inlet_salt.T := 565 {K} + 263.15 {K};
31      FIX BO.inlet_salt.p := 1 {bar};      FIX BO.inlet_salt.p := 1 {bar};
32      FIX BO.mdot_salt := 1 {kg/s};      FIX BO.mdot_salt := 1 {kg/s};
33        RUN brayton_split_co2::on_load;
34  END on_load;  END on_load;
35  METHOD self_test;  METHOD self_test;
36      ASSERT BO.inlet_salt.T == 565 {K} + 263.15 {K};      ASSERT BO.inlet_salt.T == 565 {K} + 263.15 {K};

Legend:
Removed from v.2695  
changed lines
  Added in v.2696

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