ElectricalEnergyStorage icon indicating copy to clipboard operation
ElectricalEnergyStorage copied to clipboard

Missing default values in records

Open casella opened this issue 6 years ago • 0 comments

Please check the OpenModelica coverage report of your library. All models fail to compile because records are instantiated without giving values to some elements, that have no default value.

I guess other Modelica tools may use the start attribute as default, but I'm not sure if this is legal Modelica when you have record constructors. In any case, indicating the default explicitly in the record definition would be much clearer.

casella avatar Nov 20 '19 23:11 casella