MY-BASIC

entity.run(<:int:entity_number>{,<:int:selout>}{,<:str:option>})

PYTHON

entity.run(<:int:entity_number>{,selout=<:kw_int:selout>}{,retvalue=<:kw_bool:revalue>})



Run reaction simulations for a specific entity number; all reactants with that entity number are reacted together. Results are saved, punched, printed or returned depending on the arguments in the function. Punched and returned values are controlled by a selected_output block.


Return value:         In PYTHON, a dict is returned consisting of the headings defined in the  selected_output block.



Arguments


entity_number

int: Number of the reactants to be used.

If there is no solution (or mix) is defined with that number, an error is produced.

selout

int: Number of the used for punching, or returning variables.

If selout is not in the argument list, it is assumed to be equal to entity_number.

If selected_output selout does not exist, no output is punched or returned.

retvalue

bool: Indicate if there is a return value. Default: false

If true, a list of pairs <name,value> is returned. The list is defined by the output variables in selected_output selout

For a PYTHON script, a dict is returned with as keys the names and as value the corresponding value.







"print", "save", "punch", "return"