WIP Beta released ETK800 Hybrid 8.1.0

Full hybrid versions of the ETK800 hatchback car

  1. theasdfgpioisback

    theasdfgpioisback
    Expand Collapse

    Joined:
    Dec 30, 2015
    Messages:
    9
    Thanks, that fixed my problem.
     
  2. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    1,924
    Before the update in the sport Hybrid I could get 30mpg in a mountainous road, but after this I only get 23mpg
    BeamNGdrive-017008941-RELEASE-x642019_8_1713_14_14.png
    Before↑ After↓
    BeamNGdrive-017119021-RELEASE-x642019_9_1420_08_11.png
     
    #122 default0.0player, Sep 13, 2019
    Last edited: Sep 14, 2019
  3. Arcanox

    Arcanox
    Expand Collapse

    Joined:
    Aug 22, 2018
    Messages:
    290
    I'll be curious to see if that will improve with 4.1 or not. It's more likely in this version to use the engine to provide instantaneous power than it was in the last version, and tries harder to keep the battery at least 50% charged so there's plenty of "surge power". The 4.1 version will be a little more balanced in this regard.
     
  4. consulaisme

    consulaisme
    Expand Collapse

    Joined:
    May 10, 2017
    Messages:
    79
    The original etk 800 EV had its own gauges can you possibly reverse Jbeam it?
     

    Attached Files:

    • screenshot_2019-09-12_21-33-54.png
    #124 consulaisme, Sep 13, 2019
    Last edited: Sep 13, 2019
  5. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    1,924
    I found the problem.When above 50% battery the ICE is unloaded by electric, but the RPM doesn't lowered enough compared to below 50% battery. This leads to less ICE efficiency.
    When accelerating low speed at low throttle at high battery I often notice the ICE torque is about 10~20Nm, but the engine friction itself is already -46Nm.

    Explained in detail
    First let's look in to the ICEV, the ETK856t
    The engine friction is 64Nm when coasting
    BeamNGdrive-017119021-RELEASE-x642019_9_1315_17_52.png
    When using low throttle for gentle acceleration, the engine torque is at 194Nm
    Thus, the engine mechanical efficiency is 193/(193+64)=75%
    Note: Engine efficiency = Burnefficiency X Mechanical efficiency. Hypermiling is try to increase both of them.
    BeamNGdrive-017119021-RELEASE-x642019_9_1315_18_09.png
    Now let's look in to its hybrid counterpart, the ETK856sh.
    When the battery level is high, the electric motors provide the majority of output power, BUt the ICE does NOT reduce RPM, it only deloaded the ICE.
    BeamNGdrive-017119021-RELEASE-x642019_9_1315_18_50.png
    The mechanical efficiency is only 12/(12+64)=15.8%
    BeamNGdrive-017119021-RELEASE-x642019_9_1315_19_09.png
    Sometimes even worse, 4/(4+64)=5.9%

    The Mechanical efficiency only come back up when the battery is about 50%
    BeamNGdrive-017119021-RELEASE-x642019_9_1315_20_23.png
    262/(262+64)=80.4%

    Conclusion, The engine "deload" at high battery level had actually lowered ICE efficiency. To increase efficiency, the logic shoud be lower RPM while keep the ICE loaded.
     
    #125 default0.0player, Sep 13, 2019
    Last edited: Sep 13, 2019
    • Informative Informative x 1
  6. Arcanox

    Arcanox
    Expand Collapse

    Joined:
    Aug 22, 2018
    Messages:
    290
    Are you sure your mechanical efficiency calculations take the deloading into account properly? The RPM is higher to keep the engine closer to the RPM it will need to be if it were under load to reduce response time, but if the engine is not under load, the motor puts a small amount of torque onto the flywheel and reduces the ignition coefficient (which is what the combustionEngine device uses to calculate fuel burn) so that the overall fuel consumption is less.

    I'll definitely look into ways of improving this though. I'll see if I can find a way to achieve lowered RPM in low-load situations while not impacting engine response time too much. It will definitely be more challenging on the bus since the engine has a lot more inertia, but we'll see.
     
    • Informative Informative x 1
  7. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    1,924
    The "mechanical efficiency" above, is about the ICE itself, not including the thansmission. The engine friction depends on the RPM, not the throttle value. Thus if the flywheel torque is 200Nm, the ICE is actually producing 264Nm, where 64Nm is done solely overcoming its own friction(at about 2000RPM). Engine Deloading cannot "vanish" this friction.
    The purpose of the hybrid is improve engine efficiency(increase the work per fuel). For example, in the I6 engine torque it writes [2000, 319.5], but the flywheel torque you can reach at 2000RPM is 255Nm because of the friction. Note the
    Code:
            "burnEfficiency":[
                [0, 0.14],
                [0.05, 0.33],
                [0.4, 0.51],
                [0.7, 0.44],
                [1, 0.32],
            ],
    If you adjust throttle according to the flywheel torque. Adjust it to 63.8Nm, the combustion is producing 127.8Nm and the burnEfficiency is maxed out at 0.51, the overall ICE efficiency is burnEfficiency*mechanical(overcoming friction) = 0.51*63.8/127.8 = 25.5%
    Adjust it to 159.65Nm, the combustion is producing 223.65Nm and the burnEfficiency is at 0.44, the overall ICE efficiency is 0.44*159.65/223.65 = 31.4%
    Adjust it to 255.5Nm(100% load), then the combustion is producing 319.5Nm and the burnEfficiency is at 0.32, the overall ICE efficiency is 0.32*255.5/319.5 = 25.6%.
    Conclusion: Load the ICE sufficiently but not too much, to get the best efficiency.
    Deload the ICE with MG1 will surely reduce fuel usage at that moment, but it's the MG1 overcoming the ICE friction, consuming electric power, which have to be generated by ICE power at a later moment. Thus, only deload the ICE when the battery is nearly full, to dissipate excessive electricity.

    PS:I love this mod, this post is not a complain, but a suggestion. Please don't get angry by interpret this post as an argument:rolleyes:
     
    #127 default0.0player, Sep 13, 2019
    Last edited: Sep 13, 2019
    • Like Like x 2
    • Informative Informative x 1
  8. Arcanox

    Arcanox
    Expand Collapse

    Joined:
    Aug 22, 2018
    Messages:
    290
    Not at all! :)

    I've been pretty quiet lately because I've been doing a lot of rapid tuning of the next version of the system. I've changed a ton of parameters on the hybrid system to be curves (like the engine's torqueCurve) so that I can fine-tune things like the throttle-RPM curve, battery power versus speed, etc, so that I can better implement your suggestions regarding engine load. I've managed to get the mileage on the citybus to quite a lot higher than before (usually above 7 MPG driving the West Coast routes, as opposed to the 3.5-ish that the non-hybrid gets) which should also propagate to much better economy for the etk800 once I port over the changes.

    Believe it or not, it's a lot easier making changes on the citybus because of how sensitive all the parameters are on such a large vehicle with such a small RPM range. Once I get the bus tuned perfectly, the etk800 should be a piece of cake and I can release 4.1 (or maybe 5.0 at this point).
     
    • Like Like x 1
  9. Arcanox

    Arcanox
    Expand Collapse

    Joined:
    Aug 22, 2018
    Messages:
    290
    Arcanox updated ETK800 Hybrid with a new update entry:

    Better Efficiency!

    Read the rest of this update entry...
     
    • Like Like x 2
  10. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    1,924
    With the new update, the MPG increased about 50%.
    However when braking the 856sh, the brake pedal indication goes crazy. BeamNGdrive-017129059-RELEASE-x642019_10_421_55_54.png BeamNGdrive-017129059-RELEASE-x642019_10_421_56_28.png
     
  11. Arcanox

    Arcanox
    Expand Collapse

    Joined:
    Aug 22, 2018
    Messages:
    290
    LOL. I wonder if it's showing a ton of decimal places; I clamp the values I set so it doesn't go crazy high or below zero...I will investigate that once I get a chance.
     
  12. Beamlv8

    Beamlv8
    Expand Collapse

    Joined:
    Jan 24, 2017
    Messages:
    18
    Would be awesome to have such a gauges for this mod!
     
  13. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    1,924
    The eco hybrid is using an FWD transfer case that is a little bit strange. Most people believed that an FWD vehicle is more efficient than its RWD counterparts, this is partially true. For a transversely mounted engine, FWD is more efficient than RWD because the entire transaxle can be mounted transversely, a hypoid gear is not needed. For a longitudinally mounted engine, RWD is more efficient than FWD because both RWD and FWD a hypoid gear is needed, and FWD has more energy loss in the universal joints. Of course in both configuation, 2WD is more fuel-efficient than AWD. FWD is more efficient only because most of them are transversely mounted.

    Also the 854eh eco hybrid doesn't have an exhaust BeamNGdrive-017129059-RELEASE-x642019_10_511_18_51.png
     
    #133 default0.0player, Oct 5, 2019
    Last edited: Oct 5, 2019
  14. Arcanox

    Arcanox
    Expand Collapse

    Joined:
    Aug 22, 2018
    Messages:
    290
    Most hybrids (I think all except some BMWs) are FWD. The way the eCVT works, the engine is coupled with the transmission and the final drive is parallel to the engine crankshaft, so it makes the most sense to use FWD. In vehicles like the Highlander and RAV4, there is a separate isolated electric motor on the rear axle that handles all torque on the rear wheels. I cheat a bit here and just use an AWD transfer case which wouldn't actually work with a real eCVT.

    In regards to the exhaust on the 854eh, I must have forgotten to copy some of the jbeam from the stock exhaust...I'll look into it
     
    • Like Like x 1
  15. ImDream

    ImDream
    Expand Collapse

    Joined:
    May 9, 2018
    Messages:
    4
    Hello I found the problem about loading hybrid models both ETK800 and Citybus. It said "Error in vehicle/object. Please verify installation and installed mods". I've already tried to disable all ETK800 and Citybus related mods but it still not working. I really like your mods thank you.

    Screenshot20.png Screenshot21.png
     
  16. Arcanox

    Arcanox
    Expand Collapse

    Joined:
    Aug 22, 2018
    Messages:
    290
    I can't help much without the actual error information; you can get that by opening the game console with the Tilde key. It will have a big long block of red text; I need at least the top half of that text to know what's wrong.
     
  17. ImDream

    ImDream
    Expand Collapse

    Joined:
    May 9, 2018
    Messages:
    4
    Thank you for your respond. This is the system console screen.

    Screenshot22.png Screenshot23.png
     
  18. consulaisme

    consulaisme
    Expand Collapse

    Joined:
    May 10, 2017
    Messages:
    79


    2673.14827|W|libbeamng.lua.V.powertrain.buildDeviceTree|Adding a dummy shaft to device 'transfercase' on output '2'
    2673.14879|W|libbeamng.lua.V.differential.calculateInertia|Found non-matching gear ratios for differential outputs: A: '1.0000', B: '3.2300', A(max): '1.0000', B(max): '3.2300'
    2673.31095|D|libbeamng.lua.V.vehicleController.settingsChanged|NOT refreshing settings before access
    2673.36398|E|libbeamng.Lua.Exception|vehicles/etk800//lua/powertrain/ecvtGearbox.lua:323: attempt to call field 'kwToTorque' (a nil value)
    2673.36405|E|libbeamng.Lua.Exception|=============== Stack Traceback >> START >>
    2673.36409|E|libbeamng.Lua.Exception|(1) field C function 'kwToTorque'
    2673.36413|E|libbeamng.Lua.Exception|(2) Lua method 'getMaxMG2Torque' at file 'vehicles/etk800//lua/powertrain/ecvtGearbox.lua:323'
    2673.36417|E|libbeamng.Lua.Exception| Local variables:
    2673.36424|E|libbeamng.Lua.Exception| self = table: 0x01a63afc58b8 {ringCarrierRatio:0.72222222222222, inputName:clutch, parent:table: 0x01a63af6d8c8 (more...)}
    2673.36428|E|libbeamng.Lua.Exception| overrideOrIgnore = number: 0
    2673.36432|E|libbeamng.Lua.Exception| mg2AV = number: 1e-06
    2673.36436|E|libbeamng.Lua.Exception| maxPower = number: 0
    2673.36440|E|libbeamng.Lua.Exception| (*temporary) = nil
    2673.36443|E|libbeamng.Lua.Exception| (*temporary) = number: 8.95971e-312
    2673.36446|E|libbeamng.Lua.Exception| (*temporary) = number: 0
    2673.36450|E|libbeamng.Lua.Exception| (*temporary) = number: 1e-06
    2673.36453|E|libbeamng.Lua.Exception| (*temporary) = nil
    2673.36456|E|libbeamng.Lua.Exception| (*temporary) = string: "attempt to call field 'kwToTorque' (a nil value)"
    2673.36458|E|libbeamng.Lua.Exception|(3) Lua upvalue 'calculateTorqueStatistics' at file 'vehicles/etk800//lua/controller/hybridArcanox.lua:177'
    2673.36462|E|libbeamng.Lua.Exception|(4) Lua field 'initSecondStage' at file 'vehicles/etk800//lua/controller/hybridArcanox.lua:1999'
    2673.36465|E|libbeamng.Lua.Exception| Local variables:
    2673.36468|E|libbeamng.Lua.Exception| hasError = boolean: false
    2673.36471|E|libbeamng.Lua.Exception|(5) Lua field 'initSecondStage' at file 'lua/vehicle/controller.lua:413'
    2673.36474|E|libbeamng.Lua.Exception| Local variables:
    2673.36477|E|libbeamng.Lua.Exception| (for generator) = C function: next
    2673.36480|E|libbeamng.Lua.Exception| (for state) = table: 0x01a63aff22d8 {1:table: 0x01a63b1e3ef8, 2:table: 0x01a63b1b0ba8, 3:table: 0x01a63b031e58 (more...)}
    2673.36483|E|libbeamng.Lua.Exception| (for control) = userdata: 0x7fff00000006
    2673.36489|E|libbeamng.Lua.Exception| _ = number: 5
    2673.36494|E|libbeamng.Lua.Exception| v = table: 0x01a63b0236f0 {inverterMinVolumeMG2:0.05, inverterMinPitchMG2:0.05, enableAutoStop:true (more...)}
    2673.36499|E|libbeamng.Lua.Exception|(6) Lua global 'initSystems' at file 'lua/vehicle/main.lua:129'
    2673.36504|E|libbeamng.Lua.Exception| Local variables:
    2673.36509|E|libbeamng.Lua.Exception| hp = userdata: 0x01a629199e08
    2673.36514|E|libbeamng.Lua.Exception|(7) Lua function 'init' at file 'lua/vehicle/main.lua:309' (best guess)
    2673.36518|E|libbeamng.Lua.Exception| Local variables:
    2673.36523|E|libbeamng.Lua.Exception| path = string: "vehicles/etk800/"

    2673.36549|E|libbeamng.Lua.Exception|--------------- << END <<
    2673.36555|E|libbeamng.Lua.Exception|******************************************
    2673.36560|E|libbeamng.Lua.Exception|*** DISABLING VEHICLE DUE TO EXCEPTION ***
    2673.36565|E|libbeamng.Lua.Exception|******************************************
     

    Attached Files:

    • etk800cvttyhing.jpg
    #138 consulaisme, Oct 12, 2019
    Last edited: Oct 12, 2019
  19. Arcanox

    Arcanox
    Expand Collapse

    Joined:
    Aug 22, 2018
    Messages:
    290
    It looks like you have an older version of one of the hybrid mods enabled. Because of the way the game caches Lua files, whichever mod (Citybus or ETK) loads first "wins" and the Lua dependencies for the other one won't load. That means if your versions of the two mods are not synchronized, there will be errors like that. Make sure you have version 5.0 of both installed and try again.
     
  20. Arcanox

    Arcanox
    Expand Collapse

    Joined:
    Aug 22, 2018
    Messages:
    290
    Arcanox updated ETK800 Hybrid with a new update entry:

    Tweaks and bug fixes

    Read the rest of this update entry...
     
    • Like Like x 2
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice