Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
GR-30 Diesel Generator
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
240.015 KB
12 Nov, 2022 @ 10:42am
9 Dec, 2022 @ 5:45pm
15 Change Notes ( view )

Subscribe to download
GR-30 Diesel Generator

In 1 collection by sprk
Equipment pack
8 items
Description
An efficient, reliable and easy-to-use 30kW diesel generator.

FEATURES
  • High fuel efficiency.
  • Engine is accessible via maintenance hatch.
  • Can be connected to an external fuel tank using a hose.
  • Hardpoint attachment at bottom with power/fuel transfer, allowing permanent installation.
  • Optimized physics shape.
  • Emergency stop button.
  • Can be daisy chained with other generators.
  • Can be mounted on top of a 7x13 mounting pad.

TECHNICAL DETAILS
Power output
30kW
Power output (overdrive)
44kW
Fuel capacity
650 L
Fuel type
Diesel
Fuel consumption (idle)
18 L per hour
Fuel consumption (full load)
250 L per hour
Fuel consumption (overdrive)
815 L per hour
Power cable attachments
2
Mass (incl. fuel)
390
Cost
$8800

USAGE
  1. Connect the generator to something that needs power.
  2. Open the control panel at the side.
  3. Ensure the outlet circuit breaker is enabled.
  4. Turn on the ignition key.

CREDITS
  • The display is based on Speyguy's engine monitor. The LUA has been completely rewritten, only the color scheme is still in use.
  • The 3x5 font was made by OTACON.
17 Comments
BigBoyTrip 24 Jun, 2024 @ 11:22am 
instructions unclear. i made something like this but it decided to explode. and proceed to crash a very high end pc.
sprk  [author] 24 Jun, 2024 @ 8:35am 
@piper7286 The outputs, generator and buffer battery are on an isolated circuit, so when an external device uses energy, the buffer battery drains. The MC attempts to keep that battery as full as possible.

In the 'Generator engine subsystem' MC you'll see a 'Power load' input node which is connected to a formula block. This is the main part that's responsible for managing the throttle.

The formula is clamp(1-(x^z),y,1), where x is the battery value, z is a multiplier value (64 in this case) and y is the minimum throttle (0.11 in this case). For example, a battery value of 0.99, clamp(1-(0.99^64),0.11,1), gives a throttle of about 0.47, while a battery value of 0.9999, clamp(1-(0.9999^64),0.11,1), gives a throttle of about 0.006.

This formula results in a smooth but aggressive throttle curve, which makes the generator respond quickly to power load changes, and to give just enough throttle to provide the requested power.

I hope that clarifies things a bit!
BigBoyTrip 24 Jun, 2024 @ 1:26am 
can you tell me how you made it do the load thingy from where if you put something that needs eletricity it throttles up and powers it?
Vali_gaming15 6 Jun, 2024 @ 6:58am 
since this generator only makes 44 stormwork watts
Vali_gaming15 6 Jun, 2024 @ 6:57am 
i am not sure if stormwork watts are = to irl kw but if they are then my generator has the output of 330KW
NeptunetheBetta 2 Jun, 2024 @ 9:16am 
Thank you!
sprk  [author] 2 Jun, 2024 @ 9:14am 
@NeptunetheBetta - yep, feel free to use it in your own creations
NeptunetheBetta 31 May, 2024 @ 7:37pm 
@sprk Could i use the generator in an office building with credit?
zeckmon3 9 May, 2024 @ 2:23am 
Amazing generator. heads up. im personally using this to power my portable amusement rides if you don't mind
But Hull 21 Feb, 2023 @ 8:31am 
Hey man used your LUA for another gen i built. gave you credit for it hope you dont mind its just a super good LUA. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2936727207