Use the same approach in the link, but set the service time using an
attribute. For all entities being preloaded into the server, set the
service time attribute to a percentage of the expected service time. For
all entities generated after the start of the simulation, set the service
time attribute to the expected duration.
Hope this helps.
"Ketan " <krayan@hotmail.com> wrote in message
news:kg50jl$hrb$1@newscl01ah.mathworks.com...
> Thanks, but is there a way to pre-load entities into servers such that
> they have already finished a certain percentage of the processing at the
> start of the simulation?
>
>
> "Ryan G" wrote in message <kg3d95$u0$1@newscl01ah.mathworks.com>...
>> "Ketan" wrote in message <kg39qq$it3$1@newscl01ah.mathworks.com>...
>> > Hi,
>> >
>> > I am working to develop a manufacturing simulation in Simevents. In the
>> > simulation, I have a series of queues and servers that are connected to
>> > each other. The entities get processed in the servers one by one and
>> > exit the system. I want to place entites with certain attributes in
>> > each of the queues and servers at the beginning of the simulation. Is
>> > there an easy way to do this?
>> >
>> > Currently, I am only able to have empty queues and empty servers in the
>> > beginning and use an entity generator to create entities and pass
>> > them through the system. Are entity generators the only way to generate
>> > entities within the system? or is it possible to create entities with
>> > certain attributes inside blocks such as the server block at the
>> > beginning of the simulation?
>> >
>> > Thanks
>> > Krayan
>>
>> You can try this demo:
>>
>> http://www.mathworks.com/help/simevents/examples/preloading-queues-with-entities.html
>
attribute. For all entities being preloaded into the server, set the
service time attribute to a percentage of the expected service time. For
all entities generated after the start of the simulation, set the service
time attribute to the expected duration.
Hope this helps.
"Ketan " <krayan@hotmail.com> wrote in message
news:kg50jl$hrb$1@newscl01ah.mathworks.com...
> Thanks, but is there a way to pre-load entities into servers such that
> they have already finished a certain percentage of the processing at the
> start of the simulation?
>
>
> "Ryan G" wrote in message <kg3d95$u0$1@newscl01ah.mathworks.com>...
>> "Ketan" wrote in message <kg39qq$it3$1@newscl01ah.mathworks.com>...
>> > Hi,
>> >
>> > I am working to develop a manufacturing simulation in Simevents. In the
>> > simulation, I have a series of queues and servers that are connected to
>> > each other. The entities get processed in the servers one by one and
>> > exit the system. I want to place entites with certain attributes in
>> > each of the queues and servers at the beginning of the simulation. Is
>> > there an easy way to do this?
>> >
>> > Currently, I am only able to have empty queues and empty servers in the
>> > beginning and use an entity generator to create entities and pass
>> > them through the system. Are entity generators the only way to generate
>> > entities within the system? or is it possible to create entities with
>> > certain attributes inside blocks such as the server block at the
>> > beginning of the simulation?
>> >
>> > Thanks
>> > Krayan
>>
>> You can try this demo:
>>
>> http://www.mathworks.com/help/simevents/examples/preloading-queues-with-entities.html
>