Skip to content

Commit

Permalink
Fix unit errors in ExternalCombiTimeTable constructor (#4188)
Browse files Browse the repository at this point in the history
* Fix unit errors in ExternalCombiTimeTable constructor

The errors are in relation to how the constructor is called in Modelica.Blocks.Sources.CombiTimeTable.

* Don't assume use of scaled time
  • Loading branch information
henrikt-ma authored Sep 7, 2023
1 parent 76ec102 commit 4898815
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modelica/Blocks/Types.mo
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ package Types
input String tableName "Table name";
input String fileName "File name";
input Real table[:, :];
input SI.Time startTime;
input Real startTime;
input Integer columns[:];
input Modelica.Blocks.Types.Smoothness smoothness;
input Modelica.Blocks.Types.Extrapolation extrapolation;
input SI.Time shiftTime=0.0;
input Real shiftTime=0.0;
input Modelica.Blocks.Types.TimeEvents timeEvents=Modelica.Blocks.Types.TimeEvents.Always;
input Boolean verboseRead=true "= true: Print info message; = false: No info message";
input String delimiter="," "Column delimiter character for CSV file";
Expand Down

0 comments on commit 4898815

Please sign in to comment.