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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | gsRatio (from PartialGenset) | 1 | IdealGear speed reduction factor |
| Real | throttlePerWerr (from PartialGenset) | 100/maxGenW | internal throttle controller proportional gain |
| Real | uDcNom (from PartialGenset) | 100 | nominal DC voltage (only order of magnitude needs to be right |
| Boolean | mapsOnFile (from PartialGenset) | true | |
| Modelica.Units.SI.AngularVelocity | constOptimalSpeed (from PartialGenset) | 100 | Optimal speed when mapsOnfile=false |
| ICE parameters | |||
| Modelica.Units.SI.MomentOfInertia | jIce (from PartialGenset) | 0.1 | ICE moment of inertia |
| Modelica.Units.SI.AngularVelocity | wIceStart (from PartialGenset) | 167 | |
| Real | constFuelConsumption (from PartialGenset) | 200 | Fuel consumption in g/kWh when mapsOnfile=false |
| Generator parameters | |||
| Modelica.Units.SI.MomentOfInertia | jGen (from PartialGenset) | 0.1 | Generator moment of inertia |
| Modelica.Units.SI.AngularVelocity | maxGenW (from PartialGenset) | 1e6 | Max generator angular speed when not mapsOnFile |
| Modelica.Units.SI.Power | maxGenPow (from PartialGenset) | 100e3 | Max mechanical power of the internal generator when not mapsOnFile |
| Modelica.Units.SI.Torque | maxTau (from PartialGenset) | 200 | Max torque between internal ICE and generator when not mapsOnFile |
| Real | constGenEfficiency (from PartialGenset) | 0.85 | Gen efficiency when mapsOnfile=false |
| Map related parameters | |||
| String | mapsFileName (from PartialGenset) | "maps.txt" | File containing data maps |
| Map related parameters › GMS parameters | |||
| String | optiSpeedName (from PartialGenset) | "optiSpeed" | Name of the on-file specific consumption variable |
| Real | osInFactor (from PartialGenset) | 1 | Factor before inputting pRef into map from txt file |
| Real | osOutFactor (from PartialGenset) | 2*pi/60 | Factor after reading optiSpeed from txt file |
| Map related parameters › ICE parameters | |||
| String | specConsName (from PartialGenset) | "specificCons" | Name of the on-file specific consumption variable |
| Real | scTorqueFactor (from PartialGenset) | 1 | Torque multiplier for specific consumption map |
| Real | scSpeedFactor (from PartialGenset) | 2*pi/60 | Torque multiplier for specific consumption map |
| Real | scConsFactor (from PartialGenset) | 1 | Output multiplier for specific consumption map |
| String | iceTauLimitName (from PartialGenset) | "maxIceTau" | Name of the on-file max ICE torque matrix |
| Real | tlIceTorqueFactor (from PartialGenset) | 1 | Torque multiplier for torque limit map |
| Real | tlIceSpeedFactor (from PartialGenset) | 1 | Speed multiplier for torque limit map |
| Map related parameters › Gen parameters | |||
| String | efficiencyName (from PartialGenset) | "gensetGenEff" | Name of the on-file generator efficiency matrix |
| Real | eTorqueFactor (from PartialGenset) | 1 | Factor applied to input torque for efficiencies when they are from file |
| Real | eSpeedFactor (from PartialGenset) | 60/(2*pi) | Factor applied to input speed for efficiencies when they are from file |
| String | genTauLimitName (from PartialGenset) | "minMaxGenTau" | Name of the on-file max ICE torque matrix |
| Real | tlGenTorqueFactor (from PartialGenset) | 1 | Torque multiplier for torque limit map |
| Real | tlGenSpeedFactor (from PartialGenset) | 1 | Speed multiplier for torque limit map |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | pin_p (from PartialGenset) | ||
| Modelica.Electrical.Analog.Interfaces.NegativePin | pin_n (from PartialGenset) | ||
| Modelica.Blocks.Interfaces.RealInput | powRef (from PartialGenset) | Reference genset power | |
| Modelica.Blocks.Interfaces.BooleanInput | ON | when true engine is ON |