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
Release history Release notifications | RSS feed
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.0.tar.gz
(18.3 MB
view details)
File details
Details for the file dnv_bladed_results-2.2.0.tar.gz.
File metadata
- Download URL: dnv_bladed_results-2.2.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9783712d1f34f13df2832553eac6b99dd61bf6f8405c61229c634c8f035f43d
|
|
| MD5 |
8b01a98e76f93775ad086afb70fc2e03
|
|
| BLAKE2b-256 |
58f53413404c4cc34e6db98b1786e11c9a27492df85be5fba1703817a80f94f7
|