Skip to main content
0 votes
2 answers
83 views

I am trying to work my self into simpy. Which uses python generators to create sim steps. From the documentation for simpy state access. import simpy def subfunc(env): print(env.active_process....
user3732793's user avatar
  • 1,990
1 vote
2 answers
64 views

I have a model where: resources are available between opening hours (8am-8pm). Any entities using resources are kicked out at 1 minute to 8pm, then a closing function is run to claim all the ...
Emi OB's user avatar
  • 3,457
0 votes
1 answer
77 views

I am using SimPy to model a manufacturing workflow, and am running into a race condition type problem. A buffer/queue modelled as a store can provide product to many different machines also modelled ...
C Sheahan's user avatar
1 vote
1 answer
149 views

I spent some time looking for the solution to this kind of simple problem but still could not find it. The problem is to simulate process when some events can be processes concurrently by limited ...
Alexander Lyapin's user avatar
2 votes
1 answer
124 views

There seems to be a quirky behaviour when working with requests without the with statement as a context manager, which causes resources to be locked up permanently if using the standard if req in res ...
Quas's user avatar
  • 23
0 votes
1 answer
56 views

In a simpy process I handle a simpy interrupt. I do this in two places and so I want to put the handling code in a function. Before putting it in a function all functions well, after putting it in a ...
Frank Tap's user avatar
  • 460
0 votes
0 answers
48 views

I'm working on a simulation working with simpy where i've a class like this: class memory: def __init__(self, env: Environment, size: int, memory_name: str): """...
miyoku's user avatar
  • 197
0 votes
0 answers
55 views

In simpy I simulate a car driving day and night. As soon as my tank fills below 70% and it is daytime I go to fill up. If my tank gets below 70% at night I just drive on and go fill up as soon as it ...
Frank Tap's user avatar
  • 460
0 votes
2 answers
219 views

I am working on modeling a shoe factory and simulating its operations using SimPy. My goal is to create different scenarios and identify the optimal factory layout for a new facility. This is my first ...
cascavelho's user avatar
0 votes
1 answer
165 views

The purpose of this code is to model the following cell:Robotic Cell It has 1 welding robot, 1 operator loading/unloading parts, and 2 fixtures that the parts are worked on within. The part is worked ...
Frosty1542's user avatar
1 vote
3 answers
438 views

I'm working on a SimPy simulation for a container terminal where vessels arrive, berth, and unload containers using cranes, followed by transport using trucks. Problem Statement_pt1 ,Problem ...
Soumya Patel's user avatar
0 votes
0 answers
83 views

I am building a simulation using SimPy and comparing the results to the theoretical calculations in a M/M/s queue model. However, most of the time the simulation yields results about 10% lower than ...
LC007's user avatar
  • 1
0 votes
1 answer
103 views

I am experimenting with SimPy and I try to monitor the level of a Container resource. For illustration purposes, please consider the simple example of a producer process that produces an item every 3 ...
kaffeesachse's user avatar
0 votes
1 answer
71 views

I would like to create a system with servers that need time to set up before being ready to serve. The system starts to set up whenever enough 2 customers are in the queue. When a batch (group of 2 ...
Julian's user avatar
  • 15
0 votes
2 answers
297 views

I have a number of stations, each stations will be located a machine and need a worker to operate some operations and produce items, operations are precedent: example: Stations: A[ Operation1[...
Jimmy Hung's user avatar

15 30 50 per page
1
2 3 4 5
25