Skip to content

Conversation

@Jorgelmh
Copy link
Collaborator

@Jorgelmh Jorgelmh commented Dec 12, 2025

This pull request introduces several improvements and updates across the codebase, focusing on enhancing FMU example configurations, updating Python version support in CI workflows, and refactoring example models for clarity and flexibility. The most important changes are grouped below by theme.

Continuous Integration and Python Version Updates:

  • Added support for Python 3.13 to the main test workflow and updated the future/experimental workflow to test against Python 3.14 instead of 3.13. This ensures ongoing compatibility with the latest Python releases. [1] [2] [3]
  • Standardized the installation of test dependencies in CI workflows by switching --extra modelTest to --extra tests for consistency. [1] [2] [3]

FMU Example and XML Structure Enhancements:

  • Improved and expanded example FMU XML structures: added new examples (BouncingBallStructure.xml, ForcedOscillator6D.xml), enhanced existing ones with algorithm and ECCO configuration sections, and clarified variable connections and causality. [1] [2] [3] [4]

Component Model and Documentation Improvements:

  • Added a new documentation file, component-development-process.rst, providing a step-by-step guideline for developing FMUs using the component-model approach, including best practices and explanations of virtual derivatives.
  • Refactored the driving_force_fmu.py example to support vectorized amplitudes, frequencies, and frequency sweeps, improved type annotations, and clarified variable initialization, making the model more flexible and robust. [1] [2] [3]

Other Notable Changes:

  • Updated the range for the height variable in bouncing_ball_3d.py to use inches instead of meters for the upper bound, improving unit clarity.
  • Removed the obsolete new_pythonfmu_features.py example, cleaning up the examples directory.
  • Minor internal code and type hinting improvements in documentation extension scripts.

These changes collectively modernize the project, improve testing and documentation, and enhance the flexibility and clarity of example models.

eisDNV and others added 30 commits April 30, 2025 13:38
…he future and which is now removed. Added plotly as test dependency to pyproject.toml
… in a cleaner way. There is an issue with libcosimpy so that not all tests are running
…owed after ','. Adapted. Still on libcosimpy<0.03.post1.
…or_6dof_fmu.py still crashes on pytest (not when run manually)
…until PythonFMU is fixed (where the root cause was found).
@eisDNV eisDNV closed this Dec 15, 2025
@eisDNV eisDNV deleted the eis branch December 15, 2025 08:23
@Jorgelmh Jorgelmh restored the eis branch December 15, 2025 08:35
@Jorgelmh Jorgelmh reopened this Dec 15, 2025
@Jorgelmh Jorgelmh merged commit a8f1c0a into main Dec 15, 2025
36 checks passed
@Jorgelmh Jorgelmh deleted the eis branch December 15, 2025 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants