Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Asking for feedbacks and future suggestions in creating model

40 views
Skip to first unread message

Muhammad Rafli Ramdani

unread,
Nov 26, 2024, 8:08:19 AM11/26/24
to netlogo-users
Hello guys,

I just graduated and I really want to code to spare my free time. I have completed a NetLogo simulation at a job fair where salespeople sell their products. But I divided them into two distinct personalities; talkative and quiet. It depends on energy level and hence influences customer satisfaction. However, as I stated before, the code I wrote will not be good and needs many improvements. I want to share you mine and perhaps if you have free time, you can give me feedback or suggestions I really need. Feel free to contact me!

Thanks. 



Salesman.nlogo

Nimesh Neema

unread,
Nov 29, 2024, 11:55:44 AM11/29/24
to Muhammad Rafli Ramdani, netlogo-users
1.  Since you are differentiating between talkative salesman, quiet salesman and customers based on colors, you can also set the shape for salesman to "person"

2.  You have three variables `num-salesman`, `num-customer`, `int-energy` (sliders) defined in the interface and not using them in the code.

3.  If you are differentiating between talkative and quiet salesmen based on color, maybe you do not need the variables.

4.  You do not need the salesmen global variable.

5.  profit may apparently be a turtle variable.

6.  You are not using the selling global variable.

7.  Prefer using slightly different names for customer global variable and customer? turtle variable.

8.  You should not need to use the `tick` primitive at the end of the setup procedure.

Nimesh Neema
Principal Consultant, Perspicacious Solutions Private Limited


--
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/3450e471-ac3f-44f0-abfd-5e35da5d823bn%40googlegroups.com.

Wade Schuette

unread,
Nov 29, 2024, 2:07:51 PM11/29/24
to netlogo-users

 

Muhammed,  in addition to getting your code to do what you are asking it to do correctly,  in the long run you need to be asking it to do the right thing.  To help accomplish that,  it really helps a reviewer if you complete the information in the INFO tab and discuss WHY you are modeling sales the way you have chosen to do.   The inline comments help figuring out what each step is doing but don't explain why you are doing that.   

As statistician George Box famously said once, "All models are wrong but some models are useful".
So,  in what way is your model useful for what audience?  The INFO tab questions are a good place to
explain why this model is useful and how to use it to gain some insight or explore a situation.

All I can see from a quick glance, is that if you hard code that energetic talkative salesmen are more likely to make sales, then they will.    Even for that,  a visual plot of SALES versus ENERGY or SALES versus Talkative would help make the case or maybe SALES vs ENERGY stratified by TALKATIVE.

Incidentally, I'm working on getting ChatGPT incorporated as the driving force behind each agent's actions to allow more complex goals and constraints in the agents decisions.   ( Not yet ready for publication.)

To get a sense of how powerful AI agents are today,  you could go to my website and try to sell tires or dog food to one of the purchasing manager agents and see how the conversation goes.   At the end of your effort the DEBRIEF button will ( on a good day )  evaluate how you did and why and suggest ways your sales effort could have been more effective.

To try that out, totally free and if you prefer, anonymously, go to  https://shewnexti.com
* Select "Sales and Persuasion"
* Select "Professional"  and click SUBMIT
* Accept "guest" information defaults,  or enter your own and click SUBMIT
* CONTINUE past the legal stuff
* In the yellow pulldown, select "sell car and truck tires" and click SUBMIT
*  in the yellow text box,  type anything, such as "Hey, buddy, you want to buy some tires?
    *  on a good day, the chatbot will respond , then you can type something else, then it will respond etc.
*  when totally done with that back and forth conversation, click DEBRIEF and get a summary of how you did.
*  please enter a comment at the end as to how the conversation and evaluation worked and could be improved!

Enjoy! 
Wade










Reply all
Reply to author
Forward
0 new messages