Skip to content

Commit e33a392

Browse files
Include SAM doc URLs for Nominal Discount Rate & WACC
1 parent 994ec64 commit e33a392

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

src/geophires_x/EconomicsUtils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def nominal_discount_rate_parameter() -> OutputParameter:
5050
return OutputParameter(
5151
Name="Nominal Discount Rate",
5252
ToolTipText="Nominal Discount Rate is displayed for SAM Economic Models. "
53-
"It is calculated according to the following formula, defined in SAM Help documentation: "
53+
"It is calculated "
54+
"per https://samrepo.nrelcloud.org/help/fin_single_owner.html?q=nominal+discount+rate: "
5455
"Nominal Discount Rate = [ ( 1 + Real Discount Rate ÷ 100 ) "
5556
"× ( 1 + Inflation Rate ÷ 100 ) - 1 ] × 100.",
5657
UnitType=Units.PERCENT,
@@ -63,7 +64,7 @@ def wacc_output_parameter() -> OutputParameter:
6364
return OutputParameter(
6465
Name='WACC',
6566
ToolTipText='Weighted Average Cost of Capital displayed for SAM Economic Models. '
66-
'It is calculated according to the following formula, defined in SAM Help documentation: '
67+
'It is calculated per https://samrepo.nrelcloud.org/help/fin_commercial.html?q=wacc: '
6768
'WACC = [ Nominal Discount Rate ÷ 100 × (1 - Debt Percent ÷ 100) '
6869
'+ Debt Percent ÷ 100 × Loan Rate ÷ 100 × (1 - Effective Tax Rate ÷ 100 ) ] × 100; '
6970
'Effective Tax Rate = [ Federal Tax Rate ÷ 100 × ( 1 - State Tax Rate ÷ 100 ) '

src/geophires_x_schema_generator/geophires-result.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,19 +74,19 @@
7474
"description": "",
7575
"units": "%"
7676
},
77-
"WACC": {
78-
"type": "number",
79-
"description": "Weighted Average Cost of Capital displayed for SAM Economic Models. It is calculated according to the following formula, defined in SAM Help documentation: WACC = [ Nominal Discount Rate \u00f7 100 \u00d7 (1 - Debt Percent \u00f7 100) + Debt Percent \u00f7 100 \u00d7 Loan Rate \u00f7 100 \u00d7 (1 - Effective Tax Rate \u00f7 100 ) ] \u00d7 100; Effective Tax Rate = [ Federal Tax Rate \u00f7 100 \u00d7 ( 1 - State Tax Rate \u00f7 100 ) + State Tax Rate \u00f7 100 ] \u00d7 100; Nominal Discount Rate = [ ( 1 + Real Discount Rate \u00f7 100 ) \u00d7 ( 1 + Inflation Rate \u00f7 100 ) - 1 ] \u00d7 100. ",
80-
"units": "%"
81-
},
8277
"Real Discount Rate": {
8378
"type": "number",
8479
"description": "",
8580
"units": "%"
8681
},
8782
"Nominal Discount Rate": {
8883
"type": "number",
89-
"description": "Nominal Discount Rate is displayed for SAM Economic Models. It is calculated according to the following formula, defined in SAM Help documentation: Nominal Discount Rate = [ ( 1 + Real Discount Rate \u00f7 100 ) \u00d7 ( 1 + Inflation Rate \u00f7 100 ) - 1 ] \u00d7 100.",
84+
"description": "Nominal Discount Rate is displayed for SAM Economic Models. It is calculated per https://samrepo.nrelcloud.org/help/fin_single_owner.html?q=nominal+discount+rate: Nominal Discount Rate = [ ( 1 + Real Discount Rate \u00f7 100 ) \u00d7 ( 1 + Inflation Rate \u00f7 100 ) - 1 ] \u00d7 100.",
85+
"units": "%"
86+
},
87+
"WACC": {
88+
"type": "number",
89+
"description": "Weighted Average Cost of Capital displayed for SAM Economic Models. It is calculated per https://samrepo.nrelcloud.org/help/fin_commercial.html?q=wacc: WACC = [ Nominal Discount Rate \u00f7 100 \u00d7 (1 - Debt Percent \u00f7 100) + Debt Percent \u00f7 100 \u00d7 Loan Rate \u00f7 100 \u00d7 (1 - Effective Tax Rate \u00f7 100 ) ] \u00d7 100; Effective Tax Rate = [ Federal Tax Rate \u00f7 100 \u00d7 ( 1 - State Tax Rate \u00f7 100 ) + State Tax Rate \u00f7 100 ] \u00d7 100; Nominal Discount Rate = [ ( 1 + Real Discount Rate \u00f7 100 ) \u00d7 ( 1 + Inflation Rate \u00f7 100 ) - 1 ] \u00d7 100. ",
9090
"units": "%"
9191
},
9292
"Accrued financing during construction": {},

0 commit comments

Comments
 (0)