Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Bladed Next Gen Python Models API

dnv_bladed_models=0.3.32a686

A Python package to easily work with JSON input models for Bladed Next Generation.

Visit https://bladednextgen.dnv.com/ for more information.

Usage

Load a JSON model from file:

import dnv_bladed_models as models

analysis = models.BladedAnalysis.from_file('/path/to/analysis.json')

Modify a model object in code:

analysis.SteadyCalculation.PitchRange.Minimum = 0.
analysis.SteadyCalculation.PitchRange.Maximum = 0.
analysis.SteadyCalculation.PitchRange.Interval = 0.1

Work with a turbine assembly component in the Component Library, in code:

blade: models.Blade = analysis.ComponentDefinitions['Blade']

Save a model to a JSON file:

analysis.to_file('/path/to/file.json')

Create a new model object programmatically:

beam = models.LidarBeam(
    MountingPosition=models.LidarMountingPosition(
        X=1,
        Y=2,
        Z=3
    )
)

Render a model as a JSON string:

json_str = blade.to_json()

Load a model from a JSON string:

blade = models.Blade.from_json(json_str)

Metadata

Release files for dnv-bladed-models 0.3.32a686

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

Source distribution (sdist)

Source distribution for dnv-bladed-models 0.3.32a686
File Size Uploaded Provenance Actions
dnv_bladed_models-0.3.32a686.tar.gz 160.8 kB Without provenance Details for dnv_bladed_models-0.3.32a686.tar.gz

Release files / dnv_bladed_models-0.3.32a686.tar.gz

Download URL dnv_bladed_models-0.3.32a686.tar.gz
Size 160.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fa1e43bcb49e4e1b2fa715dd71ec8c48f1a0e029eed8b08e15fcc5e84fa0592f
BLAKE2b-256 checksum
How to use checksums
18fbe7deecdd604bb9211d3c3f7a6a0ba32accf62315bc392cd767fe941b0d2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.15

Security for dnv-bladed-models 0.3.32a686

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

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