Stormworks: Build and Rescue

Stormworks: Build and Rescue

319 ratings
ZE Modular Engine Controller
9
7
2
2
2
7
3
4
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Mechanical
Microcontrollers: Modular, Microcontroller
Tags: v1.10.9
File Size
Posted
Updated
68.742 KB
Mar 5, 2021 @ 10:46pm
Apr 11, 2024 @ 6:03am
28 Change Notes ( view )

Subscribe to download
ZE Modular Engine Controller

Description
Connect the blue composite node to any cylinder directly.
Do not insert extra logic gates between the composite cylinder node and the LUA script.
Disable the infinite fuel mode.

  • Maintains a constant engine RPS level set by a throttle value in range from 0 to 1, or by a desired RPS value set directly.
  • Compatible with turbocharged engines and automatically handles the increased air pressure made with impellers or electric pumps. The supercharger will be most effective if it can pump air pressure up to 60 atmospheres.
  • Mixture control mode can be switched between stoichiometry and air-to-fuel ratio. Property slider for the unselected mode is ignored. In game terms, the stoichiometry value is the AFR with the engine temperature taken into account, and is preferable to adjust over a simple AFR.
  • The engine has maximum performance at 0.5 stoichiometry and maximum fuel efficiency at 0.2 stoichiometry, but the difference is quite small. Toggle switch for optimal mixture shifts the stoichiometry to 0.5 at high load.
  • You can dynamically change the stoichiometry or air-to-fuel ratio with the corresponding node, if its value is in the same range as in properties.
  • Optional overheat protection activates at 105C and reduces RPS at higher temperatures. If your average fuel consumption per second per cylinder is lower than 0.005 liters, you don't need a cooling system as it takes a very long time for the engine to overheat, so you're more likely to run out of fuel sooner.
  • If you are not pumping air into the manifold and is fine with the default 13.8 AFR, you can remove nodes for the cylinder and dynamic mixture to shrink the controller's width and save some space.
Big thanks to Penatoliy for sharing the information about engine stoichiometry and exact formulas used in his ECU.
399 Comments
YummyCookie May 15 @ 6:11am 
Really? After some testing I saw that 0.3 stoich. gives you the most power, and 15AFR gives me the most efficiency without losing too much power.
Uran_Wind  [author] May 14 @ 8:39pm 
The stoichiometry value is just the AFR with the engine temperature taken into account, and is preferable to adjust over a simple AFR. The engine has maximum performance at 0.5 stoichiometry and maximum fuel efficiency at 0.2 stoichiometry.
YummyCookie May 14 @ 11:58am 
0.3 Stoich gives you the absolute MOST POWER out of your engine with this ECU. 15.0 AFR gives you the MOST EFFICIENCY out of your engine.
Uran_Wind  [author] Apr 25 @ 10:06pm 
Yes, in terms of tuning the engine stoichiometry it is basically the same.
McCwispy Apr 25 @ 12:00pm 
Ngl i have no idea how youu can comprehend this enough to make your own controller out of it but credits to you. question tho, is the guide called "MODULAR ENGINES: Perfect Stoichiometry" not doing the same thing?
Uran_Wind  [author] Apr 25 @ 12:50am 
There is a basic equation for temperature, afr, and stoichiometry in this guide , but i took the derived formulas from the Penatoliy's controller .
McCwispy Apr 24 @ 2:43pm 
looking at the code in the controller, how did you come up with these equations for mixtures and stuff. is there a guide you can reference or are you a math genius?
Uran_Wind  [author] Mar 21 @ 12:51am 
@combatsmithen, no, except for the RPS values.
qbzephyr Mar 20 @ 10:19am 
Turbocharge! Turbocharge! Turbocharge!
combatsmithen Mar 19 @ 9:01pm 
If I AM pumping air into the manifold. Will changing anything provide any benefits?