Stationeers

Stationeers

Not enough ratings
Compact Gas Fuel Generator with Proportional Derivative Control
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
4.056 MB
31 May, 2021 @ 8:15pm
1 Jun, 2021 @ 9:25pm
2 Change Notes ( view )

Subscribe to download
Compact Gas Fuel Generator with Proportional Derivative Control

Description
Created 6.2.2021

Load the world, close the door, then watch it go. The batteries are off so they wont charge up to the point that stops the generator unless you switch them on.

I ultimately ended up updating the build since the video. Although it goes over the 2 blocks, it's a better build with more pumps. With the proper load capacity, the PD control loop now stabilizes at a very precise temperature and the volume pumps no longer fluctuate. This is definitely more efficient than repeatedly hitting 100L with the pumps.

Quick overview: The active vents on the outside pump cold air into the tank at night. There are four active vents on the inside set to the same pressure. Three of them maintain pressure in the chamber using the cold air from storage while the 4th one (behind the generator) vacuums out to handle overflow and ensure the pressure is consistent. Then the proportional derivative controller throttles the volume pumps to exhaust the hot air (which is replaced by the cold air from storage). The system stabilizes very quickly and holds a constant temperature.
15 Comments
Xnetsrac 9 Sep, 2024 @ 1:26am 
Ich weiß nichtob ich was falsch mache, aber wenn ich die Türe schließe geht nur der Generator an, die Pumpen rechts sind am klackern aber es reagiert innen kein Vent
Art of WASD 18 Feb, 2023 @ 8:15pm 
Due to the lack of a build tutorial, here is a handy-dandy resource list (including cosmetics):
- 50 Insulated Pipes
- 108 Cable Coil (Heavy)
- 2 Gas Sensors
- 1 Light
- 1 APC (Area Power Controller)
- 4 Volume Pumps
- 4 Consoles & 4 Gas Display boards
- 8 Active Vents
- 6 Passive Vents
- 1 Integrated Circuit (IC10) & 1 IC Housing
- 1 Computer & IC Editor Motherboard
- 1 Insulated Tank
- 11 Flat Walls
- 4 Walls
- 2 Floor Grating
- 1 Steel Frame
- 1 Gas Fuel Generator
- 1 Door
- 7 Plastic Sheets
- 5 Glass
- 3 Steel Sheets
PH 11 Oct, 2022 @ 5:57am 
Hey i cant start the savegame " object reference not set to an instance of an object"
Chris Kyle 10 Sep, 2022 @ 10:46am 
What was the fix OperationDx?
OperationDx 5 Jun, 2022 @ 3:42pm 
It took me about 6 hours of troubleshooting but I have it sorted.
OperationDx 4 Jun, 2022 @ 2:43pm 
Also note that I am using the pre patch build before the refactoring patch. So as the game was before June 2.
OperationDx 4 Jun, 2022 @ 2:38pm 
I built this to the letter an exact copy. Put in the IC code checked the pins are set correctly and made sure everything was named exactly as it was in the world file. It works in the world file but in a new world it will draw in the cold air and does cool and pressurize the chamber. However the engine will not turn on. If I close myself in the chamber and start the gen until it's warm enough it will run just fine. But it will not run on it's own. And when you do force it to run the IC sometimes will flash orange saying that the code has an error on the line that is supposed to start the gen.
zaza666zaza 8 Sep, 2021 @ 1:10pm 
Hi, i need a little Help.
i bild this Generator in my Marsbase und it Works!
But only one time with an new Large Battery.
i close the door again and the Generator dont start again, the Volumepumps dont start, only the Pressure an Temp will adjust.
i replace the Batt and place it again - it works....???
any Ideas?
THXs a lot
Starboardvark  [author] 17 Jul, 2021 @ 6:24pm 
lentus2112, You shouldnt have any pressure problems if you follow the active vent setup. Remember the second one in the back is set to pull air out. That way the pressure is always held constant. If the chamber is one block and you have the same number of pumps, the constants shouldn't need to be changed but if you want to mess with them, start with 0 derivative and tweak the proportional first. It may oscillate a bit but you want to get as little overshoot as possible before adding some derivative. It can take some time but you're essentially tuning it like a radio. It's up to you how precise you want to be. In fact, it should be fine with proportional only.

Geekthefreak420, keep in mind the code is batch reading from large station batteries. You may need to change the hash code if you're charging regular size station batteries.
Starboardvark  [author] 17 Jul, 2021 @ 6:24pm 
Oh man I didn't check back for the comments. By the way, I will be releasing an improved version of this soon with the tank underneath and a single turbo volume pump so it's even smaller. I'll also post my IC code.