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

TypeNameDefaultDescription
RealtlTorqueFactor_
RealtlSpeedFactor_
RealeTorqueFactor_
RealeSpeedFactor_
General parameters
Modelica.Units.SI.MomentOfInertiaJ0.25Rotor's moment of inertia
Modelica.Units.SI.VoltageuDcNom100Nominal DC voltage
BooleanlimitsOnFilefalse= true, if torque and speed limits are taken from a txt file, otherwise they are tauMax and wMax
Modelica.Units.SI.AngularVelocitywMax3000Maximum speed (for efficiency and torque limitation when limitsOnFile=false)
Modelica.Units.SI.PowerpowMax22000Maximum mechanical power (used for efficiency and torque limitation when limitsOnFile=false)
Modelica.Units.SI.TorquetauMax80Maximum torque when limitsOnFile=false
Torque limitation related parameters
RealtlTorqueFactor1factor applied to input torque for limits they are from file
RealtlSpeedFactor60/(2*pi)factor applied to input speed for limits when they are from file
StringlimitsFileName"noName"File where efficiency table matrix is stored
StringtauLimitsMapName"noName"Name of the on-file lower torque limit
Efficiency related parameters
BooleanefficiencyFromTabletrue=true if efficiency if from a table (either online or from a file); otherwise use a the built-in loss formula
BooleaneffMapOnFilefalse= true, if tables are taken from a txt file
StringeffMapFileName"noName"File where efficiency table matrix is stored
RealeTorqueFactor1factor applied to input torque for efficiencies when they are from file
RealeSpeedFactor60/(2*pi)factor applied to input speed for efficiencies when they are from file
StringeffTableName"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
RealA0.006fixed losses
RealbT0.05torque losses coefficient
RealbW0.02speed losses coefficient
RealbP0.05power losses coefficient

Connectors

TypeNameDefaultDescription
Modelica.Mechanics.Rotational.Interfaces.Flange_aflange_aLeft flange of shaft
Modelica.Electrical.Analog.Interfaces.PositivePinpin_p
Modelica.Electrical.Analog.Interfaces.NegativePinpin_n

Components

TypeNameDefaultDescription
BooleanlimitingTorque
Modelica.Mechanics.Rotational.Sensors.SpeedSensorwSensor
SupportModels.MapBasedRelated.ConstPgpDC
Modelica.Mechanics.Rotational.Components.Inertiainertia
Modelica.Mechanics.Rotational.Sources.Torquetorque
Modelica.Mechanics.Rotational.Sensors.PowerSensorpowSensor
Modelica.Blocks.Nonlinear.VariableLimitervariableLimiter
SupportModels.MapBasedRelated.LimTorquelimTau
SupportModels.Miscellaneous.GainfromPuTorque
SupportModels.Miscellaneous.GainfromPuTorque1
SupportModels.Miscellaneous.GaintoPuSpeed
SupportModels.MapBasedRelated.EfficiencyCTtoElePow
SupportModels.MapBasedRelated.EfficiencyLFtoElePow1

Revisions