Hello! Thank you so much for this software!
I have run into an issue that I think may easily be solved (and maybe I simply have not found how).
(tl;dr of the gray part below)
On a first level, I would like to have somewhere within the .config file only one Entity that holds a list of entities, e.g. {[Entity1], [Entity2], [Entity3]}, so that in other Entities, I can call to this one just like I would call an ExpressionEntity's value, and do something like
ListOfThroughputs = map( |x|(x.NumberAdded) , EntityList)
Instead, the best workaround I've found is to use a FileToVector object, where I would have a EntityList.txt file in the same folder containing '{[Entity1], [Entity2], [Entity3]}', call it with the FileToVector object, and then use its Value, so that looks like:
ListOfThroughputs = map( |x|(x.NumberAdded) , FileToVector1.Value(1))
It works quite well, but then I need to manually change the EntityList.txt whenever a change needs to be made, and afaik, there's no way to have it update in real time.
Therefore, I haven't found a way to compute an EntityList within the simulation and use it in other Entities.
An example of what I would like to do would be to, for instance, make it so my list EntityList only contains the Entities whose NumberAdded is below 100.So, in short, I would like to have an Entity similar to an ExpressionEntity, where the Expression could hold something like:
entities =
{[Entity1], [Entity2], [Entity3]} ;
filter( |x|(x.NumberAdded < 100) , entities)
And therefore its .Value would hold the list of Entities within "entities" whose NumberAdded is below 100.
Or any other lambda function.
Have I missed something that would work?
Many thanks in advance!