christiankral / PhotoVoltaics

Modelica library for the simulation of photo voltaic cells and modules
Other
25 stars 17 forks source link

Update library to Buildings 5.1.0 #32

Closed christiankral closed 5 years ago

christiankral commented 5 years ago

The PhotoVoltaics_TGM library shall be upgraded so that it works with a newer version of the Buildings library.

The Buildings library 3.0.0 processed the parameter filNam in Buildings.BoundaryConditions.WeatherData.ReaderTMY3 as URI, not as filename. This behavior seems to have changed in version 5.1.0. Therefore, the filename has the be determined applying the function Modelica.Utilities.Files.loadResource.