> For the complete documentation index, see [llms.txt](https://enercalc.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enercalc.com/docs/e3d-user-manual/analysis/toc161394055/toc161394059.md). Agents can also search and read this documentation through its [MCP server](https://enercalc.com/docs/~gitbook/mcp).

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
