Stormworks: Build and Rescue

Stormworks: Build and Rescue

Sharps Modular Engine ECU V4
Sharp  [developer] 12 Dec, 2022 @ 3:55pm
Features / Bugs
Anything you think can be improved or seems to not work well
< >
Showing 1-13 of 13 comments
diablos_dog13 16 Dec, 2022 @ 7:38pm 
RPM is overshooting and undershooting significantly and PID tuning isnt helping.
Last edited by diablos_dog13; 16 Dec, 2022 @ 7:51pm
Sharp  [developer] 17 Dec, 2022 @ 2:25pm 
Theirs a slider called RPS PID sensitivity, try reducing that. Else send me the engine, as i would like to test and improve =)
diablos_dog13 17 Dec, 2022 @ 9:18pm 
I have tried adjusting the RPS PID sensitivity and it doesn't appear to be affecting much. I have this same problem on any other creation I use as well. Here is a engine test that has rpm that overshoots. I have added a button so you can adjust the load using a gearbox as well.

Thank you so much for this microcontroller though, I dont believe that I have seen this much dedication on a microcontroller before, so good job.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2903289691
Last edited by diablos_dog13; 17 Dec, 2022 @ 10:11pm
Sharp  [developer] 18 Dec, 2022 @ 5:14am 
I tested it there and adjusted the RPS PID sensitivity to 0.6, and it does overshoot but always settles to the set rps. It was on 0.2, and tbh that might be a bit low for any engine, so that I will increase that limit to ~0.5.
PIDS either reach their setpoint (set rps here) quickly and overshoot or slowly reach their target ( generalised a bit ). It's almost impossible to make a PID that will work on all engines, and in mine, I use 2 PIDS to help this, but it's not perfect.
captaindad94 8 May, 2024 @ 5:56am 
could you maybe help setup my engine as well? Its in my ship already and i've been testing it for what seems to be forever with different engines and controllers but i haven't a clue.Love the controller though,seems to be the best setup i've come across so far
Sharp  [developer] 8 May, 2024 @ 6:17am 
Originally posted by captaindad94:
could you maybe help setup my engine as well? Its in my ship already and i've been testing it for what seems to be forever with different engines and controllers but i haven't a clue.Love the controller though,seems to be the best setup i've come across so far

I can have a look at some point, Either find me on discord and send the xml or temporarily upload it to the ws and send me a link
Andrade 20 Jul, 2024 @ 8:11am 
Hey, can you help me? I m having problems setting up the engine
programmer137 24 Jul, 2024 @ 10:52pm 
Add a "default engine speed unit" property toggle. I know this is possible because I just edited the MC/Lua script to do this.

How I changed the MC:
  1. Removed the comment on line 106 to allow for enough chars
  2. Replaced the code on line 31 in the display script with
    rps_t=tog(IPIR(8,8,16,5) and ck,rps_t)
  3. Added
    if gb(5) then rps_T=not rps_t else rps_T=rps_t end
    on a new line after line 31
  4. Hooked up a property toggle to boolean input 5 into the Lua scripts, which happens to be open and unconnected already
  5. Replaced lines 18-19 on the composite script with
    if gb(5) then sn(1,gn(11)*60) else sn(1,gn(11)) end--actual rps if gb(5) then sn(2,gn(15)*60) else sn(2,gn(15)) end--desired rps
Last edited by programmer137; 24 Jul, 2024 @ 10:58pm
Sharp  [developer] 25 Jul, 2024 @ 4:09am 
Originally posted by programmer137:
Add a "default engine speed unit" property toggle. I know this is possible because I just edited the MC/Lua script to do this.

How I changed the MC:
  1. Removed the comment on line 106 to allow for enough chars
  2. Replaced the code on line 31 in the display script with
    rps_t=tog(IPIR(8,8,16,5) and ck,rps_t)
  3. Added
    if gb(5) then rps_T=not rps_t else rps_T=rps_t end
    on a new line after line 31
  4. Hooked up a property toggle to boolean input 5 into the Lua scripts, which happens to be open and unconnected already
  5. Replaced lines 18-19 on the composite script with
    if gb(5) then sn(1,gn(11)*60) else sn(1,gn(11)) end--actual rps if gb(5) then sn(2,gn(15)*60) else sn(2,gn(15)) end--desired rps


Will add in a day or 2, Nice feature to have.
Coming upto 15 or so properties now.......
Sharp  [developer] 25 Jul, 2024 @ 4:12am 
Originally posted by Andrade:
Hey, can you help me? I m having problems setting up the engine

I possibly can, If you send me a workshop link i can have a look
I am planning to release a engine pack soon with example engines and different setups such as supercharging etc
Hello 26 Sep, 2024 @ 1:49pm 
can someone tell me why my fuel tank is pumping but not starting? I don't know if its the ecu or if built it wrong but i built fuel tanks like this one and it worked.
Sharp  [developer] 27 Sep, 2024 @ 4:00am 
If you send me a workshop link i can have a look
Quell 17 Jan @ 12:48pm 
great mc!
a suggestion: add an and note for electric motor starter and main clutch (maybe toggable in properties)
when I use the engine clutch as the main clutch I cant start the motor via electric motor
< >
Showing 1-13 of 13 comments
Per page: 1530 50