modelTwoFlange

Simple map-based two-flange electric drive model

Extends from Partial.PartialTwoFlange (Simple map-based two-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). The requested torque is applied to a mechanical inertia.

The model receives from the input connector the torque request and tries to "deliver" it. Delivering means adding a torque to the system so that the torque exiting from flange B equals the one entering from flange A plus the one requested from the input connector.

This simulates a two-flange electrical machine, where the added torque is the torque produced by the machine magnetic field stator-rotor interaction.

However, before delivering the requested torque, the model limits it considering the maximum deliverable torque and power. In addition, it computes and considers inner losses as determined by means of a map.

The maximum available torque is internally computed considering a direct torque maximum (tauMax) and a power maximum (powMax)

The requested torque is applied to a mechancal inertia. The inertia is interfaced by means of two flanges with the exterior.

The model then computes the inner losses and absorbs the total power from the DC input.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.PowerpowMax (from PartialTwoFlange)50000Maximum Mechanical drive power
Modelica.Units.SI.TorquetauMax (from PartialTwoFlange)400Maximum drive Torque
Modelica.Units.SI.AngularVelocitywMax (from PartialTwoFlange)650Maximum drive speed
Modelica.Units.SI.MomentOfInertiaJ (from PartialTwoFlange)0.59Moment of Inertia
RealeTorqueFactor_ (from PartialTwoFlange)
RealeSpeedFactor_ (from PartialTwoFlange)
Efficiency related parameters
BooleanmapsOnFile (from PartialTwoFlange)false= true, if efficiency table is taken from a txt file
RealeTorqueFactor (from PartialTwoFlange)1factor applied to input torque for efficiencies when they are from file
RealeSpeedFactor (from PartialTwoFlange)60/(2*pi)factor applied to input speed for efficiencies when they are from file
StringmapsFileName (from PartialTwoFlange)"noName"File where efficiency table is stored
StringeffTableName (from PartialTwoFlange)"noName"Name of the on-file maximum torque as a function of speed
Real[:,:]effTable (from PartialTwoFlange)[0, 0, 1; 0, 1, 1; 1, 1, 1]

Connectors

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

Components

TypeNameDefaultDescription
SupportModels.MapBasedRelated.LimTorqueFVlimTau (from PartialTwoFlange)
SupportModels.MapBasedRelated.InertiaTqinertia (from PartialTwoFlange)
Modelica.Mechanics.Rotational.Sensors.SpeedSensorspeedRing (from PartialTwoFlange)
SupportModels.MapBasedRelated.EfficiencyCTeffMap (from PartialTwoFlange)
SupportModels.MapBasedRelated.ConstPgconstPDC (from PartialTwoFlange)
Modelica.Mechanics.Rotational.Sensors.PowerSensoroutBPow_ (from PartialTwoFlange)
Modelica.Mechanics.Rotational.Sensors.PowerSensoroutAPow_ (from PartialTwoFlange)
Modelica.Blocks.Math.Addadd (from PartialTwoFlange)
Modelica.Blocks.Nonlinear.VariableLimitertorqueLimiter (from PartialTwoFlange)