Stormworks: Build and Rescue

Stormworks: Build and Rescue

ZE Modular Engine Controller
432 Comments
TheCserko 23 Sep @ 12:19am 
Ah, i found it... The cylinders were not connected, i did not remember it was needed. Thanks!
Uran_Wind  [author] 22 Sep @ 9:03pm 
Nothing has changed, so check if your engine is correctly assembled and if starters can crank it up above 2 rps.
TheCserko 22 Sep @ 2:20pm 
I am building a new ship, and after building a few with this awesome microcontroller, now i can't get it to work. I tried to troubleshoot it with my previous builds, but i can't figure out what i am missing. Any ideas? Did something change in the past half year since i last played?
qbzephyr 21 Sep @ 3:44pm 
You should put ratios in the description, like an eco ratio, speed ratio, torque ratio, and an efficency ratio
Envixity 5 Sep @ 9:59pm 
So I found the issue. My fuel tank had a GAS relief and not a LIQUID relief. The issue had nothing to do. The engine performs excellent with the controller and can actually get my biplane off the ground. The creation could not be made without you. Thank you.
SuperDude 1 Sep @ 6:10pm 
thank you so much for makeing this now i can actually have modular engines that work!:steamhappy:
Uran_Wind  [author] 28 Aug @ 9:37am 
Make sure you connected the blue composite node to any cylinder, and the starter can crank up the engine above 2 RPS.
Envixity 27 Aug @ 1:45pm 
I uhhh, dont know what data points I need to connect with what to be able to start my engine. have the on/off connected to what would normally be the starter key for the engine. the starter in the controller is on the starter, and the manifolds are where the manifolds are. I imagine im doing something wrong, so if you can already see my mistake, id appreciate a correction.
Uran_Wind  [author] 8 Aug @ 2:48am 
Yes.
starchild1771 7 Aug @ 8:46pm 
does this work with 5x5 modular engine
Uran_Wind  [author] 7 Aug @ 12:33pm 
Thanks for the analysis, fixed all issues. Although the only bug was that autostart could not be disabled.
tiananmen_tank_man 5 Aug @ 9:31pm 
There may also be a bug with stall protection because the value of the rpsOld variable is never being updated.
tiananmen_tank_man 3 Aug @ 11:57pm 
For anyone who sees this, it's a simple fix: just add the following line below "diff = error-s.error":
"s.error = error"
tiananmen_tank_man 3 Aug @ 11:55pm 
Derivative gain is currently broken in the PID implementation. Not updating s.error on each run of the PID engine. Default D-gain is zero so it doesn't have any affect unless someone is tinkering with the PID gains but it is confusing for people who want to tweak them.
GamerLuYT 31 Jul @ 1:43pm 
After two hours of rebuilding my engine I just put in two air and fuel inlets. Thanks for the help.
Uran_Wind  [author] 30 Jul @ 6:47pm 
It should. Check if the throttle value actually changes, if the RPS thresholds are different and if the engine is not overloaded.
Michael 30 Jul @ 6:20pm 
throttle wont change rpm
Uran_Wind  [author] 30 Jul @ 5:51pm 
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 30 Jul @ 12:47pm 
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.
StickyNoodles07 23 Jun @ 11:58am 
When I use this in my cars and stuff, when at max throttle, the rps goes down and the engine dies. When I let go of the gas, the rps skyrockets to the max I set it to.
Uran_Wind  [author] 21 Jun @ 2:42pm 
Make sure the starters can crank up the engine above 2 RPS, otherwise it will stall regardless of the numbers on the manifolds.
Uran_Wind  [author] 21 Jun @ 9:08am 
Send me the workshop link or the vehicle xml on which this controller is bugged.
someone 21 Jun @ 6:43am 
Its not outputing anything for some reason
Uran_Wind  [author] 21 Jun @ 5:46am 
Just tested, it works fine as before. You can send me the workshop link to the vehicle with that issue.
wdubois.slz 20 Jun @ 8:48pm 
So, this is a new issue.

I've used this on so many of my creations before that I know the MEC like the back of my hand, how to tune it for my builds, etc... But on my most recent project, the Air/Fuel outputs are broken? They dont output a value no matter what, and I'm lost as to the reason. I've set everything up as it should (even made sure the whole engine is connected), but looking at the manifolds and the MC, its clear its the MC but I have no clue whats going on. Any help?
mentally insufficient 19 Jun @ 1:23pm 
i thinki figured out why it happends, maby. the problem may be that it onley happends when its under load, beacause i was running the engine without the boat and it was running fine, also after it reaches this downwoards spiral its imposable to get out of
mentally insufficient 19 Jun @ 12:34pm 
it works fine for a bit, but then it shits the bed by sudenly droping rpm and the will struggle keeping the rps up and the air intake and feul intake throttle go wild
YummyCookieYT 15 May @ 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] 14 May @ 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.
YummyCookieYT 14 May @ 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] 25 Apr @ 10:06pm 
Yes, in terms of tuning the engine stoichiometry it is basically the same.
McCwispy 25 Apr @ 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] 25 Apr @ 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 24 Apr @ 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] 21 Mar @ 12:51am 
@combatsmithen, no, except for the RPS values.
qbzephyr 20 Mar @ 10:19am 
Turbocharge! Turbocharge! Turbocharge!
combatsmithen 19 Mar @ 9:01pm 
If I AM pumping air into the manifold. Will changing anything provide any benefits?
Uran_Wind  [author] 19 Mar @ 6:37pm 
Yes.
ATJonzie 19 Mar @ 5:37pm 
Can I turbo charge my engines with this controller?
EvenHen1704 20 Feb @ 2:44pm 
thanks
[TR] James [YT] 15 Feb @ 4:11pm 
Yeah that would work but I mean by changing the fuel ratio
Uran_Wind  [author] 14 Feb @ 2:05pm 
Engine performance is not affected by its temperature, but you can warm up the engine quickly by revving it on high RPS without torque load.
[TR] James [YT] 14 Feb @ 11:13am 
This is nice but I wish it had a way of making the engine hot quickly when it's cold other than that I love this MC
mdtaylor 12 Feb @ 6:25pm 
I love this for boats lol