Show / Hide Table of Contents

Class TegSystem

Handles processing logic for the thermo-electric generator (TEG).

Inheritance
System.Object
TegSystem
Namespace: Content.Server.Power.Generation.Teg
Assembly: Content.Server.dll
Syntax
public sealed class TegSystem : EntitySystem
Remarks

The TEG generates power by exchanging heat between gases flowing through its two sides. The gas flows through a "circulator" entity on each side, which have both an inlet and an outlet port.

Connecting the TEG core to its circulators is implemented via a node group. See TegNodeGroup.

The TEG center does HV power output, and must also be connected to an LV wire for the TEG to function.

Unlike in SS13, the TEG actually adjusts gas heat exchange to match the energy demand of the power network. To achieve this, the TEG implements its own ramping logic instead of using the built-in Pow3r ramping. The TEG actually has a maximum output of +n% more than was really generated, which allows Pow3r to draw more power to "signal" that there is more network load. The ramping is also exponential instead of linear like in normal Pow3r. This system does mean a fully-loaded TEG creates +n% power out of thin air, but this is considered acceptable.

Fields

| Improve this Doc View Source

DeviceNetworkCommandSyncData

Device network command to have the TEG output a TegSensorData object for its last statistics.

Declaration
public const string DeviceNetworkCommandSyncData = null
Field Value
Type Description
System.String

Methods

| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

UpdateCirculatorConnectivity(EntityUid, TegNodeGroup, TegCirculatorComponent)

Declaration
public void UpdateCirculatorConnectivity(EntityUid uid, TegNodeGroup group, TegCirculatorComponent component = null)
Parameters
Type Name Description
EntityUid uid
TegNodeGroup group
TegCirculatorComponent component
| Improve this Doc View Source

UpdateGeneratorConnectivity(EntityUid, TegNodeGroup, TegGeneratorComponent)

Declaration
public void UpdateGeneratorConnectivity(EntityUid uid, TegNodeGroup group, TegGeneratorComponent component = null)
Parameters
Type Name Description
EntityUid uid
TegNodeGroup group
TegGeneratorComponent component

See Also

TegGeneratorComponent
TegCirculatorComponent
TegNodeGroup
TegSensorData
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾