- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » CombiTable1D
Page Start Prev 1 Next End
CombiTable1D
CombiTable1D
Dec-21-16 15:28:43
Hello,
i do not understand how to use the CombiTable1D.
With the following code the output is allways equal to the input.
What is wrong?
class table
parameter Real u = 2.0;
Real y;
Modelica.Blocks.Tables.CombiTable1D combiTable1D2(columns = 1:1, smoothness = Modelica.Blocks.Types.Smoothness.LinearSegments, table = [0, 0; 1, 1; 2, 4; 4, 16], tableOnFile = false);
equation
combiTable1D2.u[1] = u;
combiTable1D2.y[1] = y;
annotation(uses(Modelica(version = "3.2.2")));end table;
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » CombiTable1D
There are 0 guests and 0 other users also viewing this topic