Andrew,
If I understand you, each row should correspond to an agent. Adding load should just make an extra column, not add extra rows. You do specify different agent types for each data set, right?
On May 20, 2011, at 7:13 AM, Andrew Harper wrote:
> Hello,
>
> I have created a Repast Simphony flow model. In the ModelInitializer.agent
> two instances of Port.agent are created, and three of Ship.agent. The
> Port.agent has properties name, capacity and load. The Ship.agent has
> properties capacity and load.
>
> When I create a data set for using Agent Class=Port containing name and
> capacity (i.e. *without* load) and a data set using Agent Class=Ship containing load,
> and then create a file outputter for each of these data sets, then there are two
> rows per tick in the port file and three rows per tick in the ship file. This is
> what I was expecting.
>
> However, if I add load to the port dataset, then in the ship file I see two extra
> rows per tick, which presumably have come from the port agents. I was not
> expecting this!
>
> Have I misunderstood how the data sets and file outputters work? I saw in the
> list archives the following correspondence from 2009:
>
> http://sourceforge.net/mailarchive/message.php?msg_id=22654287
>
> Many Thanks for any help you can provide.
>
> Regards,
> Andy
>
> Andrew Harper
> Quantum Business Intelligence Services AG
> andrew.harper@...
> Tel: +41 (0)76 522 76 31
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Repast-interest mailing list
> Repast-interest@...
> https://lists.sourceforge.net/lists/listinfo/repast-interest
|