Class TegGeneratorComponent
The centerpiece for the thermo-electric generator (TEG).
Inheritance
Namespace: Content.Server.Power.Generation.Teg
Assembly: Content.Server.dll
Syntax
public sealed class TegGeneratorComponent : Component
Fields
| Improve this Doc View SourceLastGeneration
Amount of energy (Joules) generated by the TEG last atmos tick.
Declaration
public float LastGeneration
Field Value
Type | Description |
---|---|
System.Single |
MaxVisualPower
Power output value at which the sprite appearance and sound volume should cap out.
Declaration
public float MaxVisualPower
Field Value
Type | Description |
---|---|
System.Single |
PowerFactor
Simple factor that scales effective electricity generation.
Declaration
public float PowerFactor
Field Value
Type | Description |
---|---|
System.Single |
RampFactor
Factor by which TEG power generation scales, both up and down.
Declaration
public float RampFactor
Field Value
Type | Description |
---|---|
System.Single |
RampMinimum
Minimum position for the ramp. Avoids TEG taking too long to start.
Declaration
public float RampMinimum
Field Value
Type | Description |
---|---|
System.Single |
RampPosition
The current target for TEG power generation. Drifts towards actual power draw of the network with PowerFactor.
Declaration
public float RampPosition
Field Value
Type | Description |
---|---|
System.Single |
ThermalEfficiency
When transferring energy from the hot to cold side, determines how much of that energy can be extracted as electricity.
Declaration
public float ThermalEfficiency
Field Value
Type | Description |
---|---|
System.Single |
Remarks
A value of 0.9 means that 90% of energy transferred goes to electricity.
VolumeMax
Maximum ambient sound volume, when we're producing >= MaxVisualPower power.
Declaration
public float VolumeMax
Field Value
Type | Description |
---|---|
System.Single |
VolumeMin
Minimum ambient sound volume, when we're producing just barely any power at all.
Declaration
public float VolumeMin
Field Value
Type | Description |
---|---|
System.Single |