Queue modelling

All topics specific to modeling questions in Enterprise Dynamics
MarvinH
Posts: 93
Joined: Tuesday 25 January, 2011 - 11:07
Contact:

Re: Queue modelling

Post by MarvinH »

Hello!
EvEs0r wrote:Works like a charm again!
Good the read that the model works with respect to the queues.
EvEs0r wrote:So it seems that the functions in the function editor atom aren't initialized properly.
What can cause this?
Regarding the functions not initialized properly, this is most likely because of variables used within the functions that are not declared yet at the moment of registering the function. What you need to know is that the atoms are loaded into the model in the order they are within the model tree. So in case you declare variables, make sure that these are declared before they are used within an attribute or function.

When there are registration errors, there will be errors when the model is opened. Because of the changes I made (moving the initialization atom and global variable declarations), the model opened without errors. Now you should determine why the histograms do not work anymore. In case you need any help with this, please post your updated model so we can have a look together.

Good luck!

Kind regards,

Marvin
Post Reply