Pending Maintenance Events With ForcedMaintenanceList

134 views
Skip to first unread message

Jürgen Strohhecker

unread,
Oct 15, 2021, 1:18:36 PM10/15/21
to Jaamsim Users Discussion Group
Dear all,
I have difficulties with the downtime entity object used to model regular maintenance of resource units. In the extended downtime entity example model attached, two machines are modelled as resource units that should be maintained for a duration of 5 s and a interval of 30 s. Everything seems to work fine if the entity delay "produce" duration is set to values smaller than 1 s. Values above result in an increasing number of pending maintenance events that never get executed. I would love to see a different maintenance behavior, that is, the machine should be forced into a shutdown for 5 s under any circumstance. I am sure that I make a simple mistake, but I do not see a way forward. Therefore, I would highly appreciate any suggestions.
Thank you very much
Jürgen
MaintenanceAndBreakdownsWithResourcesSeizeDelayRelease.cfg

Harry King

unread,
Oct 18, 2021, 12:32:09 PM10/18/21
to Jaamsim Users Discussion Group
Jürgen,

What you are asking for are 'ImmediateBreakdown' and 'ImmediateMaintenance' inputs for ResourceUnit. Unfortunately, it is not obvious how these features should work for resources. If the ResourceUnit seized by a SimEntity breaks down, should the SimEntity immediately stop whatever activity it is doing at the time? This would have to be implemented specially for every type of object that can receive a SimEntity, some of which do not implement breakdowns/maintenance themselves, such as EntityDelay and Queue.

The first problem you described is much easier to solve. Both ResourceUnits ('Machine1' and 'Machine2') use the same DowntimeEntity ('Maintenance') as the input to their ForcedMaintenanceList input. Since these are 'forced' maintenance activities, it is necessary for BOTH Machine1 and Machine2 to be idle before the downtime event can begin. This is a requirement because both machines must be maintained at the same time. However, when the entity delay duration is greater than 1 second, there is no time at which both machines are idle! The solution is to assign a separate DowntimeEntity to each machine so that they can be maintained separately.

Harry

Cristiano Silva

unread,
Oct 18, 2021, 1:30:33 PM10/18/21
to Harry King, Jaamsim Users Discussion Group

Expression Threshold ?


Atenciosamente,
Cristiano Luís Turbino de França e Silva
==============================
                      GNU / Linux
    ,                ,       /       .-.
   /                  \     /      (e e)
  ((__-^^-,-^^-__))   /     _.`V'._
    `-_---' `---_-'      /    //~~W~~\\
  <__|o ` 'o|__>   /    //,           ,\\
        \   `  /       /    // |            | \\
         ):  :(      /      \) |            | (/
        :o_o:    /           \           /
          "-"    /              `w -  w'


--
You received this message because you are subscribed to the Google Groups "Jaamsim Users Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaamsim-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/jaamsim-users/41b60ea7-cbcd-48a1-af68-59d9d57c35bcn%40googlegroups.com.

Harry King

unread,
Oct 18, 2021, 3:03:41 PM10/18/21
to Jaamsim Users Discussion Group
Jürgen,

On further reflection, this is actually a bug in ResourceUnit. It should not be possible for it to be assigned if it has a pending downtime event. This would allow both machines to start their maintenance at the same time. All other objects that implement maintenance and breakdowns, such as Server, work in this way.

Thank you for reporting this bug! I will include a fix for it in the next release.

Harry

Jürgen Strohhecker

unread,
Oct 19, 2021, 2:33:00 AM10/19/21
to Jaamsim Users Discussion Group
Harry,
Thank you for your analysis and your help. In addition to this problem solved, I have learned more about DowntimeEntities. :-)
Best, Jürgen

Harry King

unread,
Dec 16, 2021, 12:22:06 AM12/16/21
to Jaamsim Users Discussion Group
Jürgen,

The pending maintenance bug has been fixed in release 2021-06.

Harry

Reply all
Reply to author
Forward
0 new messages