BridgeVision: Envisioning Perfect Truss Design
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F481a267c-0662-4a5c-841e-4578a5006086%2FUntitled.png?id=6deee132-5775-4f3a-a337-8647fa0d9ff0&table=block)
“BridgeVision” tool can be used to create preliminary design for truss bridges when the span length and properties of truss elements are given.
Generally, as starting point designers usually prefer one of the most common trusses like Warren Truss, Pratt Truss, Howe Truss, K-Truss, etc.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fb330a992-e035-405b-a5c6-089b0f2d9542%2FUntitled.png?id=a23ef24e-0228-4de0-9478-e3d21b30e545&table=block)
In this tool the user has the flexibility to choose either Warren or Pratt or Howe Truss.
Before discussing about the modelling and analysis approach, refer the inputs needed and outputs from this tool.
Note: All measurements are in SI units.
Inputs:
- Span Length of the bridge (in m)
- Number of Bays: (Number of Bays is forced to be even, asis best to have even number of bays for symmetrical load distribution. Subtracting 1 from the total bays when it is odd achieves this)
- Height Factor for the Truss System
- Cross sectional Area of Truss members (Min of 1 m2)
- Type of Truss System (1 For Warren Truss, 2 For Pratt Truss, 3 For Howe Truss)
- Young’s modulus of the truss material (in GPa)
- Uniform Load on the bridge (in KN/m)
- Unit Price of Road and Truss bars
Output:
- Revit model of the choice of truss system
- Stiffness Matrix
- Nodal Displacements
- Bar Stresses
- Construction Cost
For this tool to run you need to download the following:
Can be found in this link (including .dyn script and Revit File) - https://drive.google.com/drive/folders/1FNF_k-UZxu2oNy1_Z8f_MhqOdN0EqOSB?
- Sphere.rfa: Used to represent supports of the bridge
- Tube-2pt.rfa: Used to represent the truss members
- Consecutive_elements.dyf : Used to Collect consecutive elements in a list
- Numpy python module: To carry out FEA in dynamo (https://github.com/DynamoDS/Dynamo/wiki/Customizing-Dynamo's-Python-3-installation)
Overview of the outputs:
Global Stiffness Matrix:
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0f55d12f-7173-4743-83bf-ba476107608e%2FUntitled.png?id=20805f42-5440-4bba-8330-a6801033d424&table=block)
Nodal Displacements:
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F02d454ae-72a4-4284-ba45-97fa34f2320b%2FUntitled.png?id=0aaec8bf-6f8f-4247-ac8b-660d55cab888&table=block)
Bar Stresses:
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F563516d5-34b5-4adf-8cac-7c57cdfbd9bd%2FUntitled.png?id=5e0a7753-78bb-4640-9389-940aa741df70&table=block)
Final Revit Models:
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Faaced109-2707-461d-8353-7c3303afec2b%2FUntitled.png?id=9cf57afa-e2b6-46c4-9a7d-232c5f227763&table=block)
Modelling and Analysis Approach:
- The Total Span length is divided using the number of bays
- A ‘if condition’ code block was written as shown below to create the type of truss system the user wants. The output of this code block is a vector of size 3 containing only one ‘1’ value and remaining all are ‘0’ so multiplied with the span length only of the truss system designs will be initiated with a non-zero span length
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F841f2eed-a1dc-4341-b320-59f096480b5c%2FUntitled.png?id=8458338a-93d9-44ea-8808-41bc285ae6f4&table=block)
- The Height of the Bridge is determined using each bay length and multiplying it with a factor
- For Warren truss the factor is 0.866 (Height of equilateral triangle)
- For Pratt and Howe trusses the factor is 1.33
Warren Truss:
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F9dc6df74-32fa-442a-91cf-5ff5e1aaa287%2FUntitled.png?id=f3410c80-3477-49dd-8d0b-840273f208dc&table=block)
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fb9378564-5360-45d7-85a5-b7ff3d955294%2FUntitled.png?id=d3070dbe-acaf-4854-bda7-38287bbdd0af&table=block)
- First End to End nodes are connected to create the top and bottom chord. Later all the nodes are collected in a list and sorted by the X-coordinate and then this list is used to to create diagonal bars in warren truss
Pratt Truss & Howe Truss:
- Vertical bars are created by translating the bottom chord and dropping the first two and then connecting these two set of points.
- Top and bottom chords are connected using the consecutive strategy.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F38ba6661-1e22-422e-b79f-abbac234a48f%2FUntitled.png?id=b0ae6d45-4378-4c51-9d47-d5ff681b97d6&table=block)
- Diagonal Bars are created by manipulating the list of points in the top and bottom chord as follows dynamo
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F0f924e44-0683-44d6-8fd5-bd789e0704ba%2FUntitled.png?id=1b0800af-279d-4a42-8ab7-75233eefb896&table=block)
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F6f191205-0eda-4720-9be1-049f74db5801%2FUntitled.png?id=bfea07c2-ca85-4238-9cd1-5be9bdb3a7dd&table=block)
Note: The main difference between a Howe truss and a Pratt truss is that in a Howe truss, the diagonal members are inclined upwards towards the center of the truss, while in a Pratt truss, the diagonal members are inclined downwards towards the center of the truss. This can be easily handled in dynamo by changing the start and end points of the lines
Truss System:
- All the truss elements of the 2d truss are collected creating one side of the truss. This one side of the bridge is translated in y-direction (equal to road width) and a pathway/road is created in between using Revit Floor element
- Radius of tube elements are set according to the cross-sectional area of the bars that user as inputted
- Floor element was created using Floor.ByOutlineTypeAndLevel where the outline is the rectangle formed by the corner points of the truss system on X-Y plane (Bridge height spans in Z-direction)
- Note: First you need to create a level in Revit file to insert a floor
- And to give a clear sense of where the supports are spheres are placed at the ends
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fc2709758-49ea-440d-9da2-c7a0ca032c3d%2FUntitled.png?id=398d5afe-bdf3-4968-998f-13c9441953ee&table=block)
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fdf01645d-a09a-419e-8a99-df42aad01061%2FUntitled.png?id=4dada09b-c9c1-4501-af7a-9688c69bcf55&table=block)
Finite Element Analysis:
Displacement and Stresses can be calculated using Finite Element Analysis- Direct Stiffness Method:
The direct stiffness method is an analysis technique for trusses that breaks them into smaller elements. Each element's stiffness is determined based on its properties, and then combined into a global stiffness matrix. By solving equilibrium equations using this matrix, the displacements and forces in the truss can be calculated, enabling accurate prediction of its behavior. This method helps optimize truss designs for strength and stability.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F3f38083d-e7e2-4adc-8546-a760f1aeb8ce%2FUntitled.png?id=3a5bac28-a30d-452c-8c2a-25897158ebd4&table=block)
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F59146e3e-abec-4897-bee2-5320c26f67a9%2FUntitled.png?id=732a2a9b-77f6-4184-a145-f89ac4997445&table=block)
By solving above equation we can get the nodal displacements and using this we can find stresses in the bars as follows:
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F4b69fc5c-9d90-43b1-b583-834be9833aa1%2FUntitled.png?id=56a297e5-cdb5-4de0-8842-219f2cfb0b60&table=block)
The above mentioned equations are implemented in dynamo using a custom python script (which can be found in the dynamo file itself). Make sure that numpy python module is installed in the dynamo python environment
Let us discuss the FEA implementation using a problem statement:
- Below is a typical load diagram (Free body diagram) on one side of the bridge.
- But in truss all the loads act at the nodes, meaning the same problem statement can be written as: The external nodal forces = unit load * bay length
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ffa2f533c-2720-4288-b2a3-1ec341fb3c2e%2FUntitled.png?id=5675b62b-e88d-42f1-83f4-e90fd7e7b2bb&table=block)
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fc6df229e-91c1-40df-8a1d-adc2cf90f720%2FUntitled.png?id=5861e824-7da6-4b40-9bb7-c8bb750c58c4&table=block)
- The custom Python Script Node takes the following inputs:
- IN[0] - Cross sectional area of bars
- IN[1] - Orientation of the bars w.r.t X-axis about Z-axis (degrees)
- IN[2] - Lengths of bars
- IN[3] - Young’s modulus in (GPa)
- IN[4] - Connections
- IN[5] - Number of Nodes
- IN[6] - Number of Nodes on which external force is applied (nodes on the ground level)
- IN[7] - External Force applied
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Feb7c66b8-0bde-44d4-baaa-5b58b4e9d787%2FUntitled.png?id=1ac0fb72-e96c-4fd3-8180-a6c21d6ffcc4&table=block)
- The results from FEA are then extracted to an excel sheet
- Construction Cost
- Weight of the truss system is calculated by first finding volume by multiplying area and length and then by density. later using the unit price, cost of truss system is calculated
- The surface area of the road is known by creating a closed surface using Surface.bypatch and later again using unit price cost of road is calculated.
- Total cost of bridge is estimated including truss and road.
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F70e9940f-588a-4173-9359-2fcd9614c9ee%2FUntitled.png?id=ab6638b4-876c-4c56-b985-721e1a52f18a&table=block)
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F8d2381dd-a8af-4d44-a4b6-4ad505f4ec41%2FUntitled.png?id=86d261a9-211a-4c04-8964-241991a78d55&table=block)
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F8f22225e-863c-49d3-90c4-0d211fc0e5ff%2FUntitled.png?id=7d81d622-1843-4c28-a5a0-b64e4885f271&table=block)
Demo Video link:
Video contains demonstration of “BridgeVision” tool using dynamo player
![image](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F693ae3d1-9bcc-48f4-a1a3-237ae97c8ee5%2FUntitled.png?id=b6869dd4-568c-4547-8170-1d7e9423f648&table=block)
Can be found in this drive folder - https://drive.google.com/drive/folders/1FNF_k-UZxu2oNy1_Z8f_MhqOdN0EqOSB?usp=drive_link
File Name - Demo_Video_Module8