Skip to content

Commit a062fb5

Browse files
committed
Support dual fuel measures
* Support new measure attribute, “backup_fuel_fraction” that points to a CSV with information about the portion of annual energy use that remains with backup fuels, for dual fuel measures. These data come from the Stock tools, and CSVs for Stock measures have been added in ./ecm_definitions/energyplus_data/dual_fuel_ratios. For example, a measure input could look like this: backup_fuel_fraction: RTU_other_fossil.csv. * Update the function partition_microsegment to report the amount of energy, carbon, and cost that remains with the baseline fuel for a fuel switching measure b/c the measure has not yet switched over that fuel (see ‘add_fs’ variables ending in ‘_base’) vs. the amounts that remain as backup consumption for stock that has switched over to the measure fuel as primary (see ‘add_fs’ variables ending in ‘_switch’). * Handle these more refined estimates of remaining fuel in Measure results breakouts for attribute ‘mseg_out_break’ (via function ‘breakout_mseg’). * Also handle these refinements in MeasurePackage results breakouts for attribute ‘mseg_out_break‘ (via function ‘find_adj_out_break_cats’). * Update test ecm_prep_test to account for new measure attribute.
1 parent 611c105 commit a062fb5

File tree

7 files changed

+929
-160
lines changed

7 files changed

+929
-160
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
state,remain_frac
2+
AL,0.287428343
3+
AK,0.399294832
4+
AZ,0.191027742
5+
AR,0.212070134
6+
CA,0.181096479
7+
CO,0.364728057
8+
CT,0.30486797
9+
DE,0.256572013
10+
DC,0.170449121
11+
FL,0.235650505
12+
GA,0.274319322
13+
HI,0.756536792
14+
ID,0.253386745
15+
IL,0.379058671
16+
IN,0.373272833
17+
IA,0.457009503
18+
KS,0.347672429
19+
KY,0.370394935
20+
LA,0.177639678
21+
ME,0.789983186
22+
MD,0.280554041
23+
MA,0.313316312
24+
MI,0.333795709
25+
MN,0.505632079
26+
MS,0.302239805
27+
MO,0.353145966
28+
MT,0.433829274
29+
NE,0.360188719
30+
NV,0.288878429
31+
NH,0.415335099
32+
NJ,0.335777977
33+
NM,0.242731118
34+
NY,0.340864678
35+
NC,0.294794694
36+
ND,0.608008636
37+
OH,0.36441457
38+
OK,0.22065905
39+
OR,0.164661346
40+
PA,0.355822018
41+
RI,0.263188738
42+
SC,0.265704606
43+
SD,0.516938337
44+
TN,0.322982955
45+
TX,0.211044165
46+
UT,0.307403686
47+
VT,0.614022355
48+
VA,0.255498841
49+
WA,0.189952532
50+
WV,0.272518929
51+
WI,0.385878029
52+
WY,0.435953059
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
state,remain_frac
2+
AL,0.065304047
3+
AK,0
4+
AZ,0.099131566
5+
AR,0.231208406
6+
CA,0.040893797
7+
CO,0.066900016
8+
CT,0.24360357
9+
DE,0.011317982
10+
DC,0.003212938
11+
FL,0.012724722
12+
GA,0.049149609
13+
HI,NA
14+
ID,0.052492877
15+
IL,0.149110097
16+
IN,0.256558411
17+
IA,0.264209233
18+
KS,0.254925096
19+
KY,0.046594417
20+
LA,0.239606028
21+
ME,0.153215093
22+
MD,0.067188439
23+
MA,0.268061746
24+
MI,0.208528973
25+
MN,0.225863294
26+
MS,0.048722772
27+
MO,0.273466064
28+
MT,0.069924458
29+
NE,0.215088608
30+
NV,0.057155131
31+
NH,0.21304057
32+
NJ,0.292337061
33+
NM,0.052911686
34+
NY,0.271868484
35+
NC,0.077440767
36+
ND,0.160921837
37+
OH,0.41016439
38+
OK,0.251375456
39+
OR,0.173810036
40+
PA,0.345687032
41+
RI,0.145588573
42+
SC,0.015630059
43+
SD,0.228662888
44+
TN,0.067092312
45+
TX,0.236961597
46+
UT,0.054973678
47+
VT,0.133931457
48+
VA,0.062223541
49+
WA,0.125306759
50+
WV,0.011599973
51+
WI,0.306900721
52+
WY,0.096191674
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
state,remain_frac
2+
AL,0.031014538
3+
AK,0.013714787
4+
AZ,0.010837947
5+
AR,0.020745774
6+
CA,0.002961119
7+
CO,0.015285531
8+
CT,0.021424955
9+
DE,0.022127746
10+
DC,0.012911115
11+
FL,0.017973131
12+
GA,0.023221406
13+
HI,1.28E-04
14+
ID,0.017096258
15+
IL,0.033303217
16+
IN,0.035759436
17+
IA,0.067640845
18+
KS,0.016515519
19+
KY,0.031804081
20+
LA,0.015921741
21+
ME,0.058399081
22+
MD,0.026774436
23+
MA,0.016483224
24+
MI,0.014033944
25+
MN,0.102587001
26+
MS,0.024187319
27+
MO,0.026863374
28+
MT,0.05828883
29+
NE,0.030116483
30+
NV,0.008157137
31+
NH,0.072759927
32+
NJ,0.012824536
33+
NM,0.007505554
34+
NY,0.016882816
35+
NC,0.033055775
36+
ND,0.171729915
37+
OH,0.021000886
38+
OK,0.012019338
39+
OR,0.034659043
40+
PA,0.016691343
41+
RI,0.012263702
42+
SC,0.072188021
43+
SD,0.062267144
44+
TN,0.022364064
45+
TX,0.012244062
46+
UT,0.008398451
47+
VT,0.053643834
48+
VA,0.025490197
49+
WA,0.027544698
50+
WV,0.02326001
51+
WI,0.047353044
52+
WY,0.037552723
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
state,remain_frac
2+
AL,0.081735027
3+
AR,0.071114369
4+
AZ,0.088457318
5+
CA,0.09011111
6+
CO,0.291983927
7+
CT,0.324447154
8+
DC,0.276131389
9+
DE,0.163283072
10+
FL,0.046533163
11+
GA,0.074193879
12+
IA,0.374491987
13+
ID,0.164687914
14+
IL,0.327969852
15+
IN,0.281192717
16+
KS,0.18638592
17+
KY,0.183054963
18+
LA,0.050288665
19+
MA,0.354791063
20+
MD,0.200281108
21+
ME,0.450097866
22+
MI,0.358192428
23+
MN,0.514839468
24+
MO,0.184430855
25+
MS,0.075879589
26+
MT,0.31500051
27+
NC,0.099517562
28+
ND,0.584577824
29+
NE,0.310391727
30+
NH,0.350330126
31+
NJ,0.310406146
32+
NM,0.187268435
33+
NV,0.133499281
34+
NY,0.380146117
35+
OH,0.289150822
36+
OK,0.066282635
37+
OR,0.09747341
38+
PA,0.279283741
39+
RI,0.368450514
40+
SC,0.069301445
41+
SD,0.437020173
42+
TN,0.114403128
43+
TX,0.047846849
44+
UT,0.198660434
45+
VA,0.162176399
46+
VT,0.351632425
47+
WA,0.13542427
48+
WI,0.440768166
49+
WV,0.2460229
50+
WY,0.289152316
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
state,remain_frac
2+
AL,0.15353519
3+
AR,0.132502624
4+
AZ,0.188758249
5+
CA,0.195178104
6+
CO,0.233787532
7+
CT,0.276704696
8+
DC,0.373001877
9+
DE,0.186768954
10+
FL,0.129318447
11+
GA,0.120909496
12+
IA,0.371299779
13+
ID,0.188363831
14+
IL,0.263396089
15+
IN,0.275817715
16+
KS,0.216675771
17+
KY,0.190296586
18+
LA,0.100348355
19+
MA,0.322615234
20+
MD,0.224654604
21+
ME,0.319093596
22+
MI,0.387089138
23+
MN,0.557373516
24+
MO,0.216736031
25+
MS,0.154757671
26+
MT,0.259964511
27+
NC,0.173556223
28+
ND,0.549331591
29+
NE,0.293762017
30+
NH,0.29336848
31+
NJ,0.316945184
32+
NM,0.184862378
33+
NV,0.179521307
34+
NY,0.340436468
35+
OH,0.276767112
36+
OK,0.150336431
37+
OR,0.080445986
38+
PA,0.257016819
39+
RI,0.298240039
40+
SC,0.123258716
41+
SD,0.415955586
42+
TN,0.237505946
43+
TX,0.128556834
44+
UT,0.208972156
45+
VA,0.201121352
46+
VT,0.356490925
47+
WA,0.108470158
48+
WI,0.468287547
49+
WV,0.256095366
50+
WY,0.284066788

0 commit comments

Comments
 (0)