>>when I use the frepple simulation function and gave the option "--pause".
Just a word of caution: the simulation function is for advanced use and for academic analysis. It is only usable for specific use cases, and takes some coding before it will generate good results.
Regular users normally won’t need this function.
>>I found that in the inventory report of a plan after a bucket step , some of the buffer's start or end inventory is negative, for example the start inventory is -3, how could I explain this?what does a negative inventory mean?
In a constrained plan negative inventories shouldn’t be present. Instead you should see demands that are planned short or late because of the material shortage.
But there are some material shortages that are unsolvable.
For instance, onhand is 0 and a confirmed production order will consume 5 units today. If the replenishment lead time is 10 days, there is no way we can avoid the inventory from going negative: We can’t move the confirmed production order and a replenishment will be late.
Stay safe,
Johan De Taeye
Mob: +32 477.385.362
Skype: jdetaeye
Visit us at https://frepple.com
--
You received this message because you are subscribed to the Google Groups "frePPLe users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to frepple-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/frepple-users/fa6bec0b-4bf4-4f22-9e97-b637bab09f58n%40googlegroups.com.
Hi Alex,
>> Again, I carefully checked the plan.autofenceoperation and set it to be zero.
That’s normally not a good idea. In case a confirmed MO/PO/DO already exists for an item, you normally want to wait for it to arrive/finish rather than creating a new MO/PO/DO.
>> When the simualtion went into the third step bucket, I checked the the inventory report of the plan and found the negative end inventory like the picture above.
>>I can not understand why.
The inventory detail report will show more information about all producers and consumers of the material.
This may well turn out to be a big in the simulation script – it’s a few years ago since it was last used actively, and we haven’t spent time to test or keep it up to date with recent releases.
For me, it’s very low priority to look into it.
Pull requests are welcome J
To view this discussion on the web visit https://groups.google.com/d/msgid/frepple-users/cdab60dc-edd0-407a-bfd4-87e2f9369056n%40googlegroups.com.
>>param = (
>> Parameter.objects.all()
>> .using(database)
>> .get_or_create(name="currentdate")[0]
>> )
>>param.save(using=database)
>>
>>the "param.save(using=database)" just saves the paramter value into a variable in the computer memory or save it into the database like postgresql used by frepple?
It’s saving to the database. You can see it as a Python interface to run an SQL statement on the database: see https://docs.djangoproject.com/en/2.2/topics/db/queries/ for more details
When using the simulation functionality there are 3 components that are communicating through the database:
- The simulation script that changes the state of the database to simulate the time moving forward
- The planning engine that reads the updated input, generates a plan and exports the results to the database
- The user interface that is displaying the planning results stored in the database
To view this discussion on the web visit https://groups.google.com/d/msgid/frepple-users/2cbf27b8-c0f9-4ce9-be91-7c0d776916a9n%40googlegroups.com.