Search found 8 matches

by matt_aylward
Thu Aug 15, 2019 10:39 am
Forum: Programming
Topic: Using matrices to implement a search algorithm in ExtendSim
Replies: 5
Views: 211

Re: Using matrices to implement a search algorithm in ExtendSim

Dave, and anyone else on the forum, 1. We're still working on determining if the SPC (small patch of concrete) exists when a crater appears in the larger runway. 2. Two other analysts at work came up with some Python pseudo-code for determining if a SPC exists. 3. Which leads to questions about how ...
by matt_aylward
Wed Jul 31, 2019 12:51 pm
Forum: Programming
Topic: Using matrices to implement a search algorithm in ExtendSim
Replies: 5
Views: 211

Re: Using matrices to implement a search algorithm in ExtendSim

Dave, 1. Thank you for the very helpful reply. I had only given the algorithm a cursory check, and did not realize that returning the largest rectangle might not answer my information requirement. Probably I was grasping at straws. 2. After posting my original question, and following a few more slee...
by matt_aylward
Tue Jul 23, 2019 12:54 pm
Forum: Programming
Topic: Using matrices to implement a search algorithm in ExtendSim
Replies: 5
Views: 211

Using matrices to implement a search algorithm in ExtendSim

1. I have a search problem that can be handled with matrices and dynamic programming, but am unsure how I to implement it in ExtendSim. 2. Here's the problem: a. I'm simulating a large airfield (say, 300 feet wide and 10,000 feet long) b. Periodically, holes of varying size appear in my airfield at ...
by matt_aylward
Thu Jul 11, 2019 7:06 am
Forum: Database
Topic: Named distributions in a random cell are not saved
Replies: 1
Views: 153

Named distributions in a random cell are not saved

1. I'm using ExtendSim 10.0.4 Pro with an individual license, running on a stand-alone workstation with Windows 10 Enterprise as the operating system. 2. The discrete event simulation models the time required to deliver equipment by ship. 3. One of the database tables has information about the small...
by matt_aylward
Fri May 03, 2019 7:46 am
Forum: Programming
Topic: Cheat sheet for ModL in Equation(I) blocks
Replies: 2
Views: 318

Re: Cheat sheet for ModL in Equation(I) blocks

Robin,

1. Thanks for the cheat sheet; very helpful.

2. Also, the set of models you and Dave developed for the DESS textbook are full of excellent, elegant examples of ways to minimize model complexity while speeding execution.
by matt_aylward
Wed Apr 24, 2019 6:34 am
Forum: Programming
Topic: Cheat sheet for ModL in Equation(I) blocks
Replies: 2
Views: 318

Cheat sheet for ModL in Equation(I) blocks

1. I'm not a good code writer, but am always looking at ways to improve the efficiency of my models through the use of equation-based blocks. 2. To get the 'outputs=inputs' to work correctly takes many false starts (am forever climbing the learning curve). And I've never found a thorough treatment o...
by matt_aylward
Wed Apr 24, 2019 6:28 am
Forum: General Discussion
Topic: Counting Items in a Specific Range
Replies: 2
Views: 303

Re: Counting Items in a Specific Range

Alex, 1. There are several ways to do this, and they don't involve a database. 2. You could use a Set Block to assign a value to an attribute that indicates what shift produced the item. Where you put the Set Block will depend on the business rules for the system (e.g., if the first shift starts wor...
by matt_aylward
Tue Apr 02, 2019 1:47 pm
Forum: General Discussion
Topic: Displaying the PDF and CDF from a model
Replies: 2
Views: 637

Displaying the PDF and CDF from a model

InfluenceDiagram_NTV-Fleet.JPG 1. I'd like to model an organizations annual medical expenses (AME), and then display the PDF and CDF for the result. 2. The number of accidents per month (APM) is ~Poisson(5), and the number of injuries per accident (IPA) is contained in an empirical table (e.g., p(x...