Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Engine tracking #10

Open
nabeelio opened this issue Aug 13, 2021 · 4 comments
Open

Engine tracking #10

nabeelio opened this issue Aug 13, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@nabeelio
Copy link
Member

nabeelio commented Aug 13, 2021

Phases

Engine Start

  • N2 > 20%
  • Fuel flow > ~0
  • Can transition into taxi

Engine Stop

  • N2 < 20%
  • Fuel flow ~0
  • Can transition into "arrived"

Sim Vars

X-Plane

Docs

  • sim/flightmodel/engine/ENGN_N2_ (float array), given as a percentage
  • sim/flightmodel/engine/ENGN_FF_ - Fuel flow (per engine) in kg/second
  • sim/aircraft/engine/acf_num_engines - count for number of engines to read out of the array
  • sim/cockpit/engine/fuel_pump_on - Is the fuel pump on (one per engine)

FSUIPC

For FSUIPC (docs)

Engine 2 Jet N1 as 0 – 16384 (100%), or Prop RPM (derive RPM by multiplying this value by the RPM Scaler (see 08C8) and dividing by 65536). Note that Prop RPM is signed and negative for counter-rotating propellers.

  • 0x0AEC - number of engines
  • 0x0896 (engine1)
  • 0x092E (engine 2)
  • 0x09C6 (engine 3)
  • 0x0A5E (engine 4)
  • 0x0918 - fuel flow eng 1, 8 bytes, float64
  • 0x09B0 - fuel flow eng 2
  • 0x0A48 - fuel flow eng 3
  • 0x0AE0 - fuel flow eng 4

MSFS

See docs. Need to see the differences between:

  • NUMBER OF ENGINES - Needed for the index(s)
  • ENG N2 RPM:[1-4] - "Rpm(0 to 16384 = 0 to 100%)", TYPE_UINT16
  • ENG FUEL FLOW PPH:[1-4] - float64
  • TURB ENG CORRECTED N2 (percentage)
  • TURB ENG N2 (percentage)
  • ENGINE TYPE:
enum {
    Piston = 0,
    Jet = 1,
    None = 2,
    // There are a few others, already defined
}

Logs

  • Individual engine starts
  • Parking brake is applied/released

Settings

  • Don't allow start flight if any engines are running

Rules

  • Beacon lights on while engines are running
@nabeelio nabeelio added the enhancement New feature or request label Aug 13, 2021
@FatihKoz
Copy link

Seems ok ...

Parking brake logs will be for eye candy and error tracking only I think 'cause they have no operational effect and may be used anytime a pilot needs to keep the plane stopped (instead of applying constant pressure on pedals)

@FatihKoz
Copy link

For X-Plane

sim/flightmodel/engine/ dataref group may be used for per engine checks (for jets and props) ... It also offers an ENGN_running dataref which I believe will return true when the engine is actually running :)

@nabeelio nabeelio reopened this Sep 17, 2021
@FatihKoz
Copy link

Implemented except the "arrived" state change. We do also have a request about stopping flight time with engine stop.

@avs-code
Copy link

avs-code commented Jan 17, 2023

Seems that msfs2020 changed some parameter in prop engine's in idle state:
P.S: I will keep an eye out for more recent logs.

02.Jan.2023 10:27 | Started boarding at 2023-01-02T10:27:07Z, aircraft: C172 G1000 Asobo Argavirtual
-- | --
02.Jan.2023 10:32 | Engine started; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 10:32 | Engine stopped; 36.677443,-4.486228; h=216°, a=-279ft, s=1 kts
02.Jan.2023 10:32 | Engine stopped; 36.677423,-4.486272; h=259°, a=-279ft, s=2 kts
02.Jan.2023 10:32 | Engine started; 36.677424,-4.486266; h=253°, a=-279ft, s=2 kts
02.Jan.2023 10:32 | Engine started; 36.677487,-4.486352; h=3°, a=-279ft, s=0 kts
02.Jan.2023 10:32 | Rule Violation: Beacon lights on while engine is running (1x); 36.677487,-4.486352, -279.39', 0.01kt, 4°
02.Jan.2023 10:33 | Rule Violation: Beacon lights on while engine is running (2x); 36.678969,-4.487322, -281.18', 11.66kt, 296°
02.Jan.2023 10:34 | Rule Violation: Beacon lights on while engine is running (3x); 36.680381,-4.490692, -280.29', 12.18kt, 298°
02.Jan.2023 10:42 | Taxi lights turned on; 36.670263,-4.489666; h=136°, a=-278ft, s=17 kts
02.Jan.2023 10:44 | Engine stopped; 36.665731,-4.486231; h=306°, a=-283ft, s=3 kts
02.Jan.2023 10:44 | Engine stopped; 36.665777,-4.486305; h=309°, a=-283ft, s=4 kts
02.Jan.2023 10:44 | Engine started; 36.66577,-4.486295; h=309°, a=-283ft, s=4 kts
02.Jan.2023 10:45 | Strobe lights turned on; 36.665851,-4.486422; h=308°, a=-283ft, s=0 kts
02.Jan.2023 10:45 | Beacons turned on; 36.665851,-4.486422; h=308°, a=-283ft, s=0 kts
02.Jan.2023 10:45 | Landing lights turned on; 36.665851,-4.486422; h=308°, a=-283ft, s=0 kts
02.Jan.2023 10:46 | Engine started; 36.665851,-4.486422; h=308°, a=-283ft, s=0 kts
02.Jan.2023 10:46 | Flaps set to FULL; 36.666222,-4.486996; h=311°, a=-283ft, s=27 kts
02.Jan.2023 10:46 | Flaps set to 20; 36.666177,-4.486931; h=310°, a=-283ft, s=27 kts
02.Jan.2023 10:46 | Takeoff Time: 2023-01-02T10:46:18Z; 36.666637,-4.487555; h=311°, a=-282ft, s=41 kts
02.Jan.2023 10:46 | Flaps set to 20; 36.668952,-4.490841; h=308°, a=-267ft, s=70 kts
02.Jan.2023 10:46 | Flaps set to 10; 36.66905,-4.490998; h=308°, a=-264ft, s=70 kts
02.Jan.2023 10:46 | Flaps set to FULL; 36.671204,-4.494602; h=313°, a=-241ft, s=90 kts
02.Jan.2023 10:46 | Flaps set to 20; 36.671044,-4.494378; h=311°, a=-239ft, s=89 kts
02.Jan.2023 10:46 | Flaps set to 20; 36.672897,-4.49667; h=315°, a=-210ft, s=88 kts
02.Jan.2023 10:46 | Flaps set to 10; 36.673688,-4.497714; h=312°, a=-132ft, s=81 kts
02.Jan.2023 10:46 | Flaps set to UP; 36.676218,-4.501349; h=311°, a=-145ft, s=101 kts
02.Jan.2023 10:48 | Enroute; 36.669624,-4.540541; h=262°, a=280ft, s=115 kts
02.Jan.2023 10:50 | Flaps set to 10; 36.669647,-4.629345; h=289°, a=1104ft, s=85 kts
02.Jan.2023 10:50 | Flaps set to 20; 36.669773,-4.629824; h=288°, a=1119ft, s=84 kts
02.Jan.2023 10:50 | Flaps set to UP; 36.669895,-4.630307; h=288°, a=1136ft, s=82 kts
02.Jan.2023 10:50 | Flaps set to 10; 36.669835,-4.630067; h=288°, a=1127ft, s=83 kts
02.Jan.2023 10:56 | Taxi lights turned off; 36.680285,-4.842033; h=261°, a=1947ft, s=112 kts
02.Jan.2023 10:59 | Rule Violation: Excesss Bank (1x); 36.678693,-4.955363, 3278.62', 53.83kt, 282°
02.Jan.2023 10:59 | Pilot diverted to LERN
02.Jan.2023 10:59 | Landing rate: -998
02.Jan.2023 11:00 | Rule Violation: Hard Landing (1x); 36.677453,-4.486219, 40.36', 0kt, 207°
02.Jan.2023 11:00 | Engine stopped; 36.677453,-4.486219; h=207°, a=40ft, s=0 kts
02.Jan.2023 11:00 | Nav lights turned off; 36.677453,-4.486219; h=207°, a=40ft, s=0 kts
02.Jan.2023 11:00 | Beacons turned off; 36.677453,-4.486219; h=207°, a=40ft, s=0 kts
02.Jan.2023 11:00 | Landing lights turned off; 36.677453,-4.486219; h=207°, a=40ft, s=0 kts
02.Jan.2023 11:00 | Strobe lights turned off; 36.677453,-4.486219; h=207°, a=40ft, s=0 kts
02.Jan.2023 11:00 | Flaps set to FULL; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:00 | Flaps set to UP; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:00 | Flaps set to 10; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:01 | Engine started; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:01 | Engine stopped; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:01 | Strobe lights turned on; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:01 | Taxi lights turned on; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:01 | Beacons turned on; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:02 | Rule Violation: Strobes on during pushback or taxi (1x); 36.677453,-4.486219, -279.15', 0kt, 207°
02.Jan.2023 11:02 | Engine started; 36.677453,-4.486219; h=207°, a=-279ft, s=0 kts
02.Jan.2023 11:02 | Engine stopped; 36.677426,-4.486318; h=291°, a=-279ft, s=5 kts
02.Jan.2023 11:02 | Engine started; 36.677497,-4.486367; h=358°, a=-279ft, s=6 kts
02.Jan.2023 11:02 | Engine stopped; 36.67751,-4.486368; h=359°, a=-279ft, s=6 kts
02.Jan.2023 11:03 | Beacons turned off; 36.678312,-4.485807; h=338°, a=-281ft, s=4 kts
02.Jan.2023 11:04 | Engine stopped; 36.67854,-4.486299; h=299°, a=-281ft, s=2 kts
02.Jan.2023 11:04 | Rule Violation: Strobes on during pushback or taxi (2x); 36.678537,-4.486293, -281.59', 2.63kt, 299°
02.Jan.2023 11:04 | Engine started; 36.678537,-4.486293; h=299°, a=-281ft, s=2 kts
02.Jan.2023 11:04 | Engine started; 36.678557,-4.486339; h=295°, a=-281ft, s=2 kts
02.Jan.2023 11:05 | Rule Violation: Strobes on during pushback or taxi (3x); 36.68068,-4.49141, -279.46', 13.83kt, 298°
02.Jan.2023 11:06 | Strobe lights turned off; 36.681096,-4.492224; h=296°, a=-279ft, s=8 kts
02.Jan.2023 11:11 | Engine stopped; 36.666096,-4.485238; h=218°, a=-284ft, s=0 kts
02.Jan.2023 11:11 | Engine started; 36.666096,-4.485238; h=218°, a=-284ft, s=0 kts
02.Jan.2023 11:11 | Engine stopped; 36.666096,-4.485238; h=218°, a=-284ft, s=0 kts
02.Jan.2023 11:11 | Strobe lights turned on; 36.666096,-4.485238; h=218°, a=-284ft, s=0 kts
02.Jan.2023 11:11 | Beacons turned on; 36.666096,-4.485238; h=218°, a=-284ft, s=0 kts
02.Jan.2023 11:11 | Nav lights turned on; 36.666096,-4.485238; h=218°, a=-284ft, s=0 kts
02.Jan.2023 11:12 | Engine started; 36.666096,-4.485238; h=218°, a=-284ft, s=0 kts
02.Jan.2023 11:12 | Flaps set to 20; 36.66608,-4.485253; h=218°, a=-284ft, s=3 kts
02.Jan.2023 11:12 | Flaps set to FULL; 36.666071,-4.485263; h=219°, a=-284ft, s=3 kts
02.Jan.2023 11:12 | Engine stopped; 36.66559,-4.485878; h=233°, a=-282ft, s=13 kts
02.Jan.2023 11:12 | Engine started; 36.665565,-4.486003; h=292°, a=-282ft, s=7 kts
02.Jan.2023 11:12 | Engine stopped; 36.665572,-4.48602; h=301°, a=-282ft, s=7 kts
02.Jan.2023 11:13 | Engine started; 36.665667,-4.486172; h=308°, a=-283ft, s=0 kts
02.Jan.2023 11:13 | Rule Violation: Excess Taxi Speed (1x); 36.666793,-4.487773, -282.36', 46.69kt, 312°
02.Jan.2023 11:13 | Flaps set to 20; 36.672205,-4.495884; h=306°, a=-161ft, s=75 kts
02.Jan.2023 11:13 | Flaps set to 10; 36.673638,-4.499657; h=286°, a=-113ft, s=83 kts
02.Jan.2023 11:15 | Flaps set to UP; 36.668958,-4.540813; h=266°, a=666ft, s=90 kts
02.Jan.2023 11:16 | Taxi lights turned off; 36.666902,-4.582649; h=266°, a=1687ft, s=106 kts
02.Jan.2023 11:56 | Engine stopped; 36.707993,-6.068611; h=288°, a=1348ft, s=120 kts
02.Jan.2023 11:56 | Flaps set to FULL; 36.707993,-6.068611; h=288°, a=1348ft, s=120 kts
02.Jan.2023 11:56 | Flaps set to 20; 36.707896,-6.068286; h=286°, a=1352ft, s=120 kts
02.Jan.2023 11:58 | Rule Violation: Excess Taxi Speed (2x); 36.740275,-6.062118, 75.85', 44.92kt, 24°
02.Jan.2023 11:58 | Flaps set to 20; 36.741048,-6.061757; h=19°, a=76ft, s=29 kts
02.Jan.2023 11:58 | Flaps set to UP; 36.741115,-6.061728; h=21°, a=76ft, s=29 kts
02.Jan.2023 11:59 | Engine started; 36.743927,-6.062217; h=296°, a=80ft, s=3 kts
02.Jan.2023 12:00 | Engine stopped; 36.744143,-6.062961; h=285°, a=78ft, s=12 kts
02.Jan.2023 12:00 | Engine stopped; 36.744193,-6.063174; h=283°, a=80ft, s=11 kts
02.Jan.2023 12:00 | Engine started; 36.744186,-6.063139; h=285°, a=79ft, s=12 kts
02.Jan.2023 12:00 | Engine started; 36.744217,-6.063791; h=272°, a=77ft, s=5 kts
02.Jan.2023 12:00 | Engine stopped; 36.744287,-6.064902; h=270°, a=77ft, s=9 kts
02.Jan.2023 12:00 | Engine stopped; 36.744289,-6.065035; h=273°, a=77ft, s=9 kts
02.Jan.2023 12:00 | Engine started; 36.744288,-6.065009; h=272°, a=77ft, s=9 kts
02.Jan.2023 12:01 | Engine started; 36.743682,-6.06568; h=94°, a=78ft, s=3 kts
02.Jan.2023 12:01 | Engine stopped; 36.743681,-6.06567; h=93°, a=78ft, s=3 kts
02.Jan.2023 12:01 | Engine started; 36.74368,-6.065606; h=90°, a=77ft, s=3 kts
02.Jan.2023 12:02 | Engine stopped; 36.743489,-6.064809; h=187°, a=78ft, s=0 kts
02.Jan.2023 12:02 | Engine started; 36.743489,-6.064809; h=187°, a=78ft, s=0 kts
02.Jan.2023 12:02 | Engine stopped; 36.743489,-6.064809; h=187°, a=78ft, s=0 kts
02.Jan.2023 12:02 | Strobe lights turned off; 36.743489,-6.064809; h=187°, a=78ft, s=0 kts
02.Jan.2023 12:02 | Nav lights turned off; 36.743489,-6.064809; h=187°, a=78ft, s=0 kts
02.Jan.2023 12:03 | Beacons turned off; 36.743489,-6.064809; h=187°, a=78ft, s=0 kts
02.Jan.2023 12:03 | Blocks on time: 2023-01-02T12:03:26Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants