![]() The run_nl_one() does not report any progress because it only executes one simulation. However, dynamic experiments are difficult to track because it is not clear how long the complete experiment will take from the beginning. The run_nl_dyn() function might provide progress output depending on the chosen method (for example ABC offers a progress bar). Progressr :: handlers ( "progress" ) results <- progressr :: with_progress ( run_nl_all ( nl ) ) The function will report detailed warnings or error messages, if definitions of variables or constants are invalid. After attaching an experiment to an nl object, validity of defined experiment variables and constants can be checked by commiting the nl object to the function eval_variables_constants(). This function reads all GUI elements of the NetLogo model that can be set by nlrx. ![]() If your model does not have any globals (GUI and code), please create a dummy global (either create a global widget on the GUI or add a dummy variable to the globals code section) for your model and put it in the constants list with an appropriate value.Ī complete list of all valid NetLogo parameters can be loaded by committing a nl object with a valid modelpath to the function report_model_parameters(). simdesign_simple() requires at least one defined constant within the constants list.NetLogo model parameters that are not listed in any of these two lists will be set with their default value from the NetLogo model interface.It is not allowed to list the same variable in the variables and constants list.Variable values that should be recognized by NetLogo as logical need to be entered as strings (e.g.Variable values that should be recognized by NetLogo as strings need to be nested inside escaped quotes (e.g.Categorical variable values are currently only allowed for simdesign_simple, simdesign_distinct and simdesign_ff.Values, or min, max, step (values is prioritized)Īdditionally, please note the following restrictions in order to define variables and constants correctly: The implemented simdesigns have different requirements for variable definitions: Simdesign Correctly defining variables within the experiment class object is crucial for creating simdesigns.
0 Comments
Leave a Reply. |