Jump to content

g1h2j3

Members
  • Posts

    45
  • Joined

  • Last visited

Everything posted by g1h2j3

  1. Yes that was exactly what i wanted to do. Works perfect! But how i do that if i want to have several groups of servers with different failure and repairing times? So same situation but several groups with different behavior. Each group of server has its own failure and repairing times. Because i can't have several processes starting " OnRunInitialized". Otherwise i would just copy&paste the same for each group. To let them fail is not the problem. Therefore i can create an distributed timer for each group. For me the problem is again the repair time.
  2. I have several servers which have failures at the same time. The failure is triggered through a randomly fired event. But i also want the servers to be repaired at the same time. So first my idea was to use an Input Parameter for the "Time to Repair" section for each Server.Because i want a random distributed repair time which changes every time the servers have a failure. But it should be for all servers the same repair time time. So for example failure 1, repair time: 4 min. Failure 2, repair time: 2 min. And that for all servers. I hope you know what i mean. How can i realize that?
  3. Thanks, that works fine!
  4. Ok so i figured out that every time a vehicle drive through the input of any sink, that counts as triggering event, even when no entity was unloaded. How can i change the triggering event so that a new entity is only created when an entity leaves the system through a specific sink? I attached a simple example where you can see that Source 2 is always creating an entity when the vehicle is passing by the node of sink 2. But it should only create an entity when the vehicle unloads an entity at sink 2 . Can you help me with that? ExampleArrivalMode.spfx
  5. I have a problem with the source arrival mode.For the source "Arrival Mode" i want to use "On Event". So for "Triggering Event" i have 3 options. Object@Entered, Object@Exited and Object@CapacityChanged. So in my model source A is delivering something to sink B. And every time the entity from source A entered sink B a new entity should be created. So i used "Input@SinkB.Exited" and "Input@SinkB.Entered", i tried both. Because i don't really know if there is a huge difference. I guess the exited will create an entity as soon as the one entity left the system through the sink and the entered as soon as the entity enters the sink. But please correct me if i am wrong. So anyhow my problem is now, that the Source is creating more entities as it should. It creates entities even if now entity entered the connected sink. Maybe you guys can help me why that doesn't work as it should be.
×
×
  • Create New...