Revision history [back]
The WeatherFile object appears to be a singleton and has a static member used to instantiate an object. You do this by calling the .setWeatherFile method on the WeatherFile class itself passing in the model and an EpwFile instance - WeatherFile.setWeatherFile(Model model, EpwFile epwFile) works.