ModelicaStandardLibrary
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...
It seems this comment for `_stat` (and the subsequent backslash workaround handling) https://github.com/modelica/ModelicaStandardLibrary/blob/8e7876b5414475abab003c466ca49050812aeb01/Modelica/Resources/C-Sources/ModelicaInternal.c#L405-L408 got obsoleted by Visual Studio 2015 according to https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/stat-functions?view=msvc-140
Currently, .ModelicaReference.Operators.'sample()' lacks information on its use for conversion from the continuous- to discrete time domain.
The documentation of Modelica.Electrical.Analog.Examples.Resistor says > This is a very simple circuit consisting of a voltage source and a resistor. I don't agree with that. Clearly the model looks simple...
Removed highlighted text. 
Fixes #4458. As discussed in today's MAP-Lib monthly meeting. There appears to be no need to update the reference result.
This is in the same spirit as #4375: The generated HTML has serious errors which again results in a failing shields.io XPath query. See #4212 for the context. ![Screenshot 2024-09-23...
Modelica is one of the major standardised languages for implementing digital twins, allowing exchanging models between different simulators using FMI. For that reason, it would be great to be able...
The following model demonstrates that the quantization function may output more levels than the number of bits allows, which is $2^\text{bits}$. The quantization is here set to 2 bits, allowing...
The `ClockedWithDiscretizedContinuousController` contains a clocked instance of `Modelica.Blocks.Continuous.PI`: https://github.com/modelica/ModelicaStandardLibrary/blob/35ad28dd83fa36b5393fad54fa38c08e94ba6bb6/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController.mo#L30 However, this block contains an initial equation: ``` initial equation if initType == Init.SteadyState then der(x) = 0; elseif initType ==...
Modelica standard library contains useful PID control blocks. Why MSL developers never considered including some model predictive control blocks? I have implemented a linear MPC block by interfacing an external...