Overview of Arcanox's hybrid drivetrain

Discussion in 'Content Creation' started by Arcanox, Oct 8, 2018.

  1. Arcanox

    Arcanox
    Expand Collapse

    Joined:
    Aug 22, 2018
    Messages:
    290
    Yep, unfortunately 0.23 changed the UI system in the game a bit and it broke my UI apps. I'm working on a 0.23 update to all of my mods, but it was a fairly involved game update and I haven't been able to find a lot of time to get much work done on it yet.
     
    • Like Like x 1
  2. WackyFolf

    WackyFolf
    Expand Collapse

    Joined:
    Dec 14, 2013
    Messages:
    141
    Again, sorry for the bump, but here's a patch. I don't really know what I'm doing, but the hybrid debug UI app works now, and the CVT debug appears but it's broken, but I'm not exactly sure what it's supposed to do in the first place, so... there. basically, any reference to a local file now requires /ui/modules/apps/appFolder/appFile.file instead of just modules/apps/appFolder/appFile.file, and the .directive line is different. I don't know anything about JS let alone angular, but it works for now.
     

    Attached Files:

    • Like Like x 1
  3. LMZ

    LMZ
    Expand Collapse

    Joined:
    Apr 2, 2020
    Messages:
    18
    doesnt work anymore idk why
     
  4. Arcanox

    Arcanox
    Expand Collapse

    Joined:
    Aug 22, 2018
    Messages:
    290
    The last few posts explain why; I am working on an update, but it's not ready to be released yet
     
    • Agree Agree x 1
  5. LMZ

    LMZ
    Expand Collapse

    Joined:
    Apr 2, 2020
    Messages:
    18
    oh oke
     
  6. Arcanox

    Arcanox
    Expand Collapse

    Joined:
    Aug 22, 2018
    Messages:
    290
    Good news! I've submitted version 5.0.0 of my Core mod as well as new versions of the ETK800 Hybrid and Citybus Hybrid mods to the repository; the updates are currently waiting to be approved. These updates include fixes for the issues that have been around since the 0.23 game update, in addition to lots more stuff that is included in the changelog of the updates. I can't say how long it will be until they're approved, as that's up to the moderation team, but hopefully it will be soon. I still unfortunately don't have up-to-date documentation on the underlying code that makes the hybrid system work. I know there have been people that are interested in making hybrid versions of other vehicles, which is still possible (and has been for a few versions), but until I'm able to find the time to build a Wiki for all the components, it may be challenging figuring out how all the parts fit together and how to adapt them to new vehicles. I made lots of changes in this new version to make the process easier, and hopefully I'll be able to find some time in the coming months to put together a proper Wiki for everything.
     
    • Like Like x 3
  7. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    1,925
    Where can I find information about "maxChargePowerVsSpeed", "maxEngineAssistPriorityPowerSpeed", "maxEngineAssistSecondaryPowerSpeed", "maxPriorityPowerBatteryLevel", "maxSecondaryPowerBatteryLevel", "maxRearTorqueSplitVsSpeed", "chargePowerCoefVsThrottle" and "chargePowerCoefVsBatteryLevel"?
     
  8. Arcanox

    Arcanox
    Expand Collapse

    Joined:
    Aug 22, 2018
    Messages:
    290
    Unfortunately I haven't had time to document most of the code in the newer versions of the hybrid system, so unfortunately the only place I can recommend you look is the source code itself if you're comfortable reading Lua. Those would all be used in the "arcanox_core\lua\vehicle\controller\arcanox\hybrid\hybridPowertrain.lua" file. Anything with "power" in the name is in kilowatts, anything with "torque" in the name is in Newton-meters, and the "coef" ones are a ratio between 0.0 and 1.0 that's applied to the calculated maximum of whatever overall value the coefficients adjust.
     
  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