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

Revision history [back]

How can I import a weatherFile by c# into OpenStudio model?

I use the c# API to generate a OpenStudio Model. I can add constructions, thermalZones, SchedulSets. Now I try to set the weather File. But I only found a method to get the Weatherfile.

OpenStudio.Model model = new Model;
model.getWeatherFile();

Is there an opportunity to set the Weather File?

Thanks for your help!!

How can I import a weatherFile by c# into OpenStudio model?

I use the c# API to generate a OpenStudio Model. I can add constructions, thermalZones, SchedulSets. Now I try to set the weather File. But I only found a method to get the Weatherfile.

OpenStudio.Model model = new Model;
model.getWeatherFile();

Is there an opportunity to set the Weather File?

Thanks for your help!!

How can I import a weatherFile by c# into OpenStudio model?

I use the c# API to generate a OpenStudio Model. I can add constructions, thermalZones, SchedulSets. Now I try to set the weather File. But I only found a method to get the Weatherfile.

OpenStudio.Model model = new Model;
model.getWeatherFile();

Is there an opportunity to set the Weather File?

Thanks for your help!!