# Moment Frame Napkin Calculations

This Dynamo script computes the __maximum permissible beam spans__ for a rectangular moment frame system. These computations are based on material and section properties of the structural elements.

Based on user-defined mass element, beam section, column section, and area load, the script assembles a structural moment frame with the maximum span.

It provides owners/architects a preliminary estimate of how bulky, costly, and sustainable (embodied CO2) the frame structure will be.

## How to use the tool

Download the *Moment_Frame_Napkin_Calculations bundle *zip folder, extract its contents.

- Place a mass element in Revit. Assign it mass floors.
- Open Dynamo Player and locate Moment_Frame_Napkin_Calculations.
*Ensure that Moment_Frame_Napkin_Calculations.Dependencies*folder*is accessible.***Define the inputs for the script:**- Click on Mass Element with mass floors (from Step 1).
*Press ESC key to deselect the element in the Revit Workspace because the Mass Modify interface may obstruct the Dynamo script.*- Uniformly distributed area load (pounds per square foot)
- Structural Beam
- Type (any Structural Framing Family loaded in the Revit Project, includes material)
- Cost per cubic foot
- Embodied Carbon Factor (ECF): ratio of embodied CO2 weight to beam weight
- Structural Column Type
- Type (any Structural Column Family loaded in the Revit Project, includes material)
- Cost per cubic foot
- Embodied Carbon Factor (ECF): ratio of embodied CO2 weight to beam weight
- Click the Run/Play button.
- Scroll down to see the output metrics, look at Revit workspace to see the elements.

## Computations

**Beam capacity**

Based on the yield moment (yield stress * strong axis plastic section modulus), determine the maximum (square) span dictated by the beams (bending capacity). The beam spans will determine how much bending moment the beam will undergo, which cannot exceed the beam’s capacity:

**Column capacity**

Based on the interstory height and the column section area, determine the maximum (square span) dictated by the columns (compression capacity). The beam spans will determine how much compression the column will undergo, which cannot exceed the column’s capacity:

[critical stress]

[buckling stress]

**Frame design**

Use the smaller of the beam-/column-driven maximum spans (Lmax) to draw the structural grid (X and Y spacing). The Z spacing is provided by the mass floor elevations.

## Results

**Moment frame assembly:**

Based on the computed structural grid,

For this proof of concept, the column orientation is unidirectional throughout the structure. There is a strong and weak direction.

**Gross metrics of the structural system:**

- Gross volume of the structural elements
- Ratio of structural element volume to total mass volume
- Total cost
- Weight of structural moment frame (pounds)
- Embodied CO2 from structural moment frame (pounds)
- Column moment capacity check (true if stronger than beams, false if weaker (problem!))

## Video Example

(No sound, just walking through the steps)