{"action":"created","issue":{"url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/304","labels_url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/304/labels{/name}","comments_url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/304/comments","events_url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/304/events","html_url":"https://github.com/DarkFenX/Pyfa/issues/304","id":90020048,"number":304,"title":"Cap Booster Overheating","user":{"login":"JoshuaNotowitz","id":8390690,"avatar_url":"https://avatars.githubusercontent.com/u/8390690?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshuaNotowitz","html_url":"https://github.com/JoshuaNotowitz","followers_url":"https://api.github.com/users/JoshuaNotowitz/followers","following_url":"https://api.github.com/users/JoshuaNotowitz/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaNotowitz/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaNotowitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaNotowitz/subscriptions","organizations_url":"https://api.github.com/users/JoshuaNotowitz/orgs","repos_url":"https://api.github.com/users/JoshuaNotowitz/repos","events_url":"https://api.github.com/users/JoshuaNotowitz/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaNotowitz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-22T06:02:37Z","updated_at":"2015-07-14T23:49:17Z","closed_at":null,"body":"![none overheated](https://cloud.githubusercontent.com/assets/8390690/8276282/2deda25c-1869-11e5-9bb1-a301273a45b0.png)\r\n![two overheating](https://cloud.githubusercontent.com/assets/8390690/8276284/2def7406-1869-11e5-83f4-b5cfc6c0fc81.png)\r\n![one overheated](https://cloud.githubusercontent.com/assets/8390690/8276283/2def30e0-1869-11e5-80fe-9ba6c8232d87.png)\r\n[Devoter, Titan Hunting]\r\n\r\n1600mm Steel Plates II\r\nReactive Armor Hardener\r\nArmor Thermic Hardener II\r\nArmor EM Hardener II\r\nInternal Force Field Array I\r\nCo-Processor II\r\nCo-Processor II\r\n\r\n10MN Afterburner II\r\nMedium Electrochemical Capacitor Booster I, Navy Cap Booster 800\r\nMedium Electrochemical Capacitor Booster I, Navy Cap Booster 800\r\n\r\nWarp Disruption Field Generator II, Focused Warp Disruption Script\r\nMedium Diminishing Power System Drain I\r\nMedium Diminishing Power System Drain I\r\nMedium Diminishing Power System Drain I\r\nSisters Expanded Probe Launcher, Sisters Combat Scanner Probe\r\nCynosural Field Generator I\r\n\r\nMedium Processor Overclocking Unit II\r\nMedium Trimark Armor Pump II\r\nThis is the fit used with 4 heavy neut II projected onto it"},"comment":{"url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/comments/121430469","html_url":"https://github.com/DarkFenX/Pyfa/issues/304#issuecomment-121430469","issue_url":"https://api.github.com/repos/DarkFenX/Pyfa/issues/304","id":121430469,"user":{"login":"BlckKnght","id":25556,"avatar_url":"https://avatars.githubusercontent.com/u/25556?v=3","gravatar_id":"","url":"https://api.github.com/users/BlckKnght","html_url":"https://github.com/BlckKnght","followers_url":"https://api.github.com/users/BlckKnght/followers","following_url":"https://api.github.com/users/BlckKnght/following{/other_user}","gists_url":"https://api.github.com/users/BlckKnght/gists{/gist_id}","starred_url":"https://api.github.com/users/BlckKnght/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlckKnght/subscriptions","organizations_url":"https://api.github.com/users/BlckKnght/orgs","repos_url":"https://api.github.com/users/BlckKnght/repos","events_url":"https://api.github.com/users/BlckKnght/events{/privacy}","received_events_url":"https://api.github.com/users/BlckKnght/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T23:49:17Z","updated_at":"2015-07-14T23:49:17Z","body":"I think the numbers being computed are right, if a bit strange. The reason the cap is stable at a lower level in the one-overheated case is that some of the time the two boosters both trigger at close to the same time. This means you  may waste some of the boost when the capacitor gets filled completely. Even if that's not happening, having the two boosts close together will mean the amplitude of the swings in cap will be larger. The stable percentage shown is the lowest the capacitor gets, so it's not too surprising that it's lower when there are big swings going on.\r\n\r\nWhen both cap boosters are in the same overheat state (both heated or both cold) they have the same cycle time, and so the staggering code (as fixed in the previous bug) avoids having the boosts happen close together. It's only when they have different cycle times because one is overheated and the other is not that their phase will shift around and sometimes they'll have a bunch of cycles nearly on top of each other.\r\n\r\nA real fix would require adding some new logic to the capacitor simulation code. For instance, it might delay using a cap charge until it sees that the next cap-draining module cycle will take it below the capacitor's max recharge level (or something, I've not thought too much about what an optimal algorithm would be). I suspect any such algorithm would be even harder to understand than the current code, which may mean it's not worth attempting."}}