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

LBL Modelica Buildings Library stopped working with European weather data files

asked 2020-01-22 04:34:34 -0600

MPK's avatar

I recently started working with the LBL Modelica Buildings Library (6.0.0) in Dymola 2020x. I downloaded the .epw data for Strasbourg from the EnergyPlus homepage and converted it with the Java tool, which worked. About a week later, the simulation stopped working "without any error indication."

After some testing, I identified the weather data as the source of the problem. The simulation works with weather data from Chicago, San Francisco, Seattle and Portland, but not with data from Strasbourg, Geneva and London.

Has anyone else encountered such a problem?

edit retag flag offensive close merge delete

Comments

Hello,

I have encontered exactly the same behavior these days. It is to my observation not always failing. I was able to get it running again by changing forth and back the data source several times (I was unable to find a clear explanation why it worked again). But then it fails again.

Did you find a solution for the problem?

Thank you and best Regards

R_agner's avatar R_agner  ( 2020-09-15 10:46:34 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-03-03 09:47:12 -0600

R_agner's avatar

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

Stats

Asked: 2020-01-22 02:51:29 -0600

Seen: 238 times

Last updated: Jan 22 '20