Search found 16 matches

by Thore
Tuesday 18 December, 2018 - 20:44
Forum: Modeling in Enterprise Dynamics
Topic: Optimization of the simulation speed
Replies: 11
Views: 6446

Re: Optimization of the simulation speed

Hi Harry
It works as it should. However, it is a bit hard to conclude wheter the speed actually has increased, but maybe a bit. But the write to excel after each simulation run takes severeal minutes.

Nevertheless, thanks for your effort :)
by Thore
Tuesday 18 December, 2018 - 16:37
Forum: Modeling in Enterprise Dynamics
Topic: Optimization of the simulation speed
Replies: 11
Views: 6446

Re: Optimization of the simulation speed

Yes then I see the issue :/

Thanks for your help! it is really appreciated :)
by Thore
Tuesday 18 December, 2018 - 15:16
Forum: Modeling in Enterprise Dynamics
Topic: Optimization of the simulation speed
Replies: 11
Views: 6446

Re: Optimization of the simulation speed

With 7 simualtion runs, of 160 days and warmup of 60 days, it takes around 4 hours.
My computer has 4 cores (can multi thread to 8) of i5-8250 1,6 Ghz. Maybe it is because it is only running on one core?
by Thore
Tuesday 18 December, 2018 - 15:04
Forum: Modeling in Enterprise Dynamics
Topic: Optimization of the simulation speed
Replies: 11
Views: 6446

Re: Optimization of the simulation speed

7 minutes, for my model? :shock:
by Thore
Tuesday 18 December, 2018 - 13:17
Forum: Modeling in Enterprise Dynamics
Topic: Optimization of the simulation speed
Replies: 11
Views: 6446

Re: Optimization of the simulation speed

Hi Harry I've tested running the model without excel writing enabled, and it seems to run 20% faster, which is still a decent improvements. However, as we have touched upon before, in order to implement a solution like this I need some dynamic capabillities for what row (or column) to copy or write ...
by Thore
Saturday 15 December, 2018 - 10:19
Forum: Modeling in Enterprise Dynamics
Topic: Optimization of the simulation speed
Replies: 11
Views: 6446

Optimization of the simulation speed

Hi :) I've developed a simulation model, which works as intended, but it takes long time to simulate. I guess much of the slow performance is due to my inexperience in modeling using ED, but maybe there is a couple of quickfixes that can rapidly decrease the simulation time. Do you have any genereal...
by Thore
Saturday 15 December, 2018 - 08:26
Forum: Modeling in Enterprise Dynamics
Topic: Performance measures for inventory table
Replies: 8
Views: 4435

Re: Performance measures for inventory table

Hi Harry
I've not managed to get this feature to work, so i'll just use the one first one with dynamic columns.
Thank you very much for your help!
BR
Thore
by Thore
Wednesday 12 December, 2018 - 13:35
Forum: Modeling in Enterprise Dynamics
Topic: Performance measures for inventory table
Replies: 8
Views: 4435

Re: Performance measures for inventory table

It behaves a bit strange. By uisng the interact i can see that the StartRowExcel is updated correctly, but it looks like the nrows(refDataRecorder) kinda neglect this. It always starts writing in row 2.

I have attached the code in pictures.
by Thore
Wednesday 12 December, 2018 - 08:55
Forum: Modeling in Enterprise Dynamics
Topic: Performance measures for inventory table
Replies: 8
Views: 4435

Re: Performance measures for inventory table

Hi Harry It works fine, thanks! However i'm a bit curious how to make the row dynamic version of this, so the rows for each simulation run is just placed beneath each other. I have discovered the StartRowExcel and the nRows, but I still dont no how to store the last nRows(RefDataRecorder) from run 1...
by Thore
Tuesday 11 December, 2018 - 17:05
Forum: Modeling in Enterprise Dynamics
Topic: Performance measures for inventory table
Replies: 8
Views: 4435

Re: Performance measures for inventory table

Hi Yeah I sounds very good. However since i'm using the Data Recorder atom to output to excel, how can i then use this 4Dscript? Ideally, i would get each simulation run to be exported right after each other in an Excel table (thus same colums), but that will require knowing the last row where a val...