modelPartialGenset

GenSet= GMS+ICE+GEN

Information

Parameters

TypeNameDefaultDescription
RealgsRatio1IdealGear speed reduction factor
RealthrottlePerWerr100/maxGenWinternal throttle controller proportional gain
RealuDcNom100nominal DC voltage (only order of magnitude needs to be right
BooleanmapsOnFiletrue
Modelica.Units.SI.AngularVelocityconstOptimalSpeed100Optimal speed when mapsOnfile=false
ICE parameters
Modelica.Units.SI.MomentOfInertiajIce0.1ICE moment of inertia
Modelica.Units.SI.AngularVelocitywIceStart167
RealconstFuelConsumption200Fuel consumption in g/kWh when mapsOnfile=false
Generator parameters
Modelica.Units.SI.MomentOfInertiajGen0.1Generator moment of inertia
Modelica.Units.SI.AngularVelocitymaxGenW1e6Max generator angular speed when not mapsOnFile
Modelica.Units.SI.PowermaxGenPow100e3Max mechanical power of the internal generator when not mapsOnFile
Modelica.Units.SI.TorquemaxTau200Max torque between internal ICE and generator when not mapsOnFile
RealconstGenEfficiency0.85Gen efficiency when mapsOnfile=false
Map related parameters
StringmapsFileName"maps.txt"File containing data maps
Map related parameters › GMS parameters
StringoptiSpeedName"optiSpeed"Name of the on-file specific consumption variable
RealosInFactor1Factor before inputting pRef into map from txt file
RealosOutFactor2*pi/60Factor after reading optiSpeed from txt file
Map related parameters › ICE parameters
StringspecConsName"specificCons"Name of the on-file specific consumption variable
RealscTorqueFactor1Torque multiplier for specific consumption map
RealscSpeedFactor2*pi/60Torque multiplier for specific consumption map
RealscConsFactor1Output multiplier for specific consumption map
StringiceTauLimitName"maxIceTau"Name of the on-file max ICE torque matrix
RealtlIceTorqueFactor1Torque multiplier for torque limit map
RealtlIceSpeedFactor1Speed multiplier for torque limit map
Map related parameters › Gen parameters
StringefficiencyName"gensetGenEff"Name of the on-file generator efficiency matrix
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
StringgenTauLimitName"minMaxGenTau"Name of the on-file max ICE torque matrix
RealtlGenTorqueFactor1Torque multiplier for torque limit map
RealtlGenSpeedFactor1Speed multiplier for torque limit map

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinpin_p
Modelica.Electrical.Analog.Interfaces.NegativePinpin_n
Modelica.Blocks.Interfaces.RealInputpowRefReference genset power

Components

TypeNameDefaultDescription
Modelica.Mechanics.Rotational.Sensors.SpeedSensorspeedSensor
Modelica.Mechanics.Rotational.Sensors.PowerSensoricePow
Modelica.Blocks.Nonlinear.Limiterlimiter
EHPTlib.MapBased.OneFlangegen
IceT01iceT
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Math.Gaingain1
Modelica.Blocks.Continuous.IntegratortoFuelGrams
Modelica.Mechanics.Rotational.Components.IdealGearidealGear