DevTreks.Extensions/NPVCalculators/BIs/BICalculator.cs
/// <summary>
/// Calculate outcome incentives based on incentive rates and amounts
/// </summary>
Calculate outcome incentives based on incentive rates and amounts
Calculate outcome incentives based on incentive rates and amounts
private void CalculateIncentiveForOutcome(Outcome outcome,
            CalculatorParameters calcParameters, ref double incentiveAdjustedSum)
        {
            double dbTotalBenefit = 0;
            incentiveAdjustedSum = 0;
            dbTotalBenefit = outcome.TotalRINCENT;
            incentiveAdjustedSum = dbTotalBenefit + outcome.IncentiveAmount +
                (dbTotalBenefit * outcome.IncentiveRate);
            outcome.TotalRINCENT = incentiveAdjustedSum;
        }
private void CalculateIncentiveForOutcome ( Outcome outcome , CalculatorParameters calcParameters , ref double incentiveAdjustedSum ) { double dbTotalBenefit = 0 ; incentiveAdjustedSum = 0 ; dbTotalBenefit = outcome . TotalRINCENT ; incentiveAdjustedSum = dbTotalBenefit + outcome . IncentiveAmount + ( dbTotalBenefit * outcome . IncentiveRate ) ; outcome . TotalRINCENT = incentiveAdjustedSum ; }
Calculate outcome incentives based on incentive rates and amounts
Calculate outcome incentives based on incentive rates and amounts
//TRINCENT is the cumulative, incentive-adjusted, benefit totals to this point //calculate incentives for this node
outcome
Outcome
calcParameters
CalculatorParameters
double
ref