feat(samples): 新增 BPS building hbjson 样例数据

- samples/building/: ASHRAE BLDG 620、住宅 demo、多尺度建筑(.hbjson) 作为 schema 解析/映射测试样例
This commit is contained in:
ringo
2026-09-20 11:22:50 +08:00
parent e7b1ecad85
commit 66f28d9577
7 changed files with 211345 additions and 0 deletions
@@ -0,0 +1,332 @@
{
"type": "Model",
"identifier": "ASHRAE_BLDG_620",
"display_name": "ASHRAE 140 Case 620",
"units": "Meters",
"tolerance": 0.01,
"angle_tolerance": 1,
"rooms": [
{
"type": "Room",
"identifier": "ROOM_1",
"display_name": "Main Zone",
"faces": [
{
"type": "Face",
"identifier": "ROOM_1_Floor",
"display_name": "Main Zone Floor",
"face_type": "Floor",
"geometry": {
"type": "Face3D",
"identifier": "ROOM_1_Floor_Geo",
"boundary": [
[
0,
0,
0
],
[
0,
6,
0
],
[
8,
6,
0
],
[
8,
0,
0
],
[
0,
0,
0
]
]
},
"boundary_condition": {
"type": "Surface",
"boundary_condition_objects": []
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "ROOM_1_Roof",
"display_name": "Main Zone Roof",
"face_type": "RoofCeiling",
"geometry": {
"type": "Face3D",
"identifier": "ROOM_1_Roof_Geo",
"boundary": [
[
0,
0,
2.7
],
[
8,
0,
2.7
],
[
8,
6,
2.7
],
[
0,
6,
2.7
],
[
0,
0,
2.7
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "ROOM_1_Wall_0",
"display_name": "Main Zone Wall 0",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "ROOM_1_Wall_0_Geo",
"boundary": [
[
8,
0,
0
],
[
8,
0,
2.7
],
[
0,
0,
2.7
],
[
0,
0,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "ROOM_1_Wall_1",
"display_name": "Main Zone Wall 1",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "ROOM_1_Wall_1_Geo",
"boundary": [
[
8,
6,
0
],
[
8,
6,
2.7
],
[
8,
0,
2.7
],
[
8,
0,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "ROOM_1_Wall_2",
"display_name": "Main Zone Wall 2",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "ROOM_1_Wall_2_Geo",
"boundary": [
[
0,
6,
0
],
[
0,
6,
2.7
],
[
8,
6,
2.7
],
[
8,
6,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "ROOM_1_Wall_3",
"display_name": "Main Zone Wall 3",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "ROOM_1_Wall_3_Geo",
"boundary": [
[
0,
0,
0
],
[
0,
0,
2.7
],
[
0,
6,
2.7
],
[
0,
6,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "ROOM_1_Wall_4",
"display_name": "Main Zone Wall 4",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "ROOM_1_Wall_4_Geo",
"boundary": [
[
0,
0,
0
],
[
0,
0,
2.7
],
[
0,
0,
2.7
],
[
0,
0,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
}
],
"properties": {
"type": "RoomProperties",
"energy": {
"type": "RoomEnergyProperties",
"program_type": "ASHRAE_LOAD"
}
}
}
],
"orphaned_faces": [],
"orphaned_shades": [],
"orphaned_apertures": [],
"orphaned_doors": [],
"properties": {
"type": "ModelProperties",
"energy": {
"type": "ModelEnergyProperties"
}
}
}