This extension of the SimInfoManager allows to use a custom text input file for the weather data instead of the TMY3 weather data loaded by the SimInfoManager.
The text file should have the following structure. It should start with:
double data(xx,10)
where xx should be replaced by the number of time entries (number of rows).
The following lines should have 10 tab-separated columns containing following values:
time [s], ambiant temperature [K], dew point temperature [K], atmospheric pressure [bar], wind speed [m/s], wind bearing [deg] (between 0 and 360), relative humidity [-] (between 0 and 1), direct normal sun irradiance [W/m2], diffuse horizontal irradiance [W/m2] and weather the measurement is trusted or not (even though nothing is done in modelica with the last column).
Once the custom text file is created, give the correct path to the
fileNameLocalWeather parameter.