Lagaffe
Resource contributor
- Messages
- 992
- Country

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 :
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.
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:
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.
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).
- 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
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.
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:
If anyone has an idea?[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 #Nameirectional_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 #Nameitot_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
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.