There are a few aircraft in the sim that appear to use the AS803 simattachment - the C172 Classic, the DV20, and the P51 are three that I’ve found.
Of those three, the C172 shows the correct voltage, the DV20 does NOT show the correct voltage (it reads 0.0 volts) and the P51 shows the correct voltage.
However, both the C172 and the DV20 are using the newer 2024 electrical system, while the P51 is using the older 2020 electrical system.
I’ve dug into the simattachment’s files, and the AS803 is using the preexisting M803 javascript code, where it is looks to be reading it’s voltage information from ELECTRICAL MAIN BUS VOLTAGE. This makes sense, and would explain why it works in the P51, using the older electrical system, and why it does not work in the DV20, which uses the newer electrical system.
However… I cannot figure out why it works in the C172. The C172 uses the newer electrical system, and I can tell through the simvar watcher that ELECTRICAL MAIN BUS VOLTAGE remains zero while the aircraft is running. There are no extra behaviour parameters being sent to the simattachment that would set a different bus to read voltage from, nor would the m803 javascript file be able to read those.
Since the behavior xml file for the C172 is encypted (unfortunately), as is it’s systems.cfg file, I cannot tell if there’s something else going on. It’s obvious that since the ELECTRICAL MAIN BUS VOLTAGE is still reading zero, that there’s nothing being written to that simvar (which shows as writable in the SDK, even though it’s not).
As this is a bug in the DV20, as well as a stumbling block for developers to use this otherwise great simattachment in aircraft that utilize the up to date electrical system, could someone from Asobo please check this out? It would be great if the method that the C172 is using to display the voltage on this simattachment could be shared.


