question

walze00 avatar image
0 Likes"
walze00 asked Felix Möhlmann commented

How to produce a float Number in a Processor?

Is it possible to produce e.g. 0,8 Output-Items out of 1 Input-Item.

In my case I have a metal sheet which gets cutted in a processor. The processor need 0,8 input metal sheets for 1 output metal sheet.

FlexSim 24.2.1
#processor
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered walze00 commented

You can do something like this with the Batch activity in Process Flow. Each token is "worth" a certain value (given by the "Quantity" label in the attached example). When the total value reaches the target, a token is released which can trigger an item to be created/released. Depending on the setting "Overflow" setting the excess quantity is either released as well, removed or held and starts a new batch.

capture1.png

fractional-output.fsm

Though based on your description it sounds like you actually still have a 1:1 ratio of items. Just that the output item has different dimensions as some of the material is lost as scrap. (Since you are talking about "cutting", I doubt that the machine would keep scrap and later glue it together to form a fresh item). For this you could change the size of the item in the On Process Finish or On Exit trigger of the processor. At the same time you could increment a "Scrap" label to keep track of how much material has been lost in total.

Fractional input/output values seem more suited to handling liquid or granulate where the quantity is measured in volume or mass rather than quantity of pieces.


capture1.png (17.3 KiB)
· 2
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
I would do this on a conveyor. If you insert more items, they can look like an continuous sheet. If you resize them from start on you can emulate a cutting process by stopping and resuming them on this conveyor.
0 Likes 0 ·
walze00 avatar image walze00 commented ·

How is it possible for example to demonstrate, that items get painted and 1 Items needs at only 0,1 item of the paint.
Can I do that in the model without any process flow?

0 Likes 0 ·