Files
HomeAssistant/NordPool.Models/NordPoolConsts.cs
T
2026-03-19 16:22:37 +02:00

22 lines
760 B
C#

namespace NordPool.Models;
public static class NordPoolConsts
{
public static readonly string ConfigEntry = "01K9HYQE4Y0E7KC36JZV11MEXH";
/// <summary>
/// NordPool electricity market uses 15-minute trading intervals.
/// </summary>
public const int MinutesPerInterval = 15;
/// <summary>
/// Maximum expected price entries when today and tomorrow are both available
/// (96 intervals per day x 2 days). Used for logging a warning if exceeded.
/// </summary>
public const int MaxExpectedPriceEntries = 192;
/// <summary>
/// Power threshold in watts below which the boiler is considered to have finished heating (water ready).
/// </summary>
public const double WaterReadyPowerThresholdWatts = 5.0;
}