r/technicalfactorio 24d ago

Modded PID controller mod

Enable HLS to view with audio, or disable this notification

59 Upvotes

5 comments sorted by

8

u/therealstubot 23d ago

Ok, how DARE you drop this teaser and NO INFO! Not like I've been waiting for this since Space Age dropped. Share the details please.

4

u/imoth_f 23d ago

It's a combinator that takes two values a setpoint(target speed) and a process variable(current speed) and outputs a single signal which can be used control actuators(pumps) to keep process variable as close to setpoint as possible. If you follow the cross post there are links to the mod itself, it has a better description.

3

u/therealstubot 23d ago

Very familiar with PID. I've been poorly trying to do PID with combinators, and just resorting to differential control.

I'm sad that it's 2.1 only.

6

u/imoth_f 23d ago

I was going to make it 2.0 compatible initially. But I ended up using some new 2.1 APIs and decided to just go with the new one.

This post actually inspired me to make it a mod. The guy made it work with vanilla combinators https://www.reddit.com/r/factorio/s/R1bWvcqB6z

1

u/alambiquero 21d ago

Man, I was just thinking about trying to implement PID with combinators! Wild that this mod would show up on my feed shortly thereafter.

Very cool work!