Jump to content

KSP Interstellar Extended Continued Development Thread


FreeThinker

Recommended Posts

1 hour ago, Blackline said:

I just assumed, 1.25m reactor comes with 1.25m nozzle. More power (i.e. a 2.5m reactor) needs also a bigger nozzle. How do you know you are doing the right thing? Are there any hints ingame or a wiki or elsewhere on what nozzle to use? Do nozzles have a "rated power" ?

from what i know, they have maximum MW, so if you have reactor of 5GW, you put nozzle up to 5000MW...

i think now it's only for electric engines... however at low power it's better with smaller engines.

L.E. after testing  seems that bigger engine give more thrust at same power... i thought that the smaller evacuation the bigger pressure, but no.

Edited by Acvila
Link to comment
Share on other sites

1 hour ago, Blackline said:

I just assumed, 1.25m reactor comes with 1.25m nozzle. More power (i.e. a 2.5m reactor) needs also a bigger nozzle. How do you know you are doing the right thing? Are there any hints ingame or a wiki or elsewhere on what nozzle to use? Do nozzles have a "rated power" ?

Nozzles and reactor have a surface area that ideally should match for 100% heat transfer efficiency. When either is bigger than the other, you introduce a transfer efficiency loss, causing an engine to produce less power it could at full efficiency. However, the effect is less than you might think. I beleive it is something like 

heat_transfer_efficieny = sqrt (surface_engines / surface_reactor  )

 

Edited by FreeThinker
Link to comment
Share on other sites

 looks like anything with an active generator is having its total EC set to less than one which gets displayed as zero. 

its been happening since  at least 1.18.2

using 1.18.4 now nothing in the logs shows up and no errors since its doing exactly what it was told to do hehe. 

use rn_us_probes and the galileo since it has an active generator. In the vab everything looks okay has EC of 200

launch it and its EC goes to zero which is displayed as zero since its less than one. also the active generator instead of generating 2 EC is shown as generating .002MW

dont have to use that anything with an active generator should show the problem. 

also any chance of updating the change log? looks like its behind just a tad 12/14/17. 

oh yeah if I remove warp plugin the problem goes away. 

 

 

Edited by COL.R.Neville
Link to comment
Share on other sites

@FreeThinker

I was testing things yesterday and I realized something that we need in this.

Your modpack uses a unique electric resource called mega joules. Other electric propulsion systems use electric charge, but simply a lot of it. For example Near future propulsion uses power requirements in the thousands of ec/s. However even with antimatter 400gw reactors, because most of the power is actually mega joules and not ec, we can’t use nfp thrusters with interstellar reactors, even if the reactor would irl put out enough electricity to melt the biggest vasmir or mpd thruster. So here’s the solution I thought of. On your generator module why not add a mode switch button. The generators have three modes: mega joules, mega joules and ec, or metric s**t ton of ec. Obviously the less charged particles or thermal power would produce fewer ec/s, but if you could change to ec mode you could use futuristic power supplies in sizes and quantities that make sense.

 

Edit. Also where did the dusty reactor and the gas core reactor go? Those looked cool af.

Edited by ArmchairPhysicist
Link to comment
Share on other sites

29 minutes ago, ArmchairPhysicist said:

@FreeThinker

Your modpack uses a unique electric resource called mega joules. Other electric propulsion systems use electric charge, but simply a lot of it. For example Near future propulsion uses power requirements in the thousands of ec/s. However even with antimatter 400gw reactors, because most of the power is actually mega joules and not ec, we can’t use nfp thrusters with interstellar reactors, even if the reactor would irl put out enough electricity to melt the biggest vasmir or mpd thruster. So here’s the solution I thought of. On your generator module why not add a mode switch button. The generators have three modes: mega joules, mega joules and ec, or metric s**t ton of ec. Obviously the less charged particles or thermal power would produce fewer ec/s, but if you could change to ec mode you could use futuristic power supplies in sizes and quantities that make sense.

 
18

Wouldn't simply increasing the power buffer for EC fix it?  I believe it currently has a buffer of 1/1000 of its full capacity. THat should be enough to run 100 Near Future engines at the same time. I doubt your machine can handle that. Even better a simple MM script that replaced the Near Future Engine EC resource consumption by MJ resource. I thought I had already done that but I admit I haven't verified for several years now.

29 minutes ago, ArmchairPhysicist said:

Edit. Also where did the dusty reactor and the gas core reactor go? Those looked cool af.

2

Are they not visible in the Filter Extension Reactor submenu?

Edited by FreeThinker
Link to comment
Share on other sites

5 minutes ago, FreeThinker said:

Wouldn't simply increasing the power buffer for EC fix it? Even better a simple MM script that replaced the Near Future Engine EC resource consumption by MJ resource. I thought I had already done that but I admit I haven't verified for several years now.

Are they not visible in the Filter Extension Reactor submenu?

Is powerbuffer something I could do on my end? Unfortunately I only know enough scripting to break things.

I thought they might have been removed or something, then aren’t in the power tab and then don’t show up in the tech tree.

 

I do know what I’m doing when installing mods, but it’s possible I have a borked copy. I can always try redownloading the mod.

Edited by ArmchairPhysicist
Link to comment
Share on other sites

2 minutes ago, ArmchairPhysicist said:

Is powerbuffer something I could do on my end? Unfortunately I only know enough scripting to break things.

I thought they might have been removed or something, then aren’t in the power tab and then don’t show up in the tech tree.

 

I do know what I’m doing when installing mods, but it’s possible I have a borked copy. I can always try redownloading the mod.

try installing huge batteries for a start, just to try if it gets better.

Link to comment
Share on other sites

16 hours ago, COL.R.Neville said:

 looks like anything with an active generator is having its total EC set to less than one which gets displayed as zero. 

its been happening since  at least 1.18.2

using 1.18.4 now nothing in the logs shows up and no errors since its doing exactly what it was told to do hehe. 

use rn_us_probes and the galileo since it has an active generator. In the vab everything looks okay has EC of 200

launch it and its EC goes to zero which is displayed as zero since its less than one. also the active generator instead of generating 2 EC is shown as generating .002MW

dont have to use that anything with an active generator should show the problem. 

also any chance of updating the change log? looks like its behind just a tad 12/14/17. 

oh yeah if I remove warp plugin the problem goes away. 

 

 

@Arivald Ha'gel I think this might be an issue of the new resource buffers which were introduced with 1.18.2. We need to look into it

 

Link to comment
Share on other sites

2 hours ago, ArmchairPhysicist said:

Is powerbuffer something I could do on my end? Unfortunately I only know enough scripting to break things.

I thought they might have been removed or something, then aren’t in the power tab and then don’t show up in the tech tree.

 

I do know what I’m doing when installing mods, but it’s possible I have a borked copy. I can always try redownloading the mod.

see how many mj's its producing convert to ec and then change the config to make it make that many ec as well.  put a solar array next to the sun and watch it die from lack of ec. makes 12 ec but 40 billion mj. ec is ore  mj is karbonite. just the way ksp works. so yeah put a bunch of batteries and part count on it or just change the configs and call it a day. the whole ec mj thing has been a problem for years. looks like this resource thing they are trying to implement may finally solve it though but looks like its converting the ec to mj. so instead of 1100 ec the max amount of EC is getting set to the mj equivalent which is like .01100. but it also shouldnt be touching ships with no warp plugin parts on it either. 

Link to comment
Share on other sites

[EXC 22:27:06.881] NullReferenceException: Object reference not set to an instance of an object
	FNPlugin.AtmosphericIntake.UpdateAtmosphereBuffer ()
	FNPlugin.AtmosphericIntake.IntakeThatAir ()
	FNPlugin.AtmosphericIntake.FixedUpdate ()

lots of these on Ike, maybe everywhere with no atmosphere.

Link to comment
Share on other sites

1 minute ago, Blackline said:

[EXC 22:27:06.881] NullReferenceException: Object reference not set to an instance of an object
	FNPlugin.AtmosphericIntake.UpdateAtmosphereBuffer ()
	FNPlugin.AtmosphericIntake.IntakeThatAir ()
	FNPlugin.AtmosphericIntake.FixedUpdate ()

lots of these on Ike, maybe everywhere with no atmosphere.

I'll look into it also.

Link to comment
Share on other sites

25 minutes ago, ArmchairPhysicist said:

Any idea what the ec to mj math is? It wouldn’t be that hard to simply change the NF engines to accept mjs if it’s a simply as changing config files, assuming I know the ratio of ec to mj.

It is simply 1 MJ = 1000 EC

Edit: I think the problem is that the EC buffer doesn't take into account that MJ is a factor 100 less in NF mode. THerefore the solution is simply to adjust EC buffer size for NF mode

Edited by FreeThinker
Link to comment
Share on other sites

12 minutes ago, Blackline said:

https://github.com/sswelm/KSP-Interstellar-Extended/blob/2ecae985399e5bb4f8c8f31588f8a9dae6acee0f/FNPlugin/Collectors/AtmosphericIntake.cs#L107

That was pretty obvious (really just a single line in there). I'm looking into WHY it's not initialized.

 

I can't reproduce the issue. @Blackline Could you tell me which Intake are you using?

Edited by Arivald Ha'gel
Link to comment
Share on other sites

36 minutes ago, Arivald Ha'gel said:

That was pretty obvious (really just a single line in there). I'm looking into WHY it's not initialized.

 

I can't reproduce the issue. @Blackline Could you tell me which Intake are you using?

2 supersonic intakes (the spikey ones) followed by 2 precoolers, all 1.25m.

Might be that one:

// if _moduleResourceIntake is null there SHOULD be an exception - and it's a good thing.

Edited by Blackline
Link to comment
Share on other sites

On 4/4/2018 at 11:06 PM, COL.R.Neville said:

 looks like anything with an active generator is having its total EC set to less than one which gets displayed as zero. 

its been happening since  at least 1.18.2

using 1.18.4 now nothing in the logs shows up and no errors since its doing exactly what it was told to do hehe. 

use rn_us_probes and the galileo since it has an active generator. In the vab everything looks okay has EC of 200

launch it and its EC goes to zero which is displayed as zero since its less than one. also the active generator instead of generating 2 EC is shown as generating .002MW

dont have to use that anything with an active generator should show the problem. 

also any chance of updating the change log? looks like its behind just a tad 12/14/17. 

oh yeah if I remove warp plugin the problem goes away. 

 

 

It will be fixed in next release. I have changed buffers for Solar Panels, NFE Generator and Stock Generator into unified implementation of what was not that long time ago.

But we are working with @FreeThinker on removing variable EC/MJ/ThermalPower/ChargedPower/WasteHeat buffers altogether.

Link to comment
Share on other sites

1 hour ago, Blackline said:

2 supersonic intakes (the spikey ones) followed by 2 precoolers, all 1.25m.

I have found the issue. Pre-Cooler was the problem, and because of exception in OnStart. Regression was introduced when MM scripts were created for AtmosphericIntakes. ModuleResourceIntake module is specifically removed for Pre-Cooler. I'll add some null guards for now, but most likely it should be fixed with some MM script magic.

Edited by Arivald Ha'gel
Link to comment
Share on other sites

On 30-3-2018 at 8:44 AM, Acvila said:

i saw that first time in 1.4.1, i also think it's a bug, because without radiators and increasing reactor heat disappear... also, solid fuel fission reactor doesn't provide any thermal power to thermal engines. however for now just increase reactors size and attach them to wings...

2

To be clear, the solid fuel fission reactor is a cheap first generation fission reaction without the capability to be used for thermal propulsion like the more advanced molten salt reactor. It Can only provide Electric power. In this sense it quite similar to reactors parts for KSP.

Edited by FreeThinker
Link to comment
Share on other sites

1 hour ago, Blackline said:

@Arivald Ha'gel @FreeThinker Btw, i cloned your GIT and it built all the way through on the first time. GZ for such a tidy project!

It's great to read such praise. Sadly I'm a recent addition to this mod and I haven't earned my merits yet :)

Thank you for power boost - I'll be starting to work on centralized resource management (consumption/production) which will allow us to remove variable buffers completely.

Link to comment
Share on other sites

1 hour ago, Arivald Ha'gel said:

It's great to read such praise. Sadly I'm a recent addition to this mod and I haven't earned my merits yet :)

Thank you for power boost - I'll be starting to work on centralized resource management (consumption/production) which will allow us to remove variable buffers completely.

You are welcome. I had that problem as well with my mod, and I am using @Nertea's dynamic battery storage mod. It's somehow close to what KSPI-E is doing I think.

What's your plan for such a resource broker? No one did such a thing yet. Would you overwrite the stock requestResource method and catch all requests? Is that possible? Will you change effect all resources?

Edited by Blackline
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...