Add number of strings

This commit is contained in:
atef 2024-06-10 14:59:42 +02:00
parent 63dc832a1f
commit 1ad2e79be4
2 changed files with 5 additions and 3 deletions

View File

@ -83,6 +83,7 @@ public class AmptDevices
return new AmptStatus
{
Dc = dc,
NbrOfStrings = nStringOptimizers,
Strings = strings,
DcWh = dailyOutputEnergy
};

View File

@ -6,6 +6,7 @@ namespace InnovEnergy.Lib.Devices.AMPT;
public class AmptStatus : IMppt
{
public required DcBus Dc { get; init; }
public required UInt16 NbrOfStrings { get; init; }
public required IReadOnlyList<DcBus> Strings { get; init; }
public required Double DcWh { get; init; } //Daily integrated string output energy in Wh
}