@@ -37,27 +37,39 @@ def BuildPricingModel(plantlifetime: int, StartPrice: float, EndPrice: float,
3737 return Price
3838
3939
40+ def after_tax_irr_parameter () -> OutputParameter :
41+ return OutputParameter (
42+ Name = 'After-Tax IRR' ,
43+ UnitType = Units .PERCENT ,
44+ CurrentUnits = PercentUnit .PERCENT ,
45+ PreferredUnits = PercentUnit .PERCENT ,
46+ ToolTipText = 'The After-Tax IRR (internal rate of return) is the nominal discount rate that corresponds to '
47+ 'a net present value (NPV) of zero for PPA SAM Economic models. '
48+ 'See https://samrepo.nrelcloud.org/help/mtf_irr.html.'
49+ )
50+
51+
4052def real_discount_rate_parameter () -> OutputParameter :
4153 return OutputParameter (
42- Name = "Real Discount Rate" ,
43- UnitType = Units .PERCENT ,
44- CurrentUnits = PercentUnit .PERCENT ,
45- PreferredUnits = PercentUnit .PERCENT ,
46- )
54+ Name = "Real Discount Rate" ,
55+ UnitType = Units .PERCENT ,
56+ CurrentUnits = PercentUnit .PERCENT ,
57+ PreferredUnits = PercentUnit .PERCENT ,
58+ )
4759
4860
4961def nominal_discount_rate_parameter () -> OutputParameter :
5062 return OutputParameter (
51- Name = "Nominal Discount Rate" ,
52- ToolTipText = "Nominal Discount Rate is displayed for SAM Economic Models. "
53- "It is calculated "
54- "per https://samrepo.nrelcloud.org/help/fin_single_owner.html?q=nominal+discount+rate: "
55- "Nominal Discount Rate = [ ( 1 + Real Discount Rate ÷ 100 ) "
56- "× ( 1 + Inflation Rate ÷ 100 ) - 1 ] × 100." ,
57- UnitType = Units .PERCENT ,
58- CurrentUnits = PercentUnit .PERCENT ,
59- PreferredUnits = PercentUnit .PERCENT ,
60- )
63+ Name = "Nominal Discount Rate" ,
64+ ToolTipText = "Nominal Discount Rate is displayed for SAM Economic Models. "
65+ "It is calculated "
66+ "per https://samrepo.nrelcloud.org/help/fin_single_owner.html?q=nominal+discount+rate: "
67+ "Nominal Discount Rate = [ ( 1 + Real Discount Rate ÷ 100 ) "
68+ "× ( 1 + Inflation Rate ÷ 100 ) - 1 ] × 100." ,
69+ UnitType = Units .PERCENT ,
70+ CurrentUnits = PercentUnit .PERCENT ,
71+ PreferredUnits = PercentUnit .PERCENT ,
72+ )
6173
6274
6375def wacc_output_parameter () -> OutputParameter :
0 commit comments