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

TypeNameDefaultDescription
RealtlTorqueFactor_ (from PartialOneFlange)
RealtlSpeedFactor_ (from PartialOneFlange)
RealeTorqueFactor_ (from PartialOneFlange)
RealeSpeedFactor_ (from PartialOneFlange)
General parameters
Modelica.Units.SI.MomentOfInertiaJ (from PartialOneFlange)0.25Rotor's moment of inertia
Modelica.Units.SI.VoltageuDcNom (from PartialOneFlange)100Nominal DC voltage
BooleanlimitsOnFile (from PartialOneFlange)false= true, if torque and speed limits are taken from a txt file, otherwise they are tauMax and wMax
Modelica.Units.SI.AngularVelocitywMax (from PartialOneFlange)3000Maximum speed (for efficiency and torque limitation when limitsOnFile=false)
Modelica.Units.SI.PowerpowMax (from PartialOneFlange)22000Maximum mechanical power (used for efficiency and torque limitation when limitsOnFile=false)
Modelica.Units.SI.TorquetauMax (from PartialOneFlange)80Maximum torque when limitsOnFile=false
Torque limitation related parameters
RealtlTorqueFactor (from PartialOneFlange)1factor applied to input torque for limits they are from file
RealtlSpeedFactor (from PartialOneFlange)60/(2*pi)factor applied to input speed for limits when they are from file
StringlimitsFileName (from PartialOneFlange)"noName"File where efficiency table matrix is stored
StringtauLimitsMapName (from PartialOneFlange)"noName"Name of the on-file lower torque limit
Efficiency related parameters
BooleanefficiencyFromTable (from PartialOneFlange)true=true if efficiency if from a table (either online or from a file); otherwise use a the built-in loss formula
BooleaneffMapOnFile (from PartialOneFlange)false= true, if tables are taken from a txt file
StringeffMapFileName (from PartialOneFlange)"noName"File where efficiency table matrix is stored
RealeTorqueFactor (from PartialOneFlange)1factor applied to input torque for efficiencies when they are from file
RealeSpeedFactor (from PartialOneFlange)60/(2*pi)factor applied to input speed for efficiencies when they are from file
StringeffTableName (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
RealA (from PartialOneFlange)0.006fixed losses
RealbT (from PartialOneFlange)0.05torque losses coefficient
RealbW (from PartialOneFlange)0.02speed losses coefficient
RealbP (from PartialOneFlange)0.05power losses coefficient

Connectors

TypeNameDefaultDescription
Modelica.Mechanics.Rotational.Interfaces.Flange_aflange_a (from PartialOneFlange)Left flange of shaft
Modelica.Electrical.Analog.Interfaces.PositivePinpin_p (from PartialOneFlange)
Modelica.Electrical.Analog.Interfaces.NegativePinpin_n (from PartialOneFlange)
Modelica.Blocks.Interfaces.RealInputtauRef

Components

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