Search found 362 matches

by HarryBunnik
Monday 19 January, 2015 - 10:56
Forum: Enterprise Dynamics 4DScript
Topic: Entrance time in resouce
Replies: 8
Views: 7122

Re: Entrance time in resouce

Hello Remix, So if I understand correctly, you want to have one product in the total production line and only once the product is in the sink, allow a new product to enter the production line? Because in that case you could use the "Lock" and "Unlock" from the "Flow Control&...
by HarryBunnik
Thursday 15 January, 2015 - 10:02
Forum: Modeling in Enterprise Dynamics
Topic: Modelling a Construction Process
Replies: 3
Views: 3797

Re: Modelling a Construction Process

Ha Dawr, You can control to which sink something goes using the SendTo statement. Here you can check how many objects have already entered a sink (see the code below). This tells you if you already have produced enough of a certain construction part: Case( WhichIsTrue( Input(out(1, c)) < 1, {Sink 1,...
by HarryBunnik
Wednesday 14 January, 2015 - 10:49
Forum: Modeling in Enterprise Dynamics
Topic: Modeling a system with two arrival lists for a server
Replies: 4
Views: 4527

Re: Modeling a system with two arrival lists for a server

Strange, but ok. Out of interest, what is not working with it? To me it sounds as if you should use just one queue, one source and the server. Then you can control all from that single queue. At the moment I have the impression from your explanation that it is all one product and since you're trying...
by HarryBunnik
Wednesday 14 January, 2015 - 09:50
Forum: Modeling in Enterprise Dynamics
Topic: Modeling a system with two arrival lists for a server
Replies: 4
Views: 4527

Re: Modeling a system with two arrival lists for a server

Ha Martiny, It is possible to build some controls to make it do what you want, but I was wondering if, when you use a normal source (instead of the arrival list) and a reservoir (instead of a queue), your problem wouldn't be solved? A reservoir has a lot of the things you require already build in (u...
by HarryBunnik
Monday 12 January, 2015 - 10:37
Forum: Enterprise Dynamics Atoms
Topic: Battery Charging Station
Replies: 1
Views: 3031

Re: Battery Charging Station

Ha Eric, That is a tricky one. When you've made the connections (I presume you use the "Node manipulator"), I think you selected the upper left corner of the "battery charging station". With most atoms this works well, however the "battery charging station" contains sev...
by HarryBunnik
Monday 12 January, 2015 - 09:48
Forum: Enterprise Dynamics Atoms
Topic: Assembler Atom
Replies: 9
Views: 7679

Re: Assembler Atom

Ha janosch, Nice that all is working out! What I would do is at first change the icons of the crate and the 2 drinks. Also I would place on the OnExit trigger of the source a label, for instance Label([DrinkType], i) := 1 on the source for Beer and Label([DrinkType], i) := 2 on the source for Soda. ...
by HarryBunnik
Friday 09 January, 2015 - 10:04
Forum: Modeling in Enterprise Dynamics
Topic: Modeling a system with multiple products
Replies: 6
Views: 6473

Re: Modeling a system with multiple products

Hello, The fact that is goes wrong (except for the first product, and only when it comes from the third source) is a result of the construction of your SendTo statement on the Queue. The SendTo channel is chosen based on the result of the code. So even when the first if statement you've written retu...
by HarryBunnik
Friday 09 January, 2015 - 09:39
Forum: Enterprise Dynamics 4DScript
Topic: Excel macro in ED
Replies: 3
Views: 4341

Re: Excel macro in ED

Ha Chiara, Yes, that are users ;) Once you've started Excel and opened your file, you can run your macro using the following code: Do( var([excelOLE], vbOle), var([strExcelPath], vbString), var([valParameter1], vbValue, 0), {Parameter 1 that is need in the Excel macro} var([strParameter2], vbString,...
by HarryBunnik
Thursday 08 January, 2015 - 18:02
Forum: Enterprise Dynamics Atoms
Topic: Assembler Atom
Replies: 9
Views: 7679

Re: Assembler Atom

Good that it helped you! Yes, that is possible to do. You can check the example model for the operators (ED9 : "...\Documents\Enterprise Dynamics 9\models\Examples\...\Operators\..." or ED 8 : "C:\Program Files (x86)\Enterprise Dynamics 8 Developer\Work\Examples\...\Operators\..."...
by HarryBunnik
Thursday 08 January, 2015 - 17:17
Forum: Enterprise Dynamics Atoms
Topic: Assembler Atom
Replies: 9
Views: 7679

Re: Assembler Atom

Ok, there are Availability controls and Time Schedules in. That makes a difference for the approach. Your problems lies in the fact that a bottle enters the Assembler and at that point it needs to know with what it will be filled (which column in the B.O.M. to use). But in your case, that is not kno...