/[ascend]/trunk/models/dyn_flash.a4l
ViewVC logotype

Diff of /trunk/models/dyn_flash.a4l

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

revision 576 by johnpye, Tue May 9 03:42:08 2006 UTC revision 669 by johnpye, Wed Jun 21 07:00:45 2006 UTC
# Line 1640  END reboiler; Line 1640  END reboiler;
1640    
1641    
1642  MODEL testflashmodel() REFINES testcmumodel;  MODEL testflashmodel() REFINES testcmumodel;
1643  (* root fo flash based test models *)  (* root for flash based test models *)
1644  END testflashmodel;  END testflashmodel;
1645    
1646  MODEL test_vapor_liquid_flash() REFINES testflashmodel();  MODEL test_vapor_liquid_flash() REFINES testflashmodel();
# Line 1743  METHOD values; Line 1743  METHOD values;
1743      fl1.Vol := 10 {m^3};      fl1.Vol := 10 {m^3};
1744      fl1.vol_liq := 3 {m^3};      fl1.vol_liq := 3 {m^3};
1745  END values;  END values;
1746    
1747    METHOD on_load;
1748        RUN default_self;
1749        equilibrated := FALSE;
1750        RUN values; RUN reset;
1751    END on_load;
1752    
1753    METHOD prepare_ode;
1754        (* solve *)
1755        RUN check_self;
1756        dynamic := TRUE;
1757        RUN fl1.seqmod;
1758        RUN fl1.set_ode;
1759        RUN fl1.set_obs;
1760    END prepare_ode;
1761    
1762  END test_vapor_liquid_flash;  END test_vapor_liquid_flash;
1763    
1764    

Legend:
Removed from v.576  
changed lines
  Added in v.669

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