Skip to main content

ospgrillage logo

Code style: black License: MIT version GitHub issues GitHub pull requests PyPI GitHub Workflow Status GitHub Workflow Status GitHub Workflow Status GitHub commit activity GitHub last commit Contributor Covenant codecov status DOI

Overview

ospgrillage is a python wrapper of the OpenSeesPy package to speed up the creation of bridge deck grillage models. OpenSeesPy is a python interpreter of the well-know Open System for Earthquake Engineering Simulation (OpenSees) software framework. ospgrillage provides a simple python API which allows users to:

  1. Quickly generate and analyze a bridge deck grillage model in the OpenSeesPy model space, including many forms of loading and load cases;
  2. Export a py file containing the OpenSeesPy commands, which on execution, creates the prescribed OpenSeesPy grillage model.

The ability to use ospgrillage directly to do bridge deck analysis, or to export the OpenSeesPy command file for further editing, facilites an enormous range of use cases in both practice and research.

Documentation

ospgrillage's full documentation can be found here.

Installation

Install using pip:

    pip install ospgrillage

Refer to the installation docs for more information.

Contributions

Check out our contributing guide to learn more on contributing, coding rules, community Code of Conduct and more.

Citing

If you use ospgrillage in your work, please cite the corresponding JOSS paper:

Ngan, J.W. and Caprani, C.C. (2022), "ospgrillage: A bridge deck grillage analysis preprocessor for OpenSeesPy", Journal of Open Source Software, 7(77), 4404. doi.org/10.21105/joss.04404

JOSS

Capabilities

Modelling

Bridge Deck Models

  • Beam elements only - a traditional form of model
  • Beam elements with rigid links - a modification of the traditional form for box sections
  • Shell and beam elements - the modern form of modelling, but with more complex results interpretation

Meshing

  • Single-span decks
  • Skewed (Oblique) and Orthogonal meshes
  • Positive and negative skew angles
  • Allows for skew mesh to be set up to 30 degrees
  • Allows for orthogonal mesh to be set no less than 11 degrees
  • Grillage elements grouped automatically for easy assignment of properties
  • Autodetect edges of spans as supporting nodes
  • Allows for diaphragms / end slabs
  • Allows for unit width properties for transverse slab/members
  • Pinned and roller supports

Element types

The following OpenSees element types are supported:

  • elasticBeamColumn
  • TimoshenkoBeamColumn
  • Shell elements

Materials

  • A JSON materials library file for codified common material properties

Utilities

Load types

  • Nodal loads
  • Point loads
  • Line loads
  • Patch loads
  • Compound loads (any combination of the above load types)

Analysis

  • Load cases contain arbitrary multiple load types, including compound loads
  • Moving load analysis of arbitrary load types through compound loads

Post-processing

  • Output results utilise python's xarray format
  • Retrieve result envelopes from xarray results
  • Query options for moving load
  • Plotting displacement and force component from the results

Credits

  • Mayer Melhem for producing the documentation illustrations and the design of the ospgrillage logo.

Metadata

Release files for ospgrillage 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ospgrillage 0.6.0
File Size Uploaded
ospgrillage-0.6.0.tar.gz 164.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ospgrillage 0.6.0
File Interpreter ABI Platform
ospgrillage-0.6.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 302.4 kB

Release files / ospgrillage-0.6.0.tar.gz

Download URL ospgrillage-0.6.0.tar.gz
Size 164.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ce64e4fc51af04bdd61aa8b966c6aafe87b391dd215155ab691a164c942cc82f
BLAKE2b-256 checksum
How to use checksums
a3b28bd423e2ffda769ad888e7d05ff5b6f0c243775cd1f5b28359bc96f6cb82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 23, 2026.

Transparency log

Release files / ospgrillage-0.6.0-py2.py3-none-any.whl

Download URL ospgrillage-0.6.0-py2.py3-none-any.whl
Size 137.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d306969fdd0a884746c32710280ba54e2bf8b33377f4121e716a1d2eb4794664
BLAKE2b-256 checksum
How to use checksums
069e6d9ab67a8c625c8a1b235c2460bf1afbdb4da26ec94cbbb7729d045b4080
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page