Generator set containing Internal Combustion Engine (ICE), electric generator (with DC output), and the related control.
This model models a generator set, as the one present in a series-hybrid vehicle: it contains an Internal Combustion engine (ICE), coupled through an ideal reduction gear (set its ratio to 1 in case it is absent) to an electric generator (with DC output).
It contains also the control logic of this set, that asks the ICE deliver, using the optimal generator speed, the requested input power. Actual DC power will be lower, due to the generator efficiency.
The model can work at two levels of complexity (and modeling detail).
Level 1: Fixed limits, fixed consumption
At this level, the model will limit the torque internally exchanged between ICE and generator to maxTau, its speed to maxGenW, its power to maxGenPow. Fuel consumption is evaluated using a fixed value of g/kWh, reference ICE speed is constant, gen efficiency is constant.
To operate at this level, parameter mapsOnFile must be unselected (i.e., false).
Level 2: limits and consumption from a txt file
At this level, the model will limit the torque internally exchanged between ICE and generator to matrices read from a txt file. The file and matrix names can be inputted, while it is easier to stick with the default names.
Input and output values to all matrices are multiplied by factors that are under user control. This allows using matrices with different units of measures (e.g. rpm or rad/s), and/or re-use matrices for devices with different maximum values, but limits and/or consumption with the same shape. If we, for instance, multiply input torque and speed by two, we can use torque limits referring to a machine having twice the maximum torque and speed, and the same shape between 0 and maxima. If we multiply output consumption by 0.8, we will have an engine with the same consumption map shape, but lower consumptions values by 20%.
ICE consumption and generator efficiency are evaluated according to maps read from the input txt file.
***************
This model uses GMS, IceT and OneFlange EHPTlib models.
All of them allow implementing limitation of torque between iceT and gen. Torque limitation in principlle should be done by the HW, so ICE and Gen, Further limitation in the GMS is in principle un-needed.
However it has been seen that giving charge of this limitation only to HW produces unacceptable results when genset power in involved in model SHEV_OO. It in not totally clear why this happens. Since, however, leaving in place also the GM limtation does not harm, it is left in place, and therefore the GMS is still contributing to torque limitation.
IceT and gen torque limiations are different: gen has a near-symmetrical torque limitation, while ICE, as it is implemented has zero minimum torque. This does not create issues, since the power request to ICE is always positive, and therefore gen will never (or nearly never) apply accelerating torques to the ICE.