Skip to contents

Generate annual normalized disbursement profiles for investment and maintenance costs per action over the analysis horizon.

Usage

prepare_sa_calendar_cost(case, project)

Arguments

case

An object of class Case.

project

Character scalar, name of the project.

Value

A data.frame with column year followed by normalized disbursement columns for each active cost parameter (investment_<action>, maintenance_<action>).

Details

For each action associated with project via prepare_action():

  • Investment costs (cost_during) are distributed uniformly across each action execution interval ([start, end]) and normalized by the total investment cost of the action, such that the annual proportions sum to 1.

  • Maintenance costs (cost_after) are assigned annually for all years following action completion ([end + 1, max(horizon)]) and normalized by the annual maintenance cost.

Actions or cost categories with zero disbursements across the horizon are omitted.

Note that costs for the reference project are currently assumed to be zero; disbursement schedules are constructed directly from project actions without calculating a differential between project and reference.

Author

Frédéric Grelot, frederic.grelot.1994_cran@m4x.org