List[Null, Null, Null, Null, Null, Null, Null, Notebook[List[Cell[CellGroupData[List[Cell["Redeclaration of Elements not Declared Replaceable", "Title"], Cell["\nThere are only two kinds of redeclarations that do not require the modified element to be declared replaceable: restricting the variability of a declared variable, e.g. from parameter to constant or restricting array dimension sizes, e.g. from (:) to a specified size. The following examples demonstrates these kinds of redeclarations.\n", "Text"], Cell["class C3\n  Real x1;\n  parameter Real vec[:];\nend C3;", "ModelicaInput"], Cell["", "Text"], Cell[TextData[List["class C4 = C3(", StyleBox["redeclare parameter Real x1, redeclare parameter Real vec[20]", Rule[FontColor, RGBColor[0, 0, 1]]], ");"]], "ModelicaInput"], Cell[TextData[List["\n", StyleBox["C4", Rule[FontFamily, "Courier"]], " is equivalent to ", StyleBox["C4expanded", Rule[FontFamily, "Courier"]], " below."]], "Text"], Cell["class C4Expanded\n  parameter Real x1;\n  parameter Real vec[20];\nend C4Expanded;  ", "ModelicaInput"], Cell[CellGroupData[List[Cell["Simulation of C4", "Section"], Cell["simulate( C4 );", "ModelicaInput"], Cell[BoxData["\"<SimulationData: \\!\\(C4\\) : 2004-1-30 11:55:15.2452643 : \\!\\({0.`, 1.`}\\) : 502 data points : 1 events : 23 variables>\\n\\!\\({\\*TagBox[\\\"\[UnderBracket]derdummy\\\", HoldForm], \\*TagBox[\\\"\[UnderBracket]dummy\\\", HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(1\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(10\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(11\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(12\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(13\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(14\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(15\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(16\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(17\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(18\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(19\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(2\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(20\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(3\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(4\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(5\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(6\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(7\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(8\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\(vec \[LeftDoubleBracket] \\(\\(9\\)\\) \[RightDoubleBracket]\\), HoldForm], \\*TagBox[\\\"x1\\\", HoldForm]}\\)\""], "Output"]], Open]]], Open]]], Rule[FrontEndVersion, "5.1 for Microsoft Windows"], Rule[ScreenRectangle, List[List[0, 1280], List[0, 951]]], Rule[WindowSize, List[878, 924]], Rule[WindowMargins, List[List[18, Automatic], List[Automatic, 0]]], Rule[StyleDefinitions, "MathModelica.nb"]], Null, Null, Null, Null, Null]