• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS20 The electrical starter circuit does not function properly

Lagaffe

Resource contributor
Messages
992
Country
france
Hello,
I just created an airplane that worked perfectly from the electrical point of view, that is to say that through the Debug tool of the electrical systems (DEVMod of the SDK) everything worked perfectly.
It was a plane similar to the CAP10 of Asobo on the electric level with :
  • a battery switch,
  • a magneto at 4 positions (Off, L, R, Both) and
  • a starter button to push (On, Off).
The SDK’s electrical system debug tool was used to verify the proper functioning of the starter:
  • a click on the 2 positions battery switch set circuit 1 called GENERAL_PANEL_Main to ON position (green color)
  • the circuit 2 associated with the starter remained in off mode (gray color)
  • if the starter button was pressed, circuit 2 would briefly switch to ON (green color) and then return to OFF mode (gray color) as soon as the engine was started
The declarations of 3 buses (main, avionic, alternator) were standard and there were only a few auxiliary circuits for avionics and some lamps.

Recently, I created a similar plane from this plane by reusing the 3D model and its animations as well as the XML files for the animations and the systems.cfg file for the declaration of electrical systems in particular.
This last aircraft no longer works like the previous one: circuit 2 of the starter switches to ON (green color) as soon as the battery switch goes to ON ... and the battery is slowly discharged.

1740160216971.png

The starter button when it is clicked works correctly and the motor starts but this circuit 2 remains on ON and the battery is emptied more or less quickly according to the electrical characteristics allocated to this starter.
I checked the whole code many times, even trying to keep only the model behavior of the battery switch and the systems.cfg to be sure and the problem persists even in this configuration.

An extract of my last systemes.cfg:
[ELECTRICAL]
bus.1 = Name:Main_BUS
bus.2 = Connections:bus.1#Name:Avionics_BUS
bus.3 = Name:Alternator_Bus

battery.1 = Connections:bus.1, bus.3#Capacity:13.6#Voltage:curve.1#Name:Main_Battery ; Main Battery
alternator.1 = Connections:bus.3#iEng:0#RatedVoltage:28#Load:curve.2#Name:Main_Alternator

curve.1 = 0:21, 0.1:22.5, 0.5:24, 0.9:25, 1:25.4 ; Battery voltage for capacity %
curve.2 = 0.08:0, 0.09:8, 0.15:52, 0.22:70 ; Load from RPM table

circuit.1 = Type:CIRCUIT_GENERAL_PANEL #Connections:bus.1 #Power: 0.5, 1, 10.0 #Name:General_Panel_Main ; General panel
circuit.2 = Type:CIRCUIT_STARTER:1 #Connections:bus.1 #Power: 200, 350, 10 #Name:Starter_1 ; Starter 350W
circuit.3 = Type:CIRCUIT_DIRECTIONAL_GYRO #Connections:bus.1 #Power:10, 15, 10.0 #Name:Directional_Gyro ; directional gyro 15W
circuit.4 = Type:CIRCUIT_STANDBY_VACUUM #Connections:bus.1 #Power: 5, 10, 10.0 #Name:STBY_Vacuum ; stby vacuum
circuit.5 = Type:CIRCUIT_XPNDR #Connections:bus.2 #Power:10, 18, 10.0 #Name:Transponder ; Transponder 18W
circuit.6 = Type:CIRCUIT_TURN_COORDINATOR #Connections:bus.1 #Power:10, 15, 10.0 #Name:Turn_Coordinator ; turn coordinator 15W
circuit.7 = Type:CIRCUIT_AVIONICS:1 #Connections:bus.2 #Power:20, 25, 10.0 #Name:Avionics_1 ; avionics 1
circuit.8 = Type:CIRCUIT_AUDIO #Connections:bus.2 #Power:10, 15, 10.0 #Name:Audio ; Audio 15W
circuit.9 = Type:CIRCUIT_PITOT_HEAT:1 #Connections:bus.2 #Power:30, 40, 10.0 #Name:Pitot_Heat ; pitot_heat 40W
circuit.10 = Type:CIRCUIT_NAV:1 #Connections:bus.2 #Power: 4, 5, 10.0 #Name:NAV1 ; NAV 1 5W
circuit.11 = Type:CIRCUIT_COM:1 #Connections:bus.2 #Power: 4, 5, 10.0 #Name:COM1 ; COM 1 5W
circuit.12 = Type:CIRCUIT_LIGHT_PANEL #Connections:bus.1 #Power:10, 15, 10.0 #Name:Instruments_Lights ; panel lights (11) 15W
circuit.13 = Type:CIRCUIT_LIGHT_CABIN:1 #Connections:bus.2 #Power:10, 15, 10.0 #Name:Cabin_Light_pilot ; Cabin light 15W
circuit.14 = Type:CIRCUIT_LIGHT_CABIN:2 #Connections:bus.2 #Power:10, 15, 10.0 #Name:Cabin_Light_copilot ; Cabin light 15W
circuit.15 = Type:CIRCUIT_LIGHT_NAV #Connections:bus.1 #Power:10, 15, 10.0 #Name:Nav_Light_1 ; nav 1 light 15W
circuit.16 = Type:CIRCUIT_LIGHT_WING #Connections:bus.1 #Power:10, 15, 10.0 #Name:Wing_Light ; wing light 15W
circuit.17 = Type:CIRCUIT_LIGHT_LOGO #Connections:bus.1 #Power:10, 15, 10.0 #Name:Logo_Light ; logo light 15W
circuit.18 = Type:CIRCUIT_XML #Connections:bus.2 #Power:10, 15, 10.0 #Name:Aera_Tablet
circuit.19 = Type:CIRCUIT_AUTOPILOT #Connections:bus.2 #Power:0.0010, 0.0012, 11.5 #Name:Autopilot ; Autopilot 15W
If anyone has an idea?

PS: I thought to characterize this starter with the values #Power 0, 0, 0 to reduce these electrical leaks but it bothers me not to know the origin of the problem.
 
Back
Top