Correct the name of the reference Dc Link Voltage
This commit is contained in:
parent
80e2f349a7
commit
bcaab09190
|
@ -83,7 +83,7 @@ public static class Controller
|
||||||
|
|
||||||
|
|
||||||
// find out if we reach the lower or upper Dc limit by comparing the current Dc voltage to the reference voltage
|
// find out if we reach the lower or upper Dc limit by comparing the current Dc voltage to the reference voltage
|
||||||
return s.AcDc.Dc.Voltage > s.Config.ReferenceDcLinkVoltageFromAcDc
|
return s.AcDc.Dc.Voltage > s.Config.GridTie.AcDc.ReferenceDcLinkVoltage
|
||||||
? control with { PowerCorrection = clampedPowerDelta.ClampMax(-correction), LimitedBy = EssLimit.ChargeLimitedByMaxDcBusVoltage }
|
? control with { PowerCorrection = clampedPowerDelta.ClampMax(-correction), LimitedBy = EssLimit.ChargeLimitedByMaxDcBusVoltage }
|
||||||
: control with { PowerCorrection = clampedPowerDelta.ClampMin(correction), LimitedBy = EssLimit.DischargeLimitedByMinDcBusVoltage };
|
: control with { PowerCorrection = clampedPowerDelta.ClampMin(correction), LimitedBy = EssLimit.DischargeLimitedByMinDcBusVoltage };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue