Stormworks: Build and Rescue

Stormworks: Build and Rescue

332 ratings
ZE Modular Engine Controller
10
7
2
8
2
2
3
4
2
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Mechanical
Microcontrollers: Modular, Microcontroller
Tags: v1.10.9
File Size
Posted
Updated
68.742 KB
5 Mar, 2021 @ 10:46pm
11 Apr, 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.
Maker sure the starters can crank up the engine above 2 RPS.
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.
417 Comments
Uran_Wind  [author] 15 hours ago 
It should. Check if the throttle value actually changes, if the RPS thresholds are different and if the engine is not overloaded.
Michael 16 hours ago 
throttle wont change rpm
Uran_Wind  [author] 16 hours ago 
Well, this controller needs a specific and fixed data propagation time between input and output engine nodes, and numerical switchboxes increases it. Could you use alternative controller properties, such as desired RPS instead of throttle value and dynamic stoich to use one controller instead of two?
GamerLuYT 21 hours ago 
Problem: I have two Controllers for one Motor because I have two Systems that need to control the Motor seperatly. When I run the Air and Fuel Manifold thru two Numerical Switchboxes the Motor wont Start. Any Ideas?
Uran_Wind  [author] 7 Jul @ 1:05am 
Make sure the starters can crank up the engine above 2 RPS, otherwise it will stall regardless of the output values on the manifolds.
Dezoryent 5 Jul @ 7:27am 
It seems like this controller stopped working for no reason at all. Ive connected air and fuel manifolds and they dont recieve any signal
StickyNoodles07 25 Jun @ 8:42am 
ok, it worked
Uran_Wind  [author] 24 Jun @ 12:52pm 
Try to add more cylinders, or use my clutch controller .
StickyNoodles07 24 Jun @ 10:06am 
everything is connected. I triple checked. There is a clamp on the clutch (.45) and the gearbox is set to 9:5. It's a 3 cylinder engine and the car weighs 80
Uran_Wind  [author] 23 Jun @ 12:18pm 
Make sure you connected the blue composite node to engine cylinder, and if your engine is powerful enough for the torque load.