.EHPTlib.MapBased.Partial.PartialIceBase

Information

Basic partial ICE model. Models that inherit from this:

- PartialIceTNm used when ICE must follow a Torque request in Nm

- PartialIceT01 used when ICE must follow a Torque request in per unit of the maximum allowed

See their documentation for further details or Appendix 3 in EHPTexamples tutorial for the general taxonomy of ICE based models.

------------------------------------------------------------------

When consumption is taken from a file, multipliers are useful to reuse a map for a different vehicle: scSpeedFactor and scTorqueFactor multiply the computed speed and torque before entering the table,  scConsFactor multiplies the table output before further processing.

Consider for instance the following map:

# First row: (from column 2) speed (rpm) 

# First column (from row 2): torque (Nm)
# body: spec. consumption (g/kWh).
double iceSpecificCons(10 6)
0. 100 200 300 400 500
10 630 580 550 580 630
20 430 420 400 400 450
30 320 325 330 340 350
40 285 285 288 290 300
50 270 265 265 270 275
60 255 248 250 255 258
70 245 237 238 243 246
80 245 230 233 237 240
90 235 230 228 233 235

If I want to use a map from a file with the same shape as this for a vehicle having max speed=1000 rpm, max torque=200 Nm, max consumption 500g/kWh, I will use: 

scSpeedFactor=60/(2*pi)*500/1000,

scTorqueFactor=90/200, 

scConsFactor=500/630.

Note that internally speeds are computed in rad/s; since here in the table here they are in rpm, I must include rad/s to rpm conversion.

If, instead, I want to use exactly this map, I will use:

scConsFactor=scTorqueFactor=1, scSpeedFactor=60/(2*pi)

These three factors are not used when data is not taken from a txt file.


Inherited models

Inherited models PartialIceTNm and PartilIceT01 can also use tables to input torque limits. These tables allow using the same torque and speed multipliers used for fuel consumption: torqueMultiplier and speedMultiplier.




Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos