Skip to content

Commit c365bf7

Browse files
committed
Update Community solar defaults so no simulation warnings
Move community benefits to second page on all reports. Remove prompting for pdf report.
1 parent 96542ef commit c365bf7

File tree

6 files changed

+79
-79
lines changed

6 files changed

+79
-79
lines changed

deploy/runtime/defaults/PVWatts_Community Solar.json

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"ac_nameplate": 2307.6923076923078,
2+
"ac_nameplate": 769.2307692307692,
33
"adjust": 0.0,
44
"adjust_constant": 0.0,
55
"adjust_en_periods": 0.0,
@@ -30,14 +30,14 @@
3030
],
3131
"analysis_period": 25.0,
3232
"analysis_period_warning": "No messages.",
33-
"annual_albedo": 0.183951,
34-
"annual_beam": 7.33564,
35-
"annual_diffuse": 1.34843,
36-
"annual_global": 5.79476,
33+
"annual_albedo": 0.18395068539332039,
34+
"annual_beam": 7.335643835616439,
35+
"annual_diffuse": 1.3484328767123289,
36+
"annual_global": 5.794761643835617,
3737
"annual_snow": NaN,
38-
"annual_tdry": 21.9385,
38+
"annual_tdry": 21.938470319634705,
3939
"annual_twet": NaN,
40-
"annual_wspd": 1.78648,
40+
"annual_wspd": 1.786484018864629,
4141
"array_type": 2.0,
4242
"azimuth": 180.0,
4343
"batt_salvage_percentage": 0.0,
@@ -47,7 +47,7 @@
4747
"bos_equip_fixed": 0.0,
4848
"bos_equip_perarea": 0.0,
4949
"bos_equip_perwatt": 0.36,
50-
"bos_equip_total": 1080000.0,
50+
"bos_equip_total": 360000.0,
5151
"capex_table_ac_cost_per_w": 0.44,
5252
"capex_table_ac_inputs": [
5353
[
@@ -110,8 +110,8 @@
110110
0.65
111111
]
112112
],
113-
"capex_table_total_installed_ac_cost": 1015384.6153846153,
114-
"capex_table_total_installed_dc_cost": 2370000.0,
113+
"capex_table_total_installed_ac_cost": 338461.53846153846,
114+
"capex_table_total_installed_dc_cost": 790000.0,
115115
"cbi_fed_amount": 0.0,
116116
"cbi_fed_deprbas_fed": 0.0,
117117
"cbi_fed_deprbas_sta": 0.0,
@@ -137,7 +137,7 @@
137137
"cbi_uti_tax_fed": 1.0,
138138
"cbi_uti_tax_sta": 1.0,
139139
"city": "-",
140-
"const_per_interest1": 73425.7875,
140+
"const_per_interest1": 24475.2625,
141141
"const_per_interest2": 0.0,
142142
"const_per_interest3": 0.0,
143143
"const_per_interest4": 0.0,
@@ -147,7 +147,7 @@
147147
"const_per_interest_rate3": 0.0,
148148
"const_per_interest_rate4": 0.0,
149149
"const_per_interest_rate5": 0.0,
150-
"const_per_interest_total": 73425.7875,
150+
"const_per_interest_total": 24475.2625,
151151
"const_per_months1": 6.0,
152152
"const_per_months2": 0.0,
153153
"const_per_months3": 0.0,
@@ -164,13 +164,13 @@
164164
"const_per_percent4": 0.0,
165165
"const_per_percent5": 0.0,
166166
"const_per_percent_total": 100.0,
167-
"const_per_principal1": 4518510.0,
167+
"const_per_principal1": 1506170.0,
168168
"const_per_principal2": 0.0,
169169
"const_per_principal3": 0.0,
170170
"const_per_principal4": 0.0,
171171
"const_per_principal5": 0.0,
172-
"const_per_principal_total": 4518510.0,
173-
"const_per_total1": 118610.88750000001,
172+
"const_per_principal_total": 1506170.0,
173+
"const_per_total1": 39536.9625,
174174
"const_per_total2": 0.0,
175175
"const_per_total3": 0.0,
176176
"const_per_total4": 0.0,
@@ -180,8 +180,8 @@
180180
"const_per_upfront_rate3": 0.0,
181181
"const_per_upfront_rate4": 0.0,
182182
"const_per_upfront_rate5": 0.0,
183-
"construction_financing_cost": 118610.88750000001,
184-
"contingency": 106200.0,
183+
"construction_financing_cost": 39536.9625,
184+
"contingency": 35400.0,
185185
"contingency_percent": 3.0,
186186
"cost_debt_closing": 0.0,
187187
"cost_debt_fee": 2.75,
@@ -192,7 +192,7 @@
192192
],
193193
"cs_cost_recurring_capacity_escal": 0.0,
194194
"cs_cost_recurring_fixed": [
195-
0.0
195+
30000.0
196196
],
197197
"cs_cost_recurring_fixed_escal": 0.0,
198198
"cs_cost_recurring_generation": [
@@ -203,7 +203,7 @@
203203
"cs_cost_upfront_per_capacity": 35.0,
204204
"dc_ac_ratio": 1.3,
205205
"debt_message": "",
206-
"debt_option": 0.0,
206+
"debt_option": 1.0,
207207
"debt_percent": 60.0,
208208
"degradation": [
209209
0.5
@@ -262,7 +262,7 @@
262262
"engr_fixed": 0.0,
263263
"engr_per_watt": 0.15,
264264
"engr_percent": 0.0,
265-
"engr_total": 450000.0,
265+
"engr_total": 150000.0,
266266
"equip1_reserve_cost": 0.1,
267267
"equip1_reserve_freq": 15.0,
268268
"equip2_reserve_cost": 0.0,
@@ -9042,7 +9042,7 @@
90429042
"grid_interconnection_limit_kwac": 100000.0,
90439043
"grid_per_watt": 0.03,
90449044
"grid_percent": 0.0,
9045-
"grid_total": 90000.0,
9045+
"grid_total": 30000.0,
90469046
"ibi_fed_amount": 0.0,
90479047
"ibi_fed_amount_deprbas_fed": 0.0,
90489048
"ibi_fed_amount_deprbas_sta": 0.0,
@@ -9096,20 +9096,20 @@
90969096
"install_labor_fixed": 0.0,
90979097
"install_labor_perarea": 0.0,
90989098
"install_labor_perwatt": 0.18,
9099-
"install_labor_total": 540000.0,
9099+
"install_labor_total": 180000.0,
91009100
"install_margin_fixed": 0.0,
91019101
"install_margin_perarea": 0.0,
91029102
"install_margin_perwatt": 0.25,
9103-
"install_margin_total": 750000.0,
9103+
"install_margin_total": 250000.0,
91049104
"installed_per_capacity": 1.50617,
91059105
"insurance_rate": 0.0,
91069106
"inv_eff": 96.0,
91079107
"inverter_costunits": 1.0,
91089108
"inverter_num_units": 1.0,
9109-
"inverter_power": 2307.6923076923078,
9110-
"inverter_total": 150000.0,
9111-
"inverterarray_power": 2307.6923076923078,
9112-
"inverterarray_power_w": 2307692.3076923077,
9109+
"inverter_power": 769.2307692307692,
9110+
"inverter_total": 50000.0,
9111+
"inverterarray_power": 769.2307692307692,
9112+
"inverterarray_power_w": 769230.7692307691,
91139113
"is_advanced": 0.0,
91149114
"itc_fed_amount": [
91159115
0.0
@@ -9137,8 +9137,8 @@
91379137
"itc_sta_percent_maxvalue": [
91389138
1e38
91399139
],
9140-
"land_area": 13.005534895540846,
9141-
"land_area_value": 13.005534895540846,
9140+
"land_area": 4.335178298513614,
9141+
"land_area_value": 4.335178298513614,
91429142
"land_fixed": 0.0,
91439143
"land_per_acre": 0.0,
91449144
"land_per_watt": 0.0,
@@ -9148,7 +9148,7 @@
91489148
"landprep_per_acre": 0.0,
91499149
"landprep_per_watt": 0.02,
91509150
"landprep_percent": 0.0,
9151-
"landprep_total": 60000.0,
9151+
"landprep_total": 20000.0,
91529152
"lat": 33.45,
91539153
"library_folder_list": "x",
91549154
"library_paths": "\"\"",
@@ -9166,7 +9166,7 @@
91669166
"loss_wiring": 2.0,
91679167
"losses": 14.075660688264469,
91689168
"losses_user": 14.0,
9169-
"mera_cost1": 300000.0,
9169+
"mera_cost1": 100000.0,
91709170
"mera_cost2": 0.0,
91719171
"mera_cost3": 0.0,
91729172
"mera_name1": "Replacement Reserve 1",
@@ -9175,21 +9175,21 @@
91759175
"module_costunits": 0.0,
91769176
"module_is_bifacial": 0.0,
91779177
"module_num_units": 1.0,
9178-
"module_power": 3000.0,
9179-
"module_total": 1020000.0000000001,
9178+
"module_power": 1000.0,
9179+
"module_total": 340000.0,
91809180
"module_type": 0.0,
9181-
"modulearray_area": 15789.473684210527,
9182-
"modulearray_power": 3000.0,
9183-
"modulearray_power_w": 3000000.0,
9181+
"modulearray_area": 5263.157894736842,
9182+
"modulearray_power": 1000.0,
9183+
"modulearray_power_w": 1000000.0,
91849184
"months_receivables_reserve": 0.0,
91859185
"months_working_reserve": 6.0,
91869186
"nominal_discount_rate": 9.060000000000003,
91879187
"om_capacity": [
9188-
22.0
9188+
15.0
91899189
],
91909190
"om_capacity_escal": 0.0,
91919191
"om_fixed": [
9192-
0.0
9192+
50000.0
91939193
],
91949194
"om_fixed_escal": 0.0,
91959195
"om_land_lease": [
@@ -9202,13 +9202,13 @@
92029202
"om_production_escal": 0.0,
92039203
"payment_option": 0.0,
92049204
"pbi_fed_amount": [
9205-
0.0
9205+
0.05
92069206
],
9207-
"pbi_fed_escal": 0.0,
9207+
"pbi_fed_escal": 1.0,
92089208
"pbi_fed_for_ds": 0.0,
92099209
"pbi_fed_tax_fed": 1.0,
92109210
"pbi_fed_tax_sta": 1.0,
9211-
"pbi_fed_term": 0.0,
9211+
"pbi_fed_term": 10.0,
92129212
"pbi_oth_amount": [
92139213
0.0
92149214
],
@@ -9238,10 +9238,10 @@
92389238
"permitting_fixed": 0.0,
92399239
"permitting_per_watt": 0.03,
92409240
"permitting_percent": 0.0,
9241-
"permitting_total": 90000.0,
9241+
"permitting_total": 30000.0,
92429242
"prop_tax_assessed_decline": 0.0,
92439243
"prop_tax_cost_assessed_percent": 100.0,
9244-
"property_assessed_value": 4518510.0,
9244+
"property_assessed_value": 1506170.0,
92459245
"property_tax_rate": 0.0,
92469246
"ptc_fed_amount": [
92479247
0.0
@@ -9260,7 +9260,7 @@
92609260
"reserves_interest": 1.75,
92619261
"sales_tax_percent": 100.0,
92629262
"sales_tax_rate": 5.0,
9263-
"sales_tax_total": 182310.0,
9263+
"sales_tax_total": 60770.0,
92649264
"sales_tax_value": 5.0,
92659265
"salvage_percentage": 0.0,
92669266
"salvage_value": 0.0,
@@ -9345,7 +9345,7 @@
93459345
"subscriber2_growth": 1.0,
93469346
"subscriber2_name": "General",
93479347
"subscriber2_payment_annual": [
9348-
20000.0
9348+
50000.0
93499349
],
93509350
"subscriber2_payment_annual_escal": 1.0,
93519351
"subscriber2_payment_generation": [
@@ -9392,52 +9392,52 @@
93929392
"subscriber4_share": [
93939393
0.0
93949394
],
9395-
"subtotal_direct": 3540000.0,
9396-
"system_capacity": 3000.0,
9395+
"subtotal_direct": 1180000.0,
9396+
"system_capacity": 1000.0,
93979397
"system_use_lifetime_output": 0.0,
93989398
"term_int_rate": 7.0,
93999399
"term_tenor": 18.0,
94009400
"tilt": 0.0,
9401-
"total_direct_cost": 3646200.0,
9402-
"total_indirect_cost": 690000.0,
9403-
"total_installed_cost": 4518510.0,
9404-
"total_land_area": 13.005534895540846,
9405-
"total_module_area": 15789.473684210527,
9401+
"total_direct_cost": 1215400.0,
9402+
"total_indirect_cost": 230000.0,
9403+
"total_installed_cost": 1506170.0,
9404+
"total_land_area": 4.335178298513614,
9405+
"total_module_area": 5263.157894736842,
94069406
"tz": -7.0,
9407-
"ui_ac_capacity": 2.3076923076923077,
9408-
"ui_array_land_area_acres": 13.005534895540846,
9409-
"ui_array_land_area_ha": 5.263161366844397,
9407+
"ui_ac_capacity": 0.7692307692307692,
9408+
"ui_array_land_area_acres": 4.335178298513614,
9409+
"ui_array_land_area_ha": 1.7543871222814649,
94109410
"ui_array_land_area_multiplier": 1.0,
94119411
"ui_cr_subscriber1_name": "Anchor",
94129412
"ui_cr_subscriber2_name": "General",
94139413
"ui_cr_subscriber3_name": "",
94149414
"ui_cr_subscriber4_name": "",
94159415
"ui_land_area_additional": 0.0,
94169416
"ui_land_area_additional_units": 0.0,
9417-
"ui_land_area_ha": 5.263161366844397,
9417+
"ui_land_area_ha": 1.7543871222814649,
94189418
"ui_land_area_multiplier": 0.0,
94199419
"ui_land_area_per_mw": 0.0,
94209420
"ui_land_area_units": 0.0,
94219421
"ui_land_lease": [
94229422
0.0
94239423
],
9424-
"ui_share_kw_1": 1200.0,
9425-
"ui_share_kw_2": 600.0,
9424+
"ui_share_kw_1": 400.0,
9425+
"ui_share_kw_2": 200.0,
94269426
"ui_share_kw_3": 0.0,
94279427
"ui_share_kw_4": 0.0,
94289428
"ui_step_minutes": 60.0,
94299429
"ui_subscriber1_name": "Anchor",
94309430
"ui_subscriber2_name": "General",
94319431
"ui_subscriber3_name": "",
94329432
"ui_subscriber4_name": "",
9433-
"ui_total_capacity": 3000.0,
9434-
"ui_total_land_area_ha": 5.263161366844397,
9435-
"ui_total_module_area": 15789.473684210527,
9436-
"ui_total_module_area_acres": 3.901660468662253,
9437-
"ui_total_module_area_ha": 1.5789473684210527,
9438-
"ui_total_unsubscribed_kw": 1200.0,
9433+
"ui_total_capacity": 1000.0,
9434+
"ui_total_land_area_ha": 1.7543871222814649,
9435+
"ui_total_module_area": 5263.157894736842,
9436+
"ui_total_module_area_acres": 1.3005534895540843,
9437+
"ui_total_module_area_ha": 0.5263157894736842,
9438+
"ui_total_unsubscribed_kw": 400.0,
94399439
"ui_total_unsubscribed_share": 40.0,
9440-
"ui_upfront_cost_by_capacity": 105000.0,
9440+
"ui_upfront_cost_by_capacity": 35000.0,
94419441
"ui_use_acre_per_mw": 0.0,
94429442
"ui_wacc": 6.709740000000002,
94439443
"unsubscribed_payment_generation": [

deploy/runtime/macros/Commercial/Community Power Accelerator.lk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ export_cashflow_excel();
134134

135135

136136
// create pdf report quickstart/CPA-example.samreport
137-
if( yesno("This report will be saved to:\n" + homedir()+"/CPA-Commercial_Macro_Report.pdf\n\nSelect 'Yes' to continue or 'No' to enter a different file path",[defaultX, defaultY]) ){
137+
//if( yesno("This report will be saved to:\n" + homedir()+"/CPA-Commercial_Macro_Report.pdf\n\nSelect 'Yes' to continue or 'No' to enter a different file path",[defaultX, defaultY]) ){
138138
reportFile = homedir()+"/CPA-Commercial_Macro_Report.pdf";
139-
} else {
140-
reportFile = choose_file( homedir(), "Output report file", 'PDF Files (*.pdf)|*.pdf');
141-
}
139+
//} else {
140+
// reportFile = choose_file( homedir(), "Output report file", 'PDF Files (*.pdf)|*.pdf');
141+
//}
142142

143143
ok = pdfreport( reportFile, {'template'=runtimedir() + 'quickstart/CPA-Commercial.samreport', 'metadata'=data });
144144

deploy/runtime/macros/Community Solar/Community Power Accelerator.lk

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,13 @@ export_cashflow_excel();
155155

156156

157157
// create pdf report quickstart/CPA-example.samreport
158-
if( yesno("This report will be saved to:\n" + homedir()+"/CPA-Macro_Report.pdf\n\nSelect 'Yes' to continue or 'No' to enter a different file path",[defaultX, defaultY]) ){
159-
reportFile = homedir()+"/CPA-Macro_Report.pdf";
160-
} else {
161-
reportFile = choose_file( homedir(), "Output report file", 'PDF Files (*.pdf)|*.pdf');
162-
}
158+
//if( yesno("This report will be saved to:\n" + homedir()+"/CPA-CommunitySolar_Macro_Report.pdf\n\nSelect 'Yes' to continue or 'No' to enter a different file path",[defaultX, defaultY]) ){
159+
reportFile = homedir()+"/CPA-CommunitySolar_Macro_Report.pdf";
160+
//} else {
161+
// reportFile = choose_file( homedir(), "Output report file", 'PDF Files (*.pdf)|*.pdf');
162+
//}
163163

164-
ok = pdfreport( reportFile, {'template'=runtimedir() + 'quickstart/CPA-example.samreport', 'metadata'=data });
164+
ok = pdfreport( reportFile, {'template'=runtimedir() + 'quickstart/CPA-CommunitySolar.samreport', 'metadata'=data });
165165

166166
// Open Report
167167
browse(reportFile);

deploy/runtime/macros/Host Developer/Community Power Accelerator.lk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ export_cashflow_excel();
134134

135135

136136
// create pdf report quickstart/CPA-example.samreport
137-
if( yesno("This report will be saved to:\n" + homedir()+"/CPA-HostDeveloper_Macro_Report.pdf\n\nSelect 'Yes' to continue or 'No' to enter a different file path",[defaultX, defaultY]) ){
137+
//if( yesno("This report will be saved to:\n" + homedir()+"/CPA-HostDeveloper_Macro_Report.pdf\n\nSelect 'Yes' to continue or 'No' to enter a different file path",[defaultX, defaultY]) ){
138138
reportFile = homedir()+"/CPA-HostDeveloper_Macro_Report.pdf";
139-
} else {
140-
reportFile = choose_file( homedir(), "Output report file", 'PDF Files (*.pdf)|*.pdf');
141-
}
139+
//} else {
140+
// reportFile = choose_file( homedir(), "Output report file", 'PDF Files (*.pdf)|*.pdf');
141+
//}
142142

143143
ok = pdfreport( reportFile, {'template'=runtimedir() + 'quickstart/CPA-HostDeveloper.samreport', 'metadata'=data });
144144

-5 KB
Binary file not shown.
-5 KB
Binary file not shown.

0 commit comments

Comments
 (0)