|
|
## Syntax of the Web Service
|
|
|
|
|
|
```mermaid
|
|
|
graph TD;
|
|
|
A-->B;
|
|
|
A-->C;
|
|
|
B-->D;
|
|
|
C-->D;
|
|
|
```
|
|
|
|
|
|
Buildings physics properties are available thru a web service at:
|
|
|
|
|
|
```javascript
|
... | ... | @@ -33,6 +27,78 @@ with the following "arguments": |
|
|
{physicsLibraryCountryMaterialID} := [0...96] for "united-states-of-america/material"
|
|
|
```
|
|
|
|
|
|
```mermaid
|
|
|
classDiagram
|
|
|
|
|
|
country -- window
|
|
|
country -- construction
|
|
|
country -- material
|
|
|
|
|
|
window -- windowType
|
|
|
construction -- constructionType
|
|
|
material -- materialType
|
|
|
constructionType "1" --> "N" layerType
|
|
|
|
|
|
class country {
|
|
|
+String id
|
|
|
+String name
|
|
|
+href(physicsLibraryCountry)
|
|
|
}
|
|
|
class window{
|
|
|
+String id
|
|
|
+String nameype
|
|
|
+href (physicsLibraryCountryWindowTypeID)
|
|
|
}
|
|
|
class construction{
|
|
|
+String id
|
|
|
+String name
|
|
|
+href (physicsLibraryCountryConstructionTypeID)
|
|
|
}
|
|
|
class material{
|
|
|
+String id
|
|
|
+String name
|
|
|
+href (physicsLibraryCountryMaterialID)
|
|
|
}
|
|
|
|
|
|
class windowType {
|
|
|
+String id
|
|
|
+String name
|
|
|
+float uValue
|
|
|
+float gValue
|
|
|
+int glazingNumber
|
|
|
+float frameRatio
|
|
|
+float embodiedEnergy
|
|
|
+float embodiedCarbon
|
|
|
+string constructionDescription
|
|
|
+float disposalEnergy
|
|
|
+float disposalCarbon
|
|
|
+float disposalDescription
|
|
|
}
|
|
|
class materialType {
|
|
|
+String id
|
|
|
+String name
|
|
|
+float density
|
|
|
+float heatCapacity
|
|
|
+float conductivity
|
|
|
+float embodiedEnergy
|
|
|
+float embodiedCarbon
|
|
|
+string constructionDescription
|
|
|
+float disposalEnergy
|
|
|
+float disposalCarbon
|
|
|
+float disposalDescription
|
|
|
}
|
|
|
|
|
|
class constructionType {
|
|
|
+String id
|
|
|
+String name
|
|
|
+int layer
|
|
|
}
|
|
|
class layerType {
|
|
|
+String materialId
|
|
|
+Float thickness
|
|
|
+href (physicsLibraryCountryMaterialID)
|
|
|
}
|
|
|
```
|
|
|
Responses are provided in JSON representation for
|
|
|
|
|
|
```
|
... | ... | |