Problem when merging electrical circuits - Modular build

Version: 1.6.34.0

Frequency: Consistently

Severity: High

Marketplace package name: sws-aircraft-kodiak-wheels (available as a draft)

Context: Community & dev mode

Similar MSFS 2020 issue: not applicable

Bug description: Electrical circuits trigger the wrong systems. We belive this is due to the modular merge process and have stumbled upon two different versions of the problem.

PROBLEM VERSION 1

In the 2024 Kodiak, when the landing lights are set to PULSE (wait 30 seconds for pulse to activate), the PITOT FAIL L/R annunciation appears. The landing lights are circuit.1 and circuit.7, while the pitots are circuits 29 and 51, so we don’t see how this can happen.

In panel.xml, these annunciations are set to check if there is a mismatch between the switch and circuit, using the ‘name’_n format. Example for the right pitot heat below:

		<Condition>
			<And>
				<Not>
					<Simvar name="CIRCUIT ON:'Pitot_Heat_Right'_n" unit="Bool"/>
				</Not>
				<Simvar name="CIRCUIT SWITCH ON:'Pitot_Heat_Right'_n" unit="Bool"/>
			</And>
		</Condition>

PROBLEM VERSION 2

In the same package, the NAV light turns the amphibian gear panel on and off. The NAV light is circuit.2 in the common systems.cfg, and the panel’s circuit is circuit.2 in the relevant attachment folder, so they overlap.

We found that using circuit ID 2 in the attachment gets the panel to work, but if you turn the NAV lights off then the panel is dead.

This is clearly an issue with modular merging, so any help to troubleshoot it would be appreciated.

Repro steps: Load in the FS2024 Kodiak 100.

Issue 1: Switch landing lights to PULSE and wait 30s for the sequencing to begin. When the pulse mode starts working, the PITOT FAIL L/R annunciactions will appear on the PFD.

Issue 2: Load in the Kodiak 100 Amphibian variation. Toggle the NAV lights and the landing gear panel will go on and off following the switch.

Attachments:

Private attachments: Send a PM to @PrivateContent with the link to this topic and the link to download your content

Hello @SWS-AlexVletsas

Have you tried using the newly introduced Merged Files view in the SimObjectEditor to check that your cfgs contain the result you would expect?

Also, did you check if the behavior was the same on SU5 Beta?
Don’t forget that we introduced a fix that addresses the case of concurrent access to the BUS_LOOKUP_INDEX simvar for the issue you previously reported:
SU4 Beta - Random circuits trigger on and off - [MSFS 2024] Bug Reports / Aircraft - MSFS DevSupport
If you are still relying on this simvar, this issue on SU4 could explain such a behavior.

I have tested version 2.1.7 of your package on both SU4 and SU5 and couldn’t replicate the issue so far.
I’ll give it another shot next week.

Regards,
Sylvain

This bug report has been marked as obsolete.

1 Like

I can confirm that we have worked around this and it is obsolete.

1 Like