Trumpf DcDc does not support changing sign convention (producer/consumer), so we have to manually flip the sign of currents in our code
This commit is contained in:
parent
12731a90e9
commit
d1d9575052
|
@ -27,13 +27,13 @@ public class DcDcStatus
|
|||
Link = DcBus.FromVoltageCurrent
|
||||
(
|
||||
voltage: _Self.DcLinkVoltage,
|
||||
current: linkCurrent
|
||||
current: -linkCurrent // TODO: review sign is reversed
|
||||
),
|
||||
Battery = DcBus.FromVoltageCurrent
|
||||
(
|
||||
voltage: _Self.BatteryVoltage,
|
||||
current: batteryCurrent
|
||||
)
|
||||
voltage: _Self.BatteryVoltage,
|
||||
current: -batteryCurrent // TODO: review sign is reversed
|
||||
)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue