modelOneFlange
Simple map-based model of an electric drive
Extends from Partial.PartialOneFlange (Partial map-based one-Flange electric drive model).
Information
This is a model that models an electric drive: electronic converter + electric machine.
The only model dynamics is its inertia.
The input signal is a torque request (Nm), which is applied to a mechanical inertia.
The maximum available torque is internally computed considering a direct torque maximum (tauMax) and a power maximum (powMax); the model then computes the inner losses and absorbs the total power from the DC input.
Note that to evaluate the inner losses the model uses an efficiency map (i.e. a table), in which torques are ratios of actual torques to tauMax and speeds are ratios of w to wMax. Because of this wMax must be supplied as a parameter.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | tlTorqueFactor_ (from PartialOneFlange) | ||
| Real | tlSpeedFactor_ (from PartialOneFlange) | ||
| Real | eTorqueFactor_ (from PartialOneFlange) | ||
| Real | eSpeedFactor_ (from PartialOneFlange) | ||
| General parameters | |||
| Modelica.Units.SI.MomentOfInertia | J (from PartialOneFlange) | 0.25 | Rotor's moment of inertia |
| Modelica.Units.SI.Voltage | uDcNom (from PartialOneFlange) | 100 | Nominal DC voltage |
| Boolean | limitsOnFile (from PartialOneFlange) | false | = true, if torque and speed limits are taken from a txt file, otherwise they are tauMax and wMax |
| Modelica.Units.SI.AngularVelocity | wMax (from PartialOneFlange) | 3000 | Maximum speed (for efficiency and torque limitation when limitsOnFile=false) |
| Modelica.Units.SI.Power | powMax (from PartialOneFlange) | 22000 | Maximum mechanical power (used for efficiency and torque limitation when limitsOnFile=false) |
| Modelica.Units.SI.Torque | tauMax (from PartialOneFlange) | 80 | Maximum torque when limitsOnFile=false |
| Torque limitation related parameters | |||
| Real | tlTorqueFactor (from PartialOneFlange) | 1 | factor applied to input torque for limits they are from file |
| Real | tlSpeedFactor (from PartialOneFlange) | 60/(2*pi) | factor applied to input speed for limits when they are from file |
| String | limitsFileName (from PartialOneFlange) | "noName" | File where efficiency table matrix is stored |
| String | tauLimitsMapName (from PartialOneFlange) | "noName" | Name of the on-file lower torque limit |
| Efficiency related parameters | |||
| Boolean | efficiencyFromTable (from PartialOneFlange) | true | =true if efficiency if from a table (either online or from a file); otherwise use a the built-in loss formula |
| Boolean | effMapOnFile (from PartialOneFlange) | false | = true, if tables are taken from a txt file |
| String | effMapFileName (from PartialOneFlange) | "noName" | File where efficiency table matrix is stored |
| Real | eTorqueFactor (from PartialOneFlange) | 1 | factor applied to input torque for efficiencies when they are from file |
| Real | eSpeedFactor (from PartialOneFlange) | 60/(2*pi) | factor applied to input speed for efficiencies when they are from file |
| String | effTableName (from PartialOneFlange) | "noName" | Name of the on-file efficiency matrix |
| Real[:,:] | effTable (from PartialOneFlange) | [0, 0, 1; 0, 1, 1; 1, 1, 1] | rows: speeds; columns: torques; both PU of wMax and tauMax |
| Loss-formula parameters | |||
| Real | A (from PartialOneFlange) | 0.006 | fixed losses |
| Real | bT (from PartialOneFlange) | 0.05 | torque losses coefficient |
| Real | bW (from PartialOneFlange) | 0.02 | speed losses coefficient |
| Real | bP (from PartialOneFlange) | 0.05 | power losses coefficient |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.Rotational.Interfaces.Flange_a | flange_a (from PartialOneFlange) | Left flange of shaft | |
| Modelica.Electrical.Analog.Interfaces.PositivePin | pin_p (from PartialOneFlange) | ||
| Modelica.Electrical.Analog.Interfaces.NegativePin | pin_n (from PartialOneFlange) | ||
| Modelica.Blocks.Interfaces.RealInput | tauRef |