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

Diff of /trunk/models/KenPendings.a4l

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

revision 1 by aw0a, Fri Oct 29 20:54:12 2004 UTC revision 576 by johnpye, Tue May 9 03:42:08 2006 UTC
# Line 51  MODEL mass_stream( Line 51  MODEL mass_stream(
51    
52    METHODS    METHODS
53      METHOD clear;      METHOD clear;
54      Ftot.fixed := FALSE;      FREE Ftot;
55      f[components].fixed := FALSE;      FREE f[components];
56      END clear;      END clear;
57      METHOD reset;      METHOD reset;
58      f[components].fixed := TRUE;      FIX f[components];
59      END reset;      END reset;
60      METHOD seqmod;      METHOD seqmod;
61      RUN clear;      RUN clear;
# Line 82  END NOTES; Line 82  END NOTES;
82      END clear;      END clear;
83      METHOD seqmod;      METHOD seqmod;
84      RUN output.specify;      RUN output.specify;
85      output.f[output.state.options.ds.components].fixed := FALSE;      FREE output.f[output.state.options.ds.components];
86      (* type OF inputs not know so must be handled somewhere ELSE *)      (* type OF inputs not know so must be handled somewhere ELSE *)
87      END seqmod;      END seqmod;
88      METHOD specify;      METHOD specify;
# Line 117  MODEL mass_balance_homotopy_mixer_single Line 117  MODEL mass_balance_homotopy_mixer_single
117    METHODS    METHODS
118      METHOD clear;      METHOD clear;
119      RUN mass_balance_mixer_single_output_base::clear;      RUN mass_balance_mixer_single_output_base::clear;
120      f_mult[output.components].fixed := FALSE;      FREE f_mult[output.components];
121          END clear;          END clear;
122      METHOD seqmod;      METHOD seqmod;
123  (*  RUN mass_balance_mixer_single_output_base::seqmod;*)  (*  RUN mass_balance_mixer_single_output_base::seqmod;*)
124      RUN output.specify;      RUN output.specify;
125      output.f[output.components].fixed := FALSE;      FREE output.f[output.components];
126      f_mult[output.components].fixed := TRUE;      FIX f_mult[output.components];
127      END seqmod;      END seqmod;
128      METHOD calc_multipliers;      METHOD calc_multipliers;
129      f_mult[output.components].fixed := FALSE;      FREE f_mult[output.components];
130      output.f[output.components].fixed := TRUE;      FIX output.f[output.components];
131      END calc_multipliers;      END calc_multipliers;
132      METHOD calc_outputs;      METHOD calc_outputs;
133      f_mult[output.components].fixed := TRUE;      FIX f_mult[output.components];
134      output.f[output.components].fixed := FALSE;      FREE output.f[output.components];
135      END calc_outputs;      END calc_outputs;
136    
137      METHOD reduce_mix_diff;      METHOD reduce_mix_diff;
# Line 160  MODEL mass_balance_homotopy_mixer_single Line 160  MODEL mass_balance_homotopy_mixer_single
160    METHODS    METHODS
161      METHOD clear;      METHOD clear;
162      RUN mass_balance_mixer_single_output_base::clear;      RUN mass_balance_mixer_single_output_base::clear;
163      f_mult[output.components].fixed := FALSE;      FREE f_mult[output.components];
164          END clear;          END clear;
165      METHOD seqmod;      METHOD seqmod;
166      RUN mass_balance_mixer_single_output_base::seqmod;      RUN mass_balance_mixer_single_output_base::seqmod;
167      f_mult[output.components].fixed := TRUE;      FIX f_mult[output.components];
168      END seqmod;      END seqmod;
169      METHOD calc_multipliers;      METHOD calc_multipliers;
170      f_mult[output.components].fixed := FALSE;      FREE f_mult[output.components];
171      output.f[output.components].fixed := TRUE;      FIX output.f[output.components];
172      END calc_multipliers;      END calc_multipliers;
173      METHOD reduce_mix_diff;      METHOD reduce_mix_diff;
174      FOR i IN output.components DO      FOR i IN output.components DO
# Line 206  MODEL liquid_stream_splitter_int( Line 206  MODEL liquid_stream_splitter_int(
206      RUN input.clear;      RUN input.clear;
207      RUN output[outputs].clear;      RUN output[outputs].clear;
208  (*  output[outputs].saturated := FALSE;*)  (*  output[outputs].saturated := FALSE;*)
209      split[outputs].fixed := FALSE;      FREE split[outputs];
210      END clear;      END clear;
211      METHOD seqmod;      METHOD seqmod;
212      RUN clear;      RUN clear;

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

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