Reputation: 91
OK... let me retry the question.
I'll just walk through the steps I (wrongly) assumed would work.
(id, flight_time, type, class, qty...)
, note that the table is sorted by id... not flight_time.Start Column
as flight_time
and Value column
as qty
(for this job I'm only sending one passenger at a time therefore qty = 1
for each row).pedSource
to arrive according to schedule and to use the Passenger Agent
as the New pedestrian
.new Passengers
do not have any parameters associated from the data table. The pedestrian id is some weird number (say 3000 or so). I can click on the Passengers icon during run time and scroll through the created agents (all of the parameter data is there and correctly assigned), but I'm not sure how to associate the new Agents in the run-time model with the population of Passengers agents.ped.exitTime = time() - ped.flightTime - ped.bufferTime
.I'm just not understanding why the table data is not available for use during run-time through ped? Is there another mapping step that must be performed to push the data to the ped agnets?
I'm at an impasse at this point. I hope this question is described more clearly and your feedback is appreciated.
Upvotes: 0
Views: 461
Reputation: 12795
Several things are wrong here.
Quick guide to help:
myPedSource.inject(1)
and then manually fill that ped with the data from the argumentsThis is not straightforward, especially the DynEvent stuff. So do more research in the AL help to understand these and how they work, check example models...
Upvotes: 0