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

Revision history [back]

click to hide/show revision 1
initial version

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.