Search found 362 matches

by HarryBunnik
Friday 31 July, 2015 - 16:58
Forum: Enterprise Dynamics 4DScript
Topic: Regular transporter 'Send to' code
Replies: 7
Views: 6149

Re: Regular transporter 'Send to' code

Ha Eveline, I think that you also will have to check what is in the server and how many more products are waiting in there, to be placed into the reservoir. That way you might be able to avoid waiting at a busy server that will stay busy for quite a bit longer. So instead of only checking on the con...
by HarryBunnik
Friday 31 July, 2015 - 16:04
Forum: Modeling in Enterprise Dynamics
Topic: Modelling a multi variant pull system?
Replies: 21
Views: 15682

Re: Modelling a multi variant pull system?

Ha Dominik, I run into a few points. First of all you use some global atom references, before you've actually created them. This causes a lot of error messages (327) when I open the model. It would be better to declare the references already on the first atom of your model on the OnInit (Table_Part_...
by HarryBunnik
Thursday 30 July, 2015 - 17:39
Forum: Enterprise Dynamics 4DScript
Topic: Regular transporter 'Send to' code
Replies: 7
Views: 6149

Re: Regular transporter 'Send to' code

Hello Eveline, I had a look at your problem and indeed, the main thing you have to do is to check on the content of the reservoir (max allowed value is stored in an attribute of the reservoir names [Max.]. So to check on this, I've written the following code for the SendTo statement of the transport...
by HarryBunnik
Thursday 30 July, 2015 - 16:58
Forum: Enterprise Dynamics 4DScript
Topic: Produce two different products with assembler
Replies: 2
Views: 3768

Re: Produce two different products with assembler

Ha Eveline, I see you use OpenIC and CloseIC. Although these can be used for such purposes, these or mostly used for internal (withing an Atom itself) controlling of the behavior of the atom. This means that if you use these options to control the flows between atoms, it most likely won't work the w...
by HarryBunnik
Thursday 30 July, 2015 - 09:48
Forum: Enterprise Dynamics Atoms
Topic: Age of Product
Replies: 1
Views: 3416

Re: Age of Product

Ha EikeB, No, you can't set the Age of an atom to 0. I would suggest you use a label, which you set on the product itself, to keep track of the age of your product. So something like Label([AgeOfProduct], i) := time on the OnExit of the queue and use that same label on the OnEntry of your Sink (or a...
by HarryBunnik
Wednesday 29 July, 2015 - 18:42
Forum: Enterprise Dynamics 4DScript
Topic: Regular transporter 'Send to' code
Replies: 7
Views: 6149

Re: Regular transporter 'Send to' code

Ha Eveline,

Can you give me a basic model in which it occurs? Then I can think of some code to work around this.

Cheers,

Harry
by HarryBunnik
Wednesday 29 July, 2015 - 18:39
Forum: Enterprise Dynamics Atoms
Topic: Block action by "If", "Then"?
Replies: 5
Views: 5211

Re: Block action by "If", "Then"?

Ha Eveline, What you can write is on the OnExit trigger of the Assember some code to close the output of the Reservoirs. Repeat( NrIc(c), CloseOutput(In(count, c)) ) When you then write the opposite code (with some limitations regarding content of the queue and so on) on the OnEntry of the Queue, yo...
by HarryBunnik
Tuesday 28 July, 2015 - 17:14
Forum: Enterprise Dynamics Atoms
Topic: Block action by "If", "Then"?
Replies: 5
Views: 5211

Re: Block action by "If", "Then"?

Ha Eveline,

Is it possible for you to share your model? That way I can refer to the same names as you are using. I think that will prevent some misunderstandings ;-) And it will also make it easier to show you what I mean :-)

Regards,

Harry
by HarryBunnik
Tuesday 28 July, 2015 - 15:22
Forum: Enterprise Dynamics Atoms
Topic: Block action by "If", "Then"?
Replies: 5
Views: 5211

Re: Block action by "If", "Then"?

Ha Eveline, There are a few ways to do this. You can use an extra connection and link the queue (exit channel 2)to the end point (information channel) of your production process and refer to it that way {out(2, c)}. Then you can make a similar link the other way around. Another (nicer) option is to ...
by HarryBunnik
Tuesday 28 July, 2015 - 10:50
Forum: Modeling in Enterprise Dynamics
Topic: 3D animation in Enterprise Dynamics
Replies: 5
Views: 9824

Re: 3D animation in Enterprise Dynamics

With the introduction of ED 9, new functionality became available for those that don't want to create complicated 3D animations, but do want to simply replace an existing 3D model of, for instance a server or product, with their own machines or products. To give this functionality a bit more fame, I...