[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-572543-105":3,"detail-sidebar-cat-1-en-105":80,"doc-detail-572543-en":126},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","anylogic-9-workshop-cheat-sheet-pub-with-two-beer-brands-step-by-step-modeling-guide","AnyLogic 9 Workshop cheat sheet - Pub with two beer brands - Step-by-step modeling guide","","AnyLogic 9 workshop cheat sheet outlining an iterative build of a pub simulation with two beer brands. It defines the operational scenario: kegs by volume, bartender service and payment/drinking times, guest arrival rate, and a happiness probability after each pint. The model includes guest flow through entrance and exit, bartender serving behavior, beer-brand switching after repeated pints, and a rule that guests leave if no bartender is reached within five minutes. Instructions cover creating the model in AnyLogic Cloud, configuring parameters in minutes, running animated simulation up to 300 minutes (5 hours), and extending the model with the second beer.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/template/","Template",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/template/presentations/","Presentations",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/template/anylogic-9-workshop-cheat-sheet-pub-with-two-beer-brands-step-by-step-modeling-guide/572543/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/anylogic-9-workshop-cheat-sheet-pub-with-two-beer-brands-step-by-step-modeling-guide/572543.png","ImageObject",442,249,{"name":42,"@type":43},"Nguyễn Văn Học","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-10-19","2026-10-13",true,{"@type":52,"interactionType":53,"userInteractionCount":26},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What is the core problem the workshop model solves?","Question",{"text":62,"@type":63},"It models a pub running with two beer brands and determines staffing needs so guests stay happy and don’t leave due to bartender delays.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"How are guest arrivals and drink behavior represented?",{"text":67,"@type":63},"Guests arrive at a specified rate, follow a pedestrian flow through entrance and exit, and after each pint leave with a stated probability of feeling happy.",{"name":69,"@type":60,"acceptedAnswer":70},"What happens if a guest cannot reach a bartender in time?",{"text":71,"@type":63},"If a guest cannot get hold of a bartender within five minutes, he leaves angry, which affects system performance.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},572543,1792435852,{"code":4,"msg":81,"data":82},"success",[83,87,92,97,102,107,112,117,122],{"id":84,"doc_module":22,"doc_module_name":25,"category_name":29,"show_sort_weight":85,"slug":86},11,90,"presentations",{"id":88,"doc_module":22,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},12,"Resumes",80,"resumes",{"id":93,"doc_module":22,"doc_module_name":25,"category_name":94,"show_sort_weight":95,"slug":96},14,"Invoices",70,"invoices",{"id":98,"doc_module":22,"doc_module_name":25,"category_name":99,"show_sort_weight":100,"slug":101},15,"Posters",60,"posters",{"id":103,"doc_module":22,"doc_module_name":25,"category_name":104,"show_sort_weight":105,"slug":106},16,"Social Media",50,"social-media",{"id":108,"doc_module":22,"doc_module_name":25,"category_name":109,"show_sort_weight":110,"slug":111},17,"Forms",40,"forms",{"id":113,"doc_module":22,"doc_module_name":25,"category_name":114,"show_sort_weight":115,"slug":116},18,"Letters",30,"letters",{"id":118,"doc_module":22,"doc_module_name":25,"category_name":119,"show_sort_weight":120,"slug":121},21,"Paper Templates",5,"papers-templates",{"id":123,"doc_module":22,"doc_module_name":25,"category_name":124,"show_sort_weight":4,"slug":125},158,"General","general-158",{"code":4,"msg":81,"data":127},{"doc_id":78,"user_id":128,"nickname":42,"user_avatar":129,"doc_module":22,"category_id":84,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":130,"file_id":131,"file_url":132,"file_type":133,"file_size":134,"view_count":26,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":135,"language":136,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":137,"faqs":138,"seo_title":139,"seo_description":12,"update_tm":140,"read_time":141},1374402739827,"https://ap-avatar.wpscdn.com/avatar/14000c97e7351f1a627?x-image-process=image/resize,m_fixed,w_180,h_180&k=1787885694763230660","AnyLogic 9 Workshop cheat sheet  \nRunning a pub with two beer brands  \nThis cheat sheet is available online at  \n[https://www.anylogic.com/fi](https://www.anylogic.com/fi)les/alc23/pubcheatsheet. pdf  \nAndrei Borshchev, CEO & CTO  \nNikolay Churkov, Principal Software Engineer  \nAnyLogic Conference 2023  \nSeptember 5-6  \nNashville, TN  \n© [The AnyLogic Company | www.anylogic.com](The AnyLogic Company | www.anylogic.com)  \nYou are running a pub with two beer brands:  \nBeer is sold from 20-liter kegs  \nIt takes 2 min 20 sec to replace a keg  \nHow many bartenders do you need to keep everyone happy?  \n200 beer drinkers per hour  \nAfter any pint, a guest  \nleaves with 40% probability feeling happy  \nBartenders move behind the counter serving beer  \nBeer is sold at the counter only by pints (1 pint = 0.473 liters) There is one tap per brand, taps work at 0.1 liter / sec It takes about 1 minute to pay And 10 minutes to drink a pint  \n֙  \nHowever, if a guest cannot get a hold of a bartender within  \n5 minutes, he leaves angry  \n70% of guests start with Corona™  \n30% start with Dos Equis™  \nAfter 3 pints of Corona™ a guest, if continues drinking, switches to Dos Equis™, reverse switch never happens  \n© [The AnyLogic Company](The AnyLogic Company | www.anylogic.com)[ | www.anylogic.com](The AnyLogic Company | www.anylogic.com)  \nHow much Corona ™ and Dos Equis™ do you need in stock for to keep going for 5 hours?  \n2  \nLog in to AnyLogic Cloud and create a new model  \n ༃ Navigate to [cloud.anylogic.com](cloud.anylogic.com)   \nIf you are logged in as a subscriber, skip steps 2 and 3; otherwise:  \n༄ Log out if needed; click on the  \nGuest icon and choose Log in  \n ༅ Enter your credentials   \n[Login: alcXX@anylogic.com](Login: alcXX@anylogic.com)  \nPassword: XXXXXXXX  \n༆ In My models tab click on “+ New Model”   \n༇ Name your model e.g.“Pub”    \n© [The AnyLogic Company](The AnyLogic Company | www.anylogic.com)[ | www.anylogic.com](The AnyLogic Company | www.anylogic.com)  \n3  \nAs always, we will be solving the problem iteratively  \n1. Pub floor markup. Simplistic beer drinkers flow  \n2. Bartenders  \n3. Corona™ beer flow  \n4. Beer drinking behavior  \n5. Simulation and Variation experiments in AnyLogic Cloud  \nIf we manage to cover this part during the workshop, we’re great!  \n6. [optional] Download results, Compare runs  \n7. [homework] Add Dos Equis™ –the second beer  \n© [The AnyLogic Company](The AnyLogic Company | www.anylogic.com)[ | www.anylogic.com](The AnyLogic Company | www.anylogic.com)  \n4  \nPhase 1  \nPub floor markup.  \nSimplistic beer drinkers flow  \n© [The AnyLogic Company](The AnyLogic Company | www.anylogic.com)[ | www.anylogic.com](The AnyLogic Company | www.anylogic.com)  \n5  \nDownload the pub floor plan, place it on the canvas, and lock  \n ༃ Download the floor plan from [https://www.anylogic.com/fi](https://www.anylogic.com/fi)les/alc23/pubfloorplan.png   \nStart creating pub floor markup: draw the outside wall  \nSee zoom value here, click / double-click to return to 100%  \n༃ Use Pedestrian palette  \n༄ Use Ctrl+Wheel to  \nachieve 200% zoom  \n༅ Draw the wall polyline over the image with the gap at the entrance  \n Double-click to finish   \nHold Shift when drawing to keep polyline segments strictly vertical or horizontal  \nClick at each point;  \n© [The AnyLogic Company](The AnyLogic Company | www.anylogic.com)[ | www.anylogic.com](The AnyLogic Company | www.anylogic.com)  \n7  \nContinue pub floor markup: entrance and counter  \n© [The AnyLogic Company](The AnyLogic Company | www.anylogic.com)[ | www.anylogic.com](The AnyLogic Company | www.anylogic.com) 8  \nCreate simplistic guest flow  \nUse Pedestrian  \nand Process  \nModeling  \npalettes  \nBlocks connect when dragged close to each other. You can also connect blocks manually by clicking at the ports  \n© [The AnyLogic Company](The AnyLogic Company | www.anylogic.com)[ | www.anylogic.com](The AnyLogic Company | www.anylogic.com)  \n9  \nParameterize guest flow  \nYou can rename a block ei","cbCaicEochiPLv2W","https://ap.wps.com/l/cbCaicEochiPLv2W","pdf",3307860,24,"English","# Running a pub with two beer brands\n## Creating the model in AnyLogic Cloud\n## Iterative solution plan\n## Phase 1: Pub floor markup and guest flow\n## Parameterizing guest flow and animations\n## Phase 2: Bartenders","[{\"question\":\"What is the core problem the workshop model solves?\",\"answer\":\"It models a pub running with two beer brands and determines staffing needs so guests stay happy and don’t leave due to bartender delays.\"},{\"question\":\"How are guest arrivals and drink behavior represented?\",\"answer\":\"Guests arrive at a specified rate, follow a pedestrian flow through entrance and exit, and after each pint leave with a stated probability of feeling happy.\"},{\"question\":\"What happens if a guest cannot reach a bartender in time?\",\"answer\":\"If a guest cannot get hold of a bartender within five minutes, he leaves angry, which affects system performance.\"}]","AnyLogic 9 Workshop cheat sheet - Pub with two beer brands - Step-by-step modeling guide | PDF",1791927937,8]