-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
If I understand correctly, current version does not take into account orientation of walls: it should affect power and energy calculation by a multiplying factor which, according to this document, for Italy varies from 0 to 20% (I don't know if it's the same everywhere):
Possible structure to use (add in config structure):
orientationContribution = {
S : 0,
SW : 0.05,
W: 0.1,
NW: 0.15,
N: 0.2,
NE: 0.15,
E: 0.1,
SE: 0.05,
not_appl: 1
}
Current calculation:
e.deltaT = room.temperature - e.temperature
e.heat = e.wk * e.deltaT
e.kwh = e.wk * config.degreedays * 0.024
Updated:
e.deltaT = room.temperature - e.temperature
e.heat = config.orientationContribution[e.orientation] * e.wk * e.deltaT
e.kwh = config. orientationContribution[e.orientation] * e.wk * config.degreedays * 0.024
(note: e.orientation contents should be changed from "South" to "S", from "North" to "N" and so on:
Additionally, this line in model.js:
if (e.orientation==undefined) e.orientation = ""
should be changed to:
if (e.orientation==undefined) e.orientation = "not_appl"
I cannot add a pull request because I performed too many other changes to the original source to fit in just on PR.
Metadata
Metadata
Assignees
Labels
No labels

