Also the way in which I've setup the models, (Market, Competitor and then a lookup table), I need to map this back to a market ID and add to the lookup table (code for this isn't shown here as I'm only concerned with the selection dropdown for now, but i thought the context would help understand the models: While this works and I can get a unique dropdown (the query itself isn't unique, but this table is just a list of countries, no duplicates), I don't feel like this is very scalable as my forms get more complex. Headquarters = StringField('HQ Country', validators=) #create the forms to create and update Competitor modelĬompetitor_name = StringField('Competitor Name', validators=)Ĭountry = SelectField('Active Market(s)', validators=, Markets = # this gets passed into the SelectField() choices Even though the agents in the queue are not yet actually placed in the pallet rack.Ĭur.execute("SELECT markets.id AS markets_id, markets.market AS markets_market FROM markets") To summarize: it looks like the pallet rack becomes overloaded when the queue in front of it is larger than its capacity. And this is not even the number of cells available at the moment, but the maximum number of cells in the pallet rack. How can I do this, when the simulation generates an error whenever there are more objects waiting in the pallet rack queue than the number of cells in the pallet rack. After all, I just want to choose the parameters for loading the pallet rack with forklift so that no overloading occurs. The model shows overloading before the warehouse is full. In the current model version this is not possible. I would like to know with the simulation when overloading actually takes place. So why does the pallet rack already show overloading? After all, there are actually only 4 items in the pallet rack! While the pallet rack is being loaded, unloading will take place. I've noticed some strange pallet rack behavior: here is a screenshot Here there are 21 pieces, but 16 of them are objects just waiting to be placed in the pallet rack, and 4 are in the pallet rack. The problem is with the JobShop example from the book "AnyLogic in 3 days". Harvester Asks: JobShop: queue and overload pallet rack (AnyLogic in 3 days)
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |