Jump to content

Recommended Posts

Posted

Hi

I am trying to create objects by create step and it is always creating one more than it is assigned.When I check the number of objects in the system it always shows 1 additional object.

I.e if I want 5 objects, create step creates 6 objects.

Any suggestion?


Regards


Sazzad

Posted

Do you have a version of your model that you could post? This is hard to troubleshoot without seeing what is happening.


Have you looked at the trace window for the create step? That might tell you what is going on.


-Adam

Posted

Hi,


It might be that you are creating vehicle objects and the initial population is set to 1, so it automatically creates 1 at the start of the run.


Regards,

Willem

Posted

Go to the entity instance placed in the model and check the Population -> Initial Number In System property. Sounds like that property probably has a value of '1'. So that 1 entity is being initially created and then your Create step is creating 5 more.

×
×
  • Create New...