![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fe161a9fa-147d-4ed9-9350-3fc60f08e0be%2FScreenshot1.png?id=b36184ea-746f-4d01-af5b-39fad8e9c175&table=block)
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F4e457696-1668-490c-a3fc-04d9ae3fee4d%2FScreenshot1b.png?id=39bc17f1-c3cf-4f06-a830-67b873f17b4b&table=block)
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F545206d3-a19f-4596-afa4-77bfa0cc9cf5%2FScreenshot1c.png?id=9e00fc91-ecb4-4f58-8f11-c1ac3689dafa&table=block)
Different Views of triangular circular building with the sun.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ffbc1c5ec-88e8-416f-a3fd-4c5532922334%2FScreenshot2.png?id=ee834ca1-e535-437d-b8bb-217a23b7d3c3&table=block)
Dynamo file overview for Module 6 for the 4 unit model
Step 1A: Start with the selection of the Revit Model (similar to the one used in Module 5.1), with two code boxes used for parameters “Top Height”, “Mid Rotation”, “Gross Floor Area”, “Gross Surface Area”, and “Gross Volume”. The third code box feeds directly into step two for the low and highest construction costs per square foot basis, the height of the highest level that is measured in the excel spreadsheet, and the individual level heights (in order).
Step 1B: Use of SunSettings nodes including SunSettings.Current, SunSettings.StartDateTime, SunSettings.EndDateTime, which feeds into the TimeStudy.FromStartTimeToEndTime. The location is determined on the Revit file. All the outputs in step 1B feeds directly into Step 2, shown below. The electrical price per kilowatt-hour is added in Step 1B which feeds an output column shown in the End Results (shown in this notion article after Step 5).
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F081c2962-d621-4190-a975-67fff0da2cfe%2FScreenshot3.png?id=6e13a3b2-2aab-40d5-9a65-16e495ea7e4e&table=block)
Step 2: A custom node was applied from the class file to compile the data which serves as the heart of this dynamo file. This also played a role in the input nodes.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F17386b55-50fb-4a16-a384-9f384797655b%2FScreenshot4.png?id=b9b6344e-394b-4258-aa30-8521c96fac9f&table=block)
Step 3: Element.SetParameters and Family Types (for selecting the finish of the building) were organized to help assist with data organization and Revit visualization respectfully. The code box is an input point where users can enter the max height being analyzed of the building and the max rotation of the building. The zoomed in view of the building with the exterior paneling is shown below Step 3 dynamo.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F8cc83614-2732-4e38-959c-f610e4b93240%2FScreenshot5.png?id=40b40cd6-6d7a-4c2d-95bd-d707743cf794&table=block)
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F2d7adef7-5fcc-42b9-8900-8e5fc720c503%2FScreenshot8.png?id=2eeaa783-d2aa-4474-b14c-e78c5ef9aa20&table=block)
Step 4: To assist in panelizing the surface of the building, the sizes of the building were divided into U+V coordinates (code box) that feeds into a Panel.PanelQuad (panelizes the surface of the building), with color input provided as an option. Element.OverrideColorInView and Panels.ComputeSunDirectness assist in the final output of the revit file visually.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F7f30bde5-5090-46a2-b00f-383b4ab5f1ea%2FScreenshot6.png?id=08c89c31-3fda-42ce-870a-723adfbaabf1&table=block)
Step 5: From Step 2, the data is fed into exporting to a predetermined excel spreadsheet. A List.CartesianProduct node is used, with two lists (building height values (starting from 200 feet to 250 feet increments of 10 feet)) and top rotation values from the height predetermined to be analyzed (from 45 degrees to 90, increments of 15). These are the outputs that feed directly into the Excel spreadsheet and cause the different hypothetical situations showing up in the first two columns of the spreadsheet. These are the input variables that affect the output variables (Gross Floor Area, Surface Area, Gross Volume, Construction Cost, and Electricity Cost).
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F83dce660-6748-4a73-9af9-5df894a70977%2FScreenshot7.png?id=d87cbd61-35a5-41b2-8703-e446acc4e1ef&table=block)
End Result: The data from the dynamo file and the Revit file is shown below, which includes the construction and electricity costs for the floors selected.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F463df331-8f35-4a94-beda-2d9258d2134e%2FCapture.png?id=0c7f3f4b-fd1c-4d8d-8fbb-be8fae61ad3d&table=block)