UdK-VPT / BuildingSystems

Modelica BuildingSystems library
http://modelica-buildingsystems.de/
BSD 3-Clause "New" or "Revised" License
70 stars 34 forks source link

Error in ``Buildings.Data.AirpathCharacteristics.CdTiltedPane`` #66

Closed jmoeckel closed 7 years ago

jmoeckel commented 7 years ago

Applying Dymolas (2017 FD01) checkModel() in pedantic mode to Buildings.Data.AirpathCharacteristics.CdTiltedPane throws following error:


Component type specifier Angle_degInput is a connector, that should not be used in a function
File: Q:/Git/BuildingSystems/BuildingSystems/Buildings/Data/AirpathCharacteristics/CdTiltedPane.mo, line 7
Component context: angleDegPanes
Component declared as Angle_degInput angleDegPanes in BuildingSystems.Interfaces
nytschgeusen commented 7 years ago

Problem solved by type substitution (Modelica.):

old version: input BuildingSystems.Interfaces.Angle_degInput angleDegPanes; new version: input Modelica.SIunits.Conversions.NonSIunits.Angle_deg angleDegPanes;