frepple::BufferProcure Class Reference
This class models a buffer that is replenish by an external supplier using a reorder-point policy.
More...
#include <model.h>
List of all members.
Detailed Description
This class models a buffer that is replenish by an external supplier using a reorder-point policy.
It represents a material buffer where a replenishment is triggered whenever the inventory drops below the minimum level. The buffer is then replenished to the maximum inventory level.
A leadtime is taken into account for the replenishments.
The following parameters control this replenishment:
- MinimumInventory:
Inventory level triggering a new replenishment.
The actual inventory can drop below this value.
- MaximumInventory:
Inventory level to which we try to replenish.
The actual inventory can exceed this value.
- Leadtime:
Time taken between placing the purchase order with the supplier and the delivery of the material.
Using the additional parameters described below the replenishments can be controlled in more detail. The resulting inventory profile can end up to be completely different from the classical saw-tooth pattern!
The timing of the replenishments can be constrained by the following parameters:
- MinimumInterval:
Minimum time between replenishments.
The order quantity will be increased such that it covers at least the demand in the minimum interval period. The actual inventory can exceed the target set by the MinimumInventory parameter.
- MaximumInterval:
Maximum time between replenishments.
The order quantity will replenish to an inventory value less than the maximum when this maximum interval is reached. When the minimum and maximum interval are equal we basically define a fixed schedule replenishment policy.
The quantity of the replenishments can be constrained by the following parameters:
- MinimumQuantity:
Minimum quantity for a replenishment.
This parameter can cause the actual inventory to exceed the target set by the MinimumInventory parameter.
- MaximumQuantity:
Maximum quantity for a replenishment.
This parameter can cause the maximum inventory target never to be reached.
- MultipleQuantity:
All replenishments are rounded up to a multiple of this value. When the minimum and maximum quantity are equal we basically define a fixed quantity replenishment policy.
Definition at line 2963 of file model.h.
Constructor & Destructor Documentation
frepple::BufferProcure::BufferProcure |
( |
const string & |
c |
) |
[inline, explicit] |
Member Function Documentation
Called while restoring the model from an XML-file.
This is called when the corresponding close element tag is encountered, and the Data() member of pElement is valid.
Reimplemented from frepple::Buffer.
Definition at line 588 of file buffer.cpp.
TimePeriod frepple::BufferProcure::getFence |
( |
|
) |
const [inline] |
Return the release time fence.
Definition at line 2989 of file model.h.
TimePeriod frepple::BufferProcure::getLeadtime |
( |
|
) |
const [inline] |
Return the purchasing leadtime.
Definition at line 2978 of file model.h.
TimePeriod frepple::BufferProcure::getMaximumInterval |
( |
|
) |
const [inline] |
Return the maximum time interval between sytem-generated replenishment operations.
Definition at line 3041 of file model.h.
double frepple::BufferProcure::getMaximumInventory |
( |
|
) |
const [inline] |
Return the maximum inventory level to which we wish to replenish.
Definition at line 3010 of file model.h.
TimePeriod frepple::BufferProcure::getMinimumInterval |
( |
|
) |
const [inline] |
Return the minimum interval between purchasing operations.
This parameter doesn't control the timing of the first purchasing operation, but only to the subsequent ones.
Definition at line 3026 of file model.h.
double frepple::BufferProcure::getMinimumInventory |
( |
|
) |
const [inline] |
Return the inventory level that will trigger creation of a purchasing.
Definition at line 2997 of file model.h.
Operation * frepple::BufferProcure::getOperation |
( |
|
) |
const |
Returns the operation that is automatically created to represent the procurements.
Definition at line 643 of file buffer.cpp.
virtual size_t frepple::BufferProcure::getSize |
( |
|
) |
const [inline, virtual] |
double frepple::BufferProcure::getSizeMaximum |
( |
|
) |
const [inline] |
Return the maximum quantity of a purchasing operation.
Definition at line 3067 of file model.h.
double frepple::BufferProcure::getSizeMinimum |
( |
|
) |
const [inline] |
Return the minimum quantity of a purchasing operation.
Definition at line 3054 of file model.h.
double frepple::BufferProcure::getSizeMultiple |
( |
|
) |
const [inline] |
Return the multiple quantity of a purchasing operation.
Definition at line 3080 of file model.h.
virtual const MetaClass& frepple::BufferProcure::getType |
( |
|
) |
const [inline, virtual] |
This returns the type information on the object, a bit similar to the standard type_info information.
Reimplemented from frepple::Buffer.
Definition at line 2969 of file model.h.
void frepple::BufferProcure::setFence |
( |
TimePeriod |
p |
) |
[inline] |
Update the release time fence.
Definition at line 2992 of file model.h.
void frepple::BufferProcure::setLeadtime |
( |
TimePeriod |
p |
) |
[inline] |
Update the procurement leadtime.
Definition at line 2981 of file model.h.
void frepple::BufferProcure::setMaximumInterval |
( |
TimePeriod |
p |
) |
[inline] |
Update the minimum time between replenishments.
Definition at line 3044 of file model.h.
void frepple::BufferProcure::setMaximumInventory |
( |
double |
f |
) |
[inline] |
Update the inventory level to replenish to.
Definition at line 3013 of file model.h.
void frepple::BufferProcure::setMinimumInterval |
( |
TimePeriod |
p |
) |
[inline] |
Update the minimum time between replenishments.
Definition at line 3029 of file model.h.
void frepple::BufferProcure::setMinimumInventory |
( |
double |
f |
) |
[inline] |
Update the minimum inventory level to trigger replenishments.
Definition at line 3000 of file model.h.
void frepple::BufferProcure::setSizeMaximum |
( |
double |
f |
) |
[inline] |
Update the maximum replenishment quantity.
Definition at line 3070 of file model.h.
void frepple::BufferProcure::setSizeMinimum |
( |
double |
f |
) |
[inline] |
Update the minimum replenishment quantity.
Definition at line 3057 of file model.h.
void frepple::BufferProcure::setSizeMultiple |
( |
double |
f |
) |
[inline] |
Update the multiple quantity.
Definition at line 3083 of file model.h.
virtual void frepple::BufferProcure::solve |
( |
Solver & |
s, |
|
|
void * |
v = NULL | |
|
) |
| | const [inline, virtual] |
This method is called by solver classes. The implementation of this class simply calls the solve method on the solver class. Using the polymorphism the solver can implement seperate methods for different plannable subclasses.
Reimplemented from frepple::Buffer.
Definition at line 2966 of file model.h.
void frepple::BufferProcure::writeElement |
( |
XMLOutput * |
, |
|
|
const Keyword & |
, |
|
|
mode |
= DEFAULT | |
|
) |
| | const [virtual] |
Called while writing the model into an XML-file. The user class should write itself out, using the IOutStream members for its "simple" members and calling writeElement recursively for any contained objects. Not all classes are expected to implement this method. In instances of such a class can be created but can't be persisted. E.g. Command
Reimplemented from frepple::Buffer.
Definition at line 613 of file buffer.cpp.
Member Data Documentation
The documentation for this class was generated from the following files: