Example #1
0
 def my_generator(self):
     self.devs.simpy_env.process(self.PROC_replenish_inventory())
     self.devs.simpy_env.process(self.PROC_supply_manager())
     self.devs.simpy_env.process(self.PROC_dealer())
     self.devs.simpy_env.process(self.PROC_sales())
     self.devs.simpy_env.process(self.PROC_sales_budget())
     self.devs.simpy_env.process(self.PROC_production_manager())
     self.devs.simpy_env.process(self.PROC_production_implementer())
     self.devs.simpy_env.process(self.PROC_plan_raw_material_inventory())
     for pr_u in self.prod_units:
         pr_u.set_owner(self, self.RES_prod_unit_orders)
         self.devs.add_block_during_simulation(pr_u)
     yield sime.empty_event(self.devs.simpy_env) #Formality
Example #2
0
 def day_step(self):
     yield sime.empty_event(self.devs.simpy_env)
Example #3
0
 def my_generator(self):
     for supl_i in self.supply_lines:
         self.devs.simpy_env.process(self.PROC_supply_line(supl_i))
     yield sime.empty_event(self.devs.simpy_env) #Formality
Example #4
0
 def my_generator(self):
     self.devs.simpy_env.process(self.PROC_replenish_inventory())
     self.devs.simpy_env.process(self.PROC_supply_manager())
     self.devs.simpy_env.process(self.PROC_dealer())
     yield sime.empty_event(self.devs.simpy_env) #Formality