Files
ringo 66f28d9577 feat(samples): 新增 BPS building hbjson 样例数据
- samples/building/: ASHRAE BLDG 620、住宅 demo、多尺度建筑(.hbjson) 作为 schema 解析/映射测试样例
2026-09-20 11:22:50 +08:00

1309 lines
30 KiB
Plaintext

{
"type": "Model",
"identifier": "c69e75",
"display_name": "Untitled Building",
"units": "Meters",
"tolerance": 0.01,
"angle_tolerance": 1,
"rooms": [
{
"type": "Room",
"identifier": "f9dd93",
"display_name": "Room 1",
"faces": [
{
"type": "Face",
"identifier": "f9dd93_Floor",
"display_name": "Room 1 Floor",
"face_type": "Floor",
"geometry": {
"type": "Face3D",
"identifier": "f9dd93_Floor_Geo",
"boundary": [
[
59.86,
22.8,
0
],
[
39.68,
22.8,
0
],
[
31.46,
22.8,
0
],
[
31.46,
33.35,
0
],
[
31.46,
46.4,
0
],
[
31.46,
52.04,
0
],
[
40.69,
52.04,
0
],
[
60.1,
52.04,
0
],
[
67.22,
52.04,
0
],
[
67.22,
22.8,
0
]
]
},
"boundary_condition": {
"type": "Ground"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "f9dd93_Roof",
"display_name": "Room 1 Roof",
"face_type": "RoofCeiling",
"geometry": {
"type": "Face3D",
"identifier": "f9dd93_Roof_Geo",
"boundary": [
[
67.22,
22.8,
7
],
[
67.22,
52.04,
7
],
[
60.1,
52.04,
7
],
[
40.69,
52.04,
7
],
[
31.46,
52.04,
7
],
[
31.46,
46.4,
7
],
[
31.46,
33.35,
7
],
[
31.46,
22.8,
7
],
[
39.68,
22.8,
7
],
[
59.86,
22.8,
7
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "f9dd93_Wall_0",
"display_name": "Room 1 Wall 0",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "f9dd93_Wall_0_Geo",
"boundary": [
[
67.22,
52.04,
0
],
[
67.22,
52.04,
7
],
[
67.22,
22.8,
7
],
[
67.22,
22.8,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "f9dd93_Wall_1",
"display_name": "Room 1 Wall 1",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "f9dd93_Wall_1_Geo",
"boundary": [
[
60.1,
52.04,
0
],
[
60.1,
52.04,
7
],
[
67.22,
52.04,
7
],
[
67.22,
52.04,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "f9dd93_Wall_2",
"display_name": "Room 1 Wall 2",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "f9dd93_Wall_2_Geo",
"boundary": [
[
40.69,
52.04,
0
],
[
40.69,
52.04,
7
],
[
60.1,
52.04,
7
],
[
60.1,
52.04,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
},
"apertures": [
{
"type": "Aperture",
"identifier": "a55d62",
"display_name": "窗 3",
"boundary_condition": {
"type": "Outdoors"
},
"geometry": {
"type": "Face3D",
"identifier": "a55d62_Geo",
"boundary": [
[
40.695,
52.04,
0.3500000000000001
],
[
40.695,
52.04,
3.85
],
[
60.105,
52.04,
3.85
],
[
60.105,
52.04,
0.3500000000000001
]
]
},
"properties": {
"type": "ApertureProperties",
"energy": {
"type": "ApertureEnergyProperties"
}
}
}
]
},
{
"type": "Face",
"identifier": "f9dd93_Wall_3",
"display_name": "Room 1 Wall 3",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "f9dd93_Wall_3_Geo",
"boundary": [
[
31.46,
52.04,
0
],
[
31.46,
52.04,
7
],
[
40.69,
52.04,
7
],
[
40.69,
52.04,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "f9dd93_Wall_4",
"display_name": "Room 1 Wall 4",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "f9dd93_Wall_4_Geo",
"boundary": [
[
31.46,
46.4,
0
],
[
31.46,
46.4,
7
],
[
31.46,
52.04,
7
],
[
31.46,
52.04,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "f9dd93_Wall_5",
"display_name": "Room 1 Wall 5",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "f9dd93_Wall_5_Geo",
"boundary": [
[
31.46,
33.35,
0
],
[
31.46,
33.35,
7
],
[
31.46,
46.4,
7
],
[
31.46,
46.4,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
},
"apertures": [
{
"type": "Aperture",
"identifier": "50d248",
"display_name": "窗 2",
"boundary_condition": {
"type": "Outdoors"
},
"geometry": {
"type": "Face3D",
"identifier": "50d248_Geo",
"boundary": [
[
31.46,
33.355000000000004,
0.3500000000000001
],
[
31.46,
33.355000000000004,
3.85
],
[
31.46,
46.405,
3.85
],
[
31.46,
46.405,
0.3500000000000001
]
]
},
"properties": {
"type": "ApertureProperties",
"energy": {
"type": "ApertureEnergyProperties"
}
}
}
]
},
{
"type": "Face",
"identifier": "f9dd93_Wall_6",
"display_name": "Room 1 Wall 6",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "f9dd93_Wall_6_Geo",
"boundary": [
[
31.46,
22.8,
0
],
[
31.46,
22.8,
7
],
[
31.46,
33.35,
7
],
[
31.46,
33.35,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "f9dd93_Wall_7",
"display_name": "Room 1 Wall 7",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "f9dd93_Wall_7_Geo",
"boundary": [
[
39.68,
22.8,
0
],
[
39.68,
22.8,
7
],
[
31.46,
22.8,
7
],
[
31.46,
22.8,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "f9dd93_Wall_8",
"display_name": "Room 1 Wall 8",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "f9dd93_Wall_8_Geo",
"boundary": [
[
59.86,
22.8,
0
],
[
59.86,
22.8,
7
],
[
39.68,
22.8,
7
],
[
39.68,
22.8,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
},
"apertures": [
{
"type": "Aperture",
"identifier": "15e489",
"display_name": "窗 1",
"boundary_condition": {
"type": "Outdoors"
},
"geometry": {
"type": "Face3D",
"identifier": "15e489_Geo",
"boundary": [
[
59.86,
22.8,
0.3500000000000001
],
[
59.86,
22.8,
3.85
],
[
39.68000000000001,
22.8,
3.85
],
[
39.68000000000001,
22.8,
0.3500000000000001
]
]
},
"properties": {
"type": "ApertureProperties",
"energy": {
"type": "ApertureEnergyProperties"
}
}
}
]
},
{
"type": "Face",
"identifier": "f9dd93_Wall_9",
"display_name": "Room 1 Wall 9",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "f9dd93_Wall_9_Geo",
"boundary": [
[
67.22,
22.8,
0
],
[
67.22,
22.8,
7
],
[
59.86,
22.8,
7
],
[
59.86,
22.8,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
}
],
"properties": {
"type": "RoomProperties",
"energy": {
"type": "RoomEnergyProperties"
}
}
},
{
"type": "Room",
"identifier": "88811f",
"display_name": "Room 1",
"faces": [
{
"type": "Face",
"identifier": "88811f_Floor",
"display_name": "Room 1 Floor",
"face_type": "Floor",
"geometry": {
"type": "Face3D",
"identifier": "88811f_Floor_Geo",
"boundary": [
[
67.22,
52.04,
0
],
[
73.11,
52.04,
0
],
[
86.71,
52.04,
0
],
[
94.79,
52.04,
0
],
[
94.79,
11.05,
0
],
[
88.75,
11.05,
0
],
[
75.25,
11.05,
0
],
[
67.22,
11.05,
0
],
[
67.22,
22.8,
0
]
]
},
"boundary_condition": {
"type": "Ground"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "88811f_Roof",
"display_name": "Room 1 Roof",
"face_type": "RoofCeiling",
"geometry": {
"type": "Face3D",
"identifier": "88811f_Roof_Geo",
"boundary": [
[
67.22,
22.8,
7
],
[
67.22,
11.05,
7
],
[
75.25,
11.05,
7
],
[
88.75,
11.05,
7
],
[
94.79,
11.05,
7
],
[
94.79,
52.04,
7
],
[
86.71,
52.04,
7
],
[
73.11,
52.04,
7
],
[
67.22,
52.04,
7
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "88811f_Wall_0",
"display_name": "Room 1 Wall 0",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "88811f_Wall_0_Geo",
"boundary": [
[
67.22,
11.05,
0
],
[
67.22,
11.05,
7
],
[
67.22,
22.8,
7
],
[
67.22,
22.8,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "88811f_Wall_1",
"display_name": "Room 1 Wall 1",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "88811f_Wall_1_Geo",
"boundary": [
[
75.25,
11.05,
0
],
[
75.25,
11.05,
7
],
[
67.22,
11.05,
7
],
[
67.22,
11.05,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "88811f_Wall_2",
"display_name": "Room 1 Wall 2",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "88811f_Wall_2_Geo",
"boundary": [
[
88.75,
11.05,
0
],
[
88.75,
11.05,
7
],
[
75.25,
11.05,
7
],
[
75.25,
11.05,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
},
"apertures": [
{
"type": "Aperture",
"identifier": "ba6668",
"display_name": "窗 5",
"boundary_condition": {
"type": "Outdoors"
},
"geometry": {
"type": "Face3D",
"identifier": "ba6668_Geo",
"boundary": [
[
88.75,
11.05,
0.3500000000000001
],
[
88.75,
11.05,
3.85
],
[
75.25,
11.05,
3.85
],
[
75.25,
11.05,
0.3500000000000001
]
]
},
"properties": {
"type": "ApertureProperties",
"energy": {
"type": "ApertureEnergyProperties"
}
}
}
]
},
{
"type": "Face",
"identifier": "88811f_Wall_3",
"display_name": "Room 1 Wall 3",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "88811f_Wall_3_Geo",
"boundary": [
[
94.79,
11.05,
0
],
[
94.79,
11.05,
7
],
[
88.75,
11.05,
7
],
[
88.75,
11.05,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "88811f_Wall_4",
"display_name": "Room 1 Wall 4",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "88811f_Wall_4_Geo",
"boundary": [
[
94.79,
52.04,
0
],
[
94.79,
52.04,
7
],
[
94.79,
11.05,
7
],
[
94.79,
11.05,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "88811f_Wall_5",
"display_name": "Room 1 Wall 5",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "88811f_Wall_5_Geo",
"boundary": [
[
86.71,
52.04,
0
],
[
86.71,
52.04,
7
],
[
94.79,
52.04,
7
],
[
94.79,
52.04,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "88811f_Wall_6",
"display_name": "Room 1 Wall 6",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "88811f_Wall_6_Geo",
"boundary": [
[
73.11,
52.04,
0
],
[
73.11,
52.04,
7
],
[
86.71,
52.04,
7
],
[
86.71,
52.04,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
},
"apertures": [
{
"type": "Aperture",
"identifier": "63f3f5",
"display_name": "窗 4",
"boundary_condition": {
"type": "Outdoors"
},
"geometry": {
"type": "Face3D",
"identifier": "63f3f5_Geo",
"boundary": [
[
73.11,
52.04,
0.3500000000000001
],
[
73.11,
52.04,
3.85
],
[
86.71,
52.04,
3.85
],
[
86.71,
52.04,
0.3500000000000001
]
]
},
"properties": {
"type": "ApertureProperties",
"energy": {
"type": "ApertureEnergyProperties"
}
}
}
]
},
{
"type": "Face",
"identifier": "88811f_Wall_7",
"display_name": "Room 1 Wall 7",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "88811f_Wall_7_Geo",
"boundary": [
[
67.22,
52.04,
0
],
[
67.22,
52.04,
7
],
[
73.11,
52.04,
7
],
[
73.11,
52.04,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
},
{
"type": "Face",
"identifier": "88811f_Wall_8",
"display_name": "Room 1 Wall 8",
"face_type": "Wall",
"geometry": {
"type": "Face3D",
"identifier": "88811f_Wall_8_Geo",
"boundary": [
[
67.22,
22.8,
0
],
[
67.22,
22.8,
7
],
[
67.22,
52.04,
7
],
[
67.22,
52.04,
0
]
]
},
"boundary_condition": {
"type": "Outdoors"
},
"properties": {
"type": "FaceProperties",
"energy": {
"type": "FaceEnergyProperties"
}
}
}
],
"properties": {
"type": "RoomProperties",
"energy": {
"type": "RoomEnergyProperties"
}
}
}
],
"orphaned_faces": [],
"orphaned_shades": [],
"orphaned_apertures": [],
"orphaned_doors": [],
"properties": {
"type": "ModelProperties",
"energy": {
"type": "ModelEnergyProperties"
}
}
}