From 9a66e744577ad05bbd727747bdbe2e6c6fb987fb Mon Sep 17 00:00:00 2001 From: Paul Gilman Date: Fri, 6 Dec 2024 09:38:29 -0800 Subject: [PATCH] Disable send-to-Excel with equations for IPH models --- deploy/runtime/cashflow.lk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/deploy/runtime/cashflow.lk b/deploy/runtime/cashflow.lk index 8d2bf324f..86e8cff15 100644 --- a/deploy/runtime/cashflow.lk +++ b/deploy/runtime/cashflow.lk @@ -213,10 +213,6 @@ function cf_savings_heat() cfline( '' ); } - - - - function cf_revenue() { tech = technology(); @@ -1112,7 +1108,7 @@ function create_workbook( wkbk ) tech = technology(); - if ( tech == 'PVWatts Wind Battery Hybrid' || tech == 'PVWatts Wind FuelCell Battery Hybrid' || tech == 'Photovoltaic Wind Battery Hybrid' || tech == 'CustomGeneration PVWatts Wind FuelCell Battery Hybrid' ) + if ( tech == 'PVWatts Wind Battery Hybrid' || tech == 'PVWatts Wind FuelCell Battery Hybrid' || tech == 'Photovoltaic Wind Battery Hybrid' || tech == 'CustomGeneration PVWatts Wind FuelCell Battery Hybrid' || is_iph_tech() ) { msgbox('Send-to Excel with Equations Not Available.\nThis option is not available for ' + tech + ' configurations.'); exit;