Message Boards Message Boards

0
|
7305 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Using CombitTables for quarter car modelling (Open loop)

Posted 9 years ago
Attachments:
POSTED BY: bjorn bellmann

Hi Bjorn! Cool model, though I can not tell you anything about its correctness. Hopefully I can help you with your CombiTimeTable problems instead!

A CombiTimeTable can contain several dataset in a single table, so the first part of the dialog is asking you to specify which dataset you want to connect from. Multibody forces are three-dimensional so the second part of the dialog is asking you in which direction you want the force to be applied to.

The 3 signals of the force connector are interpreted as the x-, y- and z-coordinates of a force acting at the frame connector to which frame_b of this component is attached.

I think your datafile need to be in a certain format for CombiTimeTable to be able to read it. One easy way to create such files is using Mathematica:

Needs["WSMLink`"];
Export["combitimetable.txt", {{"var1", {{0, 0}, {1, 2}, {2, 
      4}}}, {"var2", {{0, 2}, {1, 3}, {2, 
      4}}}}, {"ModelicaCombiTimeTable"}]

I have attached your data in the CombiTimeTable format. Please note that you will need to specify the table name "vehicleForce" in the tableName parameter and the columns to read from {2,3} in the columns parameter. When you do that the output from your CombiTimeTable will be an 2-dimensional array where y[1] will be the interpolated values from the second column and y[2] from the third.

Attachments:
POSTED BY: Patrik Ekenberg
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract