Definition of orientations correct?
Created by: marcusfuchs
In the TEASER code, orientations are usually defined like this, e.g. in teaser/logic/buildingobjects/buildingphysics/buildingelement.py
:
orientation : float [degree]
Azimuth direction of building element (0 : north, 90: east, 180: south,
270: west)
In contrast, both the Modelica IBPSA library in https://github.com/ibpsa/modelica-ibpsa/blob/master/IBPSA/Types/Azimuth/package.mo and AixLib in https://github.com/RWTH-EBC/AixLib/blob/development/AixLib/Types/Azimuth/package.mo define orientations as:
constant Modelica.SIunits.Angle S = 0
"Azimuth for an exterior wall whose outer surface faces south";
constant Modelica.SIunits.Angle SW = +Modelica.Constants.pi/4
"Azimuth for an exterior wall whose outer surface faces south-west";
constant Modelica.SIunits.Angle W = +Modelica.Constants.pi/2
"Azimuth for an exterior wall whose outer surface faces west";
constant Modelica.SIunits.Angle NW = +Modelica.Constants.pi*3/4
"Azimuth for an exterior wall whose outer surface faces north-west";
constant Modelica.SIunits.Angle N = Modelica.Constants.pi
"Azimuth for an exterior wall whose outer surface faces north";
constant Modelica.SIunits.Angle NE = -Modelica.Constants.pi*3/4
"Azimuth for an exterior wall whose outer surface faces north-east";
constant Modelica.SIunits.Angle E = -Modelica.Constants.pi/2
"Azimuth for an exterior wall whose outer surface faces east";
constant Modelica.SIunits.Angle SE = -Modelica.Constants.pi/4
"Azimuth for an exterior wall whose outer surface faces south-east";
So while in TEASER, orientation 0 is considered North, in the Modelica model it is considered South.
I was not able to verify that TEASER does convert to the Modelica definitions upon model export. @MichaMans @PRemmen @MartinRaetz has anyone of you looked into this and verified that TEASER does indeed process orientations correctly?