ModelicaStandardLibrary icon indicating copy to clipboard operation
ModelicaStandardLibrary copied to clipboard

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functi...

Results 401 ModelicaStandardLibrary issues
Sort by recently updated
recently updated
newest added

MSL 4.0.0 and trunk contain the example `Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample` and document the expected result with a screenshot from Dymola. According to this, the variable `rotational_clock_2.direction` should get the value 1 at...

bug
L: Clocked

I have found an issue with `Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine`. It contains a call to `Modelica.Utilities.Streams.print` directly in the equation section. Since `print` is an impure function this is not allowed. I suggest...

I have found an issue in `Modelica.Electrical.Digital.Interfaces.MemoryBase.getMemory`. It contains a function call to `Modelica.Utilities.Streams.readLine` which is an impure function, but `getMemory` is not declared as impure. I suggest adding the...

Here are some more functions that I think should be declared as impure: - `Modelica.Math.FastFourierTransform.realFFTwriteToFile` - contains calls to several impure functions, e.g. `Modelica.Utilities.Files.removeFile`. - `Modelica.Math.Random.Utilities.initializeImpureRandom` - contains call to...

The function `ModelicaTest.Math.Matrices3` contains ``` import Modelica.Math.Matrices; Real N[:,:]= fill(0,0,0); Real Xn[0,0]; Integer n; algorithm (Xn, n) := Matrices.nullSpace(N); ``` `Modelica.Math.Matrices.nullSpace` calculates: ``` Real sigma[min(size(N, 1), size(N, 2))] "Singular values";...

L: Math

Possibly the intention was 1/s, but even that doesn't make sense. It should be dimensionless.

L: Units

Can only be merged once MSL is based on MLS 3.5.

enhancement
L: C-Sources

The Modelica spec 3.5 finally added const qualifiers for the mapping of array inputs to external C functions -- see [3.5](https://specification.modelica.org/maint/3.5/functions.html#arrays-1) vs [3.4](https://specification.modelica.org/maint/3.4/Ch12.html#arrays-1) ModelicaStandardTables should follow the standard to not...

enhancement
L: C-Sources

As can be seen in the Funktion.txt model, there is a jump in Modelica.Fluid.Pipes.BaseClasses.WallFriction.LaminarAndQuadraticTurbulent.massFlowRate_dp_staticHead when the pressure difference exceeds dp_small. This causes problems in ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18 (version 4.0.0) with pipe2 in...

bug
L: Fluid

I'd like to enhance the examples Modelica.Electrical.Machines.Examples.ControlledDCDrives, including a UseresGuide with some explanations. The delays and the timing that have to be taken into account are explained in more detail....

enhancement
L: Electrical.Machines
example