Partial implementation energy ADE, till thermal zones
This commit is contained in:
parent
7620f89629
commit
cd607122d3
|
@ -7,7 +7,7 @@ contributors Pilar Monsalvete Álvarez de Uribarri pilar.monsalvete@concordia.ca
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
import uuid
|
||||||
from helpers.geometry_helper import GeometryHelper as gh
|
from helpers.geometry_helper import GeometryHelper as gh
|
||||||
from city_model_structure.attributes.polygon import Polygon
|
from city_model_structure.attributes.polygon import Polygon
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class Surface:
|
||||||
:return: str
|
:return: str
|
||||||
"""
|
"""
|
||||||
if self._name is None:
|
if self._name is None:
|
||||||
raise Exception('surface has no name')
|
self._name = uuid.uuid4()
|
||||||
return self._name
|
return self._name
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
|
@ -350,5 +350,9 @@ class EnergyAde:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if thermal_boundary.layers is not None:
|
||||||
|
construction = uuid.uuid4()
|
||||||
|
if thermal_boundary.thermal_openings is not None:
|
||||||
|
construction = uuid.uuid4()
|
||||||
thermal_boundaries.append(thermal_boundary_dic)
|
thermal_boundaries.append(thermal_boundary_dic)
|
||||||
return thermal_boundaries
|
return thermal_boundaries
|
Loading…
Reference in New Issue
Block a user