modelIceP

Extends PartialIce0 adding power input

Extends from Partial.PartialIceP (Extends PartialIce0 adding power input).

Information

Basic partial ICE model. Models that inherit from this:

- IceT used when ICE must follow a Torque request

- IceP used when ICE must follow a Power request

- IceConnP used when ICE must follow a Power request through an expandable connector

Data for tables (here called "maps") can be set manually or loaded from a file.

Inherited models connect the torque request to the free input of min() block.

Parameters

TypeNameDefaultDescription
General parameters
Modelica.Units.SI.AngularVelocitywIceStart (from PartialIceBase)167
Modelica.Units.SI.MomentOfInertiaiceJ (from PartialIceBase)0.5ICE moment of Inertia
StringmapsFileName (from PartialIceBase)"NoName"File where specific consumption matrix is stored
RealcontrGain (from PartialIceP)0.1Proportional controller gain
Consumption map related parameters
BooleanscMapOnFile (from PartialIceBase)false= true, if tables are taken from a txt file
StringspecConsName (from PartialIceBase)"NoName"Name of the on-file specific consumption matrix
RealscTorqueFactor (from PartialIceBase)1Torque multiplier for specific consumption map
RealscSpeedFactor (from PartialIceBase)60/(2*pi)Speed multiplier for specific consumption map (see info)
RealscConsFactor (from PartialIceBase)1Output multiplier for specific consumption map
Real[:,:]specificCons (from PartialIceBase)[0.0, 100, 300, 500; 0, 999, 999, 999; 100, 400, 400, 400; 300, 350, 245, 270; 400, 400, 270, 270]ICE specific consumption map. First column torque, first row speed
Torque limit map related parameters
BooleantlMapOnFile (from PartialIceBase)false= true, if tables are taken from a txt file
StringtorqueLimitName (from PartialIceBase)"NoName"Name of the on-file torque-limit matrix
RealtlTorqueFactor (from PartialIceBase)1Torque multiplier for for torque limit map
RealtlSpeedFactor (from PartialIceBase)60/(2*pi)Speed multiplier for torque limit map
Real[:,2]maxIceTau (from PartialIceBase)[100, 80; 200, 85; 300, 92; 350, 98; 400, 98]Maximum ICE generated torque

Connectors

TypeNameDefaultDescription
Modelica.Mechanics.Rotational.Interfaces.Flange_aflange_a (from PartialIceBase)
Modelica.Blocks.Interfaces.RealInputpowReftorque request (positive when motor)

Components

TypeNameDefaultDescription
Modelica.Units.SI.TorquetauGenerated (from PartialIceBase)iceTau.tau
Modelica.Units.SI.TorquetauMechanical (from PartialIceBase)-flange_a.tau
Modelica.Units.SI.AngularVelocitywMechanical (from PartialIceBase)wSensor.w
Modelica.Mechanics.Rotational.Components.Inertiainertia (from PartialIceBase)
Modelica.Mechanics.Rotational.Sources.TorqueiceTau (from PartialIceBase)
Modelica.Mechanics.Rotational.Sensors.PowerSensoricePow (from PartialIceBase)
Modelica.Mechanics.Rotational.Sensors.SpeedSensorwSensor (from PartialIceBase)
Modelica.Blocks.Math.ProducttoPowW (from PartialIceBase)
Modelica.Blocks.Math.GaintokW (from PartialIceBase)
Modelica.Blocks.Math.ProducttoG_perHour (from PartialIceBase)
Modelica.Blocks.Continuous.IntegratortokgFuel (from PartialIceBase)
Modelica.Blocks.Logical.Switchswitch1 (from PartialIceBase)
Modelica.Blocks.Sources.Constantzero (from PartialIceBase)
Modelica.Blocks.Sources.RealExpressionrotorW (from PartialIceBase)
SupportModels.MapBasedRelated.CombiTable1FactorlimTauMap (from PartialIceBase)
SupportModels.MapBasedRelated.CombiTable2FactortoGramsPerkWh (from PartialIceBase)
Modelica.Blocks.Math.Minmin1 (from PartialIceTNm)
Modelica.Blocks.Math.Feedbackfeedback (from PartialIceP)
Modelica.Blocks.Math.Gaingain (from PartialIceP)
Modelica.Blocks.Nonlinear.Limiterlimiter
Modelica.Blocks.Sources.BooleanConstantonSignal