there is an error exsisting when i create a new model according to the example of "statistics.spp" wich is modeled by Steffen Bngsow.Namely, the generator starts at 1:00:00, then the method" New_stock" is called and time_to_num(eventController.simTime)/3600 returns 1 in the "New_stock". In fact it returns 0 when i run the model?
The new model and "statistics.spp" are attached ,you can refer to them.
Could you give some advice?
Any help is great appreciated!
Solved! Go to Solution.
yes,you'r right! I have another problem , as is shown in the following picture:I marked it ,after i set the "time scale" at "1/1",several days later it comes back to "1/0.02" when i create a new model ,I wonder why this situation happens ,help me ,please!
Good time to you!
You can change the settings for new models in the dialog "File > Preferences".