DevTreks.Extensions/NPVCalculators/BIs/BICalculator.cs
/// <summary>
/// Calculate input, operation/component, and time period incentives based on incentive rates and amounts
/// </summary>
Calculate input, operation/component, and time period incentives based on incentive rates and amounts
Calculate input operation / component and time period incentives based on incentive rates and amounts
private void CalculateIncentiveForComponentOperation(OperationComponent opComp,
            CalculatorParameters calcParameters, ref double incentiveAdjustedSum)
        {
            double dbTotalCost = 0;
            incentiveAdjustedSum = 0;
            dbTotalCost = opComp.TotalINCENT;
            incentiveAdjustedSum = dbTotalCost - opComp.IncentiveAmount -
                (dbTotalCost * opComp.IncentiveRate);
            opComp.TotalINCENT = incentiveAdjustedSum;
        }
private void CalculateIncentiveForComponentOperation ( OperationComponent opComp , CalculatorParameters calcParameters , ref double incentiveAdjustedSum ) { double dbTotalCost = 0 ; incentiveAdjustedSum = 0 ; dbTotalCost = opComp . TotalINCENT ; incentiveAdjustedSum = dbTotalCost - opComp . IncentiveAmount - ( dbTotalCost * opComp . IncentiveRate ) ; opComp . TotalINCENT = incentiveAdjustedSum ; }
Calculate input, operation/component, and time period incentives based on incentive rates and amounts
Calculate input operation / component and time period incentives based on incentive rates and amounts
//TINCENT is the cumulative, incentive-adjusted, cost totals to this point //calculate incentives for this node //see rules in Example 5c, Operation, Incentives //incentive-adjusted total costs (positive incentive decreases costs)
opComp
OperationComponent
calcParameters
CalculatorParameters
double
ref