by FlyingHigh » Wed Jan 02, 2019 2:50 am
Hello Wlbragg and happy new year, thank you for looking into the problem.
I was inaccurate in my description, this post is more specific. I tried to add images but I don't know how to do that yet.
You are correct, "systems/electrical" does not show any problems, my error.
The problem can be seen in "systems/electrical/outputs/".
There are 2 buses listed there, "bus" is the main bus and "bus[1]" is the avionics bus.
If you watch the two bus voltages under "systems/electrical/outputs" and follow these steps, you should be able to see the problem:
1. At cold start, all is well. Master switch and avionics master are off, the buses show no voltage.
2. Turn on the master switch, all is well, main bus shows voltage, avionics bus does not.
3. Turn on the avionics master switch, all is well, the avionics bus shows voltage and the avionics stack comes alive.
4. Here is where the problem begins to appear. Turn off the master switch, both buses should return to zero volts, yet both buses still show voltage, and the avionics stack stays on.
5. Turn off the avionics master switch, the avionics bus voltage stays on, but the avionics radios turn off.
6. Turn on the avionics master switch again, nothing changes, the avionics stack stays off yet the avionics bus still carries voltage.
7. Turn on the master switch. The avionics stack radios turn on.
8. You are now back at step 4.
I'm interested to see if you notice the same and to hear any thoughts about it.
FlyingHigh
edit to add p.s.: I looked through the xml code you posted, it seems the avionics bus is connected properly to the main bus by the avionics master switch. I think this is a work in progress too, it does not attempt to model battery drain or recharge, etc.
But even without that modeling, the bus voltage should respond properly to the states of the master and avionics master switches, yet they don't. I'd like to try to fix that so I can then fix some other difficulties with the electrical system. This problem here seems to be a root level problem. Thanks again!