EBBEF2p for Python
EBBEF2p (Euler-Bernoulli Beams on Two-Parameter Elastic Foundations) is a finite element package for static analysis of beams on Winkler, Pasternak and modified Vlasov foundations.
- both foundation parameters may vary linearly along the beam, with jumps between segments;
- the soil may continue beyond the beam ends (equivalent end springs);
- modified Vlasov model (Vallabhan & Das, 1991) with iterated decay parameter and depth-dependent soil modulus;
- bending moments and shear forces from element equilibrium;
- soil pressure including the concentrated forces of the shear layer, with a global equilibrium check.
EBBEF2p was originally written as a MATLAB toolbox.
Installation
pip install ebbef2p-python # NumPy and SciPy only
pip install "ebbef2p-python[plot]" # with Matplotlib for quick-look plots
Python 3.12 or newer is required.
Quick start
from ebbef2p import Model, solve
model = Model(soil_beyond_ends=True)
model.add_beam(0, 10, E=30e6, I=0.01)
model.add_foundation(0, 10, k=5000, g=2000) # g = 2t (Vlasov) = Gp (Pasternak)
model.add_point_load(5, force=100)
solution = solve(model, n_elements=100)
print(solution.w.max(), solution.bending_moment().max())
print(solution.equilibrium())
A modified Vlasov foundation is defined by the soil layer instead:
from ebbef2p import Model, VlasovSoil, solve_vlasov
model = Model(soil_beyond_ends=True)
model.add_beam(0, 100, E=432000, I=2.25).add_distributed_load(0, 100, 3)
result = solve_vlasov(model, VlasovSoil(E_top=144, nu=0.2, depth=25))
print(result.gamma, result.k, result.g)
More in the documentation and in
the examples folder.
Verification
tests/verification compares EBBEF2p with independent references:
closed-form solutions for beams without foundation, Hetényi's long beam on
a Winkler foundation, the exact element stiffness and joint rotations of
Razaqpur & Shah (1991), the decay parameter gamma of Vallabhan & Das
(1991), numerical integration of the element matrices and Vlasov
parameters, and global equilibrium. The full table is in the
documentation.
Development
The project uses uv:
uv sync # environment with the package and the dev tools
uv run pytest # tests/unit and tests/verification
uv run ruff check .
See CONTRIBUTING.md for guidelines and
CHANGELOG.md for the changes since 0.0.x, including how to
migrate from the old Structure API.
Citing
If you use EBBEF2p in your work, please cite it using the metadata in CITATION.cff (GitHub shows it under Cite this repository). The software is archived on Zenodo: 10.5281/zenodo.23665165 (all versions; each release also has its own DOI).
License
MIT, see LICENSE.
Metadata
Release files for ebbef2p-python 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ebbef2p_python-1.1.0.tar.gz | 44.7 kB | With provenance | Details for ebbef2p_python-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ebbef2p_python-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for ebbef2p_python-1.1.0-py3-none-any.whl |
Total release size: 71.2 kB
Release files / ebbef2p_python-1.1.0.tar.gz
| Download URL | ebbef2p_python-1.1.0.tar.gz |
|---|---|
| Size | 44.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df8ee86f7eb182680e57702cf8314979ff107b23ba60fb9e1bb2eb7cb00adecb
|
|
BLAKE2b-256 checksum How to use checksums |
ef0fdcfb6588e11df2562c22e3cb89e7e41488788cfa1ac0949ebd7d5725cd23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / ebbef2p_python-1.1.0-py3-none-any.whl
| Download URL | ebbef2p_python-1.1.0-py3-none-any.whl |
|---|---|
| Size | 26.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c066a0f59712186f4868f493d89a78ef86cd16b8fb59cfe0af63ed3af48d55b9
|
|
BLAKE2b-256 checksum How to use checksums |
645d70f99d497e2fb0fb2363a18468218977c42a1e4b530b7705be45f530142c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logSecurity for ebbef2p-python 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ebbef2p_python-1.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.