NASSP icon indicating copy to clipboard operation
NASSP copied to clipboard

Battery C Charge Indicator Goes To Zero Upon 2D Panel Switch

Open rcflyinghokie opened this issue 2 years ago • 3 comments

If Battery C needs to be charged, and the charger is turned on, it indicates charging amperage. However if you switch panels in 2D and return to MDC3 it reads zero. You can turn off the charger and back on and the current comes back up but the behavior is reproducible.

The behavior does not exist in the VC or when going from external to 2D view. Additionally it appears looking at FC flows that the charging stops after the panel switch, not just the display itself.

rcflyinghokie avatar Mar 11 '22 18:03 rcflyinghokie

Well this is a weird one. Good find. Somehow I missed the IRC discussion on this if there was one, but I'm assuming that that there is a refresh in the wrong place?

n7275 avatar Mar 23 '22 13:03 n7275

There is some wiring that is right now done every time you switch between 2D panels. And with battery C there is some re-wiring done in code when the battery charger is charging it. That is because our systems simulation doesn't allow two-way power flow and there are some CBs that actually have two-way power flow if battery C is used vs. battery C being charged. I'll work on this issue very soon, it's not a difficult fix.

indy91 avatar Mar 23 '22 15:03 indy91

There is some wiring that is right now done every time you switch between 2D panels. And with battery C there is some re-wiring done in code when the battery charger is charging it. That is because our systems simulation doesn't allow two-way power flow and there are some CBs that actually have two-way power flow if battery C is used vs. battery C being charged. I'll work on this issue very soon, it's not a difficult fix.

I have some Matlab code I wrote a while back for drawing from multiple power sources, if it's helpful. https://gist.github.com/n7275/8c95469fbe2d7f234eded87c79130c4a

n7275 avatar Mar 23 '22 19:03 n7275