From b0a02026a8eb7ecf9f2a00209d71bf64dd75ed75 Mon Sep 17 00:00:00 2001 From: Steven Janzou Date: Mon, 4 Nov 2024 02:01:34 -0700 Subject: [PATCH] IPH Single Owner configurations ready for initial testing --- deploy/runtime/metrics.lk | 31 ++++++++++++++++++- .../ui/Financial Cash Incentives IPH.json | 8 ++--- .../runtime/ui/Financial Tax Credits IPH.json | 4 +-- 3 files changed, 36 insertions(+), 7 deletions(-) diff --git a/deploy/runtime/metrics.lk b/deploy/runtime/metrics.lk index b9b1590ed..ccd27e294 100644 --- a/deploy/runtime/metrics.lk +++ b/deploy/runtime/metrics.lk @@ -6,6 +6,8 @@ function is_btm() financing() == 'Host Developer' ); } + + function rescom_metrics() { metric( 'lcoe_nom',{'label'='LCOE Levelized cost of energy nominal', 'post'=' \u00A2/kWh', 'mode'='f', 'deci'='2' } ); @@ -98,6 +100,32 @@ function so_metrics() } } +function so_metrics_heat() +{ + metric( 'ppa', {'label'='PPA price in Year 1', 'post'= ' \u00A2/kWht', 'mode'='f', 'deci'='2' } ); + metric( 'ppa_escalation', {'label'='PPA price escalation', 'mode'='f', 'post'=' %/year', 'deci'='2' } ); + metric( 'lppa_nom', {'label'='LPPA Levelized PPA price nominal', 'mode'='f', 'post'=' \u00A2/kWht', 'deci'='2' } ); + metric( 'lppa_real', {'label'='LPPA Levelized PPA price real', 'mode'='f', 'post'=' \u00A2/kWht', 'deci'='2' } ); + metric( 'lcoe_nom', {'label'='LCOH Levelized cost of heat nominal', 'post'=' \u00A2/kWht', 'mode'='f', 'deci'='2' } ); + metric( 'lcoe_real', {'label'='LCOH Levelized cost of heat real', 'post'=' \u00A2/kWht', 'mode'='f', 'deci'='2' } ); + metric( 'project_return_aftertax_npv', {'label'='NPV Net present value', 'mode'='f', 'deci'='0', 'thousep'='true', 'pre'='$', 'post'=' ' } ); + metric( 'flip_actual_irr', {'label'='IRR Internal rate of return', 'mode'='f', 'post'=' %', 'deci'='2' } ); + metric( 'flip_actual_year', {'label'='Year IRR is achieved', 'post'=' '} ); + metric( 'project_return_aftertax_irr', {'label'='IRR at end of project', 'mode'='f', 'post'=' %', 'deci'='2' } ); + metric( 'cost_installed', {'label'='Net capital cost', 'mode'='f', 'deci'='0', 'thousep'='true', 'pre'='$', 'post'=' ' } ); + metric( 'size_of_equity', {'label'='Equity', 'mode'='f', 'deci'='0', 'thousep'='true', 'pre'='$', 'post'=' ' } ); + metric( 'size_of_debt', {'label'='Size of debt', 'mode'='f', 'deci'='0', 'thousep'='true', 'pre'='$', 'post'=' ' } ); + if ( value('debt_option')==0 ) + { + metric( 'min_dscr', {'label'='Minimum DSCR','mode'='f', 'deci'='2' } ); + } + else + { + metric( 'debt_fraction', {'label'='Debt percent','mode'='f', 'deci'='2', 'post'='%' } ); + } +} + + function mp_metrics() { metric( 'lcoe_nom', {'label'='LCOE Levelized cost of energy nominal', 'post'=' \u00A2/kWh', 'mode'='f', 'deci'='2' } ); @@ -606,7 +634,8 @@ metrics{ 'Host Developer' } = define() { host_developer_metrics(); }; metrics{ 'LCOE Calculator' } = define() { lcoefcr_metrics(); }; metrics{ 'LCOH Calculator' } = define() { iph_lcoefcr_metrics(); }; metrics{ 'Independent Power Producer' } = define() { ipp_metrics(); }; -metrics{ 'Single Owner' } = define() { so_metrics(); }; +//metrics{ 'Single Owner' } = define() { so_metrics(); }; +metrics{ 'Single Owner' } = define() { if (is_iph_tech()) so_metrics_heat(); else so_metrics(); }; metrics{ 'Community Solar' } = define() { cs_metrics(); }; metrics{ 'Merchant Plant' } = define() { mp_metrics(); }; metrics{ 'All Equity Partnership Flip' } = define() { aepf_metrics(); }; diff --git a/deploy/runtime/ui/Financial Cash Incentives IPH.json b/deploy/runtime/ui/Financial Cash Incentives IPH.json index 3abbdd057..3569bf1a8 100644 --- a/deploy/runtime/ui/Financial Cash Incentives IPH.json +++ b/deploy/runtime/ui/Financial Cash Incentives IPH.json @@ -6391,7 +6391,7 @@ }, "Description": { "Type": 5.0, - "String": "Type a Federal PBI amount ($/kWh) for each year. Use nominal dollars. SAM does not apply inflation to the PBI amount." + "String": "Type a Federal PBI amount ($/MMBtu) for each year. Use nominal dollars. SAM does not apply inflation to the PBI amount." }, "TabOrder": { "Type": 3.0, @@ -6733,7 +6733,7 @@ }, "Description": { "Type": 5.0, - "String": "Type an Other PBI amount ($/kWh) for each year. Use nominal dollars. SAM does not apply inflation to the PBI amount." + "String": "Type an Other PBI amount ($/MMBtu) for each year. Use nominal dollars. SAM does not apply inflation to the PBI amount." }, "TabOrder": { "Type": 3.0, @@ -7075,7 +7075,7 @@ }, "Description": { "Type": 5.0, - "String": "Type a State PBI amount ($/kWh) for each year. Use nominal dollars. SAM does not apply inflation to the PBI amount." + "String": "Type a State PBI amount ($/MMBtu) for each year. Use nominal dollars. SAM does not apply inflation to the PBI amount." }, "TabOrder": { "Type": 3.0, @@ -7417,7 +7417,7 @@ }, "Description": { "Type": 5.0, - "String": "Type a Utility PBI amount ($/kWh) for each year. Use nominal dollars. SAM does not apply inflation to the PBI amount." + "String": "Type a Utility PBI amount ($/MMBtu) for each year. Use nominal dollars. SAM does not apply inflation to the PBI amount." }, "TabOrder": { "Type": 3.0, diff --git a/deploy/runtime/ui/Financial Tax Credits IPH.json b/deploy/runtime/ui/Financial Tax Credits IPH.json index 5b790c406..6083274d2 100644 --- a/deploy/runtime/ui/Financial Tax Credits IPH.json +++ b/deploy/runtime/ui/Financial Tax Credits IPH.json @@ -1760,7 +1760,7 @@ }, "Description": { "Type": 5.0, - "String": "Type a Federal PTC amount ($/kWh) for each year. Use nominal dollars. SAM does not apply inflation or escalation to these values." + "String": "Type a Federal PTC amount ($/MMBtu) for each year. Use nominal dollars. SAM does not apply inflation or escalation to these values." }, "TabOrder": { "Type": 3.0, @@ -1979,7 +1979,7 @@ }, "Description": { "Type": 5.0, - "String": "Type a State PTC amount ($/kWh) for each year. Use nominal dollars. SAM does not apply inflation or escalation to these values." + "String": "Type a State PTC amount ($/MMBtu) for each year. Use nominal dollars. SAM does not apply inflation or escalation to these values." }, "TabOrder": { "Type": 3.0,