Skip to content

EXEC_FIXED_WORKLOAD_ANALYSIS_DLG

Syntax

leo-grammar
CC "Simulation" EXEC_FIXED_WORKLOAD_ANALYSIS_DLG
												[ auto-read-only:boolValue ]
												[ auto-close:boolValue ]
												[ auto-component:boolValue ]
												[ randseed:intValue ] 
												[ programcalls:boolValue ]
												[ activity-analysis:boolValue ]
												[ calculation:boolValue ]
												[ animation:boolValue ]
												[ ProtocolSettings ]
												[ simoption:intValue ]
												[ day-1:intValue ]
												[ month-1:intValue ]
												[ day-2:intValue ]
												[ month-2:intValue ]
												[ year-2:intValue ]
												[ day-3:intValue ]
												[ month-3:intValue ]
												[ year-3:intValue ]
												[ appmodelname:strValue ]
												[ no-error-messages:boolValue ] 

ProtocolSettings:	protocol:none | short-format | long-format
					[ protfile:strValue ]

#--> RESULT ecode:intValue 
			errmsg:strValue 
			canceled:boolValue
CC "Simulation" EXEC_FIXED_WORKLOAD_ANALYSIS_DLG
												[ auto-read-only:boolValue ]
												[ auto-close:boolValue ]
												[ auto-component:boolValue ]
												[ randseed:intValue ] 
												[ programcalls:boolValue ]
												[ activity-analysis:boolValue ]
												[ calculation:boolValue ]
												[ animation:boolValue ]
												[ ProtocolSettings ]
												[ simoption:intValue ]
												[ day-1:intValue ]
												[ month-1:intValue ]
												[ day-2:intValue ]
												[ month-2:intValue ]
												[ year-2:intValue ]
												[ day-3:intValue ]
												[ month-3:intValue ]
												[ year-3:intValue ]
												[ appmodelname:strValue ]
												[ no-error-messages:boolValue ] 

ProtocolSettings:	protocol:none | short-format | long-format
					[ protfile:strValue ]

#--> RESULT ecode:intValue 
			errmsg:strValue 
			canceled:boolValue

Parameters

  • auto-read-only (boolValue, optional) - Sets an automated answer to the query about models being loaded in read-only mode. The query will not be displayed to the user. If "auto-save-results" is activated, there will still appear an error message, if some models are in read-only mode when saving the results is attempted.
  • 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.
  • auto-component (boolValue, optional) - Sets an automated answer to the query about passive simulation components being disabled. The query will not be displayed to the user.
  • randseed (intValue, optional) - Default randseed-value for the deterministic simulation.
  • programcalls (boolValue, optional) - Sets a default value for the passive simulation component "programcalls". If this parameter is not given, the last value (from previous simulatio runs) will be used. If no simulation was performed previously, then the default value is 0 (off).
  • activity-analysis (boolValue, optional) - Sets a default value for the passive simulation component "activity analysis". If this parameter is not given, the last value (from previous simulatio runs) will be used. If no simulation was performed previously, then the default value is 1 (on).
  • calculation (boolValue, optional) - Sets a default value for the passive simulation component "calculation". If this parameter is not given, the last value (from previous simulatio runs) will be used. If no simulation was performed previously, then the default value is 1 (on).
  • animation (boolValue, optional) - Sets a default value for the passive simulation component "animation". If this parameter is not given, the last value (from previous simulatio runs) will be used. If no simulation was performed previously, then the default value is 1 (on).
  • protocol(enumValue) - Sets a default value for the passive simulation component "simulation protocol". Allowed values are none (no protocol is generated), short-format (short format protocol) and long-format (long format protocol). Default = none.
  • protfile (strValue, optional) - Path to the protocol file.
  • simoption (intValue, optional) - Default simOption ("Input parameter combination") to be used for the simulation. Domain: [1-n]
  • day-1(intValue, optional) - Default simulation begin day.
  • month-1(intValue, optional) - Default simulation begin moth.
  • day-2(intValue, optional) - Default calculation begin day.
  • month-2(intValue, optional) - Default calculation begin month.
  • year-2(intValue, optional) - Default calculation begin year.
  • day-3(intValue, optional) - Default calculation end day.
  • month-3(intValue, optional) - Default calculation end month.
  • year-3(intValue, optional) - Default calculation end year.
  • no-error-messages (boolValue, optional) - If set to 1 then no simulation error messages will be displayed. If an error occurs, the simulation is simply aborted and the error message is returned in the return value errmsg.
  • appmodelname (strValue, optional) - Default application model name.

Returns

  • ecode (intValue) - 0 for success or 1 if the dialog was canceled or an error occurred
  • errmsg (strValue) - holds the error message of the last (if any) simulation-error that occurred. This message is the same text that is usually displayed to the user in an ErrorBox.
  • canceled (boolValue) - reports whether the start dialog of the simulation has been canceled. It does not report whether the user did cancel at any other point of the simulation.

Details

See Also

Examples

Versions and Changes

Available since ADOxx 1.3