Hans Olsson
Hans Olsson
More consistent non-syntax variant of defining annotations, based on comments in #2999 Notes: - A remaining issue is whether they (and experiment) should be parameter, constant, or evaluable. That may...
Addition to #3313 - also renaming continuous-time partition to unclocked partition. Based on https://github.com/modelica/ModelicaSpecification/pull/3313#discussion_r1261131847 (At first I tried non-clocked, but it seems it has another meaning in circuit design which...
The current conditional components are problematic to use due to the restrictions on their use. We have customers that use them use them extensively (Dymola previously opted for the first...
In https://github.com/modelica/ModelicaStandardLibrary/pull/3638 it was noted that tools differ in the text-rendering, primarily in _icons_. There are two issues: font-size and how the text is centered in the extent: For the...
The specification has integer subscripts (which is the default), but also enumeration and Boolean subscripts https://specification.modelica.org/master/arrays.html#boolean-or-enumeration-indices The latter two are not well-supported, and looking more closely [array declarations](https://specification.modelica.org/master/arrays.html#array-declarations) explicitly states...
The functions `Modelica.Electrical.Polyphase.Functions.factorY2D` and `Modelica.Electrical.Polyphase.Functions.factorY2DC` contain the line: `parameter Integer mBasic=integer(m/numberOfSymmetricBaseSystems(m));` why is it declared as parameter? (Well, realized that I already made the PR; but might as well link...
Follow-up to #4358 Making it a draft PR in case there is more missing.
If you look in `Modelica.Blocks.Continuous.PI `you see that `y_start` is enabled for steady-state (`Modelica.Blocks.Types.Init.SteadyState`), but not used in that case! If you want to set a guess-value it makes more...
Consider the following model: ``` model ThreeTanksMod extends Modelica.Fluid.Examples.Tanks.ThreeTanks(tank1(T_start=272.151)); annotation (uses(Modelica(version="4.0.0"))); end ThreeTanksMod; ``` The problem is that tank1.T slightly drops (about 2.5 mK) during the first 100 s, and...
Otherwise these parameters could (as default; depending on tool) be possible to edit after translation. Modifying the rescaling between Pascal and bar (or MW and W) clearly does not make...