modelGensetOO

GenSet GMS+GEN+SEngine with On/Off

Extends from Partial.PartialGenset (GenSet= GMS+ICE+GEN).

Information

For the general comments see info of Genset.

Here we have the ON-OFF input to command switching the ICE ON and OFF.

Parameters

TypeNameDefaultDescription
RealgsRatio (from PartialGenset)1IdealGear speed reduction factor
RealthrottlePerWerr (from PartialGenset)100/maxGenWinternal throttle controller proportional gain
RealuDcNom (from PartialGenset)100nominal DC voltage (only order of magnitude needs to be right
BooleanmapsOnFile (from PartialGenset)true
Modelica.Units.SI.AngularVelocityconstOptimalSpeed (from PartialGenset)100Optimal speed when mapsOnfile=false
ICE parameters
Modelica.Units.SI.MomentOfInertiajIce (from PartialGenset)0.1ICE moment of inertia
Modelica.Units.SI.AngularVelocitywIceStart (from PartialGenset)167
RealconstFuelConsumption (from PartialGenset)200Fuel consumption in g/kWh when mapsOnfile=false
Generator parameters
Modelica.Units.SI.MomentOfInertiajGen (from PartialGenset)0.1Generator moment of inertia
Modelica.Units.SI.AngularVelocitymaxGenW (from PartialGenset)1e6Max generator angular speed when not mapsOnFile
Modelica.Units.SI.PowermaxGenPow (from PartialGenset)100e3Max mechanical power of the internal generator when not mapsOnFile
Modelica.Units.SI.TorquemaxTau (from PartialGenset)200Max torque between internal ICE and generator when not mapsOnFile
RealconstGenEfficiency (from PartialGenset)0.85Gen efficiency when mapsOnfile=false
Map related parameters
StringmapsFileName (from PartialGenset)"maps.txt"File containing data maps
Map related parameters › GMS parameters
StringoptiSpeedName (from PartialGenset)"optiSpeed"Name of the on-file specific consumption variable
RealosInFactor (from PartialGenset)1Factor before inputting pRef into map from txt file
RealosOutFactor (from PartialGenset)2*pi/60Factor after reading optiSpeed from txt file
Map related parameters › ICE parameters
StringspecConsName (from PartialGenset)"specificCons"Name of the on-file specific consumption variable
RealscTorqueFactor (from PartialGenset)1Torque multiplier for specific consumption map
RealscSpeedFactor (from PartialGenset)2*pi/60Torque multiplier for specific consumption map
RealscConsFactor (from PartialGenset)1Output multiplier for specific consumption map
StringiceTauLimitName (from PartialGenset)"maxIceTau"Name of the on-file max ICE torque matrix
RealtlIceTorqueFactor (from PartialGenset)1Torque multiplier for torque limit map
RealtlIceSpeedFactor (from PartialGenset)1Speed multiplier for torque limit map
Map related parameters › Gen parameters
StringefficiencyName (from PartialGenset)"gensetGenEff"Name of the on-file generator efficiency matrix
RealeTorqueFactor (from PartialGenset)1Factor applied to input torque for efficiencies when they are from file
RealeSpeedFactor (from PartialGenset)60/(2*pi)Factor applied to input speed for efficiencies when they are from file
StringgenTauLimitName (from PartialGenset)"minMaxGenTau"Name of the on-file max ICE torque matrix
RealtlGenTorqueFactor (from PartialGenset)1Torque multiplier for torque limit map
RealtlGenSpeedFactor (from PartialGenset)1Speed multiplier for torque limit map

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinpin_p (from PartialGenset)
Modelica.Electrical.Analog.Interfaces.NegativePinpin_n (from PartialGenset)
Modelica.Blocks.Interfaces.RealInputpowRef (from PartialGenset)Reference genset power
Modelica.Blocks.Interfaces.BooleanInputONwhen true engine is ON

Components

TypeNameDefaultDescription
Modelica.Mechanics.Rotational.Sensors.SpeedSensorspeedSensor (from PartialGenset)
Modelica.Mechanics.Rotational.Sensors.PowerSensoricePow (from PartialGenset)
Modelica.Blocks.Nonlinear.Limiterlimiter (from PartialGenset)
EHPTlib.MapBased.OneFlangegen (from PartialGenset)
IceT01iceT (from PartialGenset)
Modelica.Blocks.Math.Gaingain (from PartialGenset)
Modelica.Blocks.Math.Gaingain1 (from PartialGenset)
Modelica.Blocks.Continuous.IntegratortoFuelGrams (from PartialGenset)
Modelica.Mechanics.Rotational.Components.IdealGearidealGear (from PartialGenset)
ECUs.GMSgms
Modelica.Blocks.Logical.Switchswitch1
Modelica.Blocks.Sources.Constantzero
Modelica.Blocks.Logical.Switchswitch2