flybywiresim / aircraft

The A32NX & A380X Project are community driven open source projects to create free Airbus aircraft in Microsoft Flight Simulator that are as close to reality as possible.
https://flybywiresim.com
GNU General Public License v3.0
4.98k stars 1.04k forks source link

ELECTRICAL MAIN BUS VOLTAGE variable reporting 24.5V on cold/dark start #5979

Closed mjchernis closed 2 years ago

mjchernis commented 2 years ago

Aircraft Version

Development

Build info

{
  "built": "2021-10-07T20:11:12+00:00",
  "ref": "master",
  "sha": "5ff82c0fa89fb80448d9106364703ee27f457428",
  "actor": "bouveng",
  "event_name": "manual"
}

Describe the bug

The SIMCONNECT variable ELECTRICAL MAIN BUS VOLTAGE is showing 24.5 volts when external power is disconnected and the generators/batteries are all off. I believe it should be zero -- the stock 320/787/747 all run zero with everything disconnected or off. It does jump up properly to 28v when batteries or generators are turned on.

Messes up the virtual power settings on remote cockpit devices/fips/panels. Looked for an LVAR variable to replace it that properly shows the power bus state but could not find one.

Expected behavior

Variable should be ZERO on cold/dark dark like on other airliners.

Steps to reproduce

Spawn aircraft to jetway -- cold/dark. Make sure everything is off--external power is only listed as Avail.

Check SIMCONNECT variable: ELECTRICAL MAIN BUS VOLTAGE. Shows 24.5 when it should be zero.

References (optional)

No response

Additional info (optional)

No response

Discord Username (optional)

MarkJC

sidnov commented 2 years ago

The aircraft is obviously powered by the hot bus even when not connected, thus the battery discharge. It's not a bug, and please don't compare the add-on to the stock aircrafts which are not really an accurate representation of airliners with proper systems.

tracernz commented 2 years ago

Also note that the actual elec source potentials are available in the L vars A32NX_ELEC_{name}_POTENTIAL, per the docs https://github.com/flybywiresim/a32nx/blob/master/docs/a320-simvars.md

mjchernis commented 2 years ago

Harsh response, no? Was just trying to help. I’m a HUGE fan of everything you guys are doing!

Does not seem “obvious" at all that the main would be at 24V with the batteries and external power disconnected. Especially, when the batteries read 27.9V on the OVHD. Assuming the batteries are connected to the main bus when switched off — which I suppose could be correct — where did the 3.9V go? And, if the batteries are still connected to the Main on this model (not to be confused with the stock airliners) when switched off, what do the battery switches actually do?

Mark

On Oct 8, 2021, at 2:00 AM, Siddharth S @.***> wrote:

The aircraft is obviously powered by the hot bus even when not connected, thus the battery discharge. It's not a bug, and please don't compare the add-on to the stock aircrafts which are not really an accurate representation of airliners with proper systems.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/flybywiresim/a32nx/issues/5979#issuecomment-938367529, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVZ6LWMUR6TMQJKDJNN5ADUF2CIVANCNFSM5FSIUVOA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

tracernz commented 2 years ago

Harsh response, no? Was just trying to help.

A little. Please don't take it personally. :)

I’m a HUGE fan of everything you guys are doing! Does not seem “obvious" at all that the main would be at 24V with the batteries and external power disconnected. Especially, when the batteries read 27.9V on the OVHD. Assuming the batteries are connected to the main bus when switched off — which I suppose could be correct — where did the 3.9V go? And, if the batteries are still connected to the Main on this model (not to be confused with the stock airliners) when switched off, what do the battery switches actually do? Mark

We have our own electrical simulation, so we don't really use the MSFS one as such, although we do need it switched "on" to make some of the other built-in MSFS things work properly. The actual state of the A32NX elec system is contained in the simvar doc I linked previously, and not in the built-in sim variables.

tracernz commented 2 years ago

Search for the prefix A32NX_ELEC in that doc.