{"id":1355,"date":"2017-01-24T23:33:05","date_gmt":"2017-01-25T04:33:05","guid":{"rendered":"http:\/\/rpchurchill.com\/?p=1355"},"modified":"2017-02-03T12:50:15","modified_gmt":"2017-02-03T17:50:15","slug":"a-simple-discrete-event-simulation-part-76","status":"publish","type":"post","link":"https:\/\/rpchurchill.com\/wordpress\/posts\/2017\/01\/24\/a-simple-discrete-event-simulation-part-76\/","title":{"rendered":"A Simple Discrete-Event Simulation: Part 76"},"content":{"rendered":"<p><iframe loading=\"lazy\" width=\"426px\" height=\"1015px\" src=\"https:\/\/www.rpchurchill.com\/demo\/des\/discrete-event-sim_20170124.html\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>Today I added a series of Queue and Process components into the pathway traversed by the sub-entities leaving and returning to the Bag component.  I found one change I had to make, which was adding the ability of the ReturnFromSubJourney component to return its parent component&#8217;s <code>componentGroup<\/code> value.  This was necessary so entities could test to see whether they were leaving the component groups represented by the two new Queue-Process pairs.<\/p>\n<p>I changed the routing to divert more entities over to the Bag component to exercise the added components.  I then found that the number of entities in the system exceeded the maximum number of 3D entity objects I&#8217;d allocated (which halted the simulation), so I changed the maximum from 35 to 50.<\/p>\n<p>Everything else worked perfectly, including the reporting.  It added report sections for &#8220;Ped Primary&#8221; and &#8220;Ped Secondary&#8221; (short for Pedestrian Primary and Secondary, or Queue and Process 20 and Queue and Process 21, respectively).  I was originally wondering if it would create new sections of reports for the spawned entities but the way I had it set up they retained the Process Speed and Residency properties of their parent entities and the Queue and Process components were set to use those properties.<\/p>\n<p>It suddenly occurred to me how to make a combined Queue-Process component, and also a process component with multiple, parallel processing positions.  Both of these ideas had been on my To Do list for a while, so that&#8217;s what I&#8217;ll work on tomorrow.  Such a component will greatly compress and simplify the specification and layout of a simulation system.<\/p>\n<p>Last but not least I seriously reworked the basic HTML and CSS configuration.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I added a series of Queue and Process components into the pathway traversed by the sub-entities leaving and returning to the Bag component. I found one change I had to make, which was adding the ability of the ReturnFromSubJourney &hellip; <a href=\"https:\/\/rpchurchill.com\/wordpress\/posts\/2017\/01\/24\/a-simple-discrete-event-simulation-part-76\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[60],"tags":[121],"_links":{"self":[{"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/posts\/1355"}],"collection":[{"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1355"}],"version-history":[{"count":4,"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/posts\/1355\/revisions"}],"predecessor-version":[{"id":1392,"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/posts\/1355\/revisions\/1392"}],"wp:attachment":[{"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}