Opened 4 years ago

Closed 4 years ago

#6103 closed discussion (invalid)

CombiTime Table usage

Reported by: marco.rossoni@… Owned by: Adeel Asghar
Priority: normal Milestone: Future
Component: OMEdit Version: v1.16.0-dev
Keywords: CombiTime Table Cc:

Description

I'm trying to use the CombiTime Table source as input of a SpeedSource block (revolute library) to impose the speed of a revolute joint.
Regardless of wheather I manually write the table to be interpolated or I import it from an external txt file, when I run the simulation an error message appears, stating :
"The type of variables combiTimeTable.y and speed.w_ref
are inconsistent in connect equations."

I've tried the simpler "Time Table" block, manually writing the same data table and no error appears.
Which is the difference?
Can anyone help me, please?

Change History (2)

comment:1 by marco.rossoni@…, 4 years ago

Summary: CombiTable usageCombiTime Table usage
Type: taskdiscussion

comment:2 by Francesco Casella, 4 years ago

Resolution: invalid
Status: newclosed

TimeTable has a scalar output, while CombiTimeTable has a 1D array output, so you can only connect it to

  • a component with an array input of the same size
  • an array of components with the same size, each having a scalar input

Please note that this issue tracker is only meant to report bugs or request features of OpenModelica. For questions about the Modelica language and the Modelica Standard Library, you can use the OMC forum, or post the request on https://stackoverflow.com

Note: See TracTickets for help on using tickets.