question

Brett N avatar image
0 Likes"
Brett N asked Emily Hardy commented

Brewery Model - newbie looking for advice

bn-micro-brewery-oversimplified.fsmThis is my first model and could use some advice. I'm trying to simulate a simple micro-brewery and am just learning how to use tokens to control the process flow. My over-simplified logic just waits for each tank to fill, adds a fixed delay, and then opens the port to the next tank. But really I'd like the tokens to represent beer batches and the mash tun should only work on 1 at a time, the kettle can hold 2 mash tun batches at once, and the fermentor should start when those are passed on. Each tank needs to be emptied (and washed) between each token/batch. And ideally, I'd like to have different beers (tokens) with different fermentation times (lagers take longer than ales) - not sure if that is a good use of a label? Would love some advice on how to make this a better model!

FlexSim 18.0.1
fluidtanksbreweryhow to control process with tokens
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered Emily Hardy commented

To answer your questions:
1st) Differing fermentation times - Yes, this would be a good use of a label. you could have the different beers have an item Type label, then you could assign a fermentation time (perhaps from a table lookup) to the beer based on the type of beer it is. In the fermentation Delay activity, all you would then need to enter for time would be something like Item.TimeLabel .

2nd) For restricting access to processes it sounds like what you'll want to implement is a Zone. You can mark a zone (enter and exit) around Processes you want to gate according to certain criteria, such as the number of beers that can be in a process at a time. You could even create what are called "subsets" of token types in a zone to put certain restrictions on a specific subset of tokens that enter the zone. You'll want to read up on the Zone in the user manual's documentation to figure out how to specifically customize this to your liking.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Emily Hardy avatar image Emily Hardy ♦ commented ·

@Brett N, did this answer your question?

0 Likes 0 ·