finished working
This commit is contained in:
parent
dee24f7cd7
commit
f2f80583ea
@ -60,6 +60,7 @@ class EnergySystemAnalysisReport:
|
|||||||
xy=(bar.get_x() + bar.get_width() / 2, height),
|
xy=(bar.get_x() + bar.get_width() / 2, height),
|
||||||
xytext=(0, 3), # 3 points vertical offset
|
xytext=(0, 3), # 3 points vertical offset
|
||||||
textcoords="offset points",
|
textcoords="offset points",
|
||||||
|
rotation=90,
|
||||||
ha='center', va='bottom')
|
ha='center', va='bottom')
|
||||||
|
|
||||||
def create_hvac_demand_chart(building_names, yearly_heating_demand, yearly_cooling_demand):
|
def create_hvac_demand_chart(building_names, yearly_heating_demand, yearly_cooling_demand):
|
||||||
|
@ -8,43 +8,51 @@
|
|||||||
"coordinates": [
|
"coordinates": [
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
-73.5680637695714,
|
-73.62948868908549,
|
||||||
45.49212884162544
|
45.48461733832786
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
-73.56802228176146,
|
-73.62956359080174,
|
||||||
45.49217205619571
|
45.484650710572986
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
-73.56815668696326,
|
-73.62967497870982,
|
||||||
45.49223626189717
|
45.484530029088795
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
-73.56815766959974,
|
-73.62966618920213,
|
||||||
45.49223524178655
|
45.48452673843101
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
-73.56818746886172,
|
-73.62967009009336,
|
||||||
45.49224944155107
|
45.48452193782283
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
-73.56822816806918,
|
-73.629642388851,
|
||||||
45.49220694186927
|
45.484509938322816
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
-73.5680637695714,
|
-73.62963448951254,
|
||||||
45.49212884162544
|
45.48451883776789
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.6295937887693,
|
||||||
|
45.4845007385537
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62948868908549,
|
||||||
|
45.48461733832786
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"id": 175785,
|
"id": 0,
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": "01044602",
|
"name": "03001221",
|
||||||
"address": "rue Victor-Hugo (MTL) 1630",
|
"address": "avenue Trans Island (MTL) 5134",
|
||||||
"function": "1000",
|
"function": 1000,
|
||||||
"height": 12,
|
"height": 10,
|
||||||
"year_of_construction": 1986
|
"year_of_construction": 1938
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -54,35 +62,39 @@
|
|||||||
"coordinates": [
|
"coordinates": [
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
-73.56802228176146,
|
-73.62917298901957,
|
||||||
45.49217205619571
|
45.483972237904354
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
-73.56798225825526,
|
-73.62917138898788,
|
||||||
45.492213743742184
|
45.48397403850636
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
-73.56811660206223,
|
-73.62910553061838,
|
||||||
45.49227791893211
|
45.48405016526578
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
-73.56815668696326,
|
-73.62942471361703,
|
||||||
45.49223626189717
|
45.484192995689305
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
-73.56802228176146,
|
-73.6294957889904,
|
||||||
45.49217205619571
|
45.48411153844349
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62917298901957,
|
||||||
|
45.483972237904354
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"id": 176293,
|
"id": 1,
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": "01044604",
|
"name": "03034819",
|
||||||
"address": "rue Victor-Hugo (MTL) 1636",
|
"address": "chemin Queen-Mary (CSL+HMS+MTL) 5295",
|
||||||
"function": "1000",
|
"function": 5010,
|
||||||
"height": 12,
|
"height": 13,
|
||||||
"year_of_construction": 1986
|
"year_of_construction": 1947
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -92,43 +104,507 @@
|
|||||||
"coordinates": [
|
"coordinates": [
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
-73.56809506939487,
|
-73.62811878848375,
|
||||||
45.49209624228538
|
45.48524263835249
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
-73.56809246893268,
|
-73.62848248902627,
|
||||||
45.4920988416879
|
45.48540473843307
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
-73.56821287000538,
|
-73.628713388038,
|
||||||
45.49216124158406
|
45.485148438095436
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
-73.56822186852654,
|
-73.62834978954395,
|
||||||
45.49216584161625
|
45.48498633772827
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
-73.56826745951075,
|
-73.62811878848375,
|
||||||
45.492118613912375
|
45.48524263835249
|
||||||
],
|
|
||||||
[
|
|
||||||
-73.56813497596143,
|
|
||||||
45.49205532773507
|
|
||||||
],
|
|
||||||
[
|
|
||||||
-73.56809506939487,
|
|
||||||
45.49209624228538
|
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"id": 182393,
|
"id": 2,
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": "01044601",
|
"name": "03034827",
|
||||||
"address": "rue Victor-Hugo (MTL) 1626",
|
"address": "chemin Queen-Mary (CSL+HMS+MTL) 5185",
|
||||||
"function": "1000",
|
"function": 6000,
|
||||||
"height": 8,
|
"height": 23,
|
||||||
"year_of_construction": 1986
|
"year_of_construction": 1965
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"geometry": {
|
||||||
|
"type": "Polygon",
|
||||||
|
"coordinates": [
|
||||||
|
[
|
||||||
|
[
|
||||||
|
-73.62842928894743,
|
||||||
|
45.484859937877104
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.6283975885967,
|
||||||
|
45.48489623821182
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.6290344887828,
|
||||||
|
45.48517193793845
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62916918840871,
|
||||||
|
45.48501783823486
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62916748901932,
|
||||||
|
45.485017038393686
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62911998977847,
|
||||||
|
45.484996537811874
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.6293023891854,
|
||||||
|
45.48478763828057
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62871458968642,
|
||||||
|
45.48453353860914
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62842928894743,
|
||||||
|
45.484859937877104
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"id": 3,
|
||||||
|
"properties": {
|
||||||
|
"name": "05005050",
|
||||||
|
"address": "chemin Queen-Mary (CSL+HMS+MTL) 5225",
|
||||||
|
"function": 5010,
|
||||||
|
"height": 14,
|
||||||
|
"year_of_construction": 1950
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"geometry": {
|
||||||
|
"type": "Polygon",
|
||||||
|
"coordinates": [
|
||||||
|
[
|
||||||
|
[
|
||||||
|
-73.62947582691463,
|
||||||
|
45.4844439174614
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62936761180272,
|
||||||
|
45.48456371870977
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62944328948561,
|
||||||
|
45.48459803859312
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62955268871404,
|
||||||
|
45.48447863816202
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62947582691463,
|
||||||
|
45.4844439174614
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"id": 4,
|
||||||
|
"properties": {
|
||||||
|
"name": "05099035",
|
||||||
|
"address": "avenue Trans Island (MTL) 5126",
|
||||||
|
"function": 1000,
|
||||||
|
"height": 13,
|
||||||
|
"year_of_construction": 1938
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"geometry": {
|
||||||
|
"type": "Polygon",
|
||||||
|
"coordinates": [
|
||||||
|
[
|
||||||
|
[
|
||||||
|
-73.62929378846796,
|
||||||
|
45.484530238933154
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62936761180272,
|
||||||
|
45.48456371870977
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62947582691463,
|
||||||
|
45.4844439174614
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62940308832825,
|
||||||
|
45.484410937739476
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62929378846796,
|
||||||
|
45.484530238933154
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"id": 5,
|
||||||
|
"properties": {
|
||||||
|
"name": "05099039",
|
||||||
|
"address": "avenue Trans Island (MTL) 5122",
|
||||||
|
"function": 1000,
|
||||||
|
"height": 13,
|
||||||
|
"year_of_construction": 1938
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"geometry": {
|
||||||
|
"type": "Polygon",
|
||||||
|
"coordinates": [
|
||||||
|
[
|
||||||
|
[
|
||||||
|
-73.62920998938438,
|
||||||
|
45.4855189379395
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62918618895002,
|
||||||
|
45.485546438957
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62916501183074,
|
||||||
|
45.48553736996182
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62908970469474,
|
||||||
|
45.48562095360061
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62919528868372,
|
||||||
|
45.48566523802897
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62928298946174,
|
||||||
|
45.48556163761837
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62926618933685,
|
||||||
|
45.48555453884989
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62925708866844,
|
||||||
|
45.48554893860869
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.6292100891663,
|
||||||
|
45.48551893782662
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62920998938438,
|
||||||
|
45.4855189379395
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"id": 6,
|
||||||
|
"properties": {
|
||||||
|
"name": "03117788",
|
||||||
|
"address": "avenue de Westbury (MTL) 5164",
|
||||||
|
"function": 1000,
|
||||||
|
"height": 9,
|
||||||
|
"year_of_construction": 1936
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"geometry": {
|
||||||
|
"type": "Polygon",
|
||||||
|
"coordinates": [
|
||||||
|
[
|
||||||
|
[
|
||||||
|
-73.62903989789439,
|
||||||
|
45.484126028976185
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62883718835609,
|
||||||
|
45.48436033838249
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62919488920701,
|
||||||
|
45.48451223873142
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62935110591256,
|
||||||
|
45.484330118442536
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62935097785788,
|
||||||
|
45.4843300609974
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62935706915914,
|
||||||
|
45.484323178374765
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62936328884332,
|
||||||
|
45.48431593836747
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62936342457334,
|
||||||
|
45.4843159958039
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62939219043412,
|
||||||
|
45.48428348957356
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62903989789439,
|
||||||
|
45.484126028976185
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"id": 256086,
|
||||||
|
"properties": {
|
||||||
|
"name": "03034823",
|
||||||
|
"address": "chemin Queen-Mary (CSL+HMS+MTL) 5267",
|
||||||
|
"function": 1000,
|
||||||
|
"height": 17,
|
||||||
|
"year_of_construction": 1929
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"geometry": {
|
||||||
|
"type": "Polygon",
|
||||||
|
"coordinates": [
|
||||||
|
[
|
||||||
|
[
|
||||||
|
-73.62896580843174,
|
||||||
|
45.485366509121945
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62884021038202,
|
||||||
|
45.485505910124516
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62892868941702,
|
||||||
|
45.48554533872655
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62905428989627,
|
||||||
|
45.485405938524764
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62896580843174,
|
||||||
|
45.485366509121945
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"id": 8,
|
||||||
|
"properties": {
|
||||||
|
"name": "03000228",
|
||||||
|
"address": "avenue de Westbury (MTL) 5154",
|
||||||
|
"function": 1000,
|
||||||
|
"height": 9,
|
||||||
|
"year_of_construction": 1936
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"geometry": {
|
||||||
|
"type": "Polygon",
|
||||||
|
"coordinates": [
|
||||||
|
[
|
||||||
|
[
|
||||||
|
-73.62910553061838,
|
||||||
|
45.48405016526578
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62903989789439,
|
||||||
|
45.484126028976185
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62939219043412,
|
||||||
|
45.48428348957356
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62941895305357,
|
||||||
|
45.484253246918925
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62938498908001,
|
||||||
|
45.48423853781578
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62942471361703,
|
||||||
|
45.484192995689305
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62910553061838,
|
||||||
|
45.48405016526578
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"id": 9,
|
||||||
|
"properties": {
|
||||||
|
"name": "03034821",
|
||||||
|
"address": "chemin Queen-Mary (CSL+HMS+MTL) 5285",
|
||||||
|
"function": 6000,
|
||||||
|
"height": 13,
|
||||||
|
"year_of_construction": 1961
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"geometry": {
|
||||||
|
"type": "Polygon",
|
||||||
|
"coordinates": [
|
||||||
|
[
|
||||||
|
[
|
||||||
|
-73.62898398926576,
|
||||||
|
45.48557673851088
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62908970469474,
|
||||||
|
45.48562095360061
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62916501183074,
|
||||||
|
45.48553736996182
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62914298829955,
|
||||||
|
45.48552793838188
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62916278960934,
|
||||||
|
45.48550483854288
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62907568852677,
|
||||||
|
45.4854683384634
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62898398926576,
|
||||||
|
45.48557673851088
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"id": 10,
|
||||||
|
"properties": {
|
||||||
|
"name": "03000230",
|
||||||
|
"address": "avenue de Westbury (MTL) 5162",
|
||||||
|
"function": 1000,
|
||||||
|
"height": 9,
|
||||||
|
"year_of_construction": 1936
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"geometry": {
|
||||||
|
"type": "Polygon",
|
||||||
|
"coordinates": [
|
||||||
|
[
|
||||||
|
[
|
||||||
|
-73.62875028828293,
|
||||||
|
45.48546583879048
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62884021038202,
|
||||||
|
45.485505910124516
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62896580843174,
|
||||||
|
45.485366509121945
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62887588902436,
|
||||||
|
45.48532643788276
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62875028828293,
|
||||||
|
45.48546583879048
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"id": 11,
|
||||||
|
"properties": {
|
||||||
|
"name": "03000226",
|
||||||
|
"address": "avenue de Westbury (MTL) 5150",
|
||||||
|
"function": 1000,
|
||||||
|
"height": 9,
|
||||||
|
"year_of_construction": 1936
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"geometry": {
|
||||||
|
"type": "Polygon",
|
||||||
|
"coordinates": [
|
||||||
|
[
|
||||||
|
[
|
||||||
|
-73.62950798881216,
|
||||||
|
45.48415333776605
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62950468920712,
|
||||||
|
45.48415703807526
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62942008885695,
|
||||||
|
45.48425373874777
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62941895305357,
|
||||||
|
45.484253246918925
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62936342457334,
|
||||||
|
45.4843159958039
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.6294362888302,
|
||||||
|
45.484346938157515
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62943598889761,
|
||||||
|
45.48434723814615
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62959114232252,
|
||||||
|
45.484395975167345
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62972093535072,
|
||||||
|
45.48424580008849
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-73.62950798881216,
|
||||||
|
45.48415333776605
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"id": 12,
|
||||||
|
"properties": {
|
||||||
|
"name": "03037093",
|
||||||
|
"address": "boulevard Décarie (CSL+MTL+MTR) 5139",
|
||||||
|
"function": 5010,
|
||||||
|
"height": 17,
|
||||||
|
"year_of_construction": 1963
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
15
main.py
15
main.py
@ -13,26 +13,27 @@ from scripts import random_assignation
|
|||||||
from hub.imports.energy_systems_factory import EnergySystemsFactory
|
from hub.imports.energy_systems_factory import EnergySystemsFactory
|
||||||
from energy_system_analysis_report import EnergySystemAnalysisReport
|
from energy_system_analysis_report import EnergySystemAnalysisReport
|
||||||
# Specify the GeoJSON file path
|
# Specify the GeoJSON file path
|
||||||
geojson_file = process_geojson(x=-73.5681295982132, y=45.49218262677643, diff=0.0001)
|
|
||||||
file_path = (Path(__file__).parent.parent / 'input_files' / f'{geojson_file}')
|
# geojson_file = process_geojson(x=-73.62884173370726, y=45.48479726814255, diff=0.0008)
|
||||||
# Specify the output path for the PDF file
|
file_path = (Path(__file__).parent / 'input_files' / 'output_buildings.geojson')
|
||||||
|
# # Specify the output path for the PDF file
|
||||||
output_path = (Path(__file__).parent / 'out_files').resolve()
|
output_path = (Path(__file__).parent / 'out_files').resolve()
|
||||||
# Create city object from GeoJSON file
|
# # Create city object from GeoJSON file
|
||||||
city = GeometryFactory('geojson',
|
city = GeometryFactory('geojson',
|
||||||
path=file_path,
|
path=file_path,
|
||||||
height_field='height',
|
height_field='height',
|
||||||
year_of_construction_field='year_of_construction',
|
year_of_construction_field='year_of_construction',
|
||||||
function_field='function',
|
function_field='function',
|
||||||
function_to_hub=Dictionaries().montreal_function_to_hub_function).city
|
function_to_hub=Dictionaries().montreal_function_to_hub_function).city
|
||||||
# Enrich city data
|
# # Enrich city data
|
||||||
ConstructionFactory('nrcan', city).enrich()
|
ConstructionFactory('nrcan', city).enrich()
|
||||||
UsageFactory('comnet', city).enrich()
|
UsageFactory('nrcan', city).enrich()
|
||||||
WeatherFactory('epw', city).enrich()
|
WeatherFactory('epw', city).enrich()
|
||||||
ExportsFactory('sra', city, output_path).export()
|
ExportsFactory('sra', city, output_path).export()
|
||||||
sra_path = (output_path / f'{city.name}_sra.xml').resolve()
|
sra_path = (output_path / f'{city.name}_sra.xml').resolve()
|
||||||
subprocess.run(['sra', str(sra_path)])
|
subprocess.run(['sra', str(sra_path)])
|
||||||
ResultFactory('sra', city, output_path).enrich()
|
ResultFactory('sra', city, output_path).enrich()
|
||||||
# Run EnergyPlus workflow
|
# # Run EnergyPlus workflow
|
||||||
energy_plus_workflow(city)
|
energy_plus_workflow(city)
|
||||||
random_assignation.call_random(city.buildings, random_assignation.residential_systems_percentage)
|
random_assignation.call_random(city.buildings, random_assignation.residential_systems_percentage)
|
||||||
EnergySystemsFactory('montreal_custom', city).enrich()
|
EnergySystemsFactory('montreal_custom', city).enrich()
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,52 +0,0 @@
|
|||||||
Processing Schedule Input -- Start
|
|
||||||
found (Current Working Directory)=C:\Users\umroot\PycharmProjects\system_assignation\out_files\cold_temp schedules 175785.dat
|
|
||||||
found (Current Working Directory)=C:\Users\umroot\PycharmProjects\system_assignation\out_files\cold_temp schedules 176293.dat
|
|
||||||
found (Current Working Directory)=C:\Users\umroot\PycharmProjects\system_assignation\out_files\cold_temp schedules 182393.dat
|
|
||||||
Processing Schedule Input -- Complete
|
|
||||||
MonthlyInputCount= 2
|
|
||||||
sizeMonthlyInput= 25
|
|
||||||
MonthlyFieldSetInputCount= 20
|
|
||||||
sizeMonthlyFieldSetInput= 50
|
|
||||||
MonthlyTablesCount= 0
|
|
||||||
MonthlyColumnsCount= 0
|
|
||||||
sizeReportName= 100
|
|
||||||
numReportName= 17
|
|
||||||
sizeSubTable= 100
|
|
||||||
numSubTable= 79
|
|
||||||
sizeColumnTag= 800
|
|
||||||
numColumnTag= 618
|
|
||||||
sizeTableEntry= 3200
|
|
||||||
numTableEntry= 1957
|
|
||||||
sizeCompSizeTableEntry= 0
|
|
||||||
numCompSizeTableEntry= 0
|
|
||||||
NumOfRVariable= 4420
|
|
||||||
NumOfRVariable(Total)= 4420
|
|
||||||
NumOfRVariable(Actual)= 45
|
|
||||||
NumOfRVariable(Summed)= 36
|
|
||||||
NumOfRVariable(Meter)= 36
|
|
||||||
NumOfIVariable= 317
|
|
||||||
NumOfIVariable(Total)= 317
|
|
||||||
NumOfIVariable(Actual)= 0
|
|
||||||
NumOfIVariable(Summed)= 0
|
|
||||||
MaxRVariable= 1000
|
|
||||||
MaxIVariable= 10
|
|
||||||
NumEnergyMeters= 78
|
|
||||||
NumVarMeterArrays= 36
|
|
||||||
maxUniqueKeyCount= 1500
|
|
||||||
maxNumberOfFigures= 3
|
|
||||||
MAXHCArrayBounds= 14
|
|
||||||
MaxVerticesPerSurface= 6
|
|
||||||
NumReportList= 500
|
|
||||||
InstMeterCacheSize= 1000
|
|
||||||
ClippingAlgorithm=SutherlandHodgman
|
|
||||||
MonthlyFieldSetInputCount= 20
|
|
||||||
NumConsideredOutputVariables= 5
|
|
||||||
MaxConsideredOutputVariables= 10000
|
|
||||||
numActuatorsUsed= 0
|
|
||||||
numEMSActuatorsAvailable= 0
|
|
||||||
maxEMSActuatorsAvailable= 0
|
|
||||||
numInternalVariablesUsed= 0
|
|
||||||
numEMSInternalVarsAvailable= 0
|
|
||||||
maxEMSInternalVarsAvailable= 0
|
|
||||||
NumOfNodeConnections= 12
|
|
||||||
MaxNumOfNodeConnections= 1000
|
|
File diff suppressed because it is too large
Load Diff
@ -1,564 +0,0 @@
|
|||||||
|
|
||||||
Meters for 7,175785_LIGHTS:Lights Electricity Energy [J]
|
|
||||||
OnMeter=Electricity:Facility [J]
|
|
||||||
OnMeter=Electricity:Building [J]
|
|
||||||
OnMeter=Electricity:Zone:175785 [J]
|
|
||||||
OnMeter=InteriorLights:Electricity [J]
|
|
||||||
OnMeter=InteriorLights:Electricity:Zone:175785 [J]
|
|
||||||
OnMeter=ELECTRIC EQUIPMENT#175785#GeneralLights:InteriorLights:Electricity [J]
|
|
||||||
|
|
||||||
Meters for 81,176293_LIGHTS:Lights Electricity Energy [J]
|
|
||||||
OnMeter=Electricity:Facility [J]
|
|
||||||
OnMeter=Electricity:Building [J]
|
|
||||||
OnMeter=Electricity:Zone:176293 [J]
|
|
||||||
OnMeter=InteriorLights:Electricity [J]
|
|
||||||
OnMeter=InteriorLights:Electricity:Zone:176293 [J]
|
|
||||||
OnMeter=ELECTRIC EQUIPMENT#176293#GeneralLights:InteriorLights:Electricity [J]
|
|
||||||
|
|
||||||
Meters for 119,182393_LIGHTS:Lights Electricity Energy [J]
|
|
||||||
OnMeter=Electricity:Facility [J]
|
|
||||||
OnMeter=Electricity:Building [J]
|
|
||||||
OnMeter=Electricity:Zone:182393 [J]
|
|
||||||
OnMeter=InteriorLights:Electricity [J]
|
|
||||||
OnMeter=InteriorLights:Electricity:Zone:182393 [J]
|
|
||||||
OnMeter=ELECTRIC EQUIPMENT#182393#GeneralLights:InteriorLights:Electricity [J]
|
|
||||||
|
|
||||||
Meters for 158,175785_APPLIANCE:Other Equipment Electricity Energy [J]
|
|
||||||
OnMeter=Electricity:Facility [J]
|
|
||||||
OnMeter=Electricity:Building [J]
|
|
||||||
OnMeter=Electricity:Zone:175785 [J]
|
|
||||||
OnMeter=InteriorEquipment:Electricity [J]
|
|
||||||
OnMeter=InteriorEquipment:Electricity:Zone:175785 [J]
|
|
||||||
OnMeter=ELECTRIC EQUIPMENT#175785#InteriorEquipment:InteriorEquipment:Electricity [J]
|
|
||||||
|
|
||||||
Meters for 196,176293_APPLIANCE:Other Equipment Electricity Energy [J]
|
|
||||||
OnMeter=Electricity:Facility [J]
|
|
||||||
OnMeter=Electricity:Building [J]
|
|
||||||
OnMeter=Electricity:Zone:176293 [J]
|
|
||||||
OnMeter=InteriorEquipment:Electricity [J]
|
|
||||||
OnMeter=InteriorEquipment:Electricity:Zone:176293 [J]
|
|
||||||
OnMeter=ELECTRIC EQUIPMENT#176293#InteriorEquipment:InteriorEquipment:Electricity [J]
|
|
||||||
|
|
||||||
Meters for 222,182393_APPLIANCE:Other Equipment Electricity Energy [J]
|
|
||||||
OnMeter=Electricity:Facility [J]
|
|
||||||
OnMeter=Electricity:Building [J]
|
|
||||||
OnMeter=Electricity:Zone:182393 [J]
|
|
||||||
OnMeter=InteriorEquipment:Electricity [J]
|
|
||||||
OnMeter=InteriorEquipment:Electricity:Zone:182393 [J]
|
|
||||||
OnMeter=ELECTRIC EQUIPMENT#182393#InteriorEquipment:InteriorEquipment:Electricity [J]
|
|
||||||
|
|
||||||
Meters for 247,175785:Zone Ventilation Fan Electricity Energy [J]
|
|
||||||
OnMeter=Electricity:Facility [J]
|
|
||||||
OnMeter=Electricity:Building [J]
|
|
||||||
OnMeter=Electricity:Zone:175785 [J]
|
|
||||||
OnMeter=Fans:Electricity [J]
|
|
||||||
OnMeter=Fans:Electricity:Zone:175785 [J]
|
|
||||||
OnMeter=Ventilation (simple):Fans:Electricity [J]
|
|
||||||
|
|
||||||
Meters for 284,176293:Zone Ventilation Fan Electricity Energy [J]
|
|
||||||
OnMeter=Electricity:Facility [J]
|
|
||||||
OnMeter=Electricity:Building [J]
|
|
||||||
OnMeter=Electricity:Zone:176293 [J]
|
|
||||||
OnMeter=Fans:Electricity [J]
|
|
||||||
OnMeter=Fans:Electricity:Zone:176293 [J]
|
|
||||||
OnMeter=Ventilation (simple):Fans:Electricity [J]
|
|
||||||
|
|
||||||
Meters for 297,182393:Zone Ventilation Fan Electricity Energy [J]
|
|
||||||
OnMeter=Electricity:Facility [J]
|
|
||||||
OnMeter=Electricity:Building [J]
|
|
||||||
OnMeter=Electricity:Zone:182393 [J]
|
|
||||||
OnMeter=Fans:Electricity [J]
|
|
||||||
OnMeter=Fans:Electricity:Zone:182393 [J]
|
|
||||||
OnMeter=Ventilation (simple):Fans:Electricity [J]
|
|
||||||
|
|
||||||
Meters for 310,175785:Zone Air System Sensible Heating Energy [J]
|
|
||||||
OnMeter=EnergyTransfer:Facility [J]
|
|
||||||
OnMeter=EnergyTransfer:Building [J]
|
|
||||||
OnMeter=EnergyTransfer:Zone:175785 [J]
|
|
||||||
OnMeter=Heating:EnergyTransfer [J]
|
|
||||||
OnMeter=Heating:EnergyTransfer:Zone:175785 [J]
|
|
||||||
OnMeter=General:Heating:EnergyTransfer [J]
|
|
||||||
|
|
||||||
Meters for 383,175785:Zone Air System Sensible Cooling Energy [J]
|
|
||||||
OnMeter=EnergyTransfer:Facility [J]
|
|
||||||
OnMeter=EnergyTransfer:Building [J]
|
|
||||||
OnMeter=EnergyTransfer:Zone:175785 [J]
|
|
||||||
OnMeter=Cooling:EnergyTransfer [J]
|
|
||||||
OnMeter=Cooling:EnergyTransfer:Zone:175785 [J]
|
|
||||||
OnMeter=General:Cooling:EnergyTransfer [J]
|
|
||||||
|
|
||||||
Meters for 420,176293:Zone Air System Sensible Heating Energy [J]
|
|
||||||
OnMeter=EnergyTransfer:Facility [J]
|
|
||||||
OnMeter=EnergyTransfer:Building [J]
|
|
||||||
OnMeter=EnergyTransfer:Zone:176293 [J]
|
|
||||||
OnMeter=Heating:EnergyTransfer [J]
|
|
||||||
OnMeter=Heating:EnergyTransfer:Zone:176293 [J]
|
|
||||||
OnMeter=General:Heating:EnergyTransfer [J]
|
|
||||||
|
|
||||||
Meters for 445,176293:Zone Air System Sensible Cooling Energy [J]
|
|
||||||
OnMeter=EnergyTransfer:Facility [J]
|
|
||||||
OnMeter=EnergyTransfer:Building [J]
|
|
||||||
OnMeter=EnergyTransfer:Zone:176293 [J]
|
|
||||||
OnMeter=Cooling:EnergyTransfer [J]
|
|
||||||
OnMeter=Cooling:EnergyTransfer:Zone:176293 [J]
|
|
||||||
OnMeter=General:Cooling:EnergyTransfer [J]
|
|
||||||
|
|
||||||
Meters for 458,182393:Zone Air System Sensible Heating Energy [J]
|
|
||||||
OnMeter=EnergyTransfer:Facility [J]
|
|
||||||
OnMeter=EnergyTransfer:Building [J]
|
|
||||||
OnMeter=EnergyTransfer:Zone:182393 [J]
|
|
||||||
OnMeter=Heating:EnergyTransfer [J]
|
|
||||||
OnMeter=Heating:EnergyTransfer:Zone:182393 [J]
|
|
||||||
OnMeter=General:Heating:EnergyTransfer [J]
|
|
||||||
|
|
||||||
Meters for 483,182393:Zone Air System Sensible Cooling Energy [J]
|
|
||||||
OnMeter=EnergyTransfer:Facility [J]
|
|
||||||
OnMeter=EnergyTransfer:Building [J]
|
|
||||||
OnMeter=EnergyTransfer:Zone:182393 [J]
|
|
||||||
OnMeter=Cooling:EnergyTransfer [J]
|
|
||||||
OnMeter=Cooling:EnergyTransfer:Zone:182393 [J]
|
|
||||||
OnMeter=General:Cooling:EnergyTransfer [J]
|
|
||||||
|
|
||||||
Meters for 496,175785 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy [J]
|
|
||||||
OnMeter=DistrictHeating:Facility [J]
|
|
||||||
OnMeter=DistrictHeating:HVAC [J]
|
|
||||||
OnMeter=Heating:DistrictHeating [J]
|
|
||||||
OnMeter=General:Heating:DistrictHeating [J]
|
|
||||||
|
|
||||||
Meters for 545,175785 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy [J]
|
|
||||||
OnMeter=DistrictCooling:Facility [J]
|
|
||||||
OnMeter=DistrictCooling:HVAC [J]
|
|
||||||
OnMeter=Cooling:DistrictCooling [J]
|
|
||||||
OnMeter=General:Cooling:DistrictCooling [J]
|
|
||||||
|
|
||||||
Meters for 594,176293 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy [J]
|
|
||||||
OnMeter=DistrictHeating:Facility [J]
|
|
||||||
OnMeter=DistrictHeating:HVAC [J]
|
|
||||||
OnMeter=Heating:DistrictHeating [J]
|
|
||||||
OnMeter=General:Heating:DistrictHeating [J]
|
|
||||||
|
|
||||||
Meters for 595,176293 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy [J]
|
|
||||||
OnMeter=DistrictCooling:Facility [J]
|
|
||||||
OnMeter=DistrictCooling:HVAC [J]
|
|
||||||
OnMeter=Cooling:DistrictCooling [J]
|
|
||||||
OnMeter=General:Cooling:DistrictCooling [J]
|
|
||||||
|
|
||||||
Meters for 596,182393 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy [J]
|
|
||||||
OnMeter=DistrictHeating:Facility [J]
|
|
||||||
OnMeter=DistrictHeating:HVAC [J]
|
|
||||||
OnMeter=Heating:DistrictHeating [J]
|
|
||||||
OnMeter=General:Heating:DistrictHeating [J]
|
|
||||||
|
|
||||||
Meters for 597,182393 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy [J]
|
|
||||||
OnMeter=DistrictCooling:Facility [J]
|
|
||||||
OnMeter=DistrictCooling:HVAC [J]
|
|
||||||
OnMeter=Cooling:DistrictCooling [J]
|
|
||||||
OnMeter=General:Cooling:DistrictCooling [J]
|
|
||||||
|
|
||||||
Meters for 598,DHW 175785:Water Use Equipment Total Volume [m3]
|
|
||||||
OnMeter=Water:Facility [m3]
|
|
||||||
OnMeter=Water:Plant [m3]
|
|
||||||
OnMeter=WaterSystems:Water [m3]
|
|
||||||
OnMeter=DHW 175785:WaterSystems:Water [m3]
|
|
||||||
|
|
||||||
Meters for 647,DHW 175785:Water Use Equipment Mains Water Volume [m3]
|
|
||||||
OnMeter=MainsWater:Facility [m3]
|
|
||||||
OnMeter=MainsWater:Plant [m3]
|
|
||||||
OnMeter=WaterSystems:MainsWater [m3]
|
|
||||||
OnMeter=DHW 175785:WaterSystems:MainsWater [m3]
|
|
||||||
|
|
||||||
Meters for 697,DHW 175785:Water Use Equipment Heating Energy [J]
|
|
||||||
OnMeter=DistrictHeating:Facility [J]
|
|
||||||
OnMeter=DistrictHeating:Plant [J]
|
|
||||||
OnMeter=WaterSystems:DistrictHeating [J]
|
|
||||||
OnMeter=DHW 175785:WaterSystems:DistrictHeating [J]
|
|
||||||
|
|
||||||
Meters for 734,DHW 176293:Water Use Equipment Total Volume [m3]
|
|
||||||
OnMeter=Water:Facility [m3]
|
|
||||||
OnMeter=Water:Plant [m3]
|
|
||||||
OnMeter=WaterSystems:Water [m3]
|
|
||||||
OnMeter=DHW 176293:WaterSystems:Water [m3]
|
|
||||||
|
|
||||||
Meters for 747,DHW 176293:Water Use Equipment Mains Water Volume [m3]
|
|
||||||
OnMeter=MainsWater:Facility [m3]
|
|
||||||
OnMeter=MainsWater:Plant [m3]
|
|
||||||
OnMeter=WaterSystems:MainsWater [m3]
|
|
||||||
OnMeter=DHW 176293:WaterSystems:MainsWater [m3]
|
|
||||||
|
|
||||||
Meters for 761,DHW 176293:Water Use Equipment Heating Energy [J]
|
|
||||||
OnMeter=DistrictHeating:Facility [J]
|
|
||||||
OnMeter=DistrictHeating:Plant [J]
|
|
||||||
OnMeter=WaterSystems:DistrictHeating [J]
|
|
||||||
OnMeter=DHW 176293:WaterSystems:DistrictHeating [J]
|
|
||||||
|
|
||||||
Meters for 774,DHW 182393:Water Use Equipment Total Volume [m3]
|
|
||||||
OnMeter=Water:Facility [m3]
|
|
||||||
OnMeter=Water:Plant [m3]
|
|
||||||
OnMeter=WaterSystems:Water [m3]
|
|
||||||
OnMeter=DHW 182393:WaterSystems:Water [m3]
|
|
||||||
|
|
||||||
Meters for 787,DHW 182393:Water Use Equipment Mains Water Volume [m3]
|
|
||||||
OnMeter=MainsWater:Facility [m3]
|
|
||||||
OnMeter=MainsWater:Plant [m3]
|
|
||||||
OnMeter=WaterSystems:MainsWater [m3]
|
|
||||||
OnMeter=DHW 182393:WaterSystems:MainsWater [m3]
|
|
||||||
|
|
||||||
Meters for 801,DHW 182393:Water Use Equipment Heating Energy [J]
|
|
||||||
OnMeter=DistrictHeating:Facility [J]
|
|
||||||
OnMeter=DistrictHeating:Plant [J]
|
|
||||||
OnMeter=WaterSystems:DistrictHeating [J]
|
|
||||||
OnMeter=DHW 182393:WaterSystems:DistrictHeating [J]
|
|
||||||
|
|
||||||
Meters for 814,Whole Building:Facility Total Purchased Electricity Energy [J]
|
|
||||||
OnMeter=ElectricityPurchased:Facility [J]
|
|
||||||
OnMeter=ElectricityPurchased:Plant [J]
|
|
||||||
OnMeter=Cogeneration:ElectricityPurchased [J]
|
|
||||||
OnMeter=General:Cogeneration:ElectricityPurchased [J]
|
|
||||||
|
|
||||||
Meters for 863,Whole Building:Facility Total Surplus Electricity Energy [J]
|
|
||||||
OnMeter=ElectricitySurplusSold:Facility [J]
|
|
||||||
OnMeter=ElectricitySurplusSold:Plant [J]
|
|
||||||
OnMeter=Cogeneration:ElectricitySurplusSold [J]
|
|
||||||
OnMeter=General:Cogeneration:ElectricitySurplusSold [J]
|
|
||||||
|
|
||||||
Meters for 912,Whole Building:Facility Net Purchased Electricity Energy [J]
|
|
||||||
OnMeter=ElectricityNet:Facility [J]
|
|
||||||
OnMeter=ElectricityNet:Plant [J]
|
|
||||||
OnMeter=Cogeneration:ElectricityNet [J]
|
|
||||||
OnMeter=General:Cogeneration:ElectricityNet [J]
|
|
||||||
|
|
||||||
Meters for 961,Site:Environmental Impact Total N2O Emissions Carbon Equivalent Mass [kg]
|
|
||||||
OnMeter=Carbon Equivalent:Facility [kg]
|
|
||||||
OnMeter=CarbonEquivalentEmissions:Carbon Equivalent [kg]
|
|
||||||
|
|
||||||
Meters for 986,Site:Environmental Impact Total CH4 Emissions Carbon Equivalent Mass [kg]
|
|
||||||
OnMeter=Carbon Equivalent:Facility [kg]
|
|
||||||
OnMeter=CarbonEquivalentEmissions:Carbon Equivalent [kg]
|
|
||||||
|
|
||||||
Meters for 987,Site:Environmental Impact Total CO2 Emissions Carbon Equivalent Mass [kg]
|
|
||||||
OnMeter=Carbon Equivalent:Facility [kg]
|
|
||||||
OnMeter=CarbonEquivalentEmissions:Carbon Equivalent [kg]
|
|
||||||
|
|
||||||
For Meter=Electricity:Facility [J], ResourceType=Electricity, contents are:
|
|
||||||
175785_LIGHTS:Lights Electricity Energy
|
|
||||||
176293_LIGHTS:Lights Electricity Energy
|
|
||||||
182393_LIGHTS:Lights Electricity Energy
|
|
||||||
175785_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
176293_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
182393_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
175785:Zone Ventilation Fan Electricity Energy
|
|
||||||
176293:Zone Ventilation Fan Electricity Energy
|
|
||||||
182393:Zone Ventilation Fan Electricity Energy
|
|
||||||
|
|
||||||
For Meter=Electricity:Building [J], ResourceType=Electricity, Group=Building, contents are:
|
|
||||||
175785_LIGHTS:Lights Electricity Energy
|
|
||||||
176293_LIGHTS:Lights Electricity Energy
|
|
||||||
182393_LIGHTS:Lights Electricity Energy
|
|
||||||
175785_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
176293_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
182393_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
175785:Zone Ventilation Fan Electricity Energy
|
|
||||||
176293:Zone Ventilation Fan Electricity Energy
|
|
||||||
182393:Zone Ventilation Fan Electricity Energy
|
|
||||||
|
|
||||||
For Meter=Electricity:Zone:175785 [J], ResourceType=Electricity, Group=Zone, contents are:
|
|
||||||
175785_LIGHTS:Lights Electricity Energy
|
|
||||||
175785_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
175785:Zone Ventilation Fan Electricity Energy
|
|
||||||
|
|
||||||
For Meter=InteriorLights:Electricity [J], ResourceType=Electricity, EndUse=InteriorLights, contents are:
|
|
||||||
175785_LIGHTS:Lights Electricity Energy
|
|
||||||
176293_LIGHTS:Lights Electricity Energy
|
|
||||||
182393_LIGHTS:Lights Electricity Energy
|
|
||||||
|
|
||||||
For Meter=InteriorLights:Electricity:Zone:175785 [J], ResourceType=Electricity, EndUse=InteriorLights, Group=Zone, contents are:
|
|
||||||
175785_LIGHTS:Lights Electricity Energy
|
|
||||||
|
|
||||||
For Meter=ELECTRIC EQUIPMENT#175785#GeneralLights:InteriorLights:Electricity [J], ResourceType=Electricity, EndUse=InteriorLights, contents are:
|
|
||||||
175785_LIGHTS:Lights Electricity Energy
|
|
||||||
|
|
||||||
For Meter=Electricity:Zone:176293 [J], ResourceType=Electricity, Group=Zone, contents are:
|
|
||||||
176293_LIGHTS:Lights Electricity Energy
|
|
||||||
176293_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
176293:Zone Ventilation Fan Electricity Energy
|
|
||||||
|
|
||||||
For Meter=InteriorLights:Electricity:Zone:176293 [J], ResourceType=Electricity, EndUse=InteriorLights, Group=Zone, contents are:
|
|
||||||
176293_LIGHTS:Lights Electricity Energy
|
|
||||||
|
|
||||||
For Meter=ELECTRIC EQUIPMENT#176293#GeneralLights:InteriorLights:Electricity [J], ResourceType=Electricity, EndUse=InteriorLights, contents are:
|
|
||||||
176293_LIGHTS:Lights Electricity Energy
|
|
||||||
|
|
||||||
For Meter=Electricity:Zone:182393 [J], ResourceType=Electricity, Group=Zone, contents are:
|
|
||||||
182393_LIGHTS:Lights Electricity Energy
|
|
||||||
182393_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
182393:Zone Ventilation Fan Electricity Energy
|
|
||||||
|
|
||||||
For Meter=InteriorLights:Electricity:Zone:182393 [J], ResourceType=Electricity, EndUse=InteriorLights, Group=Zone, contents are:
|
|
||||||
182393_LIGHTS:Lights Electricity Energy
|
|
||||||
|
|
||||||
For Meter=ELECTRIC EQUIPMENT#182393#GeneralLights:InteriorLights:Electricity [J], ResourceType=Electricity, EndUse=InteriorLights, contents are:
|
|
||||||
182393_LIGHTS:Lights Electricity Energy
|
|
||||||
|
|
||||||
For Meter=InteriorEquipment:Electricity [J], ResourceType=Electricity, EndUse=InteriorEquipment, contents are:
|
|
||||||
175785_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
176293_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
182393_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
|
|
||||||
For Meter=InteriorEquipment:Electricity:Zone:175785 [J], ResourceType=Electricity, EndUse=InteriorEquipment, Group=Zone, contents are:
|
|
||||||
175785_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
|
|
||||||
For Meter=ELECTRIC EQUIPMENT#175785#InteriorEquipment:InteriorEquipment:Electricity [J], ResourceType=Electricity, EndUse=InteriorEquipment, contents are:
|
|
||||||
175785_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
|
|
||||||
For Meter=InteriorEquipment:Electricity:Zone:176293 [J], ResourceType=Electricity, EndUse=InteriorEquipment, Group=Zone, contents are:
|
|
||||||
176293_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
|
|
||||||
For Meter=ELECTRIC EQUIPMENT#176293#InteriorEquipment:InteriorEquipment:Electricity [J], ResourceType=Electricity, EndUse=InteriorEquipment, contents are:
|
|
||||||
176293_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
|
|
||||||
For Meter=InteriorEquipment:Electricity:Zone:182393 [J], ResourceType=Electricity, EndUse=InteriorEquipment, Group=Zone, contents are:
|
|
||||||
182393_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
|
|
||||||
For Meter=ELECTRIC EQUIPMENT#182393#InteriorEquipment:InteriorEquipment:Electricity [J], ResourceType=Electricity, EndUse=InteriorEquipment, contents are:
|
|
||||||
182393_APPLIANCE:Other Equipment Electricity Energy
|
|
||||||
|
|
||||||
For Meter=Fans:Electricity [J], ResourceType=Electricity, EndUse=Fans, contents are:
|
|
||||||
175785:Zone Ventilation Fan Electricity Energy
|
|
||||||
176293:Zone Ventilation Fan Electricity Energy
|
|
||||||
182393:Zone Ventilation Fan Electricity Energy
|
|
||||||
|
|
||||||
For Meter=Fans:Electricity:Zone:175785 [J], ResourceType=Electricity, EndUse=Fans, Group=Zone, contents are:
|
|
||||||
175785:Zone Ventilation Fan Electricity Energy
|
|
||||||
|
|
||||||
For Meter=Ventilation (simple):Fans:Electricity [J], ResourceType=Electricity, EndUse=Fans, contents are:
|
|
||||||
175785:Zone Ventilation Fan Electricity Energy
|
|
||||||
176293:Zone Ventilation Fan Electricity Energy
|
|
||||||
182393:Zone Ventilation Fan Electricity Energy
|
|
||||||
|
|
||||||
For Meter=Fans:Electricity:Zone:176293 [J], ResourceType=Electricity, EndUse=Fans, Group=Zone, contents are:
|
|
||||||
176293:Zone Ventilation Fan Electricity Energy
|
|
||||||
|
|
||||||
For Meter=Fans:Electricity:Zone:182393 [J], ResourceType=Electricity, EndUse=Fans, Group=Zone, contents are:
|
|
||||||
182393:Zone Ventilation Fan Electricity Energy
|
|
||||||
|
|
||||||
For Meter=EnergyTransfer:Facility [J], ResourceType=EnergyTransfer, contents are:
|
|
||||||
175785:Zone Air System Sensible Heating Energy
|
|
||||||
175785:Zone Air System Sensible Cooling Energy
|
|
||||||
176293:Zone Air System Sensible Heating Energy
|
|
||||||
176293:Zone Air System Sensible Cooling Energy
|
|
||||||
182393:Zone Air System Sensible Heating Energy
|
|
||||||
182393:Zone Air System Sensible Cooling Energy
|
|
||||||
|
|
||||||
For Meter=EnergyTransfer:Building [J], ResourceType=EnergyTransfer, Group=Building, contents are:
|
|
||||||
175785:Zone Air System Sensible Heating Energy
|
|
||||||
175785:Zone Air System Sensible Cooling Energy
|
|
||||||
176293:Zone Air System Sensible Heating Energy
|
|
||||||
176293:Zone Air System Sensible Cooling Energy
|
|
||||||
182393:Zone Air System Sensible Heating Energy
|
|
||||||
182393:Zone Air System Sensible Cooling Energy
|
|
||||||
|
|
||||||
For Meter=EnergyTransfer:Zone:175785 [J], ResourceType=EnergyTransfer, Group=Zone, contents are:
|
|
||||||
175785:Zone Air System Sensible Heating Energy
|
|
||||||
175785:Zone Air System Sensible Cooling Energy
|
|
||||||
|
|
||||||
For Meter=Heating:EnergyTransfer [J], ResourceType=EnergyTransfer, EndUse=Heating, contents are:
|
|
||||||
175785:Zone Air System Sensible Heating Energy
|
|
||||||
176293:Zone Air System Sensible Heating Energy
|
|
||||||
182393:Zone Air System Sensible Heating Energy
|
|
||||||
|
|
||||||
For Meter=Heating:EnergyTransfer:Zone:175785 [J], ResourceType=EnergyTransfer, EndUse=Heating, Group=Zone, contents are:
|
|
||||||
175785:Zone Air System Sensible Heating Energy
|
|
||||||
|
|
||||||
For Meter=General:Heating:EnergyTransfer [J], ResourceType=EnergyTransfer, EndUse=Heating, contents are:
|
|
||||||
175785:Zone Air System Sensible Heating Energy
|
|
||||||
176293:Zone Air System Sensible Heating Energy
|
|
||||||
182393:Zone Air System Sensible Heating Energy
|
|
||||||
|
|
||||||
For Meter=Cooling:EnergyTransfer [J], ResourceType=EnergyTransfer, EndUse=Cooling, contents are:
|
|
||||||
175785:Zone Air System Sensible Cooling Energy
|
|
||||||
176293:Zone Air System Sensible Cooling Energy
|
|
||||||
182393:Zone Air System Sensible Cooling Energy
|
|
||||||
|
|
||||||
For Meter=Cooling:EnergyTransfer:Zone:175785 [J], ResourceType=EnergyTransfer, EndUse=Cooling, Group=Zone, contents are:
|
|
||||||
175785:Zone Air System Sensible Cooling Energy
|
|
||||||
|
|
||||||
For Meter=General:Cooling:EnergyTransfer [J], ResourceType=EnergyTransfer, EndUse=Cooling, contents are:
|
|
||||||
175785:Zone Air System Sensible Cooling Energy
|
|
||||||
176293:Zone Air System Sensible Cooling Energy
|
|
||||||
182393:Zone Air System Sensible Cooling Energy
|
|
||||||
|
|
||||||
For Meter=EnergyTransfer:Zone:176293 [J], ResourceType=EnergyTransfer, Group=Zone, contents are:
|
|
||||||
176293:Zone Air System Sensible Heating Energy
|
|
||||||
176293:Zone Air System Sensible Cooling Energy
|
|
||||||
|
|
||||||
For Meter=Heating:EnergyTransfer:Zone:176293 [J], ResourceType=EnergyTransfer, EndUse=Heating, Group=Zone, contents are:
|
|
||||||
176293:Zone Air System Sensible Heating Energy
|
|
||||||
|
|
||||||
For Meter=Cooling:EnergyTransfer:Zone:176293 [J], ResourceType=EnergyTransfer, EndUse=Cooling, Group=Zone, contents are:
|
|
||||||
176293:Zone Air System Sensible Cooling Energy
|
|
||||||
|
|
||||||
For Meter=EnergyTransfer:Zone:182393 [J], ResourceType=EnergyTransfer, Group=Zone, contents are:
|
|
||||||
182393:Zone Air System Sensible Heating Energy
|
|
||||||
182393:Zone Air System Sensible Cooling Energy
|
|
||||||
|
|
||||||
For Meter=Heating:EnergyTransfer:Zone:182393 [J], ResourceType=EnergyTransfer, EndUse=Heating, Group=Zone, contents are:
|
|
||||||
182393:Zone Air System Sensible Heating Energy
|
|
||||||
|
|
||||||
For Meter=Cooling:EnergyTransfer:Zone:182393 [J], ResourceType=EnergyTransfer, EndUse=Cooling, Group=Zone, contents are:
|
|
||||||
182393:Zone Air System Sensible Cooling Energy
|
|
||||||
|
|
||||||
For Meter=DistrictHeating:Facility [J], ResourceType=DistrictHeating, contents are:
|
|
||||||
175785 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy
|
|
||||||
176293 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy
|
|
||||||
182393 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy
|
|
||||||
DHW 175785:Water Use Equipment Heating Energy
|
|
||||||
DHW 176293:Water Use Equipment Heating Energy
|
|
||||||
DHW 182393:Water Use Equipment Heating Energy
|
|
||||||
|
|
||||||
For Meter=DistrictHeating:HVAC [J], ResourceType=DistrictHeating, Group=HVAC, contents are:
|
|
||||||
175785 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy
|
|
||||||
176293 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy
|
|
||||||
182393 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy
|
|
||||||
|
|
||||||
For Meter=Heating:DistrictHeating [J], ResourceType=DistrictHeating, EndUse=Heating, contents are:
|
|
||||||
175785 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy
|
|
||||||
176293 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy
|
|
||||||
182393 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy
|
|
||||||
|
|
||||||
For Meter=General:Heating:DistrictHeating [J], ResourceType=DistrictHeating, EndUse=Heating, contents are:
|
|
||||||
175785 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy
|
|
||||||
176293 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy
|
|
||||||
182393 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Heating Energy
|
|
||||||
|
|
||||||
For Meter=DistrictCooling:Facility [J], ResourceType=DistrictCooling, contents are:
|
|
||||||
175785 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy
|
|
||||||
176293 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy
|
|
||||||
182393 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy
|
|
||||||
|
|
||||||
For Meter=DistrictCooling:HVAC [J], ResourceType=DistrictCooling, Group=HVAC, contents are:
|
|
||||||
175785 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy
|
|
||||||
176293 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy
|
|
||||||
182393 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy
|
|
||||||
|
|
||||||
For Meter=Cooling:DistrictCooling [J], ResourceType=DistrictCooling, EndUse=Cooling, contents are:
|
|
||||||
175785 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy
|
|
||||||
176293 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy
|
|
||||||
182393 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy
|
|
||||||
|
|
||||||
For Meter=General:Cooling:DistrictCooling [J], ResourceType=DistrictCooling, EndUse=Cooling, contents are:
|
|
||||||
175785 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy
|
|
||||||
176293 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy
|
|
||||||
182393 IDEAL LOADS AIR SYSTEM:Zone Ideal Loads Supply Air Total Cooling Energy
|
|
||||||
|
|
||||||
For Meter=Water:Facility [m3], ResourceType=Water, contents are:
|
|
||||||
DHW 175785:Water Use Equipment Total Volume
|
|
||||||
DHW 176293:Water Use Equipment Total Volume
|
|
||||||
DHW 182393:Water Use Equipment Total Volume
|
|
||||||
|
|
||||||
For Meter=Water:Plant [m3], ResourceType=Water, Group=Plant, contents are:
|
|
||||||
DHW 175785:Water Use Equipment Total Volume
|
|
||||||
DHW 176293:Water Use Equipment Total Volume
|
|
||||||
DHW 182393:Water Use Equipment Total Volume
|
|
||||||
|
|
||||||
For Meter=WaterSystems:Water [m3], ResourceType=Water, EndUse=WaterSystems, contents are:
|
|
||||||
DHW 175785:Water Use Equipment Total Volume
|
|
||||||
DHW 176293:Water Use Equipment Total Volume
|
|
||||||
DHW 182393:Water Use Equipment Total Volume
|
|
||||||
|
|
||||||
For Meter=DHW 175785:WaterSystems:Water [m3], ResourceType=Water, EndUse=WaterSystems, contents are:
|
|
||||||
DHW 175785:Water Use Equipment Total Volume
|
|
||||||
|
|
||||||
For Meter=MainsWater:Facility [m3], ResourceType=MainsWater, contents are:
|
|
||||||
DHW 175785:Water Use Equipment Mains Water Volume
|
|
||||||
DHW 176293:Water Use Equipment Mains Water Volume
|
|
||||||
DHW 182393:Water Use Equipment Mains Water Volume
|
|
||||||
|
|
||||||
For Meter=MainsWater:Plant [m3], ResourceType=MainsWater, Group=Plant, contents are:
|
|
||||||
DHW 175785:Water Use Equipment Mains Water Volume
|
|
||||||
DHW 176293:Water Use Equipment Mains Water Volume
|
|
||||||
DHW 182393:Water Use Equipment Mains Water Volume
|
|
||||||
|
|
||||||
For Meter=WaterSystems:MainsWater [m3], ResourceType=MainsWater, EndUse=WaterSystems, contents are:
|
|
||||||
DHW 175785:Water Use Equipment Mains Water Volume
|
|
||||||
DHW 176293:Water Use Equipment Mains Water Volume
|
|
||||||
DHW 182393:Water Use Equipment Mains Water Volume
|
|
||||||
|
|
||||||
For Meter=DHW 175785:WaterSystems:MainsWater [m3], ResourceType=MainsWater, EndUse=WaterSystems, contents are:
|
|
||||||
DHW 175785:Water Use Equipment Mains Water Volume
|
|
||||||
|
|
||||||
For Meter=DistrictHeating:Plant [J], ResourceType=DistrictHeating, Group=Plant, contents are:
|
|
||||||
DHW 175785:Water Use Equipment Heating Energy
|
|
||||||
DHW 176293:Water Use Equipment Heating Energy
|
|
||||||
DHW 182393:Water Use Equipment Heating Energy
|
|
||||||
|
|
||||||
For Meter=WaterSystems:DistrictHeating [J], ResourceType=DistrictHeating, EndUse=WaterSystems, contents are:
|
|
||||||
DHW 175785:Water Use Equipment Heating Energy
|
|
||||||
DHW 176293:Water Use Equipment Heating Energy
|
|
||||||
DHW 182393:Water Use Equipment Heating Energy
|
|
||||||
|
|
||||||
For Meter=DHW 175785:WaterSystems:DistrictHeating [J], ResourceType=DistrictHeating, EndUse=WaterSystems, contents are:
|
|
||||||
DHW 175785:Water Use Equipment Heating Energy
|
|
||||||
|
|
||||||
For Meter=DHW 176293:WaterSystems:Water [m3], ResourceType=Water, EndUse=WaterSystems, contents are:
|
|
||||||
DHW 176293:Water Use Equipment Total Volume
|
|
||||||
|
|
||||||
For Meter=DHW 176293:WaterSystems:MainsWater [m3], ResourceType=MainsWater, EndUse=WaterSystems, contents are:
|
|
||||||
DHW 176293:Water Use Equipment Mains Water Volume
|
|
||||||
|
|
||||||
For Meter=DHW 176293:WaterSystems:DistrictHeating [J], ResourceType=DistrictHeating, EndUse=WaterSystems, contents are:
|
|
||||||
DHW 176293:Water Use Equipment Heating Energy
|
|
||||||
|
|
||||||
For Meter=DHW 182393:WaterSystems:Water [m3], ResourceType=Water, EndUse=WaterSystems, contents are:
|
|
||||||
DHW 182393:Water Use Equipment Total Volume
|
|
||||||
|
|
||||||
For Meter=DHW 182393:WaterSystems:MainsWater [m3], ResourceType=MainsWater, EndUse=WaterSystems, contents are:
|
|
||||||
DHW 182393:Water Use Equipment Mains Water Volume
|
|
||||||
|
|
||||||
For Meter=DHW 182393:WaterSystems:DistrictHeating [J], ResourceType=DistrictHeating, EndUse=WaterSystems, contents are:
|
|
||||||
DHW 182393:Water Use Equipment Heating Energy
|
|
||||||
|
|
||||||
For Meter=ElectricityPurchased:Facility [J], ResourceType=ElectricityPurchased, contents are:
|
|
||||||
Whole Building:Facility Total Purchased Electricity Energy
|
|
||||||
|
|
||||||
For Meter=ElectricityPurchased:Plant [J], ResourceType=ElectricityPurchased, Group=Plant, contents are:
|
|
||||||
Whole Building:Facility Total Purchased Electricity Energy
|
|
||||||
|
|
||||||
For Meter=Cogeneration:ElectricityPurchased [J], ResourceType=ElectricityPurchased, EndUse=Cogeneration, contents are:
|
|
||||||
Whole Building:Facility Total Purchased Electricity Energy
|
|
||||||
|
|
||||||
For Meter=General:Cogeneration:ElectricityPurchased [J], ResourceType=ElectricityPurchased, EndUse=Cogeneration, contents are:
|
|
||||||
Whole Building:Facility Total Purchased Electricity Energy
|
|
||||||
|
|
||||||
For Meter=ElectricitySurplusSold:Facility [J], ResourceType=ElectricitySurplusSold, contents are:
|
|
||||||
Whole Building:Facility Total Surplus Electricity Energy
|
|
||||||
|
|
||||||
For Meter=ElectricitySurplusSold:Plant [J], ResourceType=ElectricitySurplusSold, Group=Plant, contents are:
|
|
||||||
Whole Building:Facility Total Surplus Electricity Energy
|
|
||||||
|
|
||||||
For Meter=Cogeneration:ElectricitySurplusSold [J], ResourceType=ElectricitySurplusSold, EndUse=Cogeneration, contents are:
|
|
||||||
Whole Building:Facility Total Surplus Electricity Energy
|
|
||||||
|
|
||||||
For Meter=General:Cogeneration:ElectricitySurplusSold [J], ResourceType=ElectricitySurplusSold, EndUse=Cogeneration, contents are:
|
|
||||||
Whole Building:Facility Total Surplus Electricity Energy
|
|
||||||
|
|
||||||
For Meter=ElectricityNet:Facility [J], ResourceType=ElectricityNet, contents are:
|
|
||||||
Whole Building:Facility Net Purchased Electricity Energy
|
|
||||||
|
|
||||||
For Meter=ElectricityNet:Plant [J], ResourceType=ElectricityNet, Group=Plant, contents are:
|
|
||||||
Whole Building:Facility Net Purchased Electricity Energy
|
|
||||||
|
|
||||||
For Meter=Cogeneration:ElectricityNet [J], ResourceType=ElectricityNet, EndUse=Cogeneration, contents are:
|
|
||||||
Whole Building:Facility Net Purchased Electricity Energy
|
|
||||||
|
|
||||||
For Meter=General:Cogeneration:ElectricityNet [J], ResourceType=ElectricityNet, EndUse=Cogeneration, contents are:
|
|
||||||
Whole Building:Facility Net Purchased Electricity Energy
|
|
||||||
|
|
||||||
For Meter=Carbon Equivalent:Facility [kg], ResourceType=Carbon Equivalent, contents are:
|
|
||||||
Site:Environmental Impact Total N2O Emissions Carbon Equivalent Mass
|
|
||||||
Site:Environmental Impact Total CH4 Emissions Carbon Equivalent Mass
|
|
||||||
Site:Environmental Impact Total CO2 Emissions Carbon Equivalent Mass
|
|
||||||
|
|
||||||
For Meter=CarbonEquivalentEmissions:Carbon Equivalent [kg], ResourceType=Carbon Equivalent, EndUse=CarbonEquivalentEmissions, contents are:
|
|
||||||
Site:Environmental Impact Total N2O Emissions Carbon Equivalent Mass
|
|
||||||
Site:Environmental Impact Total CH4 Emissions Carbon Equivalent Mass
|
|
||||||
Site:Environmental Impact Total CO2 Emissions Carbon Equivalent Mass
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -13,6 +13,7 @@ class LatexReport:
|
|||||||
self.content.append(r'\documentclass{article}')
|
self.content.append(r'\documentclass{article}')
|
||||||
self.content.append(r'\usepackage[margin=2.5cm]{geometry}') # Adjust page margins
|
self.content.append(r'\usepackage[margin=2.5cm]{geometry}') # Adjust page margins
|
||||||
self.content.append(r'\usepackage{graphicx}')
|
self.content.append(r'\usepackage{graphicx}')
|
||||||
|
self.content.append(r'\usepackage{float}')
|
||||||
self.content.append(r'\usepackage{tabularx}')
|
self.content.append(r'\usepackage{tabularx}')
|
||||||
self.content.append(r'\begin{document}')
|
self.content.append(r'\begin{document}')
|
||||||
# Get current date and time
|
# Get current date and time
|
||||||
@ -40,7 +41,7 @@ class LatexReport:
|
|||||||
total_width -= first_column_width / 16.0 # Adjust total width for the first column
|
total_width -= first_column_width / 16.0 # Adjust total width for the first column
|
||||||
|
|
||||||
if caption:
|
if caption:
|
||||||
self.content.append(r'\begin{table}[htbp]')
|
self.content.append(r'\begin{table}[H]')
|
||||||
self.content.append(r'\caption{' + caption + r'}')
|
self.content.append(r'\caption{' + caption + r'}')
|
||||||
self.content.append(r'\centering')
|
self.content.append(r'\centering')
|
||||||
|
|
||||||
@ -58,13 +59,13 @@ class LatexReport:
|
|||||||
|
|
||||||
def add_image(self, image_path, caption=None):
|
def add_image(self, image_path, caption=None):
|
||||||
if caption:
|
if caption:
|
||||||
self.content.append(r'\begin{figure}[htbp]')
|
self.content.append(r'\begin{figure}[H]')
|
||||||
self.content.append(r'\centering')
|
self.content.append(r'\centering')
|
||||||
self.content.append(r'\includegraphics[width=0.8\textwidth]{' + image_path + r'}')
|
self.content.append(r'\includegraphics[width=0.8\textwidth]{' + image_path + r'}')
|
||||||
self.content.append(r'\caption{' + caption + r'}')
|
self.content.append(r'\caption{' + caption + r'}')
|
||||||
self.content.append(r'\end{figure}')
|
self.content.append(r'\end{figure}')
|
||||||
else:
|
else:
|
||||||
self.content.append(r'\begin{figure}[htbp]')
|
self.content.append(r'\begin{figure}[H]')
|
||||||
self.content.append(r'\centering')
|
self.content.append(r'\centering')
|
||||||
self.content.append(r'\includegraphics[width=0.8\textwidth]{' + image_path + r'}')
|
self.content.append(r'\includegraphics[width=0.8\textwidth]{' + image_path + r'}')
|
||||||
self.content.append(r'\end{figure}')
|
self.content.append(r'\end{figure}')
|
||||||
|
Loading…
Reference in New Issue
Block a user