Compatibility from version 2020-12 to 2022-6

40 views
Skip to first unread message

Trilo Byt

unread,
Sep 28, 2022, 3:36:25 AM9/28/22
to Jaamsim Users Discussion Group
Hi Jaamsim Team,

I created a cfg file in version 2020-12 but when I tried opening it in version 2022-6, a lot of errors came up. 

1. I noticed that 2022-6 no longer accept units unless it is enclosed in [ ] with no spaces between the number and the unit. This was not an issue in 2020-12. 

2. EntityGenerators no longer accept a number less than 1 in EntitiesPerArrival. I placed a  ProbabilityDistribution as an entry to this variable because i wanted to simulate production variations which in some cases have 0 value because it actually happens in reality. Is there any work around for this, other than forcing a value of 1 if the ProbabilityDistribution returns a number less than 1?

3. I also noticed that some variables I placed in CustomOutputLists (in version 2020-12) gets deleted (in version 2022-6) or set to 0 instead of the original formula, which means I have to retype the formulas all over again.


For now I am sticking with version 2020-12 because of the above issues. I hope lower versions have better compatibility to future versions.

Nonetheless, thank you for such a versatile and very powerful application. More power to you all!

Trilo

Harry King

unread,
Sep 28, 2022, 7:40:44 PM9/28/22
to Jaamsim Users Discussion Group
Trilo,

The AttributeDefinitionList keyword is the main thing that is causing trouble for you. Previously, you could enter an attribute definition in two ways, e.g. { x 1 m } or { x 1[m] }. Now, only the second version is acceptable. The problem with CustomOutputList inputs is caused by their use of attributes whose definition failed. These will be fixed automatically if you correct the AttributeDefinitionList inputs by editing your .cfg file.  Use Notepad++ for your edits.

The problem with EntityGenerator is more difficult. The restriction for the NumberOfEntities to be greater than or equal to 1 was always in place, but until recently it was not checked when the input is an expression. We will relax the restriction to be greater than or equal to zero in the next release. I can't think of a good workaround for you in the meantime.

Harry

Trilo Byt

unread,
Oct 9, 2022, 8:13:06 PM10/9/22
to Jaamsim Users Discussion Group
Many thanks Harry. I am looking forward to your future releases. Kudos to you and the whole Jaamsim team.

Trilo Byt

unread,
Oct 9, 2022, 8:53:42 PM10/9/22
to Jaamsim Users Discussion Group
One more request, if possible...

My model is simulating a transport system and I used EntityContainers to simulate a Haul Truck. However, unlike Conveyors, EntityContainers do not have options for Maintenance and Thresholds. So my work around was to assign variables to the Entity Container and used a ProbabilityDistribution to simulate breakdowns and use SimTime for PMS. Am I doing it correctly? 

Is it possible to include Maintenance and Threshold for EntityContainers in future releases?

Harry King

unread,
Nov 27, 2022, 6:54:39 PM11/27/22
to Jaamsim Users Discussion Group
Trilo,

Release 2022-07 allows the NumberOfEntities input for EntityGenerator to be set to zero. You should be able to run your model successfully with this version.

Harry

Reply all
Reply to author
Forward
0 new messages