NS3 Fixed Dimension CostFixed Dimension Cost
Overview
Fixed dimensional costs are very useful to model actions which are triggered by the flow of dimensional quantities over a node. An example of this would be incurring a cost for opening a warehouse to service a set of nodes. The fixed cost of opening the warehouse can be provided to the model through this definition which allows the model to optimise flow to consumption (or demand) nodes in a way which minimises the total cost. An implicit portion of this constraint is that if any quantity (i.e. non-zero) on the specified dimensions is used, the total fixed cost is added to the model.
Applicable models
- NS3
ns3-tbfvuwtge2iq
Fixed Dimension Cost
Schema definition
message FixedDimensionCost {
repeated string dimensionIds = 1; // the list of the dimensions which contribute to this fixed cost.
required float fixedCost = 2; // the amount incurred for a non-zero flow amount.
}Fields
- dimensionIds
- The dimension identifiers which should be included to trigger the fixed cost if any non-zero quantity is incurred by the dimensions.
- fixedCost
- The fixed amount that should be added if a non-zero quantity is incurred.
Examples
This simple example shows how to configure a fixed dimension cost such that if any quantity of weight or volume flows through the node (associated with the fixed dimension cost), a cost of 10,000 monetary units is added to the model.
dimensionIds: "weight"
dimensionIds: "volume"
fixedCost: 10000