If defined, init function is called right after the script is loaded from SD card and begins execution. Init is called only once before the run function is called for the first time.
localfunction <init_function_name>()-- code here runs only once when the model is loadedend