I started with the Parametric Tower - One WTC - Top Ratio mass family. I then added elevation levels every 12 ft and split them into mass floors.
Next, I set the project location to San Franciso, CA.
I added a constraint to the podium height parameter by making it a function to be 20% of the tower height. I also made the height 744’ and the base width/depth equal to 155’. These dimensions allowed for the gross floor area to be between 1,200,000 and 1,500,000 SF when the Tower Top Ratio was flexed.
I used 5 groups of code to complete this assignment.
I selected the model mass and defined the flex parameter (Tower Top Ratio) and the Report Parameters.
Next, I defined the tower top ratio I wanted to test. I tested values of 0.05 to 0.5 with a step of 0.05.
I used the example custom code block: building form evaluate single input. I modified it to allow for 3 input parameters instead of 2. I also added the report all results which complies the results of the 3 parameters into 1 list for ease of use. I then use List.Map to run the test values through the function.
I imported the results of the test values to excel. I used two Data.ExportToExcel functions one for the values that were being tested and one for the results of the three parameters being reported.
I applied conditional formatting to show the optimal values. Green indicates the desired outcomes (maximum gross floor area and minimum gross surface area). As one can see this building shape is not optimal for the desired outcome. The two variables are optimal when the other variable is not.
Finally, I made the mass green for fun.