Per Östlund

Results 245 comments of Per Östlund

I had a closer look at the conditional components, and if I set the compiler to ignore the conditions the flat model becomes 5 times larger. So that's quite a...

> Maybe a problem with the .mat format itself? See https://www.google.com/search?client=firefox-b-d&q=.mat+file+matlab+max+size https://www.mathworks.com/help/matlab/import_export/mat-file-versions.html only lists size limits _per variable_, so the 2 GB limit should be per variable and not per...

> @perost, what is wrong with that? [4.6](https://specification.modelica.org/master/class-predefined-types-and-declarations.html#specialized-classes) states that records have the following restriction: > Only public sections are allowed in the definition or in any of its components...

> If the motivation was to reduce the amount of displayed stuff in the simulation results, you can use the [HideResult](https://specification.modelica.org/maint/3.5/annotations.html#modelica:HideResult) annotation. I don't think that applies here, the protected...

I think the first issue should be checked by the frontend, though I'm not sure about the second. The specification just says that they must be type compatible, but it's...

Sorry, it seems I might have misinterpreted 3.8, it was a bit weird before but has been improved in [master](https://specification.modelica.org/master/operators-and-expressions.html#variability-of-expressions). I first thought it was talking about regular equations, but...

> I'm trying to implement a check for this in the NB and want to use _variability_ as defined in MLS [4.5](https://specification.modelica.org/master/class-predefined-types-and-declarations.html#component-variability) and [3.8](https://specification.modelica.org/master/operators-and-expressions.html#variability-of-expressions) but unfortunately the NF doesn't seem...

> @perost this is a limitation of the approach to read the metadata from the package manager instead of parsing all libraries to get the conversion annotations, right? > >...

There are only two mentions of `fraB` in the whole library: ``` IDEAS/LIDEAS/Components/LinRectangularZoneTemplate.mo:144: frac=fraB, IDEAS/Buildings/Components/RectangularZoneTemplate.mo:587:Correct typo in winB declaration (fraB should be fracB). ``` The first line is the modifier...

I get error messages that I guess might be causing the issue: ``` [5] 15:24:52 Scripting Error Unable to find component internalThermalPort.heatPortExcitation while parsing connection {excitation.heatPortWinding,internalThermalPort.heatPortExcitation,}. [6] 15:24:52 Scripting Error...