Releases: dnv-opensource/component-model
v0.1.0
Changed
- Changed from
pip
/tox
touv
as package manager - README.rst : Completely rewrote section "Development Setup", introducing
uv
as package manager. - Changed publishing workflow to use OpenID Connect (Trusted Publisher Management) when publishing to PyPI
GitHub workflows
- (all workflows): Adapted to use
uv
as package manager - _test_future.yml : updated Python version to 3.13.0-alpha - 3.13.0
- _test_future.yml : updated name of test job to 'test313'
v0.0.2b3
GitHub workflow publish_release.yml Test no. 3
v0.0.2b2
GitHub workflow _publish_package.yml Test no. 2
v0.0.2b1
GitHub workflow _publish_package.yml Test no. 1
First release
This is the first release of the Component Model package, designed to extend the capabilities of the PythonFMU framework. The package allows for the seamless creation and simulation of component models adhering to the FMI, OSP, and DNV-RP-0513 standards. It focuses on efficient model-to-FMU translation and supports vector-based variable manipulation, unit definitions, and range checking. The package also enhances the Assurance of Simulation Models, with a particular focus on DNV-RP-0513 compliance.
Key Features:
Model-to-FMU Conversion:
Efficiently convert Python-based models to FMU (Functional Mock-up Units) with minimal code overhead.
-
Vector Variable Support: Seamless handling of vector variables using numpy, enabling 3D model simulations and unit-based calculations.
-
Unit and Display Unit Management: Full support for defining units and display units of variables, ensuring consistency in model representation.
-
Range Checking for Variables: Built-in support for validating variables against specified ranges, enhancing model integrity and reducing runtime errors.