Jump to content

Uneven thrust when converting and running engines


Recommended Posts

I noticed something while doing an asteroid capture with a craft that was also mining the asteroid at the same time;

If you run the liquid converter while running the engines, even though there is plenty of fuel available to all engines, 1 engine starts running at a lower thrust.

In my setup the craft has 3 LV-N engines and all run evenly and have equal access to the available fuel. But if I switch on the ore converter to generate liquid fuel while the engines are running then one engine starts running at a lower thrust. I noticed this in a slightly modded install, so I quickly threw together a very simple test craft in a stock install. I confess to adding in hyper-edit to save me the time of actually launching and getting up to the asteroid.

This is the test craft running it's engines while also producing liquid fuel. Note the flame on one engine is very much smaller. (in the second pic you can see on the context menu it's output is only about 8kN, should be 60kN.)

vCXGhGUl.jpgYavfVLul.jpg

The test craft has a central tank and 3 radial tanks which the engines are mounted to and fuel lines running from the central tank to the 3 radial.

- If the fuel is all in the central tank, then running the liquid converter doesn't seem to cause a problem, but if I move the fuel to be evenly distributed in the 3 radial tanks and then run the converter then one of the engines will run at a lower thrust.

Here is a save file with the test craft docked with an asteroid. It is setup so there is no fuel in the central tank and about 85l of liquid in each radial tank. All converters are switched off.

- Hit Z to start running the engines at full thrust => all engines work at full thrust as expected.

- switch on either the liquid or liquid+ox converter and one of the engines will drop to about 8kN thrust

- switch converter off and all engines will fire at full thrust again.

(the craft is not particularly well docked so it will spin when at full thrust, so I recommend putting the camera into locked mode)

QuickSave file

craft file

I have seen this before, a long time ago when playing with Kethane. Exactly the same thing happened when running the kethane converters while the engines where on power. This was ages ago, like back in 0.18.

Link to comment
Share on other sites

I had just the same bug! It might be that the engines take fuel from the small tanks while they are evenly filling up from the generator causing some sort of trouble?

I had 2 Nerv-engines on my craft, one on each side with the generator in the middle. An interesting effect I found was that if you used the thrust delimiter on the engine that worked fine the other (the faulty one) would get even lower output, suggesting that it's not necessarily that the generated fuel just goes to one engine and not the other.

Link to comment
Share on other sites

  • 3 weeks later...

This keep happening over and over on one of my crafts. The engine is KR-2L.

First I liftoff and get carried by solid boosters and KS-25x4

At ~30km I drop the first stage and engage KR-2L, I also start the ore converter for LFO (theres 240 ore in the craft at start)

At ~100km The engine power drops to 16.7kN and thats it. There is plenty of fuel left, adjusting thrust or thrust limiter has no effect, if I shut the engine off and on again, initially the thrust jumps to the correct value and then immediately back to 16.7kN again.

Doesn't happen if I don't start the ore converter but without the little extra fuel, I can't make my landing on minmus (the craft is designed to go straight there for initial refuel and then hop from moon to moon)

Link to comment
Share on other sites

I had a bug and found out what trigered it but thought it might be worth sharing it.

I started a craft from Minmus with ISRU unit still running (full ore tanks for a little bit extra fuel). After some time the thrust completely vanished. I could increase and decrease the thrust and the fire under the rocket was shown, but no fuel was consumed and no thrust produced. Then I tried to turn of the ISRU and then everything worked fine again.

KSP version: 1.03 for Linux, no mods

Link to comment
Share on other sites

This keep happening over and over on one of my crafts. The engine is KR-2L.

First I liftoff and get carried by solid boosters and KS-25x4

At ~30km I drop the first stage and engage KR-2L, I also start the ore converter for LFO (theres 240 ore in the craft at start)

At ~100km The engine power drops to 16.7kN and thats it. There is plenty of fuel left, adjusting thrust or thrust limiter has no effect, if I shut the engine off and on again, initially the thrust jumps to the correct value and then immediately back to 16.7kN again.

Doesn't happen if I don't start the ore converter but without the little extra fuel, I can't make my landing on minmus (the craft is designed to go straight there for initial refuel and then hop from moon to moon)

well, you could wait until you reach orbit to start the ISRU. I'm not sure it'll convert fast enough to get you the fuel you need before you hit Minmus anyway.

Link to comment
Share on other sites

Well, this certainly does look like a bug to me, I'm not aware of any deliberate restrictions that would cause this effect. The two threads should probably be merged as the chance of them being different bugs is vanishingly small.

Do either of you have an example craft file or a quicksave from just before take off in the Minmus case?

Link to comment
Share on other sites

Well not anymore, I ended up re-engineering the craft to work around the issue and saved over the old one, I'll try to recreate the issue though. So far I've figured out that 16.7kN is the amount of thrust the KR-2L can produce when limited to the amount of fuel that the ISRU can produce.

EDIT: nvm, I've reproduced the issue, test craft: http://www6.zippyshare.com/v/M2lMZVLa/file.html

1. Start the ISRU for LFO

2. Activate engine

notice how the top tank drains and bottom one isn't used as long as the ISRU remains active

Edited by hazarada
Link to comment
Share on other sites

I have had this issue too (it's actually a very old issue, long pre-dating stock mining, I used to have the same thing when running Kethane converters and engines at the same time.)

Well, this certainly does look like a bug to me, I'm not aware of any deliberate restrictions that would cause this effect. The two threads should probably be merged as the chance of them being different bugs is vanishingly small.

Do either of you have an example craft file or a quicksave from just before take off in the Minmus case?

Should probably also merge it with this thread that I started on this same issue. http://forum.kerbalspaceprogram.com/threads/123003-Uneven-thrust-when-converting-and-running-engines

There is a craft and quicksave in that thread. (and instructions on how to replicate)

Single engine craft don't seem to suffer this issue, seems to affect craft with radial mounted engines (possibly its the radially mounted fuel tanks that are the issue). What I found with the test craft in my thread is that if all the fuel is moved into the central tank then the problem doesn't occur, but if there is fuel in the radial tanks then running the converter will cause one engine to have a much lower thrust than the others. I have also seen setups where 2 out of 3 engines produce lower thrust.

Link to comment
Share on other sites

Right, so the engine is being deprived of fuel even though there is lots available. This sounds very much like the long-standing issue in Part.RequestResource where it often doesn't supply the full amount that is requested. This same bit of code has been implicated as the cause of several fairly serious issues now and the devs are aware of the problem so hopefully it will get fixed fairly soon.

Link to comment
Share on other sites

Marking as bug as this has happened a few times now, the only workaround is to not run engines and the ore converter simultaneously.

Thanks Sal!

Could you also merge this thread with this one I made about this same thing; http://forum.kerbalspaceprogram.com/threads/123003-Uneven-thrust-when-converting-and-running-engines

Also, I'm still a little unclear about the best way for reporting bugs; after Max's comment (sometime ago over the 1.0 release concerns) that the bug tracker had become an unmanageable mess, I've been very reluctant to add anything to it incase I'm duplicating on things. So I've just been reporting things to this sub forum. If you mark a thread as [bug] does that mean you've also added it to the main bug tracker, or should we do that? Should we be adding things to the tracker or is it best just to report them here and let you guys act as a filter?

Link to comment
Share on other sites

Okay I've merged them, as for the tracker yes it is a mess of non-bugs, duplicates, Unity issues, non-reproduceable crash reports, complaints about minor graphical glitches, issues caused by player hardware/software, solved issues never rechecked, intentional features reported as bugs and issues caused by addons.

The Exp team goes through all that and cleans up what they can, they also reproduce bugs and copy the real ones to another tracker, such as bugs like this one.

I mark it as a bug here so it's known that it's not something we can fix yet, and needs patching, so if you could add it to the tracker that'd be great.

Just please make your bug report as clear as possible, concise is good, and it's best to add reproduction steps that have a high chance of causing the issue to appear.

Include any logs you can, pics and vids of the issue help as well but logs are most important.

Here's an example of how I write mine:

____

Description

Memory use increases when a vessel overheats.

____

Reproduction

* Open the task manager.

* In KSP, Launch the Aeris 4A.

* Fly at about 12km and full speed until craft begins to show thermal effects.

____

Result

* Memory use will start to increase when the craft thermal effects and gauges are active.

* Memory use can continue to increase until game crashes.

* Memory stops increasing when vessel cools and thermal effects end.

____

Expected Result

* No increase in memory used.

____

Reproduction Attempts and Rate

Tested 8 times, 100% reproduction of memory increase, crashed from memory exhaustion twice.

____

Workarounds

Disabling PPFX edge highlighting showed no memory increase during overheat.

___

Tested On

Linux x86 and x86_64, Xubuntu 15.04, with Nvidia 346 driver.

___

Attachments:

KSP.Log

Player.log

Screenshot 1

Screenshot 2

Screenshot 3

Link to comment
Share on other sites

I have run through some scenarios in my head and this bug is definitely caused by the Part.RequestResource issue I mentioned in #11. This is already in Squad's internal bug tracker and has also recently been reported in the public tracker. Please add any info to this bug rather than creating a new one.

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...