Skip to content

Commit

Permalink
Disable send-to-Excel with equations for IPH models (#1954)
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Mirletz <[email protected]>
  • Loading branch information
cpaulgilman and brtietz authored Dec 10, 2024
1 parent 137893c commit 3ea463d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions deploy/runtime/cashflow.lk
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,6 @@ function cf_savings_heat()
cfline( '' );
}





function cf_revenue()
{
tech = technology();
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 3ea463d

Please sign in to comment.