{"id":16585,"date":"2016-11-17T08:28:22","date_gmt":"2016-11-17T08:28:22","guid":{"rendered":"http:\/\/www.safetyangel.com\/recdev\/?page_id=16585"},"modified":"2016-11-17T08:49:00","modified_gmt":"2016-11-17T08:49:00","slug":"example-f-3-restaurant-seating-capacity","status":"publish","type":"page","link":"http:\/\/www.safetyangel.com\/recdev\/example-f-3-restaurant-seating-capacity\/","title":{"rendered":"Example F-3 &#8211; Restaurant Seating Capacity"},"content":{"rendered":"<div id=\"dt_row_1177726836298\" class=\"clearfix dt_row\"><div id=\"dt_column_2\" class=\"dt_column col-sm-12\"><div id=\"dt_row_3177726836250\" class=\"row dt_row\"><div id=\"dt_column_4\" class=\"dt_column col-sm-6\"><div id=\"dt_row_5177726836288\" class=\"row dt_row title-blck\"><div id=\"dt_column_6\" class=\"dt_column col-sm-12\"><div id=\"dt-section-head-7\" class=\"dt-section-head center  size-custom\">\r\n              <div><h2 style=\"color:#ffffff;font-size:35px\" class=\"section-main-title\">Example F-3 - Restaurant Seating Capacity<\/h2><\/div><\/div><\/div><\/div><\/div><div id=\"dt_column_8\" class=\"dt_column col-sm-6\"><\/div><\/div><div id=\"dt_row_9177726836213\" class=\"row dt_row\"><div id=\"dt_column_10\" class=\"dt_column col-sm-5\"><\/div><div id=\"dt_column_11\" class=\"dt_column col-sm-7\"><div id=\"dt_row_12177726836242\" class=\"row dt_row\"><div id=\"dt_column_13\" class=\"dt_column col-sm-12\"><div id=\"dt_text14177726836285\" class=\"dt_text\">\n<h3><span style=\"color: #000000; font-size: 1em;\">Examples provided here are purely for illustrating software features and functionality.<\/span><\/h3>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><div id=\"dt_row_15177726836216\" class=\"clearfix dt_row\"><div id=\"dt_column_16\" class=\"dt_column col-sm-12\"><div id=\"dt_row_17177726836293\" class=\"row dt_row\"><div id=\"dt_column_18\" class=\"dt_column col-sm-12\"><div id=\"dt_row_19177726836215\" class=\"row dt_row\"><div id=\"dt_column_20\" class=\"dt_column col-sm-1\"><\/div><div id=\"dt_column_21\" class=\"dt_column col-sm-5\"><div id=\"dt_text22177726836265\" class=\"dt_text\">\n<h3><span style=\"color: #0093d5;\">Example F-3 &#8211; Restaurant Seating Capacity<br \/>\n<\/span><\/h3>\n<p><b>Download Example File for <a href=\"http:\/\/www.reliasoft.com\/alta\/examples\/rc1\/alta_example_1_V10.rsgz10\" download=\"\">Version 10 (*.rsgz10)<\/a> or <a href=\"http:\/\/www.reliasoft.com\/alta\/examples\/rc1\/alta_example_1_V9.rsr9\" download=\"\">Version 9 (*.rsr9)<\/a><\/b><\/p>\n<h3><span style=\"color: #0093d5;\">Problem Statement:<\/span><\/h3>\n<p>Chef Toni is thinking of opening a new Italian restaurant based on another business she had already started. This new restaurant will be identical to the old one. She has asked you to evaluate the potential income of the new business (before interest and depreciation costs) based on the number of seats she can fill.<\/p>\n<p>Chef Toni is expecting her restaurant to have a total seating capacity of 200 people. She plans to close the restaurant for five days only during this upcoming calendar year.<\/p>\n<p>The following workbook shows how the chef calculated her income at her original business, using conservative estimates. Use the calculations in this workbook with RENO to estimate the chef&#8217;s potential average annual income based on the number of seats (&#8220;MyRestaurantTable&#8221; analysis workbook in the example file).<\/p>\n<h3><\/h3>\n<\/div><div id=\"dt_text23177726836219\" class=\"dt_text\">\n<h3><span style=\"color: #0093d5;\">Build the Flowcharts<\/span><\/h3>\n<p>The picture shown next presents an overview of how the main flowchart will work. Note how this flowchart uses subchart blocks to group the calculations for the seat-turnover rates (&#8220;Set Turnover&#8221; block) and the calculations for the check amounts (&#8220;Set Check Amount&#8221; block).<\/p>\n<\/div><div id=\"dt_image24\" class=\"dt_image\"><div class=\"image-align-center\"><img decoding=\"async\"  class=\"img-responsive style-default\" src=\"http:\/\/www.safetyangel.com\/recdev\/wp-content\/uploads\/2016\/11\/61.png\" alt=\"\"\/><\/div><\/div><div id=\"dt_text25177726836214\" class=\"dt_text\">To construct the main flowchart, follow these steps:<\/div><\/div><div id=\"dt_column_26\" class=\"dt_column col-sm-5\"><div id=\"dt_image27\" class=\"dt_image\"><div class=\"image-align-center\"><img decoding=\"async\"  class=\"img-responsive style-default\" src=\"http:\/\/www.safetyangel.com\/recdev\/wp-content\/uploads\/2016\/11\/renoexf3_1.png\" alt=\"\"\/><\/div><\/div><\/div><div id=\"dt_column_28\" class=\"dt_column col-sm-1\"><\/div><\/div><\/div><\/div><\/div><\/div><div id=\"dt_row_29177726836287\" class=\"clearfix dt_row\"><div id=\"dt_column_30\" class=\"dt_column col-sm-12\"><div id=\"dt_row_31177726836222\" class=\"row dt_row\"><div id=\"dt_column_32\" class=\"dt_column col-sm-12\"><div id=\"dt_row_33177726836287\" class=\"row dt_row\"><div id=\"dt_column_34\" class=\"dt_column col-sm-1\"><\/div><div id=\"dt_column_35\" class=\"dt_column col-sm-5\"><div id=\"dt_text36177726836241\" class=\"dt_text\">\n<p class=\"caption\"><b>Step 1<\/b>: Use a UI block to prompt the user for the seating capacity during simulation. Enter the text &#8220;Seats&#8221; for the message, and select the <b>Allow Changing the Value<\/b> checkbox, as shown next.<\/p>\n<\/div><div id=\"dt_image37\" class=\"dt_image\"><div class=\"image-align-center\"><img decoding=\"async\"  class=\"img-responsive style-default\" src=\"http:\/\/www.safetyangel.com\/recdev\/wp-content\/uploads\/2016\/11\/63.png\" alt=\"\"\/><\/div><\/div><div id=\"dt_text38177726836287\" class=\"dt_text\">\n<p><b>Step 2<\/b>: Use a standard block to pass the number of available seats (obtained from the UI block) into cell B2 of the MyRestaurantTable analysis workbook. Here, the block uses the RENO internal function called &#8220;workbook_setvalue,&#8221; which has the following syntax:<\/p>\n<p align=\"center\">workbook_setvalue(workbook_name, sheet_name, column_number, row_number, value)<\/p>\n<p>In this case, the value passed to cell B2 is the output value from the previous block (represented by the RENO internal function called &#8220;in&#8221;).<\/p>\n<p><b>Step 3<\/b>: Use a standard block to pass the number of usable seats into cell B3 of the analysis workbook. This value is calculated by multiplying the value from the previous block (represented by &#8220;in&#8221;) by a random value, as described next:<\/p>\n<p align=\"center\">int(in*(1\/rv_weibull(rand,1,3,1)))<\/p>\n<p>The random value is obtained from the RENO internal function called &#8220;rv_weibull.&#8221; This function returns the inverse of the Weibull cumulative distribution with the specified parameters for the specified probability. In this case, we want the function to return a random value. To do this, we use the predefined function called &#8220;rand&#8221; as the function&#8217;s probability value, and then we enter the following values for the parameters of the Weibull distribution: 1 (beta), 3 (eta) and 1 (gamma).<\/p>\n<p>The resulting value for the number of usable seats is then rounded down to the nearest integer by the RENO math function called &#8220;int.&#8221;<\/p>\n<p><b>Step 4<\/b>: Use a subchart to pass the seat-turnover rates for breakfast, lunch and dinner to the analysis workbook, as shown next.<\/p>\n<\/div><\/div><div id=\"dt_column_39\" class=\"dt_column col-sm-5\"><div id=\"dt_image40\" class=\"dt_image\"><div class=\"image-align-center\"><img decoding=\"async\"  class=\"img-responsive style-default\" src=\"http:\/\/www.safetyangel.com\/recdev\/wp-content\/uploads\/2016\/11\/renoexf3_4.png\" alt=\"\"\/><\/div><\/div><div id=\"dt_text41177726836223\" class=\"dt_text\">\n<p>Each block sets the relevant value to a random probability value based on a normal distribution.<\/p>\n<p><b>Step 5<\/b>: Use a subchart to pass the check amounts for food and for beverages at breakfast, lunch and dinner to the analysis workbook, as shown next.<\/p>\n<\/div><div id=\"dt_image42\" class=\"dt_image\"><div class=\"image-align-center\"><img decoding=\"async\"  class=\"img-responsive style-default\" src=\"http:\/\/www.safetyangel.com\/recdev\/wp-content\/uploads\/2016\/11\/65.png\" alt=\"\"\/><\/div><\/div><div id=\"dt_text43177726836264\" class=\"dt_text\">\n<p>Each block sets the relevant value to a random probability value based on a Weibull distribution.<\/p>\n<p><b>Step 6<\/b>: Use a standard block to calculate the annual revenue. To do this, first get the calculated daily revenue from cell B44 of the analysis workbook. Here, the block uses the RENO internal function called &#8220;workbook_getvalue&#8221; to get the value from the workbook. The function has the following syntax:<\/p>\n<p align=\"center\">workbook_getvalue(workbook_name, sheet_name, column_number, row_number)<\/p>\n<p>The value obtained from the workbook is then multiplied by 360, which is the number of days chef Toni will have the business running in the next year. The result is the annual income for the restaurant.<\/p>\n<p><b>Step 7<\/b>: Use a result storage block to calculate the average annual income across all simulations.<\/p>\n<\/div><div id=\"dt_text44177726836282\" class=\"dt_text\">\n<h3><span style=\"color: #0093d5;\">Simulation<\/span><\/h3>\n<p>Run 10 simulations with a seed of 1 for repeatability. When the UI block prompts you for the number of seats, enter <b>200<\/b> and then select the <b>Do not show again for this block during current analysis<\/b> check box to use the same number of seats in each simulation run.<\/p>\n<p>The result shows that chef Toni&#8217;s average annual income, before interest and depreciation, is expected to be approximately $380,169.<\/p>\n<\/div><\/div><div id=\"dt_column_45\" class=\"dt_column col-sm-1\"><\/div><\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"fullwidth.php","meta":{"footnotes":""},"class_list":["post-16585","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/www.safetyangel.com\/recdev\/wp-json\/wp\/v2\/pages\/16585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.safetyangel.com\/recdev\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.safetyangel.com\/recdev\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.safetyangel.com\/recdev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.safetyangel.com\/recdev\/wp-json\/wp\/v2\/comments?post=16585"}],"version-history":[{"count":6,"href":"http:\/\/www.safetyangel.com\/recdev\/wp-json\/wp\/v2\/pages\/16585\/revisions"}],"predecessor-version":[{"id":16596,"href":"http:\/\/www.safetyangel.com\/recdev\/wp-json\/wp\/v2\/pages\/16585\/revisions\/16596"}],"wp:attachment":[{"href":"http:\/\/www.safetyangel.com\/recdev\/wp-json\/wp\/v2\/media?parent=16585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}