Page 3 of 3

Re: Server set up

Posted: Thursday 19 March, 2015 - 17:34
by Bram de Vries
Hello Martin,

There are some closeoutput and openoutput statements in the model I attached (also on the new queues I added), you can remove them if you are going to use this new setup.

Kind regards,

Bram

Re: Server set up

Posted: Sunday 22 March, 2015 - 21:49
by MartinL
Hi Bram,

Thanks for your reply, using extra queue seems to work. As I tested my model with Assembly workplace, which Assembly and Assembly_HR durations are dependable on a label value I got a following error and product got stuck in the Assembly workplace:

Time: 67824 Atom: Assembly 2.1 (ID=209), OnExited>No atom currently selected: First()

Do you know what could be the cause of that error? I also attached a model which I used for testing.

BR.
Martin

Re: Server set up

Posted: Monday 23 March, 2015 - 16:17
by MartinL
Hi again,

No worries, already found the bug.

BR.
Martin

Re: Server set up

Posted: Wednesday 25 March, 2015 - 12:40
by MartinL
Hello Bram,

I tried to implement your Assembly workplace set up to my project model and found one interesting problem.

For some time the model works fine, but when the model is worked about 140h, then I noticed something interesting. Some products which previously have passed the Assembly workplace correctly then suddenly get stuck in the first Queue.The CallHumanResource atom's inputs and outputs are closed and the product will not enter Assembly workplace system.

I haven't found what could be reason for that and maybe you could help me that issue.

Also attached my project model. It also includes some other parts, but if you run it for 140h, then you will notice the problem in Queue nr.101, 100 and 99 for example.

BR.
Martin

Re: Server set up

Posted: Thursday 02 April, 2015 - 17:51
by tobias.reithmann
Hello MartinL,

it appears that there is indeed a bug in the HumanResourcesTeam atom.
You see it in the "Tuulegeneraatorite kokkupanek" server after about 70 Hrs. The CallResources atom is blocked because of the busy Resource at this atom. Then the Resource gets unavailable due to its schedule. During absence the Resource is freed by command, but the CallResource atom does not notice.
Thats why your servers get blocked later on.
We'll get back to you as soon as we find a workaround or a solution to that problem, of course.
Thanks for pointing this one out.

Regards,

Tobias

Re: Server set up

Posted: Wednesday 08 April, 2015 - 11:54
by Bram de Vries
Hello Martin,

Looking at your model, I noticed something which might cause your problem. In the latest example model I sent you in this topic, the Human Resource atom has some code defined on its Task Interrupt and Task resume triggers (visible when you doubleclick on the Human Resource atom). This code is however not defined on the Human Resource atoms in your model. I would suggest that you copy the code for both triggers to all the Human Resource atoms in your model and then test if this solves your problem.

Kind regards,

Bram

Re: Server set up

Posted: Wednesday 08 April, 2015 - 18:11
by MartinL
Hi,

I copied the Task Interrupt and Task Resume triggers to HumanResource atom (atoms Koostaja1...Koostaja4) and tested the model. Didn't found out if it solved the previous problem, but another one occured at 37hr 40min 12s. The HumanResource (Koostaja4) atom got stuck and started bouncing between Queue80 and the previous Server.

It is strange that for some time the model works and then it crashes. Hope you have some ideas what could be wrong?

Also attached the model.

Best Regards,
Martin