Skip to content

EXEC_ANALYTIC_EVALUATION_START_DLG

Is a command call of the message port "Analysis" that executes the analytic evaluation start dialog.

Syntax

leo-grammar
CC "Analysis" EXEC_ANALYTIC_EVALUATION_START_DLG [ model:idValue ] 
													[ dpy:intValue ] 
													[ hpd:intValue ] 
													[ simoption:intValue ] 
													[ accuracy:intValue ] 
													[ maxlooplen:intValue ] 
													[ maxpaths:intValue ] 
													[ auto-close: "yes" | "no" ] 
													[ no-result-window ] 
													[ auto-save-results ]
													
# --> RESULT ecode:intValue
CC "Analysis" EXEC_ANALYTIC_EVALUATION_START_DLG [ model:idValue ] 
													[ dpy:intValue ] 
													[ hpd:intValue ] 
													[ simoption:intValue ] 
													[ accuracy:intValue ] 
													[ maxlooplen:intValue ] 
													[ maxpaths:intValue ] 
													[ auto-close: "yes" | "no" ] 
													[ no-result-window ] 
													[ auto-save-results ]
													
# --> RESULT ecode:intValue

Parameters

  • modelid (intValue, optional) - the ID of the model to be evaluated.
  • dpy (intValue, optional) - working days per year. If not given, the default (e.g. from the last simulation) will be used. There is no check done, whether dpy <= 365.
  • hpd (intValue, optional) - working hours per day. If not given, the default (e.g. from the last simulation) will be used. There is no check done, whether hpd <= 24.
  • simoption (intValue, optional) - number of the SimMapping option to be used [1 .. n-1]. If not given, the default (e.g. from the last simulation) will be used. If a too small value (<= 0) is passed, 1 is assumed. If too large a value is passed, an error message will be displayed.
  • accuracy - (intValue, optional) default value for accuracy (1 - 100).
  • maxlooplen (intValue, optional) - default value for max loop length.
  • maxpaths (intValue, optional) - default value for max paths.
  • auto-close (boolValue, optional) - sets an automated answer to the query about models being closed after the simulation. The query will not be displayed to the user.
  • no-result-window (modifier, optional) - if given, no result window will be displayed.
  • auto-save-results (modifier, optional) - if given, the simulation results (under consideration of the volume in the process start) will automatically be saved to the models after the analytical evaluation. (If any models have to be loaded before the evaluation, they will be loaded with write-access. If this is not possible, the evaluation will be terminated with the error message [aanaeval-07].)

Returns

  • ecode (intValue) - Contains the error code or 0 in case of success.

Details

Opens a dialog were the user can execute an analytic evaluation.

See Also

RUN_ANALYTIC_EVALUATION

Examples

asc
CC "Analysis" EXEC_ANALYTIC_EVALUATION_START_DLG
CC "Analysis" EXEC_ANALYTIC_EVALUATION_START_DLG

Only works if the model is created with a modeltype containing subclasses of ADOxx's simulation metamodel.

Versions and Changes

Available since ADOxx 1.3