Show / Hide Table of Contents

Class TegGeneratorComponent

The centerpiece for the thermo-electric generator (TEG).

Inheritance
System.Object
TegGeneratorComponent
Namespace: Content.Server.Power.Generation.Teg
Assembly: Content.Server.dll
Syntax
public sealed class TegGeneratorComponent : Component

Fields

| Improve this Doc View Source

LastGeneration

Amount of energy (Joules) generated by the TEG last atmos tick.

Declaration
public float LastGeneration
Field Value
Type Description
System.Single
| Improve this Doc View Source

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
| Improve this Doc View Source

PowerFactor

Simple factor that scales effective electricity generation.

Declaration
public float PowerFactor
Field Value
Type Description
System.Single
| Improve this Doc View Source

RampFactor

Factor by which TEG power generation scales, both up and down.

Declaration
public float RampFactor
Field Value
Type Description
System.Single
| Improve this Doc View Source

RampMinimum

Minimum position for the ramp. Avoids TEG taking too long to start.

Declaration
public float RampMinimum
Field Value
Type Description
System.Single
| Improve this Doc View Source

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
| Improve this Doc View Source

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.

| Improve this Doc View Source

VolumeMax

Maximum ambient sound volume, when we're producing >= MaxVisualPower power.

Declaration
public float VolumeMax
Field Value
Type Description
System.Single
| Improve this Doc View Source

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

See Also

TegSystem
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾