Jump to content

Xenon Fuel Routing / Priority


Recommended Posts

Solved (TL-DR) - Exactly as stated by Kasuha:

Xenon and Monopropellant scans go from root part and count how many decouplers have they passes. Tanks behind the most decouplers are drawn first. Decoupler orientation does not matter as well as it does not matter whether it is an inline or radial decoupler. Docking ports don't count.

So.... somewhere along the line in my adventures I once realized that an Ion ship of mine had actually bled out the Xenon cell of one docked part before another.

I desperately want to repeat this occurrence and be able to guide Xenon use in some way. I have been experimenting tons, but cannot get that situation to repeat. Everything I do, Xenon expends evenly across the entire craft.

Does anyone know any way to affect the evenly distributed use of Xenon? I could swear I had one ship exhibit the behavior of sapping one docked-on cell without using any of its own fuel without disabling the onboard tanks the traditional way (to my great surprise). If I had known it would be impossible to replicate, I would have kept it around.

Edited by Camaron
Link to comment
Share on other sites

In 0.23.5, they gave monopropellant and xenon a new flow mode called StagePriorityFlow that tries to use tanks in earlier (higher-numbered) stages first. Since parts keep their stage numbers when docked, you might have docked two components that had xenon tanks in different stages.

Link to comment
Share on other sites

It doesn't depend on staging.

Xenon and Monopropellant scans go from root part and count how many decouplers have they passes. Tanks behind the most decouplers are drawn first. Decoupler orientation does not matter as well as it does not matter whether it is an inline or radial decoupler. Docking ports don't count.

Link to comment
Share on other sites

It doesn't depend on staging.

Xenon and Monopropellant scans go from root part and count how many decouplers have they passes. Tanks behind the most decouplers are drawn first. Decoupler orientation does not matter as well as it does not matter whether it is an inline or radial decoupler. Docking ports don't count.

Interesting. Are you planning to share your testing results like your Fuel Flow Rules tutorial? I've found that tutorial immensely useful, and now that ions are more useful it would be great to have a similar reference for xenon.

Link to comment
Share on other sites

Are you planning to share your testing results like your Fuel Flow Rules tutorial?

I'm planning it for some time now but I did not get over my laziness to actually do it (and perform all necessary experiments to document all my conclusions).

Link to comment
Share on other sites

Couldn't you just stop flow by clicking the little arrow at the end of the resource bar on the right click menu for the xenon tank? That would stop flow from that tank...

Yes, but when you're managing over a hundred tiny Xenon tanks, this can be a huge PITA.

I will experiment with the decoupler-based tip. Maybe Xenon tanks that were once behind a decoupler but no longer are, retain this priority. IIRC about the built that I caused the priority with originally, this is a huge possibility. Even if the tanks lose their priority after decoupling, maybe I can force them to retain it by designing a decoupler right into each cluster as necessary.

Link to comment
Share on other sites

Based on Kasuha's tip, I've decoded the basics. As he had said, decouplers trigger Xenon priorities. A Cluster which is behind a decoupler is expended first. A Cluster which was decoupled, and redocked, Does not continue to maintain a priority. A cluster which cleverly contains a decoupler solely as a trigger for the priorites, does exhibit the routing behavior, which resumes as intended even if the cluster is undocked and then redocked.

Verdict: Spare Xenon Cells will expend their gas in the correct sequence, so long as each cluster has a decoupler in front of the actual Xenon parts within that component.

I feel safe to assume that you could daisy-chain numerous Xenon clusters as long as they contain a decoupler, and get the desired behavior. I have not tested chains, so I cannot confirm right now. I have not tested whether separators also have this behavior. It wouldn't matter to me personally, given that they are heavier.

Edit: I've just tested multiple layers of decoupler-inclusive Xenon clusters. They behave as expected, and priority seems to be granted through a very straightforward countup of how many decouplers are in front of them. The xenon groups with the highest number of decouplers in front of them are first. if you have more than one cluster with the same number of decouplers ahead of them (like a right wing - left wing formation) they share that priority space and expend simultaneously.

Edited by Camaron
Link to comment
Share on other sites

I can think of some scenarios in which decoupler count could trip up the intended draining/staging sequence. Imagine a ship with three stacks of an equal number of decoupler separated xenon tanks, with one mounted axially to the main ship and two mounted radially. The engines are mounted radially to the ship's core, separate from the fuel stacks. The player might want to stage away all the pairs of tanks in the radial stacks before starting to work down the axially mounted stack, but the flow behavior would mean that tanks in the central stack would start draining before all the ones in the radial stacks are drained.

Even asparagus staging would be confused by decoupler count. Six tanks attached by radial decouplers to a core tank would drain evenly (I think, haven't tested) even if they are staged in pairs, because they are the same number of decouplers away from the root part.

Link to comment
Share on other sites

My last post was just now edited to address most of that. If you want a three levels of Xenon cells on the radial wings to drain before the axial ones, you will simply need some extra decouplers to boost their priority. A little muddy, but from my testing it should work perfectly. Priority literally equals the number of decouplers between the Xenon tank and the ship's root part.

Link to comment
Share on other sites

If I understand you correctly, you can stack multiple decouplers together between the root part and the tank stacks that are intended to be used first, to raise their decoupler count above that of the axial stack. Is that right? So you can pay a smallish mass penalty in decouplers to have the fuel flow follow the desired order?

Link to comment
Share on other sites

Yes, from my understanding, that is exactly correct, Red. You could probably clip the decouplers together a bit, too, but that might (probably will) provoke the Kraken. Also, remember that radial decouplers also count. Docks could be used instead of decouplers in some places to avoid excessive decouplers, since they don't count.

Link to comment
Share on other sites

I saw your OP edit, I'm fairly sure the rules for battery drain haven't changed like monopropellant and xenon (i.e. all batteries drain equally regardless of staging).

Yes, batteries did not change, I tested that together with monopropellant. And I assume intake air did not change as well, as both are rechargeable resources.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...