using Content.Server.Power.Components;
namespace Content.Server.Power.Generation.Teg;
///
/// Sensor data reported by the when queried over the device network.
///
///
public sealed class TegSensorData
{
///
/// Information for the A-side circulator.
///
public Circulator CirculatorA;
///
/// Information for the B-side circulator.
///
public Circulator CirculatorB;
///
/// The amount of energy (Joules) generated by the TEG last atmos tick.
///
///
public float LastGeneration;
///
/// Ramping position for the TEG power generation.
///
///
public float RampPosition;
///
/// Power (Watts) actually being supplied by the TEG to connected power network.
///
///
public float PowerOutput;
///
/// Information for a single TEG circulator.
///
/// Pressure measured at the circulator's input pipe
/// Pressure measured at the circulator's output pipe
/// Temperature measured at the circulator's input pipe
/// Temperature measured at the circulator's output pipe
public record struct Circulator(
float InletPressure,
float OutletPressure,
float InletTemperature,
float OutletTemperature);
}