.ThermoSysPro.UsersGuide.ReleaseNotes.Version_4_2

Version 4.2

Information

## 4.2 - 2026-07-08

### Added
* Added embedded a markdown documentation to ThermoSysPro components, which can be seen in Dymola. Documentation is now regenerated automatically after each modification and published with the project. 
* Added automatic tests with OpenModelica and Dymola to compare changes against a reference branch.
* Added a new library package icon.
* Added new features to the `NuclearCore` package.

### Changed
* Updated the steam generator component, including a more configurable `SteamGenerator_1SG`, updated examples, and purge-related modelling.
* Replaced remaining `Modelica.SIunits` usages with `ThermoSysPro.Units` where needed.
* Updated the GitLab CI configuration for documentation generation, documentation publication, and automatic tests.

### Fixed
* Fixed `ThermoSysPro/Functions/Utilities/LinearInterpolation_i` to avoid integer rounding in the interpolation slope computation to improve compatibility with latest Dymola releases.
* Fixed `ThermoSysPro/WaterSteam/BoundaryConditions/SourceP` and `ThermoSysPro/WaterSteam/BoundaryConditions/SinkP` so that the IF97 mode is correctly taken into account when computing specific enthalpy from pressure and temperature. Automatic mode is now used by default.
* Fixed incorrect cardinality handling in `ThermoSysPro/ElectroMechanics/Machines/Generator8` and `ThermoSysPro/WaterSteam/Machines/Generator8` for unconnected mechanical power inputs.
* Fixed units in several components.
      

Generated at 2026-07-12T20:48:41Z by OpenModelicaOpenModelica 1.27.0 using GenerateDoc.mos