Fields inherited from class _ARRIVAL_message_xjal.Nested classes/interfaces inherited from class .TransitionIcon.Now it automatically changes whenever I adjust the number of timesteps in the Simulation run.Enumeration of precision alternatives for sim time-of-day values. Then I set the Scale: Time Window to maxTimeStepForGraphs. To do this, I define a parameter where the default value is the number of timesteps in the simulation:Įxample: (default value of) maxTimeStepForGraps = getEngine().getStopTime To see all the data for a run, you want this property to be set to the maximum number of timesteps in the run. This property sets how many timesteps are shown along the x-axis. Note that this property must be a number. This way I don't have to adjust this property every time I change the length of the simulation run. Since I generally want to see the data for the entire run, I simply make this value very large (1,000,000) in every graph. latest samples. If you set this number to 5,000 and then run the model for 20,000 timesteps, you will only see the last 5,000 data points. You have to set two different parameters in order to set how many data points appear on the graph.įirst, there's Data Update: Display Up to. I added this to mine and it fixed a lot of problems with AnyLogic:Įxport _JAVA_OPTIONS="-Xms512m -Xmx4096m"Īnylogic's graphing features are useful, if slightly annoying. I changed that line in my ini file to -Xmx2048M and all of my gui freeze and lock-up issues went away.įor linux Ubuntu users, don't forget to change your /etc/environment file. Changing that number to any multiple of 1024 will help out. It fixes the computer's memory usage in the Java virtual machine to by 1MB, effectively transitioning your lovely computer back to the year 2003 in memory capabilities. The line that says "-Xmx1024M" is likely your problem. ANYLOGIC JAVA ADD AGENTS INSTALLInstead of using -xmx notations on the command line, you need to go into the anylogic install directory and search for a file named "anylogic.ini". But like always, AnyLogic tried to make everything easier and ended up making it all harder. Normally this is not a big deal, you just modify the java -jar call to change the default memory amount. On rare occasions it may freeze up entirely. Sometimes your AnyLogic application may begin to slow down, or act sluggish.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |