Skip to content

Commit 3f5036d

Browse files
authored
Merge pull request #1911 from NREL/SAM_1903
Address SAM #1903
2 parents ea128b9 + 666e09f commit 3f5036d

11 files changed

+115222
-44988
lines changed

deploy/runtime/cashflow.lk

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,16 @@ function cf_savings()
156156
cfline('equals:', -1, 0);
157157
if ( fin == 'Host Developer' ) { cfline( 'annual_energy_value', 0); }
158158
else if ( fin != 'Merchant Plant' ){ cfline( 'cf_energy_value', 0); }
159-
if (tech == 'Fuel Cell') { cfline( 'cf_thermal_value', 0); }
159+
if (tech == 'Fuel Cell' || tech == 'CustomGeneration PVWatts Wind FuelCell Battery Hybrid' || tech == 'PVWatts Wind FuelCell Battery Hybrid') {
160+
cfline( 'thermal_cost_without_system', 0);
161+
cfline('minus:', -1, 0);
162+
cfline( 'thermal_cost_with_system', 0);
163+
cfline('equals:', -1, 0);
164+
if ( fin == 'Host Developer' )
165+
cfline( 'annual_thermal_value', 0);
166+
else
167+
cfline( 'cf_thermal_value', 0);
168+
}
160169
if ( fin == 'Host Developer' )
161170
{
162171
cfline( '' );

0 commit comments

Comments
 (0)