Compare commits

...

2 Commits

Author SHA1 Message Date
atef 3deee7bbac Merge remote-tracking branch 'origin/main' 2024-06-10 14:59:51 +02:00
atef 1ad2e79be4 Add number of strings 2024-06-10 14:59:42 +02:00
2 changed files with 5 additions and 3 deletions

View File

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

View File

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