Monday, December 6, 2010

Revit API modeling - Details

The first step in the project was creating an opening/window family with the following type parameters
  • Width
  • Height
  • Hour of the Day
  • Month of the Year
This family was then imported into the project as a window in a room with specified area and function
The daily horizontal illumination values for Chicago were retrieved from the weather file and were averaged over a month . These values were input into a spreadsheet (row=hour and column=month).

3 tasks were selected for the room function and corresponding IESNA recommended values for illumination levels were noted.
  • Function 1 = Office (46.45 footcandles)
  • Function 2 = Supermarket (69.67 footcandles)
  • Function 3 = Assembly Area (23.93 footcandles)
In the C# code, the window and room ids were assigned
The window parameters were obtained
The room parameters were obtained and the interior illumination levels were assigned to each function.
The exterior illumination levels were obtained from the csv file based on the hour and month parameters in the window family
The window width was calculated using the CIE method of illumination calculations. This formula is based on the room area, interior illumination (room function) and exterior illumination (hour and month). Minimum width was set at 0.75ft and maximum width set at 1.8ft.

The revit model returns the exterior illumination, the interior illumination and the width of the window.

The final images of the facade





No comments:

Post a Comment