Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize and scale load profile, refactor (mostly heating) load code #454

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
e8cdd4b
Add option to normalize and scale electric loads_kw input to annual o…
Bill-Becker Oct 18, 2024
5319b7f
Move normalized argument to end to avoid issues with other built_in_l…
Bill-Becker Oct 19, 2024
350238d
Update simulated_load for normalizing and scaling electric load profiles
Bill-Becker Oct 19, 2024
54bd696
Add tests for normalize and scale electric load
Bill-Becker Oct 19, 2024
32d725c
Remove last day of year for normalizing and scaling load profile
Bill-Becker Oct 25, 2024
399d525
Add docstring and validation for new input
Bill-Becker Oct 25, 2024
63c1b4f
Add normalize and scale load profile for space heating
Bill-Becker Oct 25, 2024
b24010b
Update simulated_load for norm and scale space heating
Bill-Becker Oct 25, 2024
21cecfd
Add tests for normalize and scale SpaceHeatingLoad
Bill-Becker Oct 25, 2024
73e71c5
Fix ElectricLoad monthly_totals_kwh reference
Bill-Becker Oct 25, 2024
19cc572
Load default annual energy values from files
Bill-Becker Oct 25, 2024
f986598
Combine duplicative heating load creation code - first for Space and …
Bill-Becker Oct 25, 2024
2d7b81c
Consolidate BuiltInHeatingLoad and ProcessHeatLoad, change load_type=…
Bill-Becker Oct 26, 2024
c24ddac
Fix update from industry to industrial
Bill-Becker Oct 27, 2024
256e597
Validation updates and add "year" input
Bill-Becker Oct 27, 2024
1d7e480
Fix reorder of validation
Bill-Becker Oct 28, 2024
13c0bd3
Fix more validation order and completeness
Bill-Becker Oct 28, 2024
65e1e3e
Remove need for lat/long for normalize and scale load profile
Bill-Becker Oct 28, 2024
3ac4314
Move validation for doe_reference_name after it becomes an array
Bill-Becker Oct 28, 2024
fa76a94
Change dummy load type to be compatible with all 3 heating loads
Bill-Becker Oct 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions data/load_profiles/cooling_electric_annual_kwh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Chicago":{"Hospital":1721142,"LargeOffice":533117,"MediumOffice":85839,"SecondarySchool":336986,"SmallOffice":6365,"SmallHotel":97554,"LargeHotel":469484,"FastFoodRest":6320,"MidriseApartment":25663,"RetailStore":31774,"FullServiceRest":17222,"StripMall":32544,"Supermarket":30785,"PrimarySchool":82619,"FlatLoad":238154.0,"Warehouse":4370,"Outpatient":328675},"Helena":{"Hospital":1075876,"LargeOffice":226066,"MediumOffice":44528,"SecondarySchool":132887,"SmallOffice":3442,"SmallHotel":63978,"LargeHotel":318965,"FastFoodRest":2919,"RetailStore":13952,"MidriseApartment":11101,"FullServiceRest":8420,"StripMall":13260,"Supermarket":14879,"PrimarySchool":34468,"FlatLoad":137459.0,"Warehouse":1566,"Outpatient":233034},"LasVegas":{"Hospital":1831966,"LargeOffice":792463,"MediumOffice":207085,"SecondarySchool":858081,"SmallOffice":16824,"SmallHotel":175011,"LargeHotel":798740,"FastFoodRest":22811,"RetailStore":89484,"MidriseApartment":92778,"FullServiceRest":53259,"StripMall":84138,"Supermarket":114543,"PrimarySchool":218688,"FlatLoad":368636.0,"Warehouse":28928,"Outpatient":513377},"Miami":{"Hospital":3371923,"LargeOffice":1878642,"MediumOffice":337147,"LargeHotel":1467216,"MidriseApartment":176446,"RetailStore":163290,"StripMall":180645,"PrimarySchool":434031,"Outpatient":811571,"SecondarySchool":1735906,"SmallOffice":28235,"SmallHotel":318595,"FastFoodRest":36779,"FullServiceRest":101567,"Supermarket":150368,"FlatLoad":700779.0,"Warehouse":20108},"Phoenix":{"Hospital":2288973,"LargeOffice":1124585,"MediumOffice":271151,"SecondarySchool":1204514,"SmallOffice":23720,"SmallHotel":233842,"LargeHotel":1024137,"FastFoodRest":29956,"MidriseApartment":135120,"RetailStore":123508,"FullServiceRest":69402,"StripMall":122803,"Supermarket":145706,"PrimarySchool":302372,"FlatLoad":486155.0,"Warehouse":38561,"Outpatient":640137},"LosAngeles":{"Hospital":1987427,"LargeOffice":707617,"MediumOffice":121320,"SecondarySchool":351337,"SmallOffice":8351,"SmallHotel":116966,"LargeHotel":526169,"FastFoodRest":3452,"MidriseApartment":22912,"RetailStore":22663,"FullServiceRest":11456,"StripMall":26514,"Supermarket":13630,"PrimarySchool":126130,"FlatLoad":280112.0,"Warehouse":673,"Outpatient":435175},"Boulder":{"Hospital":1223116,"LargeOffice":316540,"MediumOffice":68389,"SecondarySchool":220472,"SmallOffice":5097,"SmallHotel":84804,"LargeHotel":384065,"FastFoodRest":5270,"MidriseApartment":18535,"RetailStore":23580,"FullServiceRest":14957,"StripMall":23350,"Supermarket":24684,"PrimarySchool":57692,"FlatLoad":172858.0,"Warehouse":3574,"Outpatient":291603},"Minneapolis":{"Hospital":1516644,"LargeOffice":475102,"MediumOffice":74813,"SecondarySchool":262353,"SmallOffice":5452,"SmallHotel":91962,"LargeHotel":445049,"FastFoodRest":5429,"MidriseApartment":22491,"RetailStore":26859,"FullServiceRest":14996,"StripMall":26489,"Supermarket":25962,"PrimarySchool":62017,"FlatLoad":209265.0,"Warehouse":2923,"Outpatient":289706},"Baltimore":{"Hospital":2085465,"LargeOffice":822177,"MediumOffice":124064,"SecondarySchool":469545,"SmallOffice":8083,"SmallHotel":119859,"LargeHotel":594327,"FastFoodRest":9287,"RetailStore":44703,"MidriseApartment":36890,"FullServiceRest":25140,"StripMall":43896,"Supermarket":48913,"PrimarySchool":114110,"FlatLoad":310038.0,"Warehouse":7156,"Outpatient":406989},"SanFrancisco":{"Hospital":1427329,"LargeOffice":297494,"MediumOffice":43956,"SecondarySchool":121914,"SmallOffice":2539,"SmallHotel":71414,"LargeHotel":296230,"FastFoodRest":838,"MidriseApartment":4484,"RetailStore":4515,"FullServiceRest":3062,"StripMall":6626,"Supermarket":3252,"PrimarySchool":48323,"FlatLoad":164036.0,"Warehouse":365,"Outpatient":292238},"Seattle":{"Hospital":1432385,"LargeOffice":249231,"MediumOffice":38713,"SecondarySchool":89468,"SmallOffice":2503,"SmallHotel":60651,"LargeHotel":292028,"FastFoodRest":1245,"MidriseApartment":6380,"RetailStore":6223,"FullServiceRest":4144,"StripMall":7664,"Supermarket":4882,"PrimarySchool":28984,"FlatLoad":155682.0,"Warehouse":329,"Outpatient":266075},"Atlanta":{"Hospital":2328054,"LargeOffice":968973,"MediumOffice":155865,"SecondarySchool":608831,"SmallOffice":11259,"SmallHotel":149237,"LargeHotel":704148,"FastFoodRest":12565,"MidriseApartment":50907,"RetailStore":65044,"FullServiceRest":33832,"StripMall":62530,"Supermarket":69686,"FlatLoad":367407.0,"PrimarySchool":160138,"Warehouse":8214,"Outpatient":489234},"Duluth":{"Hospital":1149799,"LargeOffice":249416,"MediumOffice":37547,"SecondarySchool":99148,"SmallOffice":2563,"SmallHotel":61101,"LargeHotel":300364,"FastFoodRest":1709,"RetailStore":8489,"MidriseApartment":8181,"FullServiceRest":4919,"StripMall":8809,"Supermarket":9788,"PrimarySchool":25136,"FlatLoad":135374.0,"Warehouse":889,"Outpatient":198121},"Fairbanks":{"Hospital":753420,"LargeOffice":147867,"MediumOffice":24183,"SecondarySchool":53222,"SmallOffice":1877,"SmallHotel":48066,"LargeHotel":234082,"FastFoodRest":656,"MidriseApartment":5035,"RetailStore":3289,"FullServiceRest":2025,"StripMall":3592,"Supermarket":2500,"PrimarySchool":15166,"FlatLoad":89900.0,"Warehouse":97,"Outpatient":143322},"Houston":{"Hospital":2942336,"LargeOffice":1471054,"MediumOffice":239477,"SecondarySchool":1151985,"SmallOffice":19375,"SmallHotel":220470,"LargeHotel":1095441,"FastFoodRest":24525,"RetailStore":115410,"MidriseApartment":97156,"FullServiceRest":63610,"StripMall":111025,"Supermarket":125580,"PrimarySchool":282346,"FlatLoad":538015.0,"Warehouse":17665,"Outpatient":630778},"Albuquerque":{"Hospital":1382003,"LargeOffice":442687,"MediumOffice":103240,"SecondarySchool":355818,"SmallOffice":8266,"SmallHotel":109982,"LargeHotel":475348,"FastFoodRest":8466,"MidriseApartment":34088,"RetailStore":37955,"FullServiceRest":25534,"StripMall":36498,"Supermarket":40883,"PrimarySchool":99496,"FlatLoad":220232.0,"Warehouse":5831,"Outpatient":357615}}
306 changes: 306 additions & 0 deletions data/load_profiles/domestic_hot_water_annual_mmbtu.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,306 @@
{
"Chicago": {
"Hospital": 740.4172516,
"LargeOffice": 239.7065959,
"MediumOffice": 35.08184587,
"SecondarySchool": 456.8817409,
"SmallOffice": 11.2033023,
"SmallHotel": 406.0751832,
"LargeHotel": 7005.083356,
"FastFoodRest": 84.2645196,
"MidriseApartment": 297.4938584,
"RetailStore": 0.0,
"FullServiceRest": 260.4454844,
"StripMall": 0.0,
"Supermarket": 24.4292392,
"PrimarySchool": 179.4639347,
"FlatLoad": 611.6276445,
"Warehouse": 0.0,
"Outpatient": 45.49600079
},
"Helena": {
"Hospital": 800.0940058,
"LargeOffice": 262.1461576,
"MediumOffice": 37.68905029,
"SecondarySchool": 494.7393735,
"SmallOffice": 11.46564268,
"SmallHotel": 438.9398731,
"LargeHotel": 7665.023574,
"FastFoodRest": 90.44011877,
"MidriseApartment": 325.4421541,
"RetailStore": 0.0,
"FullServiceRest": 280.9757902,
"StripMall": 0.0,
"Supermarket": 25.72866824,
"PrimarySchool": 193.4573283,
"FlatLoad": 667.2021224,
"Warehouse": 0.0,
"Outpatient": 49.09222188
},
"Miami": {
"Hospital": 442.7295435,
"LargeOffice": 127.9412792,
"MediumOffice": 22.09603477,
"SecondarySchool": 250.1299246,
"SmallOffice": 9.891779415,
"SmallHotel": 242.232695,
"LargeHotel": 3713.248373,
"FastFoodRest": 53.47209411,
"MidriseApartment": 158.0580017,
"RetailStore": 0.0,
"FullServiceRest": 158.0518043,
"StripMall": 0.0,
"Supermarket": 17.94985187,
"PrimarySchool": 105.3179165,
"FlatLoad": 333.0450133,
"Warehouse": 0.0,
"Outpatient": 27.60091429
},
"LasVegas": {
"Hospital": 540.9697668,
"LargeOffice": 164.7154124,
"MediumOffice": 26.36796732,
"SecondarySchool": 327.441087,
"SmallOffice": 10.32392915,
"SmallHotel": 296.3578765,
"LargeHotel": 4800.331564,
"FastFoodRest": 63.63848459,
"MidriseApartment": 204.1120165,
"RetailStore": 0.0,
"FullServiceRest": 191.8494897,
"StripMall": 0.0,
"Supermarket": 20.08676069,
"PrimarySchool": 131.9651451,
"FlatLoad": 425.7275876,
"Warehouse": 0.0,
"Outpatient": 33.48190098
},
"Phoenix": {
"Hospital": 480.098265,
"LargeOffice": 141.8507451,
"MediumOffice": 23.71397275,
"SecondarySchool": 285.2339344,
"SmallOffice": 10.05557471,
"SmallHotel": 262.8487714,
"LargeHotel": 4127.191046,
"FastFoodRest": 57.34025418,
"MidriseApartment": 175.5949563,
"RetailStore": 0.0,
"FullServiceRest": 170.9086319,
"StripMall": 0.0,
"Supermarket": 18.7637822,
"PrimarySchool": 116.811664,
"FlatLoad": 368.7653325,
"Warehouse": 0.0,
"Outpatient": 29.83372212
},
"LosAngeles": {
"Hospital": 598.9350422,
"LargeOffice": 186.6199083,
"MediumOffice": 28.91483286,
"SecondarySchool": 352.7467563,
"SmallOffice": 10.58011717,
"SmallHotel": 328.1935523,
"LargeHotel": 5440.174033,
"FastFoodRest": 69.63212501,
"MidriseApartment": 231.215325,
"RetailStore": 0.0,
"FullServiceRest": 211.7827529,
"StripMall": 0.0,
"Supermarket": 21.35337379,
"PrimarySchool": 142.8059487,
"FlatLoad": 478.7476251,
"Warehouse": 0.0,
"Outpatient": 37.00823296
},
"Boulder": {
"Hospital": 737.372005,
"LargeOffice": 238.572519,
"MediumOffice": 34.9486709,
"SecondarySchool": 453.228537,
"SmallOffice": 11.18970855,
"SmallHotel": 404.4154946,
"LargeHotel": 6971.32924,
"FastFoodRest": 83.95201542,
"MidriseApartment": 296.06471,
"RetailStore": 0.0,
"FullServiceRest": 259.3997752,
"StripMall": 0.0,
"Supermarket": 24.3650532,
"PrimarySchool": 178.3378526,
"FlatLoad": 608.6556221,
"Warehouse": 0.0,
"Outpatient": 45.31437164
},
"Minneapolis": {
"Hospital": 790.9262388,
"LargeOffice": 258.6874644,
"MediumOffice": 37.28641454,
"SecondarySchool": 491.5554097,
"SmallOffice": 11.42620649,
"SmallHotel": 433.8738637,
"LargeHotel": 7563.607619,
"FastFoodRest": 89.48929949,
"MidriseApartment": 321.1473562,
"RetailStore": 0.0,
"FullServiceRest": 277.8184269,
"StripMall": 0.0,
"Supermarket": 25.53218144,
"PrimarySchool": 191.9480118,
"FlatLoad": 658.8635839,
"Warehouse": 0.0,
"Outpatient": 48.51884975
},
"Baltimore": {
"Hospital": 681.9322322,
"LargeOffice": 217.7306132,
"MediumOffice": 32.52815422,
"SecondarySchool": 417.9512972,
"SmallOffice": 10.94554028,
"SmallHotel": 373.906416,
"LargeHotel": 6358.710286,
"FastFoodRest": 78.2191761,
"MidriseApartment": 270.1195541,
"RetailStore": 0.0,
"FullServiceRest": 240.338156,
"StripMall": 0.0,
"Supermarket": 23.15795696,
"PrimarySchool": 165.3116185,
"FlatLoad": 557.0507802,
"Warehouse": 0.0,
"Outpatient": 41.96148216
},
"SanFrancisco": {
"Hospital": 671.40531,
"LargeOffice": 213.8445094,
"MediumOffice": 32.07909301,
"SecondarySchool": 401.395655,
"SmallOffice": 10.90004379,
"SmallHotel": 368.0979112,
"LargeHotel": 6241.842643,
"FastFoodRest": 77.13092952,
"MidriseApartment": 265.1697301,
"RetailStore": 0.0,
"FullServiceRest": 236.7180594,
"StripMall": 0.0,
"Supermarket": 22.9292287,
"PrimarySchool": 160.4507431,
"FlatLoad": 546.4574286,
"Warehouse": 0.0,
"Outpatient": 41.35500136
},
"Seattle": {
"Hospital": 716.6111323,
"LargeOffice": 230.8057849,
"MediumOffice": 34.04746055,
"SecondarySchool": 434.0806311,
"SmallOffice": 11.09863592,
"SmallHotel": 392.968915,
"LargeHotel": 6741.736717,
"FastFoodRest": 81.80231236,
"MidriseApartment": 286.3412104,
"RetailStore": 0.0,
"FullServiceRest": 252.2609525,
"StripMall": 0.0,
"Supermarket": 23.91178737,
"PrimarySchool": 172.0233322,
"FlatLoad": 588.8601433,
"Warehouse": 0.0,
"Outpatient": 44.07342164
},
"Atlanta": {
"Hospital": 615.3498557,
"LargeOffice": 192.7164525,
"MediumOffice": 29.62182675,
"SecondarySchool": 372.2083434,
"SmallOffice": 10.65138846,
"SmallHotel": 337.2688069,
"LargeHotel": 5622.340656,
"FastFoodRest": 71.33170579,
"MidriseApartment": 238.9315749,
"RetailStore": 0.0,
"FullServiceRest": 217.4332205,
"StripMall": 0.0,
"Supermarket": 21.71038069,
"PrimarySchool": 148.8362119,
"FlatLoad": 494.7735263,
"Warehouse": 0.0,
"Outpatient": 37.9759973
},
"Duluth": {
"Hospital": 874.2611723,
"LargeOffice": 290.0193773,
"MediumOffice": 40.92475821,
"SecondarySchool": 543.3733772,
"SmallOffice": 11.79316054,
"SmallHotel": 479.7414481,
"LargeHotel": 8484.906093,
"FastFoodRest": 98.10641517,
"MidriseApartment": 360.161261,
"RetailStore": 0.0,
"FullServiceRest": 306.4772907,
"StripMall": 0.0,
"Supermarket": 27.3451629,
"PrimarySchool": 211.2386551,
"FlatLoad": 736.3678114,
"Warehouse": 0.0,
"Outpatient": 53.53681127
},
"Fairbanks": {
"Hospital": 975.1062178,
"LargeOffice": 327.8820873,
"MediumOffice": 45.32138512,
"SecondarySchool": 604.6838786,
"SmallOffice": 12.23744003,
"SmallHotel": 535.2525234,
"LargeHotel": 9600.267161,
"FastFoodRest": 108.5335945,
"MidriseApartment": 407.3910855,
"RetailStore": 0.0,
"FullServiceRest": 341.1572799,
"StripMall": 0.0,
"Supermarket": 29.53958045,
"PrimarySchool": 234.2595741,
"FlatLoad": 830.07826,
"Warehouse": 0.0,
"Outpatient": 59.6203514
},
"Houston": {
"Hospital": 530.6352726,
"LargeOffice": 160.8917808,
"MediumOffice": 25.9266894,
"SecondarySchool": 314.7654465,
"SmallOffice": 10.27839347,
"SmallHotel": 290.6293673,
"LargeHotel": 4685.666667,
"FastFoodRest": 62.56835989,
"MidriseApartment": 199.2544784,
"RetailStore": 0.0,
"FullServiceRest": 188.292814,
"StripMall": 0.0,
"Supermarket": 19.86608717,
"PrimarySchool": 128.0705362,
"FlatLoad": 415.6076756,
"Warehouse": 0.0,
"Outpatient": 32.87691943
},
"Albuquerque": {
"Hospital": 669.3128607,
"LargeOffice": 212.9944774,
"MediumOffice": 31.97726287,
"SecondarySchool": 409.1649863,
"SmallOffice": 10.88949351,
"SmallHotel": 366.9712928,
"LargeHotel": 6219.08303,
"FastFoodRest": 76.9149868,
"MidriseApartment": 264.2063457,
"RetailStore": 0.0,
"FullServiceRest": 235.9992545,
"StripMall": 0.0,
"Supermarket": 22.88525618,
"PrimarySchool": 162.1556119,
"FlatLoad": 545.235078,
"Warehouse": 0.0,
"Outpatient": 41.20639013
}
}
Loading
Loading