Initial Data:
You have added the "Building" object to the "Functional objects" repository. See Figure 1 for its properties (object Properties Window → Simulation properties tab → Fixed cost Properties group).
That means that the "Building" object is a resource whose monthly cost is 3,000 euros. Resource is used from Monday to Friday (during working days according to the Main calendar).
Imagine that we have selected the following simulation period: from 9 AM of September 2, 2022 till 9 AM of October 6, 2022 (Figure 2).
The schedule shows the periods when the resource is available for use, and those when it is not.
First, we need to calculate the total cost of the resource for the simulation period. To do this, we divide the simulation time interval into periods that correspond to the Cost rate period (see Figure 1) – months, in our example. Then we calculate the fixed cost for each period using the following principles:
In September the resource is available for 22 days. The simulation period starts on September 2. And the total time of resource availability per month is 21 day. Thus, the cost of the building rent in September is calculated by the following formula:
21 day / 22 days * 30,000 euros = 28,636 euros
In October the resource is available for 22 days. The simulation period ends in the morning of October 6. And the total time of resource availability per month is 3 days. Thus, the cost of the building rent in October is calculated by the following formula:
3 days / 22 days * 30,000 euros = 4,091 euros
The total cost of the rent for the total simulation period is:
28,636 euros + 4,091 euros = 32,727 euros
The total cost of the rent is divided between simulated task instances that used the "Building" resource in proportion to either their cost or processing time depending on the Allocation base property value set in the resource model Properties Window (Figure 1).