Skip to content

Commit

Permalink
Handle optional land lease cost in hybrid configurations.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanzou committed Aug 24, 2023
1 parent a9eacb0 commit 650d99e
Show file tree
Hide file tree
Showing 2 changed files with 20,666 additions and 20,672 deletions.
10 changes: 8 additions & 2 deletions deploy/runtime/cashflow.lk
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,19 @@ function cf_om_expenses()
}
if ( technology() == 'PVWatts Wind Battery Hybrid')
{
cfline( 'pvwatts_cf_om_fixed,pvwatts_cf_om_production,pvwatts_cf_om_capacity,pvwatts_cf_om_land_lease',0);
if (fin == 'Single Owner')
cfline( 'pvwatts_cf_om_fixed,pvwatts_cf_om_production,pvwatts_cf_om_capacity,pvwatts_cf_om_land_lease',0);
else
cfline( 'pvwatts_cf_om_fixed,pvwatts_cf_om_production,pvwatts_cf_om_capacity',0);
cfline( 'wind_cf_om_fixed,wind_cf_om_production,wind_cf_om_capacity',0);
cfline( 'battery_cf_om_fixed,battery_cf_om_production,battery_cf_om_capacity,battery_cf_battery_replacement_cost_schedule',0);
}
if ( technology() == 'PVWatts Wind FuelCell Battery Hybrid')
{
cfline( 'pvwatts_cf_om_fixed,pvwatts_cf_om_production,pvwatts_cf_om_capacity,pvwatts_cf_om_land_lease',0);
if (fin == 'Single Owner')
cfline( 'pvwatts_cf_om_fixed,pvwatts_cf_om_production,pvwatts_cf_om_capacity,pvwatts_cf_om_land_lease',0);
else
cfline( 'pvwatts_cf_om_fixed,pvwatts_cf_om_production,pvwatts_cf_om_capacity',0);
cfline( 'wind_cf_om_fixed,wind_cf_om_production,wind_cf_om_capacity',0);
cfline( 'fuelcell_cf_om_fixed,fuelcell_cf_om_production,fuelcell_cf_om_capacity,fuelcell_cf_fuelcell_replacement_cost_schedule',0);
cfline( 'battery_cf_om_fixed,battery_cf_om_production,battery_cf_om_capacity,battery_cf_battery_replacement_cost_schedule',0);
Expand Down
Loading

0 comments on commit 650d99e

Please sign in to comment.