Calculate profit in each patch

44 views
Skip to first unread message

S Nezhadi

unread,
Nov 1, 2024, 5:40:34 PM11/1/24
to netlogo-users
Hello
In my codes, I calculate the profit for each patch but I defined another process to report profit and now I want to know the profit for Patch 20 20 in each tick. how should I do that?

Pradeesh Kumar K V

unread,
Nov 2, 2024, 10:21:49 AM11/2/24
to S Nezhadi, netlogo-users
You could create an empty list and lput the profit value calculated for Patch 20 20 in each tick to this list. 

On Sat, Nov 2, 2024 at 3:10 AM S Nezhadi <s.nezh...@gmail.com> wrote:
Hello
In my codes, I calculate the profit for each patch but I defined another process to report profit and now I want to know the profit for Patch 20 20 in each tick. how should I do that?

--
You received this message because you are subscribed to the Google Groups "netlogo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netlogo-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/netlogo-users/5013f89a-4886-41b8-be06-376869bed8bdn%40googlegroups.com.

Daniel Vartanian

unread,
Nov 4, 2024, 7:32:12 AM11/4/24
to S Nezhadi, netlogo-users
Hi Nezhadi,

First of all, why did you do that?

Second, what did you do, specifically?

Third, why haven't you done the profit as a patch variable?


Cheers,

Daniel Vartanian

Em sex, 1 de nov de 2024 18:40, S Nezhadi <s.nezh...@gmail.com> escreveu:
Hello
In my codes, I calculate the profit for each patch but I defined another process to report profit and now I want to know the profit for Patch 20 20 in each tick. how should I do that?

--
Reply all
Reply to author
Forward
0 new messages