2023-08-06 01:21:05 -07:00
|
|
|
namespace Content.Server.Atmos.Components;
|
|
|
|
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class HeatExchangerComponent : Component
|
2023-08-06 01:21:05 -07:00
|
|
|
{
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("inlet")]
|
|
|
|
|
public string InletName { get; set; } = "inlet";
|
|
|
|
|
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("outlet")]
|
|
|
|
|
public string OutletName { get; set; } = "outlet";
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Pipe conductivity (mols/kPa/sec).
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("conductivity")]
|
|
|
|
|
public float G { get; set; } = 1f;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Thermal convection coefficient (J/degK/sec).
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("convectionCoefficient")]
|
|
|
|
|
public float K { get; set; } = 8000f;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Thermal radiation coefficient. Number of "effective" tiles this
|
|
|
|
|
/// radiator radiates compared to superconductivity tile losses.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("radiationCoefficient")]
|
2023-08-24 21:36:16 +04:00
|
|
|
public float alpha { get; set; } = 140f;
|
2023-08-06 01:21:05 -07:00
|
|
|
}
|
|
|
|
|
|