> For the complete documentation index, see [llms.txt](https://docs.enercalc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enercalc.com/e3d-user-manual/analysis/toc161394055/toc161394059.md).

# Solution Algorithm

How the skyline and sparse solvers perform static analysis in ENERCALC 3D.

Mathematically, the static analysis involves solving the following simultaneous equations:

\[K] \[U] = \[R]

where \[K] is the global stiffness matrix, \[U] is the displacement vector, and \[R] is the load vector for each load combination.

There are two solution algorithms used in ENERCALC 3D: skyline and sparse. The skyline solution algorithm used to solve the equation above was developed by K.J. Bathe \[Ref. 1]. It is an active column (also called profile or skyline) solver that involves the factorization of a stiffness matrix and the back-substitution of the load vector. The factorization generally takes most of solution time while the back-substitution is relatively fast. For all linear load combinations, the factorization only needs to be performed once. For nonlinear load combinations, the factorization has to be performed multiple times on each load combination because the global stiffness matrix has to be updated during the solving process. This is the reason why linear and nonlinear load combinations are analyzed separately.

The sparse solver only stores non-zero elements in the global stiffness matrix, thus it is both more memory efficient and much faster than the skyline solver. It also has the option to use an out-of-core approach to minimize the requirement of computer memory. This is useful to solve extremely large structural models. The sparse solver is available for static analysis only. It lacks some of the informative error messages when something goes wrong during the solution process.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.enercalc.com/e3d-user-manual/analysis/toc161394055/toc161394059.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
