Original Building Form
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F5de9985c-89ee-4c81-b191-52c3ed8a71a8%2FUntitled.png?id=4f8420dd-a36c-42ca-9bd1-17a6c48104e1&table=block)
Recommended Building Form
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F6a3c754a-b8d3-4f17-83da-fcf290f1d525%2FUntitled.png?id=2437afe9-722b-49f4-b641-ba6d428d9c69&table=block)
Input Parameters to be flexed
In this Module, I upgraded my Dynamo code to include another parameter to flex and see the effect from the flexing of these combinations of input parameters on the building’s physical form, as well as its performance against the metrics that I used in the previous module - Gross Floor Area, Gross Surface Area, Gross Volume as well as two additional metrics that I will introduce in the next section. The 2 input parameters that I will be flexing are the Mid Rotation angle and Mid Height level of the building. I also included the series range of values that I will be testing and combining them as different permutations of the building (using List Cartesian Product, see below) to be evaluated against the metrics.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F03d66ba7-70b3-434f-bf6b-44d71d72cbe4%2FUntitled.png?id=c9b77f39-ddc5-4d0c-8155-671b6951fab9&table=block)
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fbd1362f6-718a-4501-8d13-65602925c043%2FUntitled.png?id=5ae78b59-7eb2-4054-becd-2e222199f76e&table=block)
Chosen Metrics for Evaluation
These are the metrics I will be using to evaluate the building. Profits and Embodied Carbon are two new metrics that I am introducing in this Module Assignment. For the Profitability metric, I needed to set 4 constants for the calculation of the profitability of the building - first 2 being the cost on the lowest and highest level of the building and the second 2 being the retail price on the lowest and highest level of the building. For the Embodied Carbon metric, I used 1 constant which is the average embodied carbon in a commercial building, per floor area.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F9b786578-fb09-46e6-81d0-17c83a32fd1d%2FUntitled.png?id=eb05ea32-3116-41c6-ae0f-dec709de4a4f&table=block)
Main Evaluation Custom Node
I fed these inputs parameters and metric constants into my custom node where it will report the 5 metric results that you saw above, based on the various combinations of buildings based on the 2 flexing input parameters that were chosen.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ff95069d6-e617-4879-8891-2dd584b7d07f%2FUntitled.png?id=8a33919a-afd9-4b88-a8ca-e57a3e74525f&table=block)
In the custom node, this set of nodes will take in the various combinations of flex parameter iterations and update the elements in the Revit model to regenerate the new building.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fdd9b6a65-2177-4f1e-9832-64ca40e7d027%2FUntitled.png?id=6798a9eb-ed7a-42c0-ad40-c41e4db409c7&table=block)
These nodes will obtain the 3 parameters that we saw in the previous module. The input to element here is the output from the Transaction.End node that we see above.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F731c80cf-705c-4121-8c36-361c63fc0332%2FUntitled.png?id=aa5deeda-a8b6-4796-bea6-9a50c5a9946c&table=block)
Profitability Metric Code Block
This code block calculates the profits based on the Floor Area of the building which is obtained from the custom node BuildingMassFloorArea, from which it is fed through both the ComputeCost and ComputeRetailValue custom nodes and the profits calculated with outputs from both nodes, by taking retail value - costs.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F82cd9f09-71cc-410e-862b-ec049213c5f9%2FUntitled.png?id=67332947-5fbd-4d0d-9d27-6c2e8d8efab9&table=block)
Compute Cost Custom Node
The ComputeCost node works mainly by taking the given constants for costs at the lowest and highest level, as well as the total height of the building and the height between each level. Here we assume that the cost of the building increases linearly as we go up each level of the building, which is reflected in the first code block. Then, we calculate the total costs on each level by taking the product of the calculated cost at that level and the floor area of the same level. We filter null values and take the sum of that list to find the total costs of constructing that particular building form.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F46d267eb-06be-46e5-a965-780603e25abb%2FUntitled.png?id=1e500229-70dc-48b3-8563-dad129d076c9&table=block)
Compute Retail Value Custom Node
The ComputeRetailValue node works the same as the ComputeCost node except it is fed the given constants for retail value at the lowest and highest level. Here the main difference is that we assume the retail price increases exponentially with the building height, since exterior views are highly desired on the top levels of the building. Hence we take the natural log of the inputs, create the series for each level and then take the exponential value of it to derive the retail value to be charged at each level.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ff49ae87e-f37a-43ac-bb9c-e3800728f273%2FUntitled.png?id=a43d15ad-2926-441e-b5dc-dd623a1a8fbb&table=block)
Embodied Carbon Metric Code Block
This code block calculates the embodied carbon of the building form, by using the ComputeEmbodiedCarbon node.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ffd115818-e22b-4987-8a0e-50f5c38d242e%2FUntitled.png?id=016b8ca1-9e93-4079-8341-681ca8dd2e0c&table=block)
Compute Embodied Carbon Custom Node
The logic for this node is to use the given embodied carbon per floor area constant and multiply it by the various floor areas and sum it up to obtain the total embodied carbon in that building form.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fe754613e-9a0f-4ed5-b32b-581c1316a165%2FUntitled.png?id=b6f67907-7e60-407a-8976-2fe452ec6620&table=block)
The outputs from the various metrics are then combined into a list, which gives the output for me to export into an excel sheet as a summary table.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F4380fef5-acfd-4836-8cfa-72015aa9579f%2FUntitled.png?id=33855e58-ffd2-4ec0-b04b-7ce243e1d81f&table=block)
Summary Table
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F18e433b2-db69-4279-b0b5-983c2cf37d32%2FUntitled.png?id=b7832a38-eb63-4b52-9707-600c893eabf2&table=block)
Based on the summary table, it would be easy to see which building is most suited for a developer that is looking for the highest profitability, or the least amount of embodied carbon to meet their sustainability goals.
The building forms that would generate the highest profits and lowest embodied carbon are shown below, respectively.
Building with highest profitability
Mid Rotation: 45 deg
Mid Height: 100 ft
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fd1995cf7-85f5-4694-8267-88da1c7b50c8%2FUntitled.png?id=899f43e8-60c4-47b1-a9c8-10e79628705f&table=block)
Building with lowest embodied carbon
Mid Rotation: 15 deg
Mid Height: 150 ft
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fad54a76f-0ac0-4dd4-a4ac-d570852385e4%2FUntitled.png?id=b9ee4d1b-1e6b-494a-ab0e-c56b81a9ee47&table=block)
A developer that might be looking to balance both metrics might choose between a building with mid rotation of 30 deg and mid height of 100 ft (let’s call it Building A), or one with mid rotation of 45 deg and mid height of 150 ft (Building B). In comparison to the building with highest profitability, Building A would have ~25% decrease in profits and ~25% in embodied carbon while Building B would have ~32% decrease in profits and ~31% decrease in embodied carbon. Hence it seems like Building A would be preferred since the ratio of the change in profits and embodied carbon is lower for Building A than B.
Building A i.e. recommended building
Mid Rotation: 30 deg
Mid Height: 100 ft
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F6a3c754a-b8d3-4f17-83da-fcf290f1d525%2FUntitled.png?id=0f74f0a3-d3a1-443a-bb74-a51dd3522516&table=block)