> ## Documentation Index
> Fetch the complete documentation index at: https://calcs.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Base vs Expanded Load Combinations

> Understanding the difference between base and expanded load combinations in Calcs.com solvers

## Explanation By Example

*Using USA LRFD combinations as an example*

| **Base Combination**                      | **Expanded Combinations**                                                                                                                                  |                            |
| ----------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
| **1.** 1.4D                               | 1.4D                                                                                                                                                       | 1                          |
| **2.** 1.2D + 1.6L + 0.5Lr                | 1.2D + 1.6L + 0.5Lr<br />1.2D + 1.6L2 + 0.5Lr                                                                                                              | 2<br />3                   |
| **3.** 1.2D + 1.6L + 0.5S                 | 1.2D + 1.6L + 0.5S<br />1.2D + 1.6L2 + 0.5S                                                                                                                | 4<br />5                   |
| **4.** 1.2D + 1.6L + 0.5R                 | 1.2D + 1.6L + 0.5R<br />1.2D + 1.6L2 + 0.5R                                                                                                                | 6<br />7                   |
| **5.** 1.2D + 1.6Lr + f1L                 | 1.2D + 1.6Lr + f1L<br />1.2D + 1.6Lr + f1L2                                                                                                                | 8<br />9                   |
| **6.** 1.2D + 1.6Lr + 0.5W,dn             | 1.2D + 1.6Lr + 0.5W,dn<br />1.2D + 1.6Lr + 0.5W,dn2                                                                                                        | 10<br />11                 |
| **7.** 1.2D + 1.6S + f1L                  | 1.2D + 1.6S + f1L<br />1.2D + 1.6S + f1L2                                                                                                                  | 12<br />13                 |
| **8.** 1.2D + 1.6S + 0.5W,dn              | 1.2D + 1.6S + 0.5W,dn<br />1.2D + 1.6S + 0.5W,dn2                                                                                                          | 14<br />15                 |
| **9.** 1.2D + 1.6R + f1L                  | 1.2D + 1.6R + f1L<br />1.2D + 1.6R + f1L2                                                                                                                  | 16<br />17                 |
| **10.** 1.2D + 1.6R + 0.5W,dn             | 1.2D + 1.6R + 0.5W,dn<br />1.2D + 1.6R + 0.5W,dn2                                                                                                          | 18<br />19                 |
| **11.** 1.2D + 1.0W,dn + f1L + 0.5Lr      | 1.2D + 1.0W,dn + f1L + 0.5Lr<br />1.2D + 1.0W,dn + f1L2 + 0.5Lr<br />1.2D + 1.0W,dn2 + f1L + 0.5Lr<br />1.2D + 1.0W,dn2 + f1L2 + 0.5Lr                     | 20<br />21<br />22<br />23 |
| **12.** 1.2D + 1.0W,dn + f1L + 0.5S       | 1.2D + 1.0W,dn + f1L + 0.5S<br />1.2D + 1.0W,dn + f1L2 + 0.5S<br />1.2D + 1.0W,dn2 + f1L + 0.5S<br />1.2D + 1.0W,dn2 + f1L2 + 0.5S                         | 24<br />25<br />26<br />27 |
| **13.** 1.2D + 1.0W,dn + f1L + 0.5R       | 1.2D + 1.0W,dn + f1L + 0.5R<br />1.2D + 1.0W,dn + f1L2 + 0.5R<br />1.2D + 1.0W,dn2 + f1L + 0.5R<br />1.2D + 1.0W,dn2 + f1L2 + 0.5R                         | 28<br />29<br />30<br />31 |
| **14.** 1.2D + 1.0Ev + 1.0Eh + f1L + 0.2S | 1.2D + 1.0Ev + 1.0Eh + f1L + 0.2S<br />1.2D + 1.0Ev + 1.0Eh + f1L2 + 0.2S<br />1.2D + 1.0Ev + 1.0Eh2 + f1L + 0.2S<br />1.2D + 1.0Ev + 1.0Eh2 + f1L2 + 0.2S | 32<br />33<br />34<br />35 |
| **15.** 0.9D + 1.0W,up                    | 0.9D + 1.0W,up<br />0.9D + 1.0W,up2                                                                                                                        | 36<br />37                 |
| **16.** 0.9D - 1.0Ev + 1.0Eh              | 0.9D - 1.0Ev + 1.0Eh<br />0.9D - 1.0Ev + 1.0Eh2                                                                                                            | 38<br />39                 |

## Key Points

* There are many more "expanded" load combinations than "base" load combinations
* You only **INPUT** the "base" load combinations into your "remote" widget. The solver automatically expands them out, based upon any alternate load types that you tell the solver exists.
* The solver internally calculates everything using the expanded combinations.
* Some solver **OUTPUTS** are base combinations, and some are expanded combinations. Be careful which is which!

<Warning>
  Pay close attention to whether solver outputs are using base or expanded combinations, as this affects interpretation of results.
</Warning>

## The Weird Stuff

### Recombining Expanded into Base Combinations

Let's take this combination as an example:

| **Base**       | **Expanded**                        |
| -------------- | ----------------------------------- |
| 0.9D + 1.0W,up | 0.9D + 1.0W,up<br />0.9D + 1.0W,up2 |

Usually, wind uplift will be acting in the opposite direction of dead load. So let's say the user sets:

* W,up = "-0.9D"
* W,up2 = "0"

This means:

* `remote.LCTable.maxR` (maximum reaction) will be equal to **0.9D** (`= 0.9D + 0`)
* `remote.LCTable.minR` will be equal to **0** (`= 0.9D - 0.9D`)
* The signed absolutely maximum `remote.LCTable.R` will be equal to **0.9D**

<Tip>
  Be very careful as to what result you're actually looking for if you use these in your calculations!
</Tip>

### Sorting of Expanded Load Combinations

In all of the outputs that include expanded load combinations, they are returned in the order that the solver has generated them in. That means that all the alternate load types are included in later indices.

The first 16 load combinations *look like* the base combinations, but are actually the expanded combinations - **NOT recombined!**

## Visual Example

The diagrams show the envelope considering all different types of Q (Q1, Q2, Q3). Observe that Q1, Q2 and Q3 are not considered in the same load combination. The images below show that the bending demand is the same across different load types.

<Frame>
  <img src="https://t6927027.p.clickup-attachments.com/t6927027/57bb720e-4c11-424b-8948-0ddba0c62a99/image.png" alt="Bending moment diagram Q1" />
</Frame>

<Frame>
  <img src="https://t6927027.p.clickup-attachments.com/t6927027/e0fe40c7-3904-4d53-9b36-85190b110035/image.png" alt="Bending moment diagram Q2" />
</Frame>

<Frame>
  <img src="https://t6927027.p.clickup-attachments.com/t6927027/f5d62f28-3a08-43d4-9a82-6b1a69910a36/image.png" alt="Force diagram Q1" />
</Frame>

<Frame>
  <img src="https://t6927027.p.clickup-attachments.com/t6927027/4211420b-0ffa-4e9f-9ec2-6fd944dbb381/image.png" alt="Force diagram Q2" />
</Frame>

Note that if you add another load Q3 in another location, this will only be shown in the diagram if the bending moment along the beam caused by Q3 is higher than the bending moment caused by the other loads:

<Frame>
  <img src="https://t6927027.p.clickup-attachments.com/t6927027/c8f0a74a-eb87-4103-9188-64889f83478f/image.png" alt="Bending moment with Q3" />
</Frame>

<Frame>
  <img src="https://t6927027.p.clickup-attachments.com/t6927027/8999a607-9ddc-4f53-b631-b976cee27461/image.png" alt="Force diagram with Q3" />
</Frame>

<Frame>
  <img src="https://t6927027.p.clickup-attachments.com/t6927027/e330c1f4-649d-4343-b09b-4d63f6d48fcb/image.png" alt="Combined bending diagram" />
</Frame>

<Frame>
  <img src="https://t6927027.p.clickup-attachments.com/t6927027/bee62550-289d-4403-a375-ef7c3bbb5f56/image.png" alt="Combined force diagram" />
</Frame>

<Info>
  The envelope diagrams show the maximum effects from all non-concurrent load combinations, demonstrating how the solver handles multiple load types without combining them inappropriately.
</Info>
