/
cmod_host_developer.cpp
4177 lines (3622 loc) · 289 KB
/
cmod_host_developer.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/**
BSD-3-Clause
Copyright 2019 Alliance for Sustainable Energy, LLC
Redistribution and use in source and binary forms, with or without modification, are permitted provided
that the following conditions are met :
1. Redistributions of source code must retain the above copyright notice, this list of conditions
and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse
or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED.IN NO EVENT SHALL THE COPYRIGHT HOLDER, CONTRIBUTORS, UNITED STATES GOVERNMENT OR UNITED STATES
DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "common_financial.h"
#include "common.h"
#include "lib_financial.h"
using namespace libfin;
#include <sstream>
#ifndef WIN32
#include <float.h>
#endif
static var_info _cm_vtab_host_developer[] = {
/* VARTYPE DATATYPE NAME LABEL UNITS META GROUP REQUIRED_IF CONSTRAINTS UI_HINTS*/
// -------------------
// Host specific inputs and outputs
{ SSC_INPUT, SSC_ARRAY, "annual_energy_value", "Host energy value", "$", "", "Host", "*", "", "" },
{ SSC_INPUT, SSC_ARRAY, "elec_cost_with_system", "Host energy bill with system", "$", "", "Host", "*", "", "" },
{ SSC_INPUT, SSC_ARRAY, "elec_cost_without_system", "Host energy bill without system", "$", "", "Host", "*", "", "" },
{ SSC_INPUT, SSC_NUMBER, "host_real_discount_rate", "Host real discount rate", "%", "", "Host", "*", "", "" },
{ SSC_INPUT, SSC_ARRAY, "year1_hourly_ec_with_system", "Energy charge with system (year 1 hourly)", "$", "", "Time Series", "*", "", "" },
{ SSC_INPUT, SSC_ARRAY, "year1_hourly_dc_with_system", "Demand charge with system (year 1 hourly)", "$", "", "Time Series", "*", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_parasitic_cost", "Parasitic load costs", "$", "", "Cash Flow", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "gen_purchases", "Electricity from grid", "kW", "", "System Output", "", "", "" },
{ SSC_INPUT, SSC_MATRIX, "charge_w_sys_fixed_ym", "Fixed monthly charge with system", "$", "", "Charges by Month", "*", "", "COL_LABEL=MONTHS,FORMAT_SPEC=CURRENCY,GROUP=UR_AM" },
{ SSC_INPUT, SSC_ARRAY, "year1_hourly_e_fromgrid", "Electricity from grid (year 1 hourly)", "kWh", "", "Time Series", "*", "", "" },
{ SSC_INPUT, SSC_MATRIX, "charge_w_sys_ec_ym", "Energy charge with system", "$", "", "Charges by Month", "", "", "COL_LABEL=MONTHS,FORMAT_SPEC=CURRENCY,GROUP=UR_AM" },
{ SSC_INPUT, SSC_MATRIX, "true_up_credits_ym", "Net annual true-up payments", "$", "", "Charges by Month", "", "", "COL_LABEL=MONTHS,FORMAT_SPEC=CURRENCY,GROUP=UR_AM" },
{ SSC_INPUT, SSC_MATRIX, "nm_dollars_applied_ym", "Net metering credit", "$", "", "Charges by Month", "*", "", "COL_LABEL=MONTHS,FORMAT_SPEC=CURRENCY,GROUP=UR_AM" },
{ SSC_INPUT, SSC_MATRIX, "net_billing_credits_ym", "Net billing credit", "$", "", "Charges by Month", "*", "", "COL_LABEL=MONTHS,FORMAT_SPEC=CURRENCY,GROUP=UR_AM" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_agreement_cost", "Host agreement cost", "$", "", "Cash Flow", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_after_tax_net_equity_cost_flow", "Host after-tax annual costs", "$", "", "Cash Flow", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_after_tax_cash_flow", "Host after-tax cash flow", "$", "", "Cash Flow", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_payback_with_expenses", "Host simple payback with expenses", "$", "", "Cash Flow", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_cumulative_payback_with_expenses", "Host cumulative simple payback with expenses", "$", "", "Cash Flow", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_NUMBER, "npv", "Host net present value", "$", "", "Cash Flow", "*", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_nte", "Host indifference point by year", "cents/kWh", "", "Cash Flow", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_NUMBER, "host_nominal_discount_rate", "Host nominal discount rate", "%", "", "Intermediate Costs", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "year1_nte", "Host indifference point in Year 1", "cents/kWh", "", "Cash Flow", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "lnte_real", "Host indifference point real levelized value", "cents/kWh", "", "Cash Flow", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "lnte_nom", "Host indifference point nominal levelized value", "cents/kWh", "", "Cash Flow", "*", "", "" },
// End Host specific inputs and outputs
// -------------------
{ SSC_INPUT, SSC_ARRAY, "degradation", "Annual energy degradation", "", "", "System Output", "*", "", "" },
{ SSC_INPUT, SSC_NUMBER, "system_capacity", "System nameplate capacity", "kW", "", "System Output", "*", "MIN=1e-3", "" },
/*loan moratorium from Sara for India Documentation\India\Loan Moratorum
assumptions:
1) moratorium period begins at beginning of loan term
2) moratorium affects principal payment and not interest
3) loan term remains the same
4) payments increase after moratorium period
*/
{ SSC_INPUT, SSC_NUMBER, "loan_moratorium", "Loan moratorium period", "years", "", "Moratorium", "?=0", "INTEGER,MIN=0", "" },
/* Recapitalization */
{ SSC_INOUT, SSC_NUMBER, "system_use_recapitalization", "Recapitalization expenses", "0/1", "0=None,1=Recapitalize", "Recapitalization", "?=0", "INTEGER,MIN=0", "" },
{ SSC_INPUT, SSC_NUMBER, "system_recapitalization_cost", "Recapitalization cost", "$", "", "Recapitalization", "?=0", "", "" },
{ SSC_INPUT, SSC_NUMBER, "system_recapitalization_escalation", "Recapitalization escalation (above inflation)", "%", "", "Recapitalization", "?=0", "MIN=0,MAX=100", "" },
{ SSC_INOUT, SSC_ARRAY, "system_lifetime_recapitalize", "Recapitalization boolean", "", "", "Recapitalization", "?=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_recapitalization", "Recapitalization operating expense", "$", "", "Recapitalization", "*", "LENGTH_EQUAL=cf_length", "" },
/* Dispatch */
{ SSC_INPUT, SSC_NUMBER, "system_use_lifetime_output", "Lifetime hourly system outputs", "0/1", "0=hourly first year,1=hourly lifetime", "Time of Delivery", "*", "INTEGER,MIN=0", "" },
// dispatch update TODO - remove SO output label below after consildated with CSP
{ SSC_INPUT, SSC_NUMBER, "ppa_multiplier_model", "PPA multiplier model", "0/1", "0=diurnal,1=timestep", "Time of Delivery", "?=0", "INTEGER,MIN=0", "" },
{ SSC_INPUT, SSC_ARRAY, "dispatch_factors_ts", "Dispatch payment factor array", "", "", "Time of Delivery", "ppa_multiplier_model=1", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "ppa_multipliers", "TOD factors", "", "", "Time of Delivery", "*", "", "" },
{ SSC_INPUT, SSC_NUMBER, "dispatch_factor1", "TOD factor for period 1", "", "", "Time of Delivery", "ppa_multiplier_model=0", "", "" },
{ SSC_INPUT, SSC_NUMBER, "dispatch_factor2", "TOD factor for period 2", "", "", "Time of Delivery", "ppa_multiplier_model=0", "", "" },
{ SSC_INPUT, SSC_NUMBER, "dispatch_factor3", "TOD factor for period 3", "", "", "Time of Delivery", "ppa_multiplier_model=0", "", "" },
{ SSC_INPUT, SSC_NUMBER, "dispatch_factor4", "TOD factor for period 4", "", "", "Time of Delivery", "ppa_multiplier_model=0", "", "" },
{ SSC_INPUT, SSC_NUMBER, "dispatch_factor5", "TOD factor for period 5", "", "", "Time of Delivery", "ppa_multiplier_model=0", "", "" },
{ SSC_INPUT, SSC_NUMBER, "dispatch_factor6", "TOD factor for period 6", "", "", "Time of Delivery", "ppa_multiplier_model=0", "", "" },
{ SSC_INPUT, SSC_NUMBER, "dispatch_factor7", "TOD factor for period 7", "", "", "Time of Delivery", "ppa_multiplier_model=0", "", "" },
{ SSC_INPUT, SSC_NUMBER, "dispatch_factor8", "TOD factor for period 8", "", "", "Time of Delivery", "ppa_multiplier_model=0", "", "" },
{ SSC_INPUT, SSC_NUMBER, "dispatch_factor9", "TOD factor for period 9", "", "", "Time of Delivery", "ppa_multiplier_model=0", "", "" },
{ SSC_INPUT, SSC_MATRIX, "dispatch_sched_weekday", "Diurnal weekday TOD periods", "1..9", "12 x 24 matrix", "Time of Delivery", "ppa_multiplier_model=0", "", "" },
{ SSC_INPUT, SSC_MATRIX, "dispatch_sched_weekend", "Diurnal weekend TOD periods", "1..9", "12 x 24 matrix", "Time of Delivery", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_jan", "Energy produced by the system in January", "kWh", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_jan", "Revenue from the system in January", "$", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_feb", "Energy produced by the system in February", "kWh", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_feb", "Revenue from the system in February", "$", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_mar", "Energy produced by the system in March", "kWh", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_mar", "Revenue from the system in March", "$", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_apr", "Energy produced by the system in April", "kWh", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_apr", "Revenue from the system in April", "$", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_may", "Energy produced by the system in May", "kWh", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_may", "Revenue from the system in May", "$", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_jun", "Energy produced by the system in June", "kWh", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_jun", "Revenue from the system in June", "$", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_jul", "Energy produced by the system in July", "kWh", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_jul", "Revenue from the system in July", "$", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_aug", "Energy produced by the system in August", "kWh", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_aug", "Revenue from the system in August", "$", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_sep", "Energy produced by the system in September", "kWh", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_sep", "Revenue from the system in September", "$", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_oct", "Energy produced by the system in October", "kWh", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_oct", "Revenue from the system in October", "$", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_nov", "Energy produced by the system in November", "kWh", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_nov", "Revenue from the system in November", "$", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_dec", "Energy produced by the system in December", "kWh", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_dec", "Revenue from the system in December", "$", "", "Cash Flow Revenue", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_dispatch1", "Energy produced by the system in TOD period 1", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_dispatch1", "Revenue from the system in TOD period 1", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_dispatch2", "Energy produced by the system in TOD period 2", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_dispatch2", "Revenue from the system in TOD period 2", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_dispatch3", "Energy produced by the system in TOD period 3", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_dispatch3", "Revenue from the system in TOD period 3", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_dispatch4", "Energy produced by the system in TOD period 4", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_dispatch4", "Revenue from the system in TOD period 4", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_dispatch5", "Energy produced by the system in TOD period 5", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_dispatch5", "Revenue from the system in TOD period 5", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_dispatch6", "Energy produced by the system in TOD period 6", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_dispatch6", "Revenue from the system in TOD period 6", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_dispatch7", "Energy produced by the system in TOD period 7", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_dispatch7", "Revenue from the system in TOD period 7", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_dispatch8", "Energy produced by the system in TOD period 8", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_dispatch8", "Revenue from the system in TOD period 8", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_dispatch9", "Energy produced by the system in TOD period 9", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_dispatch9", "Revenue from the system in TOD period 9", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_revenue_dispatch1", "First year revenue from the system in TOD period 1", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_revenue_dispatch2", "First year revenue from the system in TOD period 2", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_revenue_dispatch3", "First year revenue from the system in TOD period 3", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_revenue_dispatch4", "First year revenue from the system in TOD period 4", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_revenue_dispatch5", "First year revenue from the system in TOD period 5", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_revenue_dispatch6", "First year revenue from the system in TOD period 6", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_revenue_dispatch7", "First year revenue from the system in TOD period 7", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_revenue_dispatch8", "First year revenue from the system in TOD period 8", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_revenue_dispatch9", "First year revenue from the system in TOD period 9", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_dispatch1", "First year energy from the system in TOD period 1", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_dispatch2", "First year energy from the system in TOD period 2", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_dispatch3", "First year energy from the system in TOD period 3", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_dispatch4", "First year energy from the system in TOD period 4", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_dispatch5", "First year energy from the system in TOD period 5", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_dispatch6", "First year energy from the system in TOD period 6", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_dispatch7", "First year energy from the system in TOD period 7", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_dispatch8", "First year energy from the system in TOD period 8", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_dispatch9", "First year energy from the system in TOD period 9", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_price1", "First year energy price for TOD period 1", "cents/kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_price2", "First year energy price for TOD period 2", "cents/kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_price3", "First year energy price for TOD period 3", "cents/kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_price4", "First year energy price for TOD period 4", "cents/kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_price5", "First year energy price for TOD period 5", "cents/kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_price6", "First year energy price for TOD period 6", "cents/kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_price7", "First year energy price for TOD period 7", "cents/kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_price8", "First year energy price for TOD period 8", "cents/kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "firstyear_energy_price9", "First year energy price for TOD period 9", "cents/kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
// first year monthly output for each TOD period
// { SSC_OUTPUT, SSC_ARRAY, "cf_revenue_monthly_firstyear", "First year revenue from the system by month", "", "", "Cash Flow Revenue", "*", "", "" },
// { SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_monthly_firstyear", "First year energy from the system by month", "", "", "Cash Flow Revenue", "*", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_monthly_firstyear_TOD1", "First year revenue from the system by month for TOD period 1", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_monthly_firstyear_TOD1", "First year energy from the system by month for TOD period 1", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_monthly_firstyear_TOD2", "First year revenue from the system by month for TOD period 2", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_monthly_firstyear_TOD2", "First year energy from the system by month for TOD period 2", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_monthly_firstyear_TOD3", "First year revenue from the system by month for TOD period 3", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_monthly_firstyear_TOD3", "First year energy from the system by month for TOD period 3", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_monthly_firstyear_TOD4", "First year revenue from the system by month for TOD period 4", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_monthly_firstyear_TOD4", "First year energy from the system by month for TOD period 4", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_monthly_firstyear_TOD5", "First year revenue from the system by month for TOD period 5", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_monthly_firstyear_TOD5", "First year energy from the system by month for TOD period 5", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_monthly_firstyear_TOD6", "First year revenue from the system by month for TOD period 6", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_monthly_firstyear_TOD6", "First year energy from the system by month for TOD period 6", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_monthly_firstyear_TOD7", "First year revenue from the system by month for TOD period 7", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_monthly_firstyear_TOD7", "First year energy from the system by month for TOD period 7", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_monthly_firstyear_TOD8", "First year revenue from the system by month for TOD period 8", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_monthly_firstyear_TOD8", "First year energy from the system by month for TOD period 8", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_revenue_monthly_firstyear_TOD9", "First year revenue from the system by month for TOD period 9", "$", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net_monthly_firstyear_TOD9", "First year energy from the system by month for TOD period 9", "kWh", "", "Cash Flow Revenue", "ppa_multiplier_model=0", "", "" },
/* inputs in model not currently in M 11/15/10 */
{ SSC_INPUT, SSC_NUMBER, "total_installed_cost", "Installed cost", "$", "", "System Costs", "*", "", "" },
/* salvage value */
{ SSC_INPUT, SSC_NUMBER, "salvage_percentage", "Net pre-tax cash salvage value", "%", "", "Financial Parameters", "?=10", "MIN=0,MAX=100", "" },
/* construction period */
{ SSC_INPUT, SSC_NUMBER, "construction_financing_cost", "Construction financing total", "$", "", "Construction Financing", "*", "", "" },
/* intermediate outputs */
{ SSC_OUTPUT, SSC_NUMBER, "cost_debt_upfront", "Debt up-front fee", "$", "", "Intermediate Costs", "?=0", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "cost_financing", "Financing cost", "$", "", "Intermediate Costs", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "cost_prefinancing", "Total installed cost", "$", "", "Intermediate Costs", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "cost_installed", "Net capital cost", "$", "", "Intermediate Costs", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "cost_installedperwatt", "Net capital cost per watt", "$/W", "", "Intermediate Costs", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "nominal_discount_rate", "Nominal discount rate", "%", "", "Intermediate Costs", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "prop_tax_assessed_value", "Assessed value of property for tax purposes","$", "", "Intermediate Costs", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "salvage_value", "Net pre-tax cash salvage value", "$", "", "Intermediate Costs", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_none_percent", "Non-depreciable federal and state allocation", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_none", "Non-depreciable federal and state allocation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_total", "Total depreciation federal and state allocation", "$", "", "Depreciation", "*", "", "" },
// state itc table
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_macrs_5", "5-yr MACRS state percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_macrs_5", "5-yr MACRS depreciation federal and state allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_ibi_reduc_macrs_5", "5-yr MACRS state IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_cbi_reduc_macrs_5", "5-yr MACRS state CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_prior_itc_macrs_5", "5-yr MACRS state depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_sta_qual_macrs_5", "5-yr MACRS depreciation state ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_qual_macrs_5", "5-yr MACRS state percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_amount_macrs_5", "5-yr MACRS depreciation ITC basis from state percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_percent_macrs_5", "5-yr MACRS depreciation ITC basis disallowance from state percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_fixed_amount_macrs_5", "5-yr MACRS depreciation ITC basis from state fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_fixed_macrs_5", "5-yr MACRS depreciation ITC basis disallowance from state fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_sta_reduction_macrs_5", "5-yr MACRS state basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_fed_reduction_macrs_5", "5-yr MACRS state basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_after_itc_macrs_5", "5-yr MACRS state depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_first_year_bonus_macrs_5", "5-yr MACRS state first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_macrs_5", "5-yr MACRS state depreciation basis", "$", "", "Depreciation", "*", "", "" },
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_macrs_15", "15-yr MACRS state percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_macrs_15", "15-yr MACRS depreciation federal and state allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_ibi_reduc_macrs_15", "15-yr MACRS state IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_cbi_reduc_macrs_15", "15-yr MACRS state CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_prior_itc_macrs_15", "15-yr MACRS state depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_sta_qual_macrs_15", "15-yr MACRS depreciation state ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_qual_macrs_15", "15-yr MACRS state percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_amount_macrs_15", "15-yr MACRS depreciation ITC basis from state percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_percent_macrs_15", "15-yr MACRS depreciation ITC basis disallowance from state percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_fixed_amount_macrs_15", "15-yr MACRS depreciation ITC basis from state fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_fixed_macrs_15", "15-yr MACRS depreciation ITC basis disallowance from state fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_sta_reduction_macrs_15", "15-yr MACRS state basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_fed_reduction_macrs_15", "15-yr MACRS state basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_after_itc_macrs_15", "15-yr MACRS state depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_first_year_bonus_macrs_15", "15-yr MACRS state first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_macrs_15", "15-yr MACRS state depreciation basis", "$", "", "Depreciation", "*", "", "" },
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_sl_5", "5-yr straight line state percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_sl_5", "5-yr straight line depreciation federal and state allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_ibi_reduc_sl_5", "5-yr straight line state IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_cbi_reduc_sl_5", "5-yr straight line state CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_prior_itc_sl_5", "5-yr straight line state depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_sta_qual_sl_5", "5-yr straight line depreciation state ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_qual_sl_5", "5-yr straight line state percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_amount_sl_5", "5-yr straight line depreciation ITC basis from state percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_percent_sl_5", "5-yr straight line depreciation ITC basis disallowance from state percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_fixed_amount_sl_5", "5-yr straight line depreciation ITC basis from state fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_fixed_sl_5", "5-yr straight line depreciation ITC basis disallowance from state fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_sta_reduction_sl_5", "5-yr straight line state basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_fed_reduction_sl_5", "5-yr straight line state basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_after_itc_sl_5", "5-yr straight line state depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_first_year_bonus_sl_5", "5-yr straight line state first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_sl_5", "5-yr straight line state depreciation basis", "$", "", "Depreciation", "*", "", "" },
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_sl_15", "15-yr straight line state percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_sl_15", "15-yr straight line depreciation federal and state allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_ibi_reduc_sl_15", "15-yr straight line state IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_cbi_reduc_sl_15", "15-yr straight line state CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_prior_itc_sl_15", "15-yr straight line state depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_sta_qual_sl_15", "15-yr straight line depreciation state ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_qual_sl_15", "15-yr straight line state percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_amount_sl_15", "15-yr straight line depreciation ITC basis from state percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_percent_sl_15", "15-yr straight line depreciation ITC basis disallowance from state percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_fixed_amount_sl_15", "15-yr straight line depreciation ITC basis from state fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_fixed_sl_15", "15-yr straight line depreciation ITC basis disallowance from state fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_sta_reduction_sl_15", "15-yr straight line state basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_fed_reduction_sl_15", "15-yr straight line state basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_after_itc_sl_15", "15-yr straight line state depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_first_year_bonus_sl_15", "15-yr straight line state first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_sl_15", "15-yr straight line state depreciation basis", "$", "", "Depreciation", "*", "", "" },
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_sl_20", "20-yr straight line state percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_sl_20", "20-yr straight line depreciation federal and state allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_ibi_reduc_sl_20", "20-yr straight line state IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_cbi_reduc_sl_20", "20-yr straight line state CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_prior_itc_sl_20", "20-yr straight line state depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_sta_qual_sl_20", "20-yr straight line depreciation state ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_qual_sl_20", "20-yr straight line state percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_amount_sl_20", "20-yr straight line depreciation ITC basis from state percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_percent_sl_20", "20-yr straight line depreciation ITC basis disallowance from state percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_fixed_amount_sl_20", "20-yr straight line depreciation ITC basis from state fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_fixed_sl_20", "20-yr straight line depreciation ITC basis disallowance from state fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_sta_reduction_sl_20", "20-yr straight line state basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_fed_reduction_sl_20", "20-yr straight line state basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_after_itc_sl_20", "20-yr straight line state depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_first_year_bonus_sl_20", "20-yr straight line state first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_sl_20", "20-yr straight line state depreciation basis", "$", "", "Depreciation", "*", "", "" },
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_sl_39", "39-yr straight line state percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_sl_39", "39-yr straight line depreciation federal and state allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_ibi_reduc_sl_39", "39-yr straight line state IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_cbi_reduc_sl_39", "39-yr straight line state CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_prior_itc_sl_39", "39-yr straight line state depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_sta_qual_sl_39", "39-yr straight line depreciation state ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_qual_sl_39", "39-yr straight line state percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_amount_sl_39", "39-yr straight line depreciation ITC basis from state percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_percent_sl_39", "39-yr straight line depreciation ITC basis disallowance from state percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_fixed_amount_sl_39", "39-yr straight line depreciation ITC basis from state fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_fixed_sl_39", "39-yr straight line depreciation ITC basis disallowance from state fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_sta_reduction_sl_39", "39-yr straight line state basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_fed_reduction_sl_39", "39-yr straight line state basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_after_itc_sl_39", "39-yr straight line state depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_first_year_bonus_sl_39", "39-yr straight line state first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_sl_39", "39-yr straight line state depreciation basis", "$", "", "Depreciation", "*", "", "" },
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_custom", "Custom straight line state percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_custom", "Custom straight line depreciation federal and state allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_ibi_reduc_custom", "Custom straight line state IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_cbi_reduc_custom", "Custom straight line state CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_prior_itc_custom", "Custom straight line state depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_sta_qual_custom", "Custom straight line depreciation state ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_qual_custom", "Custom straight line state percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_amount_custom", "Custom straight line depreciation ITC basis from state percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_percent_custom", "Custom straight line depreciation ITC basis disallowance from state percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_fixed_amount_custom", "Custom straight line depreciation ITC basis from state fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_fixed_custom", "Custom straight line depreciation ITC basis disallowance from state fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_sta_reduction_custom", "Custom straight line state basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_fed_reduction_custom", "Custom straight line state basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_after_itc_custom", "Custom straight line state depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_first_year_bonus_custom", "Custom straight line state first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_custom", "Custom straight line state depreciation basis", "$", "", "Depreciation", "*", "", "" },
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_total", "Total state percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_total", "Total depreciation federal and state allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_ibi_reduc_total", "Total state IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_cbi_reduc_total", "Total state CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_prior_itc_total", "Total state depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_sta_qual_total", "Total state ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_qual_total", "Total state percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_percent_amount_total", "Total depreciation ITC basis from state percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_percent_total", "Total depreciation ITC basis disallowance from state percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_fixed_amount_total", "Total depreciation ITC basis from state fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_sta_fixed_total", "Total depreciation ITC basis disallowance from state fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_sta_reduction_total", "Total state basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_stabas_itc_fed_reduction_total", "Total state basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_after_itc_total", "Total state depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_first_year_bonus_total", "Total state first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_total", "Total state depreciation basis", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_sta_percent_total", "State ITC percent total", "$", "", "Tax Credits", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_sta_fixed_total", "State ITC fixed total", "$", "", "Tax Credits", "*", "", "" },
// federal itc table
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_macrs_5", "5-yr MACRS federal percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_macrs_5", "5-yr MACRS depreciation federal and federal allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_ibi_reduc_macrs_5", "5-yr MACRS federal IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_cbi_reduc_macrs_5", "5-yr MACRS federal CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_prior_itc_macrs_5", "5-yr MACRS federal depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_fed_qual_macrs_5", "5-yr MACRS depreciation federal ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_qual_macrs_5", "5-yr MACRS federal percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_amount_macrs_5", "5-yr MACRS depreciation ITC basis from federal percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_percent_macrs_5", "5-yr MACRS depreciation ITC basis disallowance from federal percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_fixed_amount_macrs_5", "5-yr MACRS depreciation ITC basis from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_fixed_macrs_5", "5-yr MACRS depreciation ITC basis disallowance from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_sta_reduction_macrs_5", "5-yr MACRS federal basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_fed_reduction_macrs_5", "5-yr MACRS federal basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_after_itc_macrs_5", "5-yr MACRS federal depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_first_year_bonus_macrs_5", "5-yr MACRS federal first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_macrs_5", "5-yr MACRS federal depreciation basis", "$", "", "Depreciation", "*", "", "" },
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_macrs_15", "15-yr MACRS federal percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_macrs_15", "15-yr MACRS depreciation federal and federal allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_ibi_reduc_macrs_15", "15-yr MACRS federal IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_cbi_reduc_macrs_15", "15-yr MACRS federal CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_prior_itc_macrs_15", "15-yr MACRS federal depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_fed_qual_macrs_15", "15-yr MACRS depreciation federal ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_qual_macrs_15", "15-yr MACRS federal percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_amount_macrs_15", "15-yr MACRS depreciation ITC basis from federal percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_percent_macrs_15", "15-yr MACRS depreciation ITC basis disallowance from federal percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_fixed_amount_macrs_15", "15-yr MACRS depreciation ITC basis from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_fixed_macrs_15", "15-yr MACRS depreciation ITC basis disallowance from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_sta_reduction_macrs_15", "15-yr MACRS federal basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_fed_reduction_macrs_15", "15-yr MACRS federal basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_after_itc_macrs_15", "15-yr MACRS federal depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_first_year_bonus_macrs_15", "15-yr MACRS federal first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_macrs_15", "15-yr MACRS federal depreciation basis", "$", "", "Depreciation", "*", "", "" },
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_sl_5", "5-yr straight line federal percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_sl_5", "5-yr straight line depreciation federal and federal allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_ibi_reduc_sl_5", "5-yr straight line federal IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_cbi_reduc_sl_5", "5-yr straight line federal CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_prior_itc_sl_5", "5-yr straight line federal depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_fed_qual_sl_5", "5-yr straight line depreciation federal ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_qual_sl_5", "5-yr straight line federal percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_amount_sl_5", "5-yr straight line depreciation ITC basis from federal percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_percent_sl_5", "5-yr straight line depreciation ITC basis disallowance from federal percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_fixed_amount_sl_5", "5-yr straight line depreciation ITC basis from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_fixed_sl_5", "5-yr straight line depreciation ITC basis disallowance from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_sta_reduction_sl_5", "5-yr straight line federal basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_fed_reduction_sl_5", "5-yr straight line federal basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_after_itc_sl_5", "5-yr straight line federal depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_first_year_bonus_sl_5", "5-yr straight line federal first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_sl_5", "5-yr straight line federal depreciation basis", "$", "", "Depreciation", "*", "", "" },
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_sl_15", "15-yr straight line federal percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_sl_15", "15-yr straight line depreciation federal and federal allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_ibi_reduc_sl_15", "15-yr straight line federal IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_cbi_reduc_sl_15", "15-yr straight line federal CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_prior_itc_sl_15", "15-yr straight line federal depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_fed_qual_sl_15", "15-yr straight line depreciation federal ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_qual_sl_15", "15-yr straight line federal percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_amount_sl_15", "15-yr straight line depreciation ITC basis from federal percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_percent_sl_15", "15-yr straight line depreciation ITC basis disallowance from federal percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_fixed_amount_sl_15", "15-yr straight line depreciation ITC basis from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_fixed_sl_15", "15-yr straight line depreciation ITC basis disallowance from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_sta_reduction_sl_15", "15-yr straight line federal basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_fed_reduction_sl_15", "15-yr straight line federal basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_after_itc_sl_15", "15-yr straight line federal depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_first_year_bonus_sl_15", "15-yr straight line federal first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_sl_15", "15-yr straight line federal depreciation basis", "$", "", "Depreciation", "*", "", "" },
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_sl_20", "20-yr straight line federal percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_sl_20", "20-yr straight line depreciation federal and federal allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_ibi_reduc_sl_20", "20-yr straight line federal IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_cbi_reduc_sl_20", "20-yr straight line federal CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_prior_itc_sl_20", "20-yr straight line federal depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_fed_qual_sl_20", "20-yr straight line depreciation federal ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_qual_sl_20", "20-yr straight line federal percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_amount_sl_20", "20-yr straight line depreciation ITC basis from federal percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_percent_sl_20", "20-yr straight line depreciation ITC basis disallowance from federal percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_fixed_amount_sl_20", "20-yr straight line depreciation ITC basis from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_fixed_sl_20", "20-yr straight line depreciation ITC basis disallowance from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_sta_reduction_sl_20", "20-yr straight line federal basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_fed_reduction_sl_20", "20-yr straight line federal basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_after_itc_sl_20", "20-yr straight line federal depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_first_year_bonus_sl_20", "20-yr straight line federal first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_sl_20", "20-yr straight line federal depreciation basis", "$", "", "Depreciation", "*", "", "" },
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_sl_39", "39-yr straight line federal percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_sl_39", "39-yr straight line depreciation federal and federal allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_ibi_reduc_sl_39", "39-yr straight line federal IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_cbi_reduc_sl_39", "39-yr straight line federal CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_prior_itc_sl_39", "39-yr straight line federal depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_fed_qual_sl_39", "39-yr straight line depreciation federal ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_qual_sl_39", "39-yr straight line federal percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_amount_sl_39", "39-yr straight line depreciation ITC basis from federal percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_percent_sl_39", "39-yr straight line depreciation ITC basis disallowance from federal percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_fixed_amount_sl_39", "39-yr straight line depreciation ITC basis from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_fixed_sl_39", "39-yr straight line depreciation ITC basis disallowance from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_sta_reduction_sl_39", "39-yr straight line federal basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_fed_reduction_sl_39", "39-yr straight line federal basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_after_itc_sl_39", "39-yr straight line federal depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_first_year_bonus_sl_39", "39-yr straight line federal first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_sl_39", "39-yr straight line federal depreciation basis", "$", "", "Depreciation", "*", "", "" },
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_custom", "Custom straight line federal percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_custom", "Custom straight line depreciation federal and federal allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_ibi_reduc_custom", "Custom straight line federal IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_cbi_reduc_custom", "Custom straight line federal CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_prior_itc_custom", "Custom straight line federal depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_fed_qual_custom", "Custom straight line depreciation federal ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_qual_custom", "Custom straight line federal percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_amount_custom", "Custom straight line depreciation ITC basis from federal percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_percent_custom", "Custom straight line depreciation ITC basis disallowance from federal percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_fixed_amount_custom", "Custom straight line depreciation ITC basis from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_fixed_custom", "Custom straight line depreciation ITC basis disallowance from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_sta_reduction_custom", "Custom straight line federal basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_fed_reduction_custom", "Custom straight line federal basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_after_itc_custom", "Custom straight line federal depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_first_year_bonus_custom", "Custom straight line federal first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_custom", "Custom straight line federal depreciation basis", "$", "", "Depreciation", "*", "", "" },
/*1*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_total", "Total federal percent of total depreciable basis", "%", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_alloc_total", "Total depreciation federal and federal allocation", "$", "", "Depreciation", "*", "", "" },
/*2*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_ibi_reduc_total", "Total federal IBI reduction", "$", "", "Depreciation", "*", "", "" },
/*3*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_cbi_reduc_total", "Total federal CBI reduction", "$", "", "Depreciation", "*", "", "" },
/*4*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_prior_itc_total", "Total federal depreciation basis prior ITC reduction", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_fed_qual_total", "Total federal ITC adj qualifying costs", "$", "", "Depreciation", "*", "", "" },
/*5*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_qual_total", "Total federal percent of qualifying costs", "%", "", "Depreciation", "*", "", "" },
/*6*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_percent_amount_total", "Total depreciation ITC basis from federal percentage", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_percent_total", "Total depreciation ITC basis disallowance from federal percentage", "$", "", "Depreciation", "*", "", "" },
/*7*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_fixed_amount_total", "Total depreciation ITC basis from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_disallow_fed_fixed_total", "Total depreciation ITC basis disallowance from federal fixed amount", "$", "", "Depreciation", "*", "", "" },
/*8*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_sta_reduction_total", "Total federal basis state ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*9*/ { SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_itc_fed_reduction_total", "Total federal basis federal ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*10*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_after_itc_total", "Total federal depreciation basis after ITC reduction", "$", "", "Depreciation", "*", "", "" },
/*11*/{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_first_year_bonus_total", "Total federal first year bonus depreciation", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_total", "Total federal depreciation basis", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_fed_percent_total", "Federal ITC percent total", "$", "", "Tax Credits", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "itc_fed_fixed_total", "Federal ITC fixed total", "$", "", "Tax Credits", "*", "", "" },
/* depreciation bases method - added with version 4.1 0=5-yrMacrs, 1=proportional */
{ SSC_INPUT, SSC_NUMBER, "depr_stabas_method", "Method of state depreciation reduction", "", "0=5yr MACRS,1=Proportional", "Depreciation", "?=0", "INTEGER,MIN=0,MAX=1", "" },
{ SSC_INPUT, SSC_NUMBER, "depr_fedbas_method", "Method of federal depreciation reduction", "", "0=5yr MACRS,1=Proportional", "Depreciation", "?=0", "INTEGER,MIN=0,MAX=1", "" },
/* State depreciation table */
{ SSC_OUTPUT, SSC_NUMBER, "depr_stabas_total", "Total state depreciation basis", "$", "", "Depreciation", "*", "", "" },
/* Federal depreciation table */
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_macrs_5", "5-yr MACRS federal depreciation basis", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_macrs_15", "15-yr MACRS federal depreciation basis", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_sl_5", "5-yr straight line federal depreciation basis", "$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_sl_15", "15-yr straight line federal depreciation basis","$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_sl_20", "20-yr straight line federal depreciation basis","$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_sl_39", "39-yr straight line federal depreciation basis","$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_custom", "Custom federal depreciation basis","$", "", "Depreciation", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "depr_fedbas_total", "Total federal depreciation basis", "$", "", "Depreciation", "*", "", "" },
/* State taxes */
/* intermediate outputs for validation */
{ SSC_OUTPUT, SSC_NUMBER, "cash_for_debt_service", "Cash available for debt service (CAFDS)", "$", "", "Debt Sizing", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "pv_cafds", "Present value of CAFDS","$", "", "Debt Sizing", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "size_of_debt", "Size of debt", "$", "", "Debt Sizing", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "size_of_equity", "Equity", "$", "", "Debt Sizing", "*", "", "" },
/* model outputs */
{ SSC_OUTPUT, SSC_NUMBER, "cf_length", "Number of periods in cashflow", "", "", "Cash Flow", "*", "INTEGER", "" },
{ SSC_OUTPUT, SSC_NUMBER, "ppa_price", "PPA price in first year", "cents/kWh", "", "PPA Price", "*", "", "" },
/* Production - input as energy_net above */
/* Partial Income Statement: Project */
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_net", "Energy", "kWh", "", "Cash Flow Revenues", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_ppa_price", "PPA price", "cents/kWh", "", "Cash Flow Revenues", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_energy_value", "PPA revenue", "$", "", "Cash Flow Revenues", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_om_fixed_expense", "O&M fixed expense", "$", "", "Cash Flow Expenses", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_om_production_expense", "O&M production-based expense", "$", "", "Cash Flow Expenses", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_om_capacity_expense", "O&M capacity-based expense", "$", "", "Cash Flow Expenses", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_om_fuel_expense", "O&M fuel expense", "$", "", "Cash Flow Expenses", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_om_opt_fuel_1_expense", "O&M biomass feedstock expense", "$", "", "Cash Flow Expenses", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_om_opt_fuel_2_expense", "O&M coal feedstock expense", "$", "", "Cash Flow Expenses", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_property_tax_assessed_value", "Property tax net assessed value", "$", "", "Cash Flow Expenses", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_property_tax_expense", "Property tax expense", "$", "", "Cash Flow Expenses", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_insurance_expense", "Insurance expense", "$", "", "Cash Flow Expenses", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_operating_expenses", "Total operating expenses", "$", "", "Cash Flow Expenses", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_net_salvage_value", "Salvage value", "$", "", "Cash Flow Revenues", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_total_revenue", "Total revenue", "$", "", "Cash Flow Revenues", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_ebitda", "EBITDA", "$", "", "Cash Flow Expenses", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_reserve_debtservice", "Reserves debt service balance", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_reserve_om", "Reserves working capital balance ", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_reserve_receivables", "Reserves receivables balance", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_reserve_equip1", "Reserves major equipment 1 balance", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_reserve_equip2", "Reserves major equipment 2 balance", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_reserve_equip3", "Reserves major equipment 3 balance", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_reserve_total", "Reserves total reserves balance", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_reserve_interest", "Interest earned on reserves", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_funding_debtservice", "Reserves debt service funding", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_funding_om", "Reserves working capital funding", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_funding_receivables", "Reserves receivables funding", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_funding_equip1", "Reserves major equipment 1 funding", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_funding_equip2", "Reserves major equipment 2 funding", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_funding_equip3", "Reserves major equipment 3 funding", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_disbursement_debtservice", "Reserves debt service disbursement ", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_disbursement_om", "Reserves working capital disbursement", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_disbursement_receivables", "Reserves receivables disbursement", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_disbursement_equip1", "Reserves major equipment 1 disbursement", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_disbursement_equip2", "Reserves major equipment 2 disbursement", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_disbursement_equip3", "Reserves major equipment 3 disbursement", "$", "", "Cash Flow Reserves", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_cash_for_ds", "Cash available for debt service (CAFDS)", "$", "", "Cash Flow Debt Sizing", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_pv_interest_factor", "Present value interest factor for CAFDS", "", "", "Cash Flow Debt Repayment", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_pv_cash_for_ds", "Present value of CAFDS", "$", "", "Cash Flow Debt Sizing", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_debt_size", "Size of debt", "$", "", "Cash Flow Debt Sizing", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_debt_balance", "Debt balance", "$", "", "Cash Flow Debt Repayment", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_debt_payment_interest", "Debt interest payment", "$", "", "Cash Flow Debt Repayment", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_debt_payment_principal", "Debt principal payment", "$", "", "Cash Flow Debt Repayment", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_debt_payment_total", "Debt total payment", "$", "", "Cash Flow Debt Repayment", "*", "LENGTH_EQUAL=cf_length", "" },
// Project cash flow
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_operating_activities", "Cash flow from operating activities", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_NUMBER, "purchase_of_property", "Purchase of property", "$", "", "Cash Flow Pre Tax", "*", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_dsra", "Reserve (increase)/decrease debt service ", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_wcra", "Reserve (increase)/decrease working capital", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_receivablesra", "Reserve (increase)/decrease receivables", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_me1ra", "Reserve (increase)/decrease major equipment 1", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_me2ra", "Reserve (increase)/decrease major equipment 2", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_me3ra", "Reserve (increase)/decrease major equipment 3", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_ra", "Reserve (increase)/decrease total reserve account", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_me1cs", "Reserve capital spending major equipment 1", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_me2cs", "Reserve capital spending major equipment 2", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_me3cs", "Reserve capital spending major equipment 3", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_mecs", "Reserve capital spending major equipment total", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_investing_activities", "Cash flow from investing activities", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_NUMBER, "issuance_of_equity", "Issuance of equity", "$", "", "Cash Flow Pre Tax", "*", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_financing_activities", "Cash flow from financing activities", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_pretax_cashflow", "Total pre-tax cash flow", "$", "", "Cash Flow Pre Tax", "*", "LENGTH_EQUAL=cf_length", "" },
// Project returns
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_return_pretax", "Total pre-tax project returns", "$", "", "Cash Flow Pre Tax Returns", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_return_pretax_irr", "Pre-tax project cumulative IRR", "%", "", "Cash Flow Pre Tax Returns", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_return_pretax_npv", "Pre-tax project cumulative NPV", "$", "", "Cash Flow Pre Tax Returns", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_return_aftertax_cash", "Total after-tax project cash returns", "$", "", "Cash Flow After Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_return_aftertax", "Total after-tax project returns", "$", "", "Cash Flow After Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_return_aftertax_irr", "After-tax project cumulative IRR", "%", "", "Cash Flow After Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_return_aftertax_max_irr", "After-tax project maximum IRR", "%", "", "Cash Flow After Tax", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_project_return_aftertax_npv", "After-tax project cumulative NPV", "$", "", "Cash Flow After Tax", "*", "LENGTH_EQUAL=cf_length", "" },
// metrics table
{ SSC_OUTPUT, SSC_NUMBER, "project_return_aftertax_irr", "Internal rate of return (after-tax)", "%", "", "Metrics", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "project_return_aftertax_npv", "Net present value (after-tax)", "$", "", "Metrics", "*", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_annual_costs", "Annual costs", "$", "", "LCOE calculations", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_NUMBER, "npv_annual_costs", "Present value of annual costs", "$", "", "LCOE calculations", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "adjusted_installed_cost", "Initial cost less cash incentives", "$", "", "", "*", "", "" },
{ SSC_OUTPUT, SSC_NUMBER, "min_dscr", "Minimum DSCR", "", "", "DSCR", "", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_pretax_dscr", "DSCR (pre-tax)", "", "", "DSCR", "*", "LENGTH_EQUAL=cf_length", "" },
var_info_invalid };
extern var_info
vtab_ppa_inout[],
vtab_standard_financial[],
vtab_oandm[],
vtab_equip_reserve[],
vtab_tax_credits[],
vtab_depreciation_inputs[],
vtab_depreciation_outputs[],
vtab_payment_incentives[],
vtab_debt[],
vtab_financial_metrics[],
vtab_lcos_inputs[],
vtab_battery_replacement_cost[];
enum {
CF_energy_net,
CF_energy_value,
CF_ppa_price,
CF_om_fixed_expense,
CF_om_production_expense,
CF_om_capacity_expense,
CF_om_fixed1_expense,
CF_om_production1_expense,
CF_om_capacity1_expense,
CF_om_fixed2_expense,
CF_om_production2_expense,
CF_om_capacity2_expense,
CF_om_fuel_expense,
CF_om_opt_fuel_2_expense,
CF_om_opt_fuel_1_expense,
CF_federal_tax_frac,
CF_state_tax_frac,
CF_effective_tax_frac,
CF_property_tax_assessed_value,
CF_property_tax_expense,
CF_insurance_expense,
CF_operating_expenses,
CF_net_salvage_value,
CF_total_revenue,
CF_ebitda,
CF_reserve_debtservice,
CF_funding_debtservice,
CF_disbursement_debtservice,
CF_reserve_om,
CF_funding_om,
CF_disbursement_om,
CF_reserve_receivables,
CF_funding_receivables,
CF_disbursement_receivables,
CF_reserve_equip1,
CF_funding_equip1,
CF_disbursement_equip1,
CF_reserve_equip2,
CF_funding_equip2,
CF_disbursement_equip2,
CF_reserve_equip3,
CF_funding_equip3,
CF_disbursement_equip3,
CF_reserve_total,
CF_reserve_interest,
// Project cash flow
CF_project_operating_activities,
CF_project_dsra,
CF_project_wcra,
CF_project_receivablesra,
CF_project_me1ra,
CF_project_me2ra,
CF_project_me3ra,
CF_project_ra,
CF_project_me1cs,
CF_project_me2cs,
CF_project_me3cs,
CF_project_mecs,
CF_project_investing_activities,
CF_project_financing_activities,
CF_pretax_cashflow,
// Project returns
CF_project_return_pretax,
CF_project_return_pretax_irr,
CF_project_return_pretax_npv,
CF_project_return_aftertax_cash,
CF_project_return_aftertax_itc,
CF_project_return_aftertax_ptc,
CF_project_return_aftertax_tax,
CF_project_return_aftertax,
CF_project_return_aftertax_irr,
CF_project_return_aftertax_max_irr,
CF_project_return_aftertax_npv,
CF_pv_interest_factor,
CF_cash_for_ds,
CF_pv_cash_for_ds,
CF_debt_size,
CF_debt_balance,
CF_debt_payment_interest,
CF_debt_payment_principal,
CF_debt_payment_total,
CF_pbi_fed,
CF_pbi_sta,
CF_pbi_uti,
CF_pbi_oth,
CF_pbi_total,
CF_pbi_statax_total,
CF_pbi_fedtax_total,
CF_ptc_fed,
CF_ptc_sta,
CF_aftertax_ptc,
CF_macrs_5_frac,
CF_macrs_15_frac,
CF_sl_5_frac,
CF_sl_15_frac,
CF_sl_20_frac,
CF_sl_39_frac,
CF_custom_frac,
CF_stadepr_macrs_5,
CF_stadepr_macrs_15,
CF_stadepr_sl_5,
CF_stadepr_sl_15,
CF_stadepr_sl_20,
CF_stadepr_sl_39,
CF_stadepr_custom,
CF_stadepr_me1,
CF_stadepr_me2,
CF_stadepr_me3,
CF_stadepr_total,
CF_statax_income_prior_incentives,
CF_statax_taxable_incentives,
CF_statax_income_with_incentives,
CF_statax,
CF_feddepr_macrs_5,
CF_feddepr_macrs_15,
CF_feddepr_sl_5,
CF_feddepr_sl_15,
CF_feddepr_sl_20,
CF_feddepr_sl_39,
CF_feddepr_custom,
CF_feddepr_me1,
CF_feddepr_me2,
CF_feddepr_me3,
CF_feddepr_total,
CF_fedtax_income_prior_incentives,
CF_fedtax_taxable_incentives,
CF_fedtax_income_with_incentives,
CF_fedtax,
CF_me1depr_total,
CF_me2depr_total,
CF_me3depr_total,
CF_sta_depr_sched,
CF_sta_depreciation,
CF_sta_incentive_income_less_deductions,
CF_sta_taxable_income_less_deductions,
// CF_sta_tax_savings,
CF_fed_depr_sched,
CF_fed_depreciation,
CF_fed_incentive_income_less_deductions,
CF_fed_taxable_income_less_deductions,
// CF_fed_tax_savings,
CF_degradation,
CF_Recapitalization,
CF_Recapitalization_boolean,
CF_Annual_Costs,
CF_pretax_dscr,
CF_battery_replacement_cost_schedule,
CF_battery_replacement_cost,
CF_energy_sales,
CF_energy_sales_value,
CF_energy_purchases,
CF_energy_purchases_value,
// Host
CF_agreement_cost,
CF_after_tax_net_equity_cost_flow,
CF_after_tax_cash_flow,
CF_payback_with_expenses,
CF_cumulative_payback_with_expenses,
CF_nte,
CF_host_energy_value,
CF_energy_charged_grid,
CF_energy_charged_pv,
CF_energy_discharged,
CF_charging_cost_pv,
CF_charging_cost_grid,
CF_om_cost_lcos,
CF_salvage_cost_lcos,
CF_investment_cost_lcos,
CF_annual_cost_lcos,
CF_util_escal_rate,
CF_utility_bill,
CF_parasitic_cost,
CF_max,
};
class cm_host_developer : public compute_module
{
private:
util::matrix_t<double> cf;
util::matrix_t<double> cf_lcos;
dispatch_calculations m_disp_calcs;
hourly_energy_calculation hourly_energy_calcs;
public:
cm_host_developer()
{
add_var_info(vtab_ppa_inout );
add_var_info( vtab_standard_financial );
add_var_info( vtab_oandm );
add_var_info( vtab_equip_reserve );
add_var_info( vtab_tax_credits );
add_var_info(vtab_depreciation_inputs);
add_var_info(vtab_depreciation_outputs);
add_var_info( vtab_payment_incentives );
add_var_info( vtab_debt );
add_var_info( vtab_financial_metrics );
// add_var_info(vtab_advanced_financing_cost);
add_var_info( _cm_vtab_host_developer );
add_var_info(vtab_battery_replacement_cost);
add_var_info(vtab_lcos_inputs);
}
void exec( )
{
int i = 0;
// cash flow initialization
int nyears = as_integer("analysis_period");
cf.resize_fill(CF_max, nyears + 1, 0.0);
cf_lcos.resize_fill(CF_max, nyears + 1, 0.0);
// assign inputs
double inflation_rate = as_double("inflation_rate")*0.01;
double ppa_escalation = as_double("ppa_escalation")*0.01;
double disc_real = as_double("real_discount_rate")*0.01;
double host_disc_real = as_double("host_real_discount_rate")*0.01;
size_t count;
ssc_number_t* arrp;
arrp = as_array("federal_tax_rate", &count);
if (count > 0)
{
if (count == 1) // single value input
{
for (i = 0; i < nyears; i++)
cf.at(CF_federal_tax_frac, i + 1) = arrp[0] * 0.01;
}
else // schedule
{
for (i = 0; i < nyears && i < (int)count; i++)
cf.at(CF_federal_tax_frac, i + 1) = arrp[i] * 0.01;
}
}
arrp = as_array("state_tax_rate", &count);
if (count > 0)
{
if (count == 1) // single value input
{
for (i = 0; i < nyears; i++)
cf.at(CF_state_tax_frac, i + 1) = arrp[0] * 0.01;
}
else // schedule
{
for (i = 0; i < nyears && i < (int)count; i++)
cf.at(CF_state_tax_frac, i + 1) = arrp[i] * 0.01;
}
}
for (i = 0; i <= nyears; i++)
cf.at(CF_effective_tax_frac, i) = cf.at(CF_state_tax_frac, i) +
(1.0 - cf.at(CF_state_tax_frac, i))*cf.at(CF_federal_tax_frac, i);
double nom_discount_rate = (1 + inflation_rate)*(1 + disc_real) - 1;
double host_nom_discount_rate = (1 + inflation_rate)*(1 + host_disc_real) - 1;
// In conjunction with SAM - take installed costs and salestax costs (for deducting if necessary)
double cost_prefinancing = as_double("total_installed_cost");
// use named range names for variables whenever possible
double nameplate = as_double("system_capacity");
double year1_fuel_use = as_double("annual_fuel_usage"); // kWht
double assessed_frac = as_double("prop_tax_cost_assessed_percent")*0.01;
double salvage_value_frac = as_double("salvage_percentage")*0.01;
double salvage_value = salvage_value_frac * cost_prefinancing;
double cost_debt_closing = as_double("cost_debt_closing");
double cost_debt_fee_frac = as_double("cost_debt_fee")*0.01;
double cost_other_financing = as_double("cost_other_financing");
double cost_debt_upfront;
double constr_total_financing = as_double("construction_financing_cost");
int ppa_mode = as_integer("ppa_soln_mode");
bool constant_dscr_mode = (as_integer("debt_option")==1);
bool constant_principal = (as_integer("payment_option") == 1);;
// log(util::format("debt option=%d and constant dscr mode=%s.",
// as_integer("debt_option"), (constant_dscr_mode ? "true":"false")),
// SSC_WARNING);
// general financial expenses and incentives - stdlib?
// precompute expenses from annual schedules or value+escalation
escal_or_annual( CF_om_fixed_expense, nyears, "om_fixed", inflation_rate, 1.0, false, as_double("om_fixed_escal")*0.01 );
escal_or_annual( CF_om_production_expense, nyears, "om_production", inflation_rate, 0.001, false, as_double("om_production_escal")*0.01 );
escal_or_annual( CF_om_capacity_expense, nyears, "om_capacity", inflation_rate, 1.0, false, as_double("om_capacity_escal")*0.01 );
escal_or_annual( CF_om_fuel_expense, nyears, "om_fuel_cost", inflation_rate, as_double("system_heat_rate")*0.001, false, as_double("om_fuel_cost_escal")*0.01 );
escal_or_annual( CF_om_opt_fuel_1_expense, nyears, "om_opt_fuel_1_cost", inflation_rate, 1.0, false, as_double("om_opt_fuel_1_cost_escal")*0.01 );
escal_or_annual( CF_om_opt_fuel_2_expense, nyears, "om_opt_fuel_2_cost", inflation_rate, 1.0, false, as_double("om_opt_fuel_2_cost_escal")*0.01 );
double om_opt_fuel_1_usage = as_double("om_opt_fuel_1_usage");
double om_opt_fuel_2_usage = as_double("om_opt_fuel_2_usage");
// additional o and m sub types (e.g. batteries and fuel cells)
int add_om_num_types = as_integer("add_om_num_types");
ssc_number_t nameplate1 = 0;
ssc_number_t nameplate2 = 0;
std::vector<double> battery_discharged;
std::vector<double> fuelcell_discharged;
for (int i = 0; i <= nyears; i++) {
battery_discharged.push_back(0);
fuelcell_discharged.push_back(0);
}