[b] Fully Customizable Modular Engine! ECU [/b]
[hr]
This is the ECU I use for all my creations using a modular engine, thought I might post it for everyone to use
[b] Setup [/b]
[hr]
[b] Logic Outputs and inputs [/b]
On/Off
[list]
[*] Starter - Connect this to any modular engine starter connected to the crankshaft
[*] Pumps/Fans - Connect this to any pumps or radiator fans used by the engine, This can be toggled by channel 2 on the composite input
[/list]
Number
[list]
[*] Clutch Output - Connect this to the modular clutch or to an alternator clutch pressure
[*] Fuel Throttle - Connect to fuel manifold
[*] Air Throttle - Connect to air manifold
[*] Starter - Same as the On/Off Starter but outputs a number value for any external motor for starting
[*] RPS Input - Connect to crankshaft or flywheel block to measure RPS
[*] Throttle Input - Connect to whatever Throttle mechanism you would like, Takes input values ranging from 0-1
[/list]
Composite
[list]
[*] Instrument Panel Output - This outputs RPM value on channel 3 and Temperature on channel 4
[*] Instrument Panel input - This takes input on channel 1 for starter and pumps/fans on channel 2
[*] Cylinder - Connect this to any cylinder on the modular engine
[/list]
[b] Tuning [/b]
[hr]
[img]https://images.steamusercontent.com/ugc/17653447956883223437/1DD708E0D690B1752C84EF28ACD994BB5C65CEB0/?imw=5000&imh=5000&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img]
Property Inputs
These are the inputs for tuning the ECU, these stock inputs are for a naturally aspirated, non-flywheel engine
[list]
[*] Starter Motor Cutoff RPS - This is the RPS threshold for which the starter motor will stop providing power. Any RPS higher and the engine will be running on its own
[*] Starter Motor Duration - This is the time threshold for which the starter motor will stop providing power. Any time longer and the engine will be running on its own
[*] Max RPS - This is the RPS where the engine will not go past, the lower the RPS the better to save on fuel efficiency
[*] Idle/Minimum Throttle - This is the idle throttle, engines running with a high base load like a flywheel, impeller pumps or alternates will need a higher Idle throttle. This is also what a throttle input of 0 will give
[*] Fuel Throttle Multiplier - This is the ratio between the air and fuel mix. The preset value of 0.485 is for naturally aspirated engines. A value of 0.55 works for engines with a small fluid pump and a value of 0.785 works for engines with a large fluid pump
[*] Idle RPS - This is the RPS value at which the engine will idle at. Engines with no flywheel will need a higher RPS value for Idling so that they do not stall on use
[*] Clutch Value - This is the value output to the clutch when a throttle value greater then 0 is input. 0.79 is the optimal value I've found to run the engines at however it can be changed if needed
[*] Direct Clutch Mode - This toggles if the clutch is engaged at 0 throttle, its useful for aircraft engines or any engine that wont be idling
[*] Max Throttle - Maximum Throttle the engine will get. This is also what a throttle input of 1 will give
[/list]
[b] Final Notes [/b]
[hr]
Credit
If you use this ECU on a vehicle or structure and post it the workshop please include this link to the description in whatever manner you see fit.
[list]
[*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3554660600]https://steamcommunity.com/sharedfiles/filedetails/?id=3554660600[/url]
[/list]
Here is an example of the ECU in action
[list]
[*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=3554706421]https://steamcommunity.com/sharedfiles/filedetails/?id=3554706421[/url]
[/list]
Enjoy!