Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Low or high quantity work orders?  (Read 582 times)

DeutscheGabanna

  • Escaped Lunatic
    • View Profile
Low or high quantity work orders?
« on: March 03, 2023, 04:34:32 pm »

Consider the following scenarios:

Scenario A - you make a work order for one pig tail cloth when one pig tail thread is available.
Pros - you will receive less job cancellations due to queueing less stuff for production.
Cons - you are instead spammed with job confirmations. "Finished produce 1 pig tail cloth".

Scenario B - you make a work order for 20 pig tail cloths when at least 30 pig tail threads are available.
Pros - you get less job confirmations.
Cons - you will receive more job cancellations due to queueing more stuff for production. As such, there's greater risk something will eventually go south.

What's your preference? Is there a third, better option I'm not seeing?
Logged

Blue_Dwarf

  • Bay Watcher
    • View Profile
Re: Low or high quantity work orders?
« Reply #1 on: March 03, 2023, 04:47:55 pm »

What's your preference? Is there a third, better option I'm not seeing?
Yes, you check if you have 100 pig tail threads available, and queue 100 cloth tasks.
Logged
Crafting Statistics 42.06Farming Statistics

Blue Dwarf has been happy lately. He did some !!science!! recently. He admired a fine forum post lately. He was enraged by a forum troll recently. He was upset by the delayed release of the new version of Dwarf Fortress lately. He took joy in planning a noble's death recently.

anewaname

  • Bay Watcher
  • The mattock... My choice for problem solving.
    • View Profile
Re: Low or high quantity work orders?
« Reply #2 on: March 03, 2023, 06:25:48 pm »

Scenario B works well. Why are you getting more job cancellations?
Logged
Quote from: dragdeler
There is something to be said about, if the stakes are as high, maybe reconsider your certitudes. One has to be aggressively allistic to feel entitled to be able to trust. But it won't happen to me, my bit doesn't count etc etc... Just saying, after my recent experiences I couldn't trust the public if I wanted to. People got their risk assessment neurons rotten and replaced with game theory. Folks walk around like fat turkeys taunting the world to slaughter them.

DeutscheGabanna

  • Escaped Lunatic
    • View Profile
Re: Low or high quantity work orders?
« Reply #3 on: March 04, 2023, 06:53:58 am »

Maybe the example wasn't the best one. Let's say you're queueing easy meals which sometimes work on stacks, and sometimes on single footstuffs. Then you will have job cancellations.
Logged

anewaname

  • Bay Watcher
  • The mattock... My choice for problem solving.
    • View Profile
Re: Low or high quantity work orders?
« Reply #4 on: March 04, 2023, 10:45:21 am »

Yeah, cooking automation can be a pain... cancellations triggered by stack/item differences, bags used up for flour and leaves which causes other cancellations, etc.

Four concepts for consideration...
- You can look at work orders as existing in two groups, "make product because reagent supply is too high" or "make product because product supply is too low".
- You can look at cooking reagents as existing in three groups, those that require bags, those that can only be eaten if cooked, and those that can be eaten raw.
- Dwarfs with food preferences cannot seek their preferred food if it has been cooked, so not cooking that food allows them to find it
- Dwarfs that cannot find their preferred foods will seek the nearest food item, and you want them to find the cooked meals

Combining the first two considerations, you could have:
- stockpile A containing quarry-bush-leaves and cookable-milled-foods (gives to kitchen A)
- kitchen A with orders:
  - cook 10 meals if quarry bush leaves > 200
  - cook 10 meals if cookable powder > 100
- stockpile B containing all foods not in stockpile B and that are only edible if cooked (gives to kitchen B)
- kitchen B with one order:
  - cook 10 meals if cooked meals < 100
- due to the way auto-orders for fat rendering happen, one kitchen will receive those orders, so once you determine which kitchen does, set that stockpile to allow fat/tallow.
*** This will ensure bagged foods are cooked sooner and non-bagged foods are cooked whenever.

Combining the last two considerations, you could have:
- smaller cooked meals stockpiles in the meeting places and a huge cooked meal stockpile feeding them
- edible-if-raw stockpiles some distance from the meeting areas, where vast mounds of crundle meat will sit in storage
*** This will ensure dwarfs that have a preference can walk to find their favored food and other dwarfs can find a cooked meal.
Logged
Quote from: dragdeler
There is something to be said about, if the stakes are as high, maybe reconsider your certitudes. One has to be aggressively allistic to feel entitled to be able to trust. But it won't happen to me, my bit doesn't count etc etc... Just saying, after my recent experiences I couldn't trust the public if I wanted to. People got their risk assessment neurons rotten and replaced with game theory. Folks walk around like fat turkeys taunting the world to slaughter them.