Search found 9 matches

by Jeroen
Monday 06 July, 2015 - 10:06
Forum: Modeling in Pedestrian Dynamics
Topic: Importing a DWG file to PD
Replies: 4
Views: 5145

Re: Importing a DWG file to PD

Can you please give the exact error message you're getting? The only offscreen error message I am aware off that can occur has to do with the loading an image on the videocard memory. Usually updating your video card drivers to the latest version (via the site of the manuafacturer) solves all video ...
by Jeroen
Tuesday 04 June, 2013 - 11:27
Forum: Enterprise Dynamics 4DScript
Topic: Performance Questions
Replies: 2
Views: 3547

Re: Performance Questions

Unfortunately the answer to your question is no jut a simple yes or no. att(1, c) is faster than att([attName], c). The former is found directly by a index. The latter compares all attributes by name until the correct one if found (note the for normal ED atoms this is faster than a hash map). Though...
by Jeroen
Monday 03 September, 2012 - 14:00
Forum: Enterprise Dynamics 4DScript
Topic: Weibull Distribution
Replies: 5
Views: 7802

Re: Weibull Distribution

All ED 4DScript funtions contain a mean. So yes, you'll have to convert the scale parameters. All Delphi source code is given in the help file. E.g: - Gamma:To convert Gamma(alpha, beta) to Gamma(mean, alpha) you have to find the formula for the average in a statistics book, wikipedia the documentat...
by Jeroen
Monday 13 August, 2012 - 13:06
Forum: Enterprise Dynamics 4DScript
Topic: Weibull Distribution
Replies: 5
Views: 7802

Re: Weibull Distribution

The internal (delphi) code of the Weibull distrubution is shown in the Help file. function Weibull(Mean, Alpha: Double; Generator: Integer): Double; var Beta: Double; begin Beta := (Mean * Alpha) / GammaFunc(1 / Alpha); Result := Beta * Macht(-Ln(Ran(Generator)) , 1 / Alpha); end; Here Alpha is the ...
by Jeroen
Thursday 16 June, 2011 - 18:28
Forum: Modeling in Enterprise Dynamics
Topic: Production line with long products
Replies: 4
Views: 5440

Re: Production line with long products

No problem, luckily not all solutions are hard ;) . To model working on product which is on a conveyor you can use the sensors of the advanced conveyors. You can position one at any location on the conveyor, where ever you want to stop the product. You then have to activate a trigger and write code ...
by Jeroen
Tuesday 14 June, 2011 - 18:50
Forum: Modeling in Enterprise Dynamics
Topic: Production line with long products
Replies: 4
Views: 5440

Re: Production line with long products

Hi, If you use the advanced conveyors a product overlapping several conveyors is handled automatically. Each conveyor will allow a next product when the end of the previous product is passed the beginning of this conveyor. If required it is also possible to set a desired gap between products which c...
by Jeroen
Friday 06 May, 2011 - 12:33
Forum: Enterprise Dynamics FAQ
Topic: Debugger
Replies: 1
Views: 17226

Re: Debugger

In Enterprise Dynamics it is possible to jump directly in the debugger after an access violation message pops up. Most of the time access violations occur because an invalid atom reference is used (e.g. the referred atom is already destroyed or no parameter is passed at all). In order to quickly fin...
by Jeroen
Friday 06 May, 2011 - 12:03
Forum: Modeling in Enterprise Dynamics
Topic: Repetitive mode doesn't work
Replies: 0
Views: 43013

Repetitive mode doesn't work

The repetitive option allows you to use repetitive simulation runs. This is very useful when debugging models, because all randomness is created in exactly the same manner. The repetitive mode can be turned on by selecting the checkbox in the run control. The repetitive mode ensures that the same se...
by Jeroen
Friday 06 May, 2011 - 11:26
Forum: Enterprise Dynamics 4DScript
Topic: Applying a QuickSort algorithm to a table of an atom
Replies: 1
Views: 3737

Re: Applying a QuickSort algorithm to a table of an atom

Note that the internal ED command SortTable() also uses quicksort when the 4th parameter (every value is treated as a number) is set to True. For more information see the ED help file.