![Smile :)](./images/smilies/icon_e_smile.gif)
Attached are:
Tuning manual - a word doc that explains how to use most of the furntions and kind of how they work
Engine_Sim_12_06_V97 - ECU code and engfine simulator write in EL Concole, free dowload
Engine_Sim_12_06_V97flow - The code flow chart writen in yEd, free download
Layout-Engine_Sim - the tuner interface infomation for EL console.
To play with it you need to download ElConsole:
https://enginelab.net/downloads/#
Unzip and open the model and layout, then hit altR and the simulator will start running. The ECU will run ans an engine simulator will alos run, the enign simulator reads the ECU outputs and feeds it sensor signals to make the ECU portion believe it's running an engine. It uses electronic throttle control so when you hit altR the throttle goes to the start position, the engine start cranking then starts and rpm surges are HP output exceeds friction loads then the idel control code grabs the throttle and it settles in to idle. Move the throttle pedal slider and simulated throttle actuator responds (PID controlled so you can tuning...or untune it as the case may be) and rpm goes up. Move the slider back and it will settle back to idle gentle with the idle ramp down model in operation. There is a coolant warm up function that heats the coolant based on heat capacity of the coolant/engine and the heat generated by the burning mass flow flow so rev it more and it warms faster so any coolant based function in the ECU code will be reacting. At idle you can turn on the cooling fan and the engine temp will go up/down as the fan cycles on/ff to keep the temp in range...but like a real engine it will over heat at higher rpm where the fan flow in not adequate to remove all the heat.
If you want to see the code, in ELconsole go Target>channel list
you can download yed at:
https://www.yworks.com/products/yed/download
And look at look at model flow.
edit - go Layout> hierarchical so it views right
I have more to do on the manual to include the sim function (its ecu only now) and better descriptions of function but it's a start and it should be able to run an engine...should.....