/[ascend]/trunk/doc/howto-model2.lyx
ViewVC logotype

Diff of /trunk/doc/howto-model2.lyx

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

revision 1385 by jpye, Sat Apr 7 09:13:41 2007 UTC revision 1386 by jpye, Sat Apr 7 09:14:32 2007 UTC
# Line 896  In Table Line 896  In Table
896   we describe additional methods we require before we will put a model into   we describe additional methods we require before we will put a model into
897   one of our libraries.   one of our libraries.
898   Each of these had two versions, both of which we require.   Each of these had two versions, both of which we require.
899   The designation _self   The designation
900    \family typewriter
901    \noun default
902    _self
903    \family default
904    \noun off
905    
906  \begin_inset LatexCommand \index{\_self}  \begin_inset LatexCommand \index{\_self}
907    
908  \end_inset  \end_inset
909    
910   is for a method to do something for all the variables and/or parts we have   is for a method to do something for all the variables and/or parts we have
911   defined locally within the current model with an IS_A statement.   defined locally within the current model with an IS_A statement.
912   The designation _all   The designation
913    \family typewriter
914    \noun default
915    _all
916    \family default
917    \noun off
918    
919  \begin_inset LatexCommand \index{\_all}  \begin_inset LatexCommand \index{\_all}
920    
921  \end_inset  \end_inset
922    
923   is for a method to do something for parts that are defined within an "outer"   is for a method to do something for parts that are defined within an `outer'
924   model that has an instance of this model as a part.   model that has an instance of this model as a part.
925   The "outer" model is at a higher scope   The `outer' model is at a higher scope
926  \begin_inset LatexCommand \index{scope}  \begin_inset LatexCommand \index{scope}
927    
928  \end_inset  \end_inset
# Line 931  Section Line 943  Section
943  \noun default  \noun default
944    
945  \noun off  \noun off
946  Only the _self versions of these methods are relevant here and are in  Only the
947    \family typewriter
948    \noun default
949    _self
950    \family default
951    \noun off
952     versions of these methods are relevant here and are in
953  \noun default  \noun default
954  Figure  Figure
955  \noun off  \noun off
# Line 1227  Exit ASCEND and repeat all the steps abo Line 1245  Exit ASCEND and repeat all the steps abo
1245    
1246  \begin_layout Itemize  \begin_layout Itemize
1247  In the Browser window, examine the values for those variables mentioned  In the Browser window, examine the values for those variables mentioned
1248   in the default_self method.   in the
1249    \family typewriter
1250    default_self
1251    \family default
1252     method.
1253   Note they already have their default values.   Note they already have their default values.
1254  \end_layout  \end_layout
1255    
1256  \begin_layout Itemize  \begin_layout Itemize
1257  To place the new instance v in a solvable state, go to the Browser window.  To place the new instance
1258   Pick the command Run method under the Edit button.  \family typewriter
1259    v
1260    \family default
1261     in a solvable state, go to the Browser window.
1262     Select
1263    \series bold
1264    Run method
1265    \series default
1266     under the Edit menu.
1267   Select first the method values and hit OK.   Select first the method values and hit OK.
1268  \end_layout  \end_layout
1269    
# Line 1261  In the Browser, examine the values for t Line 1291  In the Browser, examine the values for t
1291  \end_layout  \end_layout
1292    
1293  \begin_layout Itemize  \begin_layout Itemize
1294  Finally export v to the Solver.  Finally export
1295    \family typewriter
1296    v
1297    \family default
1298     to the Solver.
1299   The Eligible window should NOT appear; rather that Solver should report   The Eligible window should NOT appear; rather that Solver should report
1300   the model to be square.   the model to be square.
1301    
1302  \end_layout  \end_layout
1303    
1304  \begin_layout Itemize  \begin_layout Itemize
1305  Solve by selecting Solve under the Execute button.  Solve by selecting
1306    \series bold
1307    Solve
1308    \series default
1309     under the Execute menu.
1310  \end_layout  \end_layout
1311    
1312  \begin_layout Standard  \begin_layout Standard

Legend:
Removed from v.1385  
changed lines
  Added in v.1386

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