Receive cooling and heating as summary and analysis in C #
Hello to all friends I know my question is very simple, but thank you for your help. I created a space with the number of people and electrical equipment and other options, placed the space in the thermal zone, defined an ideal air system for it and was able to generate the output of the osm file. Now, how can I report the cooling and heating loads of the walls,infiltration, lighting, etc. in summary or analysis for different hours for the heating area? In other words, what class can I use to get summary or analytical output?
OpenStudio.Model model = new OpenStudio.Model();
// Weather File
OpenStudio.Path path = OpenStudio.OpenStudioUtilitiesCore.toPath("D:\\Pluginet\\Chiral\\Chiral\\WeatherFile\\IRN_Shiraz.408480_ITMY.epw");
OpenStudio.WeatherFile.setWeatherFile(model, new OpenStudio.EpwFile(path));
OpenStudio.DesignDay WinterDesignDay = new OpenStudio.DesignDay(model);
WinterDesignDay.setMonth(12);
WinterDesignDay.setDayOfMonth(21);
WinterDesignDay.setDayType("WinterDesignDay");
WinterDesignDay.setMaximumDryBulbTemperature(25);
WinterDesignDay.setDailyDryBulbTemperatureRange(25);
WinterDesignDay.setBarometricPressure(25);
WinterDesignDay.setWindSpeed(250);
WinterDesignDay.setWindDirection(20);
WinterDesignDay.setSkyClearness(1);
OpenStudio.DesignDay SummerDesignDay = new OpenStudio.DesignDay(model);
SummerDesignDay.setMonth(7);
SummerDesignDay.setDayOfMonth(21);
SummerDesignDay.setDayType("SummerDesignDay");
SummerDesignDay.setMaximumDryBulbTemperature(20);
SummerDesignDay.setDailyDryBulbTemperatureRange(20);
SummerDesignDay.setBarometricPressure(25);
SummerDesignDay.setWindSpeed(250);
SummerDesignDay.setWindDirection(20);
SummerDesignDay.setSkyClearness(1);
// Creat Construction && Material
OpenStudio.Construction construction = new OpenStudio.Construction(model);
OpenStudio.StandardOpaqueMaterial material = new OpenStudio.StandardOpaqueMaterial(model);
material.setName("material");
material.setThickness(10);
material.setDensity(1920);
material.setSpecificHeat(840);
material.setThermalConductance(8);
material.setSolarAbsorptance(1);
construction.insertLayer(0, material);
// Creat Discrete Schedule
OpenStudio.ScheduleTypeLimits DiscreteScheduleTypeLimits = new OpenStudio.ScheduleTypeLimits(model);
DiscreteScheduleTypeLimits.setName("DiscreteScheduleTypeLimits");
DiscreteScheduleTypeLimits.setUpperLimitValue(1);
DiscreteScheduleTypeLimits.setLowerLimitValue(0);
DiscreteScheduleTypeLimits.setNumericType("Discrete");
OpenStudio.ScheduleDay DiscreteScheduleDay = new OpenStudio.ScheduleDay(model);
DiscreteScheduleDay.setName("DiscreteScheduleDay");
DiscreteScheduleDay.setScheduleTypeLimits(DiscreteScheduleTypeLimits);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 0), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 1), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 2), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 3), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 4), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 5), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 6), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 7), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 8), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 9), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 10), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 11), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 12), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 13), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 14), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 15), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 16), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 17), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 18), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 19), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 20), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 21), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 22), 1);
DiscreteScheduleDay.addValue(new OpenStudio.Time(0, 23), 1);
OpenStudio.ScheduleWeek DiscreteallOfWeekAprill = new OpenStudio.ScheduleWeek(model);
DiscreteallOfWeekAprill.setName("DiscreteallOfWeekAprill");
DiscreteallOfWeekAprill.setSaturdaySchedule(DiscreteScheduleDay);
DiscreteallOfWeekAprill.setSundaySchedule(DiscreteScheduleDay);
DiscreteallOfWeekAprill.setMondaySchedule(DiscreteScheduleDay);
DiscreteallOfWeekAprill.setTuesdaySchedule(DiscreteScheduleDay);
DiscreteallOfWeekAprill.setWednesdaySchedule(DiscreteScheduleDay);
DiscreteallOfWeekAprill.setThursdaySchedule(DiscreteScheduleDay);
DiscreteallOfWeekAprill.setFridaySchedule(DiscreteScheduleDay);
OpenStudio.ScheduleYear DiscreteScheduleYear = new OpenStudio.ScheduleYear ...