Skip to main content

An API for working with results from any Bladed version.

Project description

Bladed Results API Version 2

The Bladed Results API v2 is an easy, fast, and robust way to access Bladed results using Python.

It provides features for:

  • Searching a directory tree for Bladed runs.
  • Returning variables and data.
  • Reporting run, group, and variable metadata.
  • Writing user-defined output groups.

The API is able to read results from any Bladed version.

The API depends on the numpy package, version 2.0.2 or later.

Currently only Windows is supported.

Bladed Results API v2 replaces Results API 1.x which has been discontinued.

Pre-requisites

  • Requires a 32- or 64-bit Windows installation of any Python version from 3.9 to 3.14 inclusive.

64-bit Python is recommended.

  • The Results API has been tested on Windows 11.

Quick Start

pip install --upgrade dnv-bladed-results
from dnv_bladed_results import ResultsApi

run = ResultsApi.get_run("c:/Data/5MW", "powprod")

var_1d = run.get_variable_1d("rotating hub mx")
print(var_1d.get_data())

var_2d = run.get_variable_2d("blade 1 mx (principal elastic axes)")
# Print loads 28.5m from root:
print(var_2d.get_data_at_value(28.5))
# Equivalent using blade station index:
print(var_2d.get_data_at_index(3))

Learn More

Visit the Knowledge Centre for more information about the Results API v2.

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

dnv_bladed_results-2.2.1.tar.gz (18.3 MB view details)

Uploaded Source

File details

Details for the file dnv_bladed_results-2.2.1.tar.gz.

File metadata

  • Download URL: dnv_bladed_results-2.2.1.tar.gz
  • Upload date:
  • Size: 18.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for dnv_bladed_results-2.2.1.tar.gz
Algorithm Hash digest
SHA256 f98787c2b47a0855e2ffb341707d78ead1dac5363161935dbecb5b9f96711fc1
MD5 899e66e7734bddf3885e4822d2bda3e9
BLAKE2b-256 660cc58006ff05e769b718582c38134e99e7f14aed49f2c5522c8f7537a09b97

See more details on using hashes here.

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