modelTabTimeTorque
Torque using table (time... torque)
Extends from Partials.TabTorque (Table data to torque).
Information
The torque is defined in a table as a function of time.
Column 1 contains the time in units t_unit (t_unit in "s"). Column 'colData' contains the torque in units tau_unit (tau_unit in "N.m").
Both time and torque may be linearly scaled by a factor if 'scale = true'.
Flange_p and flange_n are rigidly connected. The torque acts on the connected component(s) in
positive direction, if tau_table > 0 and drive_load = +1 or tau_table < 0 and drive_load = -1 negative direction, if tau_table > 0 and drive_load = -1 or tau_table < 0 and drive_load = +1
Note: start integration at time = 0
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | tableName (from TabTorque) | "" | table name in file |
| String | fileName (from TabTorque) | TableDir + "" | name of file containing table |
| Integer | colData (from TabTorque) | 2 | column # used data |
| SI.Time | t_unit | 1 | unit of 'time' in tab |
| SI.Torque | tau_unit | 1 | unit of 'torque' in tab |
| Real | t_bd | {0, 1} | {first, last} time in tab |
| Integer | drive_load | 1 | driving or load |
| Integer | direction | 1 | forward or backward in time |
| Boolean | scale | false | scale time and torque |
| SI.Time | T | 1 | scale duration to T |
| SIpu.Percent | tau_perc | 100 | scale tab torque to tau_perc |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Base.Interfaces.Rotation_p | flange_p (from Flange_p_n) | positive flange | |
| Base.Interfaces.Rotation_n | flange_n (from Flange_p_n) | negative flange |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Force | tau (from TabTorque) | ||
| Modelica.Blocks.Tables.CombiTable1Ds | table (from TabTorque) | {time t .. force f ..} |