modelPartialOneFlange
Partial map-based one-Flange electric drive model
Information
Partial model for one-flange components.
It contains the large majority of features: inherited components just add the input torque, either from a real input (OneFlange) or an expandable connector (OneFlangeConn).
It has several options:
- torque limits can be fixed values or be taken from a file, depending on limitsOnFile parameter. When limits are from a file, the latter can be written in SI units or with normalised torque and speed (will be multiplied by tauMax and wMax)
- efficiency can be defined through a loss formula or a matrix; the latter can, in turn be taken from a file or set online.
The model does not include the initial speed in the mask, since it is assumed it is set from the outside, e.g. from a connected intertia .
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | tlTorqueFactor_ | ||
| Real | tlSpeedFactor_ | ||
| Real | eTorqueFactor_ | ||
| Real | eSpeedFactor_ | ||
| General parameters | |||
| Modelica.Units.SI.MomentOfInertia | J | 0.25 | Rotor's moment of inertia |
| Modelica.Units.SI.Voltage | uDcNom | 100 | Nominal DC voltage |
| Boolean | limitsOnFile | false | = true, if torque and speed limits are taken from a txt file, otherwise they are tauMax and wMax |
| Modelica.Units.SI.AngularVelocity | wMax | 3000 | Maximum speed (for efficiency and torque limitation when limitsOnFile=false) |
| Modelica.Units.SI.Power | powMax | 22000 | Maximum mechanical power (used for efficiency and torque limitation when limitsOnFile=false) |
| Modelica.Units.SI.Torque | tauMax | 80 | Maximum torque when limitsOnFile=false |
| Torque limitation related parameters | |||
| Real | tlTorqueFactor | 1 | factor applied to input torque for limits they are from file |
| Real | tlSpeedFactor | 60/(2*pi) | factor applied to input speed for limits when they are from file |
| String | limitsFileName | "noName" | File where efficiency table matrix is stored |
| String | tauLimitsMapName | "noName" | Name of the on-file lower torque limit |
| Efficiency related parameters | |||
| Boolean | efficiencyFromTable | true | =true if efficiency if from a table (either online or from a file); otherwise use a the built-in loss formula |
| Boolean | effMapOnFile | false | = true, if tables are taken from a txt file |
| String | effMapFileName | "noName" | File where efficiency table matrix is stored |
| Real | eTorqueFactor | 1 | factor applied to input torque for efficiencies when they are from file |
| Real | eSpeedFactor | 60/(2*pi) | factor applied to input speed for efficiencies when they are from file |
| String | effTableName | "noName" | Name of the on-file efficiency matrix |
| Real[:,:] | effTable | [0, 0, 1; 0, 1, 1; 1, 1, 1] | rows: speeds; columns: torques; both PU of wMax and tauMax |
| Loss-formula parameters | |||
| Real | A | 0.006 | fixed losses |
| Real | bT | 0.05 | torque losses coefficient |
| Real | bW | 0.02 | speed losses coefficient |
| Real | bP | 0.05 | power losses coefficient |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.Rotational.Interfaces.Flange_a | flange_a | Left flange of shaft | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | pin_p | ||
| Modelica.Electrical.Analog.Interfaces.NegativePin | pin_n |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | limitingTorque | ||
| Modelica.Mechanics.Rotational.Sensors.SpeedSensor | wSensor | ||
| SupportModels.MapBasedRelated.ConstPg | pDC | ||
| Modelica.Mechanics.Rotational.Components.Inertia | inertia | ||
| Modelica.Mechanics.Rotational.Sources.Torque | torque | ||
| Modelica.Mechanics.Rotational.Sensors.PowerSensor | powSensor | ||
| Modelica.Blocks.Nonlinear.VariableLimiter | variableLimiter | ||
| SupportModels.MapBasedRelated.LimTorque | limTau | ||
| SupportModels.Miscellaneous.Gain | fromPuTorque | ||
| SupportModels.Miscellaneous.Gain | fromPuTorque1 | ||
| SupportModels.Miscellaneous.Gain | toPuSpeed | ||
| SupportModels.MapBasedRelated.EfficiencyCT | toElePow | ||
| SupportModels.MapBasedRelated.EfficiencyLF | toElePow1 |