plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

GutsherrBus9 avatar image
GutsherrBus9 asked FlyingRaccoon answered

Removing deprecated(!) variable "fuel_flow_gain" from engines.cfg causes system breakdown

Removing the variable fuel_flow_gain from [TURBINEENGINEDATA] causes several weird behaviours, even though the documentation clearly states it being deprecated and not used anymore.

1669155341076.png
Some observed behaviours (non exhaustive) when leaving out the variable definiton:

  • breaks all CIRCUIT_FUEL_VALVE, without possibility to turn them on again.
  • N1 and N2 fixed to 100%
  • cuts off valves to engine


aircraftdocumentationdevs
1669155341076.png (28.5 KiB)
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingRaccoon avatar image
FlyingRaccoon answered

Hello @GutsherrBus9

We have identified a bug where missing parameters will cause the turbine config reading to silently fail and leave some parameters uninitialized.

For now, the parameters I have identified as causing the problem are:
fuel_flow_gain
static_thrust
inlet_area
rated_N2_rpm
afterburner_available

inlet_area and rated_N2_rpm are documented as required so I think everyone defines it and it's not causing much problem.
But the others are either optional or deprecated, but still cause this problem when missing.

We have fixed the issue on our side but in the meantime, you want to make sure those parameters are defined in your cfg and you can edit the FileDefs_AircraftEditor.xml file in the fs-devmode package and remove any exclusion element to prevent the AircraftEditor from removing them on save.
For example, for static_thrust, you want to remove this part:
1669732625203.png


Thank you for reporting the problem and our apologies for the setback.

Regards,
Sylvain


1669732625203.png (18.4 KiB)
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Flysimware avatar image
Flysimware answered

Do not always trust the SDK as it could have mistakes or need to be updated. I use a program called grepwin and you can search key works so right now Asobo default planes that use this cfg setting are here in the image shared. Looks like jets engines or turboprops need this cfg.

screenshot-189.jpg


screenshot-189.jpg (333.4 KiB)
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.