Fwd: [starlogo-users] How to export simulation results and How to
automate the simulation for sensitivity
Eric Klopfer
klopfer at MIT.EDU
Thu Sep 1 11:49:37 EDT 2005
> From: Eric Klopfer <klopfer at MIT.EDU>
> Date: September 1, 2005 11:47:04 AM EDT
> To: Youssef Saad <ysaad at omsar.gov.lb>
> Subject: Re: [starlogo-users] How to export simulation results and
> How to automate the simulation for sensitivity
>
>
> Hi.
>
> You can indeed write data to files in starlogo. There are two
> commands
> type
> print
>
> These commands are quite similar except "type" doesn't have a
> carriage return at the end and "print" does.
>
> So you could use a command like
> print "Column A, Column B, Column C"
> to create a header for your page
>
> and in your program you might write something like this
> type time
> type ","
> print count-turtles
>
> This would output the time and number of turtles separated by commas.
>
> All of this data appears in the "output window" which you can
> simply save from the menu.
>
> You can also use the "save-output" and "save-output-as" commands to
> automate this.
>
> There are also commands that you can use to press buttons
>
> startbutton_1
> will press the button named "button_1"
>
> and stopbutton_1
> will stop the button named "button_2"
>
> you can use these to run cycles of your simulation by creating
> observer procedures that set variables, start your simulation wait
> and then stop your simulation and set it up again.
>
> Eric
>
> On Sep 1, 2005, at 1:43 AM, Youssef Saad wrote:
>
>> Hi,
>>
>>
>>
>> I have already finalized my Starlogo code concerened with
>> simulating various IPD strategies interacting with one another. I
>> need to analyze the results and hope to do so in a professional
>> way though I am not a IT expert. I hope someone can help me out in
>> the following:
>>
>>
>>
>> 1- is there an already written code that helps export the
>> time-based simulation results into excel. I need to report the
>> quantities of each breed with time and I need those in tabular
>> format rather than plotted on a chart.
>>
>> 2- Is there a code that helps automate the simulation in a
>> way that it runs for a certain set of parameters, reports results
>> (excel) and then changes those variable parameters and runs again
>> reporting the results and so forth.
>>
>>
>>
>> I would very much appreciate support on the above.
>>
>>
>>
>> Thanks,
>>
>> Youssef
>>
>>
>>
>> From: Youssef Saad
>> Sent: Tuesday, August 16, 2005 5:14 PM
>> To: 'starlogo-users at media.mit.edu'
>> Subject: RE: help needed - IPD models
>>
>>
>>
>> Hi,
>>
>>
>>
>> When running my starlogo model, I am receiving an Error saying
>> “False is not an integer in turtle 0 while running instruction ‘%
>> gett-of’ called by….”
>>
>>
>>
>> I traced the if statement causing this error but failed to rectify
>> it… can anyone help out.
>>
>>
>>
>> Thanks,
>>
>> Youssef
>>
>> From: Youssef Saad
>> Sent: Thursday, July 28, 2005 11:12 AM
>> To: 'starlogo-users at media.mit.edu'
>> Subject: help needed - IPD models
>>
>>
>>
>> Dear community members,
>>
>>
>>
>> I am doing my Masters Thesis on social interaction using Starlogo.
>> I would appreciate your guidance on where to find starlogo codes
>> that model IPD and similar associated concepts and techniques. My
>> concern is in finding out how groups evolve and how they interact
>> among other groups. I will be using basic ideas of reproduction,
>> kinship, individualism, altruism, etc…
>>
>>
>>
>> Thank you for your kind advice,
>>
>> Youssef Saad
>>
>> _______________________________________________
>> starlogo-users mailing list
>> starlogo-users at media.mit.edu
>> http://education.mit.edu/mailman/listinfo/starlogo-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://education.mit.edu/pipermail/starlogo-users/attachments/20050901/1c722042/attachment-0001.htm
More information about the starlogo-users
mailing list