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.

In the upcoming flighting, we've changed the behaviour of the content.xml file. If your addon uses this file, please read this article!

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


question

OzWookiee avatar image
OzWookiee asked OzWookiee commented

FUEL_SYSTEM discoveries

In laying out the simple fuel system for our next aircraft, which is quite exciting :D, I'm finding some interesting things that are either bugs or incorrectly documented.


Firstly I think there is a typo in the FUEL_SYSTEM Junction.N section when describing Option. It says at the bottom of its description:

If no options are defined then all connecetd lines will be considered as closed.

However, if that were the case, then why does the A320 fuel system work when there are NO options declared. That would mean that all fuel coming into those junctions cannot go anywhere.

Is it perhaps meant to say: all connected lines will be considered as OPEN.


Second, for those Junction.N definitions that DO have options an error is reported in the console when building/resyncing. For instance, my FuelSelectorJunction has 5 options (Off, Left, Both, Right, Off) and I get the error:

[FuelSystem]Attempting to set junction FuelSelectorJunction to invalid option: (Is 0, should be 1 to 5)

Seems like the system is trying to set 0 index but junctions are expecting 1 index


Finally, as with everywhere else, the documentation is missing ALL units in the description so we don't know if we are talking about lbs, gal, slugft, etc: e.g.

This is used to calculate the effect of pressure on fuel flow. Value is in per second, and if not set will default to 0.1.

Note that the unit is missing when talking about the value per second. This is consistent throughout the documentation.




flightmodel
2 comments
10 |10000

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

By the way, it is interesting that for a valve for a liquid or gas, the terminology is such that "open" means that the material can flow and "closed" that it can't flow. For an electric switch, it's the opposite. A closed switch permits electricity to flow, and open switch is, well, open, no electricity can flow.

0 Likes 0 ·
Yes because of the physical reality of each ;)
0 Likes 0 ·

1 Answer

·
Nocturne avatar image
Nocturne answered OzWookiee commented

Other users have pointed out two of the issues you've mentioned, namely:

  1. "Is it perhaps meant to say: all connected lines will be considered as OPEN" - This is correct!

  2. "Finally, as with everywhere else, the documentation is missing ALL units in the description so we don't know if we are talking about lbs, gal, slugft, etc: e.g." - Sorry about this, it was a failure in the build tools for the documentation that we missed.


BOTH of these issues will be addressed in the next update to the SDK.


1 comment
10 |10000

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

What about the other issue I reported?

Second, for those Junction.N definitions that DO have options an error is reported in the console when building/resyncing. For instance, my FuelSelectorJunction has 5 options (Off, Left, Both, Right, Off) and I get the error:

[FuelSystem]Attempting to set junction FuelSelectorJunction to invalid option: (Is 0, should be 1 to 5)

Seems like the system is trying to set 0 index but junctions are expecting 1 index

0 Likes 0 ·

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.