Skip to content

Orientation #4

@jumpjack

Description

@jumpjack

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):

image

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:

image

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions