modelGMS
Genset Management System (simplified)
Information
Genset Management System.
The control logic commands the genset to deliver at the DC port the input power, using the optimal generator speed. ICE torque tRef is controlled through the generator.
Table maxTau, intended for defining maximum ICE torque, actually limits the generator electromechanical torque: there is a small approximation in this, since during transients generator inertia causes the two to be slightly different from each other.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | throttlePerWerr | 0.01 | speed controller gain (throttle per rad/s) |
| Boolean | optiSpeedOnFile | true | |
| Boolean | tauLimitsOnFile | true | |
| String | mapsFileName | "maps.txt" | File name where optimal speed is stored |
| Real[:,:] | osTable | [0, 100; 1000, 100] | optimal speed (rad/s) as a function of requested power (W) |
| String | osTableName | "optiSpeed" | |
| Real[:,:] | mtTable | [0, 100; 100, 100] | max torque (Nm) as a function of speed (rad/s)) |
| String | mtTableName | "maxIceTau" | |
| GMS parameters | |||
| Real | os_uFactor | 1 | Factor before inputting pRef into map from txt file |
| Real | os_yFactor | 2*pi/60 | Factor after reading optiSpeed from txt file |
| Real | mt_uFactor | 1 | Factor before inputting wMecc into maxTau map from txt file |
| Real | mt_yFactor | 1 | Factor after reading max torque from maxTau map from txt file |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | pRef | ||
| Modelica.Blocks.Interfaces.RealOutput | tRef | Torque request (positive when ICE delivers power) | |
| Modelica.Blocks.Interfaces.RealOutput | throttle | ||
| Modelica.Blocks.Interfaces.RealInput | wMecc |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Division | division | ||
| Modelica.Blocks.Math.Feedback | feedback | ||
| SupportModels.Miscellaneous.Gain | gain | ||
| Modelica.Blocks.Nonlinear.VariableLimiter | tauLimiter | ||
| SupportModels.MapBasedRelated.CombiTable1Factor | optiSpeed | ||
| SupportModels.MapBasedRelated.CombiTable1Factor | maxTau | ||
| Modelica.Blocks.Math.Gain | gain1 | ||
| Modelica.Blocks.Nonlinear.Limiter | limiter |