Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

In the Meantime, i have found a workaround for myself.

It appeared to me that the reading of the non-Table date of lognitude, latitude and Time zone (lon, lat timZon) have caused the error.

I have therfeore replaced the Lines 224 to 232 of the ReaderTMY3 Model ( Lines Valid for Buildings Version 7.0.0):

final parameter Modelica.SIunits.Angle lon(displayUnit="deg")=
    Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3(
    filNam) "Longitude";
final parameter Modelica.SIunits.Angle lat(displayUnit="deg")=
    Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3(
    filNam) "Latitude";
final parameter Modelica.SIunits.Time timZon(displayUnit="h")=
    Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3(filNam)
    "Time zone";

with modifiable paramters to be set by the user.

  parameter Modelica.SIunits.Angle lon(displayUnit="deg")=0.84788;
  parameter Modelica.SIunits.Angle lat(displayUnit="deg")=0.1352;
  parameter Modelica.SIunits.Time timZon(displayUnit="h")=3600;

These parameters have then to be set on the GUI of the "ReaderTMY3" Model.

HTH Regards Raphael