Skip to main content

A small library to backport an OpenStudio OSM model to an older version.

Project description

openstudio-backporter

pypi python Build Status codecov

A small library to backport an OpenStudio OSM model to an older version.

Note: I am only adding backports as old as I need to. Contribution welcomed.

Install

pip install openstudio-backporter

Usage

CLI

A CLI feature is provided, that you can invoke via python -m openstudiobackporter

See python -m openstudiobackporter --help for the list of command line parameters and how to use it.

Example:

python -m openstudiobackporter \
       --to-version 3.8.0 \
       --save-intermediate \
       --verbose \
       /path/to/model3_10_0.osm

Library

You can also use it as a library:

from pathlib import Path
from openstudiobackporter import Backporter

backporter = Backporter(to_version="3.9.0", save_intermediate=False)
idf_file = backporter.backport_file(osm_path=Path("/path/to/model_3_10_0.osm"))

# or
model = openstudio.model.exampleModel()
idf_file = backporter.backport(idf_file=model) # or model.toIdfFile()

This is free software (MIT License) contributed by EffiBEM.

Leveraging software, EffiBEM specializes in providing new ways to streamline your workflows and create new tools that work with limited inputs for your specific applications. We also offer support and training services on BEM simulation engines (OpenStudio and EnergyPlus).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openstudio_backporter-0.1.8.tar.gz (52.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openstudio_backporter-0.1.8-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file openstudio_backporter-0.1.8.tar.gz.

File metadata

  • Download URL: openstudio_backporter-0.1.8.tar.gz
  • Upload date:
  • Size: 52.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openstudio_backporter-0.1.8.tar.gz
Algorithm Hash digest
SHA256 9993f38b1315833109d03666441b011b3213aa8b21cccb6dc083422b51b7dcb6
MD5 666a910ac7c0f3303291745b3f0860e9
BLAKE2b-256 5f3d470722dbc31499650ff012a884982e7d212d3a45b1e01197fdc25ecea927

See more details on using hashes here.

Provenance

The following attestation bundles were made for openstudio_backporter-0.1.8.tar.gz:

Publisher: release.yml on jmarrec/openstudio-backporter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openstudio_backporter-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for openstudio_backporter-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7883a4205fbf5335e52dd175f820a9aebffa768aaf69dd9d2652a3517fd73564
MD5 16eb137c7b82f719c438d8a60028a670
BLAKE2b-256 449d9dfe2e2e4eda75d19f2326b73cb4bd63e4273b1224f6f98b0dc7db4cf1ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for openstudio_backporter-0.1.8-py3-none-any.whl:

Publisher: release.yml on jmarrec/openstudio-backporter

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page