From 605a4b0125a09f48c7f12095533ff7baed50dda7 Mon Sep 17 00:00:00 2001 From: Matthias Schaefer Date: Thu, 16 Apr 2026 15:47:32 +0200 Subject: [PATCH 1/4] Add Spaces in Sources.mo --- Modelica/Blocks/Sources.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modelica/Blocks/Sources.mo b/Modelica/Blocks/Sources.mo index 8fbd5f270a..6ef2ff57cd 100644 --- a/Modelica/Blocks/Sources.mo +++ b/Modelica/Blocks/Sources.mo @@ -1589,7 +1589,7 @@ parameter Real table[:, 2]=[0, 0; 1, 1; 2, 4]; "Table look-up with respect to time and various interpolation and extrapolation methods (data from matrix/file)" import Modelica.Blocks.Tables.Internal; extends Modelica.Blocks.Interfaces.MO(final nout=max([size(columns, 1); size(offset, 1)])); - parameter Boolean tableOnFile=false + parameter Boolean tableOnFile = false "= true, if table is defined on file or in function usertab" annotation (Dialog(group="Table data definition")); parameter Real table[:, :] = fill(0.0, 0, 2) From 955b92878bbc2f8701cf5317c7dd797f72966fb5 Mon Sep 17 00:00:00 2001 From: Matthias Schaefer Date: Tue, 21 Apr 2026 11:02:31 +0200 Subject: [PATCH 2/4] add some more spaces to sources.mo --- Modelica/Blocks/Sources.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modelica/Blocks/Sources.mo b/Modelica/Blocks/Sources.mo index 6ef2ff57cd..69eaa4de52 100644 --- a/Modelica/Blocks/Sources.mo +++ b/Modelica/Blocks/Sources.mo @@ -1607,7 +1607,7 @@ parameter Real table[:, 2]=[0, 0; 1, 1; 2, 4]; parameter String delimiter="," "Column delimiter character for CSV file" annotation (Dialog( group="Table data definition", - enable=tableOnFile and isCsvExt), + enable = tableOnFile and isCsvExt), choices(choice=" " "Blank", choice="," "Comma", choice="\t" "Horizontal tabulator", choice=";" "Semicolon")); parameter Integer nHeaderLines=0 "Number of header lines to ignore for CSV file" annotation (Dialog(group="Table data definition",enable=tableOnFile and isCsvExt)); From 80350dbe3dd373accf58584efbad720ac7dc6511 Mon Sep 17 00:00:00 2001 From: Matthias Schaefer Date: Tue, 21 Apr 2026 14:12:19 +0200 Subject: [PATCH 3/4] more and more spaces in Sources.mo --- Modelica/Blocks/Sources.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modelica/Blocks/Sources.mo b/Modelica/Blocks/Sources.mo index 69eaa4de52..db6ef4183e 100644 --- a/Modelica/Blocks/Sources.mo +++ b/Modelica/Blocks/Sources.mo @@ -1606,7 +1606,7 @@ parameter Real table[:, 2]=[0, 0; 1, 1; 2, 4]; caption="Open file in which table is present"))); parameter String delimiter="," "Column delimiter character for CSV file" annotation (Dialog( - group="Table data definition", + group = "Table data definition", enable = tableOnFile and isCsvExt), choices(choice=" " "Blank", choice="," "Comma", choice="\t" "Horizontal tabulator", choice=";" "Semicolon")); parameter Integer nHeaderLines=0 "Number of header lines to ignore for CSV file" From 29c2ecbdf6c4ddb02bcd33bd524b4077bd2f28c6 Mon Sep 17 00:00:00 2001 From: Matthias Schaefer Date: Wed, 22 Apr 2026 08:33:27 +0200 Subject: [PATCH 4/4] Spaces, Spaces and Spaces in Sources.mo --- Modelica/Blocks/Sources.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modelica/Blocks/Sources.mo b/Modelica/Blocks/Sources.mo index db6ef4183e..0eac6f1081 100644 --- a/Modelica/Blocks/Sources.mo +++ b/Modelica/Blocks/Sources.mo @@ -1618,7 +1618,7 @@ parameter Real table[:, 2]=[0, 0; 1, 1; 2, 4]; "Columns of table to be interpolated" annotation (Dialog(group="Table data interpretation", groupImage="modelica://Modelica/Resources/Images/Blocks/Sources/CombiTimeTable.png")); - parameter Modelica.Blocks.Types.Smoothness smoothness=Modelica.Blocks.Types.Smoothness.LinearSegments + parameter Modelica.Blocks.Types.Smoothness smoothness = Modelica.Blocks.Types.Smoothness.LinearSegments "Smoothness of table interpolation" annotation (Dialog(group="Table data interpretation")); parameter Modelica.Blocks.Types.Extrapolation extrapolation=Modelica.Blocks.Types.Extrapolation.LastTwoPoints