Skip to content

Changes

Summary

  1. Set unit instead of having it in description (#4264) (details)
  2. Make array inputs of external C functions const (introduced in Modelica 3.5) (#3700) (details)
  3. Delete unused protected parameters ndim, ndim2 and ndim_pointGravity (#4266) (details)
  4. Utilize PressureSlope (#4273) (details)
  5. Use boolean array reductions (#3919) (details)
  6. Remove unused code (#3622) (#3623) (details)
  7. Fix MSVC warning (#4274) (details)
  8. Removed voltageSensor.v[] (details)
  9. Create Version_4_1_0 (#4251) (details)
  10. Fix release notes generation (#3999) (details)
  11. Introduce `min=0` for StoichiometricCoefficient in Units.mo (details)
Commit 24477ff671a8de9ac58c2c87efd9416a0477adb3 by noreply
Set unit instead of having it in description (#4264)

* Replace description with unit-setting.
Ideally it should use SI.Area etc, but I thought the idea was that the example should be more self-contained.
Closes #4076

* Also remove "in dB" since the unit is "dB".

* Update Modelica/StateGraph.mo

Co-authored-by: tobolar <tobolar@users.noreply.github.com>

* Update Modelica/StateGraph.mo

Co-authored-by: Thomas Beutlich <modelica@tbeu.de>

---------

Co-authored-by: tobolar <tobolar@users.noreply.github.com>
Co-authored-by: Thomas Beutlich <modelica@tbeu.de>
The file was modified Modelica/ComplexBlocks/ComplexMath/Bode.mo (diff)
The file was modified Modelica/StateGraph.mo (diff)
The file was modified Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode.mo (diff)
Commit b540e6292836ef4a5037dac4b8d5a87f807b3ae4 by noreply
Make array inputs of external C functions const (introduced in Modelica 3.5) (#3700)

* Make array inputs of external C functions const

* Make array inputs of external C functions const
The file was modified Modelica/Resources/C-Sources/ModelicaStandardTables.c (diff)
The file was modified ModelicaTest/Tables/CombiTable1Dv.mo (diff)
The file was modified Modelica/Resources/C-Sources/ModelicaRandom.c (diff)
The file was modified ModelicaTest/Tables/CombiTable1Ds.mo (diff)
The file was modified Modelica/Resources/C-Sources/ModelicaIO.h (diff)
The file was modified Modelica/Resources/C-Sources/ModelicaIO.c (diff)
The file was modified Modelica/Resources/C-Sources/ModelicaFFT.h (diff)
The file was modified Modelica/Resources/C-Sources/ModelicaFFT.c (diff)
The file was modified Modelica/Resources/C-Sources/ModelicaRandom.h (diff)
The file was modified Modelica/Blocks/Tables.mo (diff)
The file was modified Modelica/Resources/C-Sources/ModelicaStandardTables.h (diff)
The file was modified ModelicaTest/Tables/CombiTimeTable.mo (diff)
Commit e041c729e8ee5dd34bd8af26243609c0e5156344 by noreply
Delete unused protected parameters ndim, ndim2 and ndim_pointGravity (#4266)

* Delete unused protected parameters ndim, ndim2 and ndim_pointGravity

* Document changed components in release notes

* Update Modelica/package.mo

Co-authored-by: Thomas Beutlich <modelica@tbeu.de>

---------

Co-authored-by: Harisankar-Allimangalath <144321750+Harisankar-Allimangalath@users.noreply.github.com>
Co-authored-by: Thomas Beutlich <modelica@tbeu.de>
The file was modified Modelica/Mechanics/MultiBody/package.mo (diff)
The file was modified Modelica/package.mo (diff)
Commit 07b15940866b7abdbb32b7abc799ad12784a5353 by noreply
Utilize PressureSlope (#4273)

The file was modified ModelicaTest/Media.mo (diff)
Commit ceae18716d2b21285b1d3fb81328794968252250 by noreply
Use boolean array reductions (#3919)

* Change description of allTrue to show difference compared to andTrue

* Use Boolean array reductions in some BooleanVectors functions

This takes advantages of tools' dedicated implementations of conjunction and disjunction of multiple values expressed as Boolean array reduction with min and max, respectively.

With the result being given by simple expressions, it seemed natural to also set Inline = true.

* Remove empty algorithm

Addressing review comment by @beutlich.

* Remove empty algorithm

* Remove empty algorithm

As suggested by @beutlich.
The file was modified Modelica/Math/BooleanVectors.mo (diff)
Commit 5fe4ebd813a2c723a712af477d61253f44b00d79 by noreply
Remove unused code (#3622) (#3623)

* remove unused code #3622

* Keep protected parameters in blocks and models, not in functions

* Add alternative implementation in FromSpacePhasor.mo

Add alternative implementation comment and revert comment removal for those implementation

* add alternative implementation comment in Rotator.mo

Add alternative implementation comment and revert comment removal for those implementation

* Add alternative implementation comment in ToSpacePhasor.mo

Add alternative implementation comment and revert comment removal for those implementation

* add alternative implementation comment in Rotator.mo

Add alternative implementation comment and revert comment removal for those implementation

* add alternative implementation comment in SpacePhasor.mo

Add alternative implementation comment and revert comment removal for those implementation

---------

Co-authored-by: Christian Kral <dr.christian.kral@gmail.com>
Co-authored-by: arunkumar-narasimhan <124154466+arunkumar-narasimhan@users.noreply.github.com>
The file was modified Modelica/Electrical/Machines/SpacePhasors/Components/Rotator.mo (diff)
The file was modified Modelica/Electrical/Machines/SpacePhasors/Functions/FromSpacePhasor.mo (diff)
The file was modified Modelica/Electrical/Machines/SpacePhasors/Components/SpacePhasor.mo (diff)
The file was modified Modelica/Electrical/Machines/SpacePhasors/Blocks/Rotator.mo (diff)
The file was modified Modelica/Electrical/Machines/SpacePhasors/Blocks/ToSpacePhasor.mo (diff)
The file was modified Modelica/Electrical/Machines/SpacePhasors/Blocks/FromSpacePhasor.mo (diff)
The file was modified Modelica/Electrical/Machines/SpacePhasors/Functions/ToSpacePhasor.mo (diff)
Commit 20d009ad2ad45cb8233abd45d5b5762193207d92 by noreply
Fix MSVC warning (#4274)

The file was modified Modelica/Resources/C-Sources/ModelicaMatIO.c (diff)
Commit 074ccf4412c2682c8fe28db7d3e8bda769514e1f by modelica
Removed voltageSensor.v[]
The file was modified Modelica/Resources/Reference/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/PolyphaseTwoLevel_RL/comparisonSignals.txt (diff)
Commit 8753b872a7caa6d51d6214505f1e59638de87ec7 by noreply
Create Version_4_1_0 (#4251)

The file was modified Modelica/package.mo (diff)
The file was addedModelica/Resources/Documentation/Version-4.1.0/ResolvedGitHubIssues.html
The file was addedModelica/Resources/Documentation/Version-4.1.0/ResolvedGitHubIssues.md
The file was addedModelica/Resources/Documentation/Version-4.1.0/ResolvedGitHubIssues.pdf
Commit a47caa427835a509135675dbafa5b1d22627706e by noreply
Fix release notes generation (#3999)

* Fix release notes generation

The previously used docverter service for MD to HTML/PDF conversion was shut down and will not come back. This is an alternative implementation with local MD to HTML conversion and utilizing the docraptor service for HTML to PDF conversion.

* Bump dependencies

* Bump python packages
The file was modified Modelica/Resources/Documentation/Modelica-ReleaseNotes-Template.html (diff)
The file was modified .gitignore (diff)
The file was modified Modelica/Resources/Documentation/Generate-ReleaseNotes.py (diff)
The file was modified .github/workflows/generateReleaseNotes.yml (diff)
Commit f93089335066f537f0c95b4c5aa35b51ac8f7201 by noreply
Introduce `min=0` for StoichiometricCoefficient in Units.mo
The file was modified Modelica/Units.mo (diff)