-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for System Heat #7
Comments
I've been customizing my own install and found that System Heat seems to have an unusual resource input/output scheme that I haven't been able to write exponents for. The general form in the case of the reactor module is:
with The trouble is that I can't seem to select
But this does not affect fuel consumption and does not even produce any note in the log. Using
I've been able to modify other variables in that module, like the ElectricalGeneration curve, but not these. Is this an actual issue with TweakScale or am I just missing something obvious? UPDATE: SystemHeat is now necessary for all Near Future reactors after the recent NFE overhaul, so this issue may be a little more likely to crop up when people try scaling them now. Still haven't figured out a good answer on my side, though I haven't had much time. I'll keep poking around and thinking. |
Try using
|
No luck. This is on my main install; I'll see if I can get around to assembling a minimal test install for it at some point, but I wouldn't have thought this matters outside SystemHeat and its funky custom resource-handling code. Did it work for you? |
I didn't managed to get the time to test it yet. I will surely work on it on the weekend. |
I'm an idiot. The names of the variables are
I'm trying to check if this will at least work during the patching phase. |
On my end this fixes the log warnings when resizing things, but has no effect on actual fuel consumption rates in flight. |
Well... Bed time is already screwed. So... I'm trying to see what happens with the following hacked part:
I removed the |
Better. This is the whole setup for this test bed: Issue_7.zip The savegame is called There're two half-baked EC generators, reusing a Reactor CFG from NFE (but hacking it to use Stock model) and using There's a Radiator to get rid of hear and a Serenity Rotor to bleed EC. This test bed will allows us to focus only on the I will work further on this problem tomorrow night. |
In time, I'm using the following Exponent:
|
Yep, I think the last patch is working. The commit 7a43a6d gave me the following results: The fuel conversion is too small to be easily perceptible. We will probably need to further hack the |
It's working for electrical generation, but not for fuel consumption. That was why I brought this up; I got everything else working fine, but the only unusual part of Notice that the reactor on the right is running at about half power*, since it should be giving 5 x 2^3 = 40 EC/s and is outputting about 20 instead. Its stated core life, calculated from fuel consumption and storage, is about 16x that of the left reactor. Bringing it up to full power would make that 8x (200y instead of 25y). But it also stores eight times as much fuel, so it must be burning the fuel at the same rate. (My own results when timewarping, using the * You can force a reactor to output at 100% by clicking "Enable Manual Control" and dragging the Power Output slider to the right. That way the reactors don't autothrottle down to provide only as much as the rotor needs (5 + 20.4 + 1 from the clamp = 25.9 that the rotor draws + 0.5 for the TCS) and you can get rid of the rotor entirely since it won't matter, which is how I timewarped with these. |
I kinda forced the fuel consumption to work, but with weird results. My initial thought what the So I did the following test bed: Issue_7-2.zip Hit The fuel converting is happening differently, as expected. However not exactly as I was expecting. Since the new ratios are 1 to 1, I would expect the bigger Hacked RTG to convert 3 times more resources. But this wasn't what happened. And eyeballing the scaling code I noticed that they are being done on
Ideally nope, because the Ratios are scaled as well on the test subject - on "real life", the depletion of the uranium doesn't scales anyway, the Uranium conversion into depleted is directly proportional to the consumption, so for this specific use case the
Nice catch. I had completely forgot about this exception. I working on this. |
They are in the original, too. The reactor produces the same amount of waste as the amount of fuel it takes in.
I'm not sure what this is referring to. On the SystemHeat code I linked earlier, we can see that the And that's independent of And we can see in that screenshot that even though the two reactors are producing different amounts of electricity (after all, you have I would not think this is "realistic" in the slightest, hence why I am trying to scale |
Humm... A missed that code, sorry. I was thinking this thing would behave more or less as a resource converter. You appears to be right. On the other hand, the code you pinpointed on That class is the one having:
If we go to the
That's essentially the same thing - other than being I will debug this thing after lunch. The problem is something else, perhaps something related to life cycle - TweakScale may be trying to scale tha member before it was initialized. I will need to debug the |
And... You were right! The
Well... Trying to figure out why. |
Ow, Krap... I exhausted my hypothesis for bugs on TweakScale.
Everything is being created as expected. All types are being recognized as expected (I wondered if by some reason I will take a break and come back later. I'm afraid I'm going to debug |
I just ruled out
Note the TestBed: Issue_7-3.zip My next step is to determine why the
|
Given recent happenings involving Forum as well some Day Job© ones (man, Forum is not alone on the mess...), I didn't managed to find time to come back to this issue this week. |
https://forum.kerbalspaceprogram.com/topic/193909-112x-systemheat-a-replacement-for-the-coreheat-system-october-9/
The text was updated successfully, but these errors were encountered: