Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Too few equation

Too few equation

HI There,
I want to override combiTable output with change integer x value. But i got few equation error.   It is looks ok to me.
How can fix this. or is there any suitable  approach for change  prescribedTemperature inputs?

Thanks

Oki

Code:


model cCc
  Integer x(start = 1);
  Modelica.Blocks.Sources.CombiTimeTable Table1(tableOnFile = true, tableName = "tmp", fileName = "C:/om/temperature.txt", columns = 2:5);
  Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature Temp1 ;
equation
  connect(Table1.y[x], Temp1.T);
  annotation(experiment(StopTime = 10));
end cCc;

There are 0 guests and 0 other users also viewing this topic