I've created a JaamSim simulation that's similar to the example in the User Manual. I've run my simulation and while looking at the .rep file (the report that's generated from the simulation), I do not see a value that would be related to the Average Time an entity was in the System.
Is there a way to collect specific statistics that may not be on the standard report that will provide me with the "average time in system" but not change the simulation? Like an "observation-only" type object?
Further, if it's possible to edit the standard report to include the calculation for this (Time in System = Time in Queue + Expected time being served)?
I'm trying to use JaamSim in place of Simio for a class I'm taking and I'm pretty sure this can be done with some work - I'm happy to learn more.
Best,
-J
Hi Harry,
Thank you so much. The Statistics object worked perfectly. The 'this.obj.StateTimes("None")' was the part I was missing.
I have had great success with the custom report via RunOutputList and importing the data into R for analysis. My primary concern going forward would be the need to build a custom report for a complex simulation using this keyword method.
I downloaded eclipse, followed the instructions to get JaamSim to run from within it. I had planned on messing with how the .rep is generated to make a more long-term reporting solution - has anyone been able to do that successfully? Basically, I'm trying to set it up such that I get a specific set of Little's Law type results as standard output.
Hi - I have number of EntityContainers that are moving around a circuit (and never disposed) with SimEntities being added to and removed from the containers and sent to an EntitySink. At each leg of the circuit, I have assigned the appropriate state to the containers.
I have added the Statistics object as described in this thread and get the data as expected for each StateTime, but the data does not appear in the report file.
From your description, I think StateTimes are persisted when the entity is destroyed (which I'm not doing with my containers).
Is there a way to get this data in the report without sending the containers to a sink?
I have added the Statistics object as described in this thread and get the data as expected for each StateTime, but the data does not appear in the report file.
From your description, I think StateTimes are persisted when the entity is destroyed (which I'm not doing with my containers).
Use case:
To retrieve time spent by an Entity between 2 permanent Objects in a table and run analysis independent of JaamSim reports.
Please let me know I can do so in any capacity - Thank you for your assistance :)