Jump to content

[1.12.x] System Monitor: electrical planning and timewarp compensation (September 1)


Nertea

Recommended Posts

15 hours ago, Nertea said:

I still see the issue in OPT_Reconfig/CRP/OPT_WBI_Extra.cfg in the cache. Since you have OPT parts in your screenshot, I think this is the one...

Hope this time I fixed everything ..... :confused:

Still doesn't seem to work ......

14 hours ago, JadeOfMaar said:

@Nertea For the situation of DBS and the abundant ElectricCharge storage, the root of the problem has to be that DBS does not agree with Angel-125's tank switcher module. (One of the OPT cargo bays must be set as a battery bank.) For the situation of the empty Thermal UI tab, the OPT cargo bays have radiator modules in them but no System Heat patch exists for them.

Setting the cargo bay as the battery and starting the radiator does not seem to produce an error.

I tested other OPT fuel tanks and it seems that every fuel tank of the OPT Cryo variant causes this error. However, the fuel tank set by OmniStorage will not cause this problem (maybe because there is no'ModuleCryoTank'? Because I don't see the option to use cooling.)

Switching variants in flight can stop the problem, but the fuel tank after switching is broken (cannot refuel from other parts).

0SZGgjO.png

ERxksRb.png

Log and MM Cache: https://drive.google.com/drive/folders/1f9etewKIiOIMh5MokO1keLPl9FLG-sWK?usp=sharing

 

Edited:

Here we have something interesting: I removed SimpleBoiloff.dll from my game file and  got some different errors(although may not related to current problems).

ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 
  at KSP_PostProcessing.KS3P.Register (KSP_PostProcessing.PostProcessingBehaviour target, KSP_PostProcessing.KS3P+Scene targetScene) [0x0003b] in <bb2fd8f8ad734dc2942fba7f08d5db69>:0 
  at KSP_PostProcessing.Operators.FlightOperator.Update () [0x0002e] in <bb2fd8f8ad734dc2942fba7f08d5db69>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
 
(Filename: <ad04dee02e7e4a85a1299c7ee81c79f6> Line: 0)

Log and MM Cache: https://drive.google.com/drive/folders/1puaYEgdfUFVkTIK4aVdBVWt53izs0S9c?usp=sharing

Edited by Dr.Lxweei
Link to comment
Share on other sites

@Dr.Lxweei I can't say that I support the OPT/WBI Cryo tank options anymore. I've rewritten all of OPT's WBI integration (but not released yet) and any references to the boiloff plugin no longer apply when Pathfinder is installed. So simply delete the boiloff references from the configs in your install. If you still get problems then it's time to pick apart your install.

Also, your exception snippet mentions the visual mod, KS3P. I wonder why you have KS3P and TUFX installed together? I highly recommend you don't do that.

Link to comment
Share on other sites

10 hours ago, JadeOfMaar said:

@Dr.Lxweei I can't say that I support the OPT/WBI Cryo tank options anymore. I've rewritten all of OPT's WBI integration (but not released yet) and any references to the boiloff plugin no longer apply when Pathfinder is installed. So simply delete the boiloff references from the configs in your install. If you still get problems then it's time to pick apart your install.

Also, your exception snippet mentions the visual mod, KS3P. I wonder why you have KS3P and TUFX installed together? I highly recommend you don't do that.

Thanks for your help! I remove SimpleBoiloff.dll from my game already and there is no error messages about DBS anymore. I may reinstall it when you releases next update. 

I will remove TUFX to see if its getting better, no idea of they don't like each other . . .

OPT and Nertea's mods are always my favours mods, really don't want to play KSP without any of them. :D

Thanks for so many effort you guys paid for these fascinating mods!

Link to comment
Share on other sites

  • 1 month later...
41 minutes ago, Nertea said:

DBS 2.2.1

  • Marked for KSP 1.11.x
  • When altitude is set to 0 in the solar panel UI planner, time displayed will be the body's time in eclipse

Download link in first post here is https://github.com/ChrisAdderley/post-kerbin-mining-corporation/releases and it seems to be incorrect(maybe, opens just for you). Found the mod on https://github.com/post-kerbin-mining-corporation/DynamicBatteryStorage/releases

Link to comment
Share on other sites

  • 3 weeks later...
On 10/31/2020 at 3:22 AM, Lathari said:

Would it be possible to have an option to add user defined EC drains to simulation? This a way you could manually add unsupported parts and check battery endurance.

This seems like something that could be useful

Link to comment
Share on other sites

  • 2 weeks later...
On 1/9/2021 at 3:37 AM, EnderKid2 said:

This seems like something that could be useful

Agreed; if this mod had such a feature, I wouldn't need Fusebox anymore for working out whether my SCANSat probes have enough battery life to make it through their time in eclipse.

Link to comment
Share on other sites

32 minutes ago, Sokar408 said:

Are Dynamic Battery Storage necessary for your mods which has it attached? I trying to play with USL LS, but it seems to be messing with it.

No strictly however I won't support your install without them and you *will* see issues. 

I am really not aware of any compatibility issues with other mods - this mod typically just doesn't work instead of breaking other mods. 

Link to comment
Share on other sites

2 hours ago, Nertea said:

No strictly however I won't support your install without them and you *will* see issues. 

I am really not aware of any compatibility issues with other mods - this mod typically just doesn't work instead of breaking other mods. 

The problem is that at warp speeds higher than 100x, the electric charge drain completely stops. I noticed it on my first fly by of mun. I was suppose to barely make it back, and I made it with basically full charge (and with no solar panels, or other ways to recharge). As electric charge is one dimension of life support, this makes it a lot easier to make man missions. Is there any "easy" workaround for this?

On a other note; Thanks for all the mods!

Link to comment
Share on other sites

5 hours ago, Sokar408 said:

The problem is that at warp speeds higher than 100x, the electric charge drain completely stops. I noticed it on my first fly by of mun. I was suppose to barely make it back, and I made it with basically full charge (and with no solar panels, or other ways to recharge). As electric charge is one dimension of life support, this makes it a lot easier to make man missions. Is there any "easy" workaround for this?

 

This kind of behaviour seems unlikley to come from this mod, it does not affect consumption or production at all! Can you provide me with some reproduction steps, logs, etc?

Link to comment
Share on other sites

39 minutes ago, EnderKid2 said:

I have noticed similar behavior, where if I timewarp fast enough, electricCharge drains much slower. All I can think of that might interact weirdly is BetterTimewarp

I do not use this mod though.

3 hours ago, Nertea said:

This kind of behaviour seems unlikley to come from this mod, it does not affect consumption or production at all! Can you provide me with some reproduction steps, logs, etc?

Reproduction: Basically just make anything and launch it. It happens on all vessels. I made a short video which show whats going on:

I have also attached logs (didn't know which one you wanted, so I attached output, player, and KSP.)

https://www.dropbox.com/s/bn440joa16idnkz/logs.zip?dl=0

I also compiled a list of mods that I have installed. If there is anything I can provide, let me know.

 Volume in drive D is Programs
 Volume Serial Number is 8249-42F5

 Directory of D:\Games\Steam\steamapps\common\Kerbal Space Program\GameData

23/01/2021  09:56    <DIR>          .
23/01/2021  09:56    <DIR>          ..
20/01/2021  09:36    <DIR>          000_AT_Utils
26/12/2020  18:51    <DIR>          000_ClickThroughBlocker
20/01/2021  09:36    <DIR>          000_USITools
22/12/2020  20:32    <DIR>          001_ToolbarControl
27/12/2020  13:27    <DIR>          B9PartSwitch
20/01/2021  09:36    <DIR>          CommunityCategoryKit
26/12/2020  18:46    <DIR>          CommunityResourcePack
26/12/2020  18:22    <DIR>          CommunityTechTree
27/12/2020  13:27    <DIR>          CryoTanks
27/12/2020  13:27    <DIR>          DeployableEngines
27/12/2020  13:27    <DIR>          DynamicBatteryStorage
22/12/2020  20:30    <DIR>          EditorExtensionsRedux
27/12/2020  13:27    <DIR>          FarFutureTechnologies
20/01/2021  09:36    <DIR>          Firespitter
21/01/2021  15:36    <DIR>          FMRS
21/12/2020  20:14    <DIR>          GroundConstruction
10/01/2021  21:29    <DIR>          HeatControl
27/12/2020  13:47    <DIR>          HideEmptyTechTreeNodes
27/12/2020  13:29    <DIR>          KerbalAtomics
27/12/2020  13:31    <DIR>          KerbalAtomicsLH2NTRModSupport
28/12/2020  08:34    <DIR>          Kerbaltek
25/12/2020  12:10    <DIR>          Kopernicus
23/01/2021  09:56                 0 ListOfMods.txt
19/01/2021  19:09    <DIR>          MechJeb2
25/12/2020  12:10    <DIR>          ModularFlightIntegrator
07/01/2021  09:19           141,312 ModuleManager.4.1.4.dll
22/01/2021  20:55         9,544,009 ModuleManager.ConfigCache
22/01/2021  20:55           368,184 ModuleManager.ConfigSHA
22/01/2021  20:55             9,163 ModuleManager.Physics
22/01/2021  20:55            67,350 ModuleManager.TechTree
04/07/2020  04:10               719 ModuleManagerLicense.md
19/01/2021  19:08    <DIR>          NearFutureAeronautics
27/12/2020  13:32    <DIR>          NearFutureConstruction
27/12/2020  13:31    <DIR>          NearFutureElectrical
27/12/2020  13:34    <DIR>          NearFutureExploration
27/12/2020  13:36    <DIR>          NearFutureLaunchVehicles
27/12/2020  13:36    <DIR>          NearFutureProps
27/12/2020  13:28    <DIR>          NearFuturePropulsion
27/12/2020  13:31    <DIR>          NearFutureSolar
27/12/2020  13:36    <DIR>          NearFutureSpacecraft
12/01/2021  15:59    <DIR>          Parallax
12/01/2021  15:59    <DIR>          Parallax_StockTextures
22/12/2020  20:38    <DIR>          RCSBuildAid
12/01/2021  15:57    <DIR>          scatterer
27/12/2020  13:27    <DIR>          SpaceDust
22/12/2020  20:27    <DIR>          Squad
22/12/2020  20:27    <DIR>          SquadExpansion
27/12/2020  13:27    <DIR>          SystemHeat
21/01/2021  15:55    <DIR>          SystemHeatConverters
21/01/2021  15:55    <DIR>          SystemHeatFissionEngines
21/01/2021  15:55    <DIR>          SystemHeatFissionReactors
21/01/2021  15:55    <DIR>          SystemHeatHarvesters
12/01/2021  16:06    <DIR>          TextureReplacer
26/12/2020  18:35    <DIR>          TriggerTech
20/01/2021  09:36    <DIR>          UmbraSpaceIndustries
27/12/2020  13:27    <DIR>          Waterfall
19/01/2021  19:08    <DIR>          WildBlueIndustries
               7 File(s)     10,130,737 bytes
              52 Dir(s)  86,141,788,160 bytes free

 

Edited by Sokar408
Link to comment
Share on other sites

7 hours ago, Sokar408 said:

I do not use this mod though.

Reproduction: Basically just make anything and launch it. It happens on all vessels. I made a short video which show whats going on:

I have also attached logs (didn't know which one you wanted, so I attached output, player, and KSP.)

https://www.dropbox.com/s/bn440joa16idnkz/logs.zip?dl=0

I also compiled a list of mods that I have installed. If there is anything I can provide, let me know.



 Volume in drive D is Programs
 Volume Serial Number is 8249-42F5

 Directory of D:\Games\Steam\steamapps\common\Kerbal Space Program\GameData

23/01/2021  09:56    <DIR>          .
23/01/2021  09:56    <DIR>          ..
20/01/2021  09:36    <DIR>          000_AT_Utils
26/12/2020  18:51    <DIR>          000_ClickThroughBlocker
20/01/2021  09:36    <DIR>          000_USITools
22/12/2020  20:32    <DIR>          001_ToolbarControl
27/12/2020  13:27    <DIR>          B9PartSwitch
20/01/2021  09:36    <DIR>          CommunityCategoryKit
26/12/2020  18:46    <DIR>          CommunityResourcePack
26/12/2020  18:22    <DIR>          CommunityTechTree
27/12/2020  13:27    <DIR>          CryoTanks
27/12/2020  13:27    <DIR>          DeployableEngines
27/12/2020  13:27    <DIR>          DynamicBatteryStorage
22/12/2020  20:30    <DIR>          EditorExtensionsRedux
27/12/2020  13:27    <DIR>          FarFutureTechnologies
20/01/2021  09:36    <DIR>          Firespitter
21/01/2021  15:36    <DIR>          FMRS
21/12/2020  20:14    <DIR>          GroundConstruction
10/01/2021  21:29    <DIR>          HeatControl
27/12/2020  13:47    <DIR>          HideEmptyTechTreeNodes
27/12/2020  13:29    <DIR>          KerbalAtomics
27/12/2020  13:31    <DIR>          KerbalAtomicsLH2NTRModSupport
28/12/2020  08:34    <DIR>          Kerbaltek
25/12/2020  12:10    <DIR>          Kopernicus
23/01/2021  09:56                 0 ListOfMods.txt
19/01/2021  19:09    <DIR>          MechJeb2
25/12/2020  12:10    <DIR>          ModularFlightIntegrator
07/01/2021  09:19           141,312 ModuleManager.4.1.4.dll
22/01/2021  20:55         9,544,009 ModuleManager.ConfigCache
22/01/2021  20:55           368,184 ModuleManager.ConfigSHA
22/01/2021  20:55             9,163 ModuleManager.Physics
22/01/2021  20:55            67,350 ModuleManager.TechTree
04/07/2020  04:10               719 ModuleManagerLicense.md
19/01/2021  19:08    <DIR>          NearFutureAeronautics
27/12/2020  13:32    <DIR>          NearFutureConstruction
27/12/2020  13:31    <DIR>          NearFutureElectrical
27/12/2020  13:34    <DIR>          NearFutureExploration
27/12/2020  13:36    <DIR>          NearFutureLaunchVehicles
27/12/2020  13:36    <DIR>          NearFutureProps
27/12/2020  13:28    <DIR>          NearFuturePropulsion
27/12/2020  13:31    <DIR>          NearFutureSolar
27/12/2020  13:36    <DIR>          NearFutureSpacecraft
12/01/2021  15:59    <DIR>          Parallax
12/01/2021  15:59    <DIR>          Parallax_StockTextures
22/12/2020  20:38    <DIR>          RCSBuildAid
12/01/2021  15:57    <DIR>          scatterer
27/12/2020  13:27    <DIR>          SpaceDust
22/12/2020  20:27    <DIR>          Squad
22/12/2020  20:27    <DIR>          SquadExpansion
27/12/2020  13:27    <DIR>          SystemHeat
21/01/2021  15:55    <DIR>          SystemHeatConverters
21/01/2021  15:55    <DIR>          SystemHeatFissionEngines
21/01/2021  15:55    <DIR>          SystemHeatFissionReactors
21/01/2021  15:55    <DIR>          SystemHeatHarvesters
12/01/2021  16:06    <DIR>          TextureReplacer
26/12/2020  18:35    <DIR>          TriggerTech
20/01/2021  09:36    <DIR>          UmbraSpaceIndustries
27/12/2020  13:27    <DIR>          Waterfall
19/01/2021  19:08    <DIR>          WildBlueIndustries
               7 File(s)     10,130,737 bytes
              52 Dir(s)  86,141,788,160 bytes free

 

Can't reproduce it. See below, everything performs as expected.

Y6oQAFz.png

sKbrIFw.png

I strongly suspect Kopernicus here, it's about the only major difference between our installs. Can you confirm if this goes away with DBS not present (but same list?). 

Also suggest you update SystemHeat to the latest version to stop its log mess ;).

Edited by Nertea
Link to comment
Share on other sites

2 hours ago, Nertea said:

Can't reproduce it. See below, everything performs as expected.

Y6oQAFz.png

sKbrIFw.png

I strongly suspect Kopernicus here, it's about the only major difference between our installs. Can you confirm if this goes away with DBS not present (but same list?). 

Also suggest you update SystemHeat to the latest version to stop its log mess ;).

I can confirm that the problem remains after removing DBS. However at no point does the power flow or heat flow change in my setup. I haven't had any luck using ckan since I returned to the game, so its all manually installed. I'll try to reinstall everything, and report back if it fixes it.

Link to comment
Share on other sites

After scrubbing all mods down to just USL LS, I found that this problem only exists for the life support EC drain of the Kerbals. Probe cores and other types of EC drain remains steady. I apologize for involving you, as it seems to be directly related to how USL works. I saw the DBS setting for warp in the config file, and drew a wrong conclusion.

Link to comment
Share on other sites

7 hours ago, Sokar408 said:

After scrubbing all mods down to just USL LS, I found that this problem only exists for the life support EC drain of the Kerbals. Probe cores and other types of EC drain remains steady. I apologize for involving you, as it seems to be directly related to how USL works. I saw the DBS setting for warp in the config file, and drew a wrong conclusion.

odd, I'm not using life support and I'm getting weird behavior...

Link to comment
Share on other sites

14 hours ago, EnderKid2 said:

odd, I'm not using life support and I'm getting weird behavior...

Turned out that what I was seeing is stock behavior. I tried removing all mods and the problem persisted. Roverdude confirmed (on the USL mod page) that it is stock converter behavior. 

Link to comment
Share on other sites

  • 4 weeks later...

DynamicBatteryStorage 2.2.2

  • Fixed a loading log message not being gated behind debug correctly
  • Fixed ModuleSystemHeatRadiator not showing legacy heat properties in the Thermal tab
  • Added a new VAB planning feature which allows manual entry of things into the simulation
Link to comment
Share on other sites

@NerteaVery nice mod, very easy to understand. I use to use Fusebox years ago, it was nice but took a minute to get a clear understanding, it also seem to kill some FPS on bigger builds. I tried AmpYear, but did not like the extra parts, I just wanted some readout for e/c during flight, what is consuming and how much is being used. Same when building a craft, I wanted to know if I had enough power generation. Your mod hits all points a lovely addition.

Link to comment
Share on other sites

  • 1 month later...

Was chasing a bug between DBS, CryoTanks, and MKS pre-release which sent the game into a spinning spiral of NRE loop death. Since the console reports it as ostensibly coming from DBS, chances are someone will look for a solution here (like I did). 

Turns out it's actually unrelated to DBS or CryoTanks, just a matter of some duplicate patch files in USI Core adding duplicates of ModuleCryoTank - see here. (Edit: and here too :) )

Edited by Grimmas
Link to comment
Share on other sites

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