v0.3.0
WARNING
[b] IN DEVELOPMENT [/b]
[list]
[*] Should be compatible with lots of mods now. If you find any bug, please report it soon in the discussion.
[*] !! Could be added to save games, but I don't recommend doing so !!
[*] !! if you still want to add this mod to your save games but are using Vanilla and Vanilla Extended batteries, please deconstruct them first before adding this mod!!
[/list]
What this mod does
[b] Overhaul batteries in general: [/b]
[list]
[*] Add a limit on the amount of power the battery can receive at a time. This will be used to calculate heat generated by the battery. This limit shrinks with the battery's charge.
[*] Add a limit on the amount of power the battery can discharge at a time (same as above but the function used is different).
[/list]
[b] Charging and discharging batteries now generates heat [/b]
[list]
[*] Charging :
[img]https://i.postimg.cc/mZSpMG37/equaimage.png[/img]
[*] Discharging:
[img]https://i.postimg.cc/j2SPVx6y/equaimage-2.png[/img]
[img]https://i.postimg.cc/vTyMDT26/equaimage-1.png[/img]
with a = P/Pmax
[*] Discharging will take more power than normal (up to 2 times more), relative to the power limit.
[/list]
[b] Battery now has internal temperature [/b]
[list]
[*] Battery has relative heat capacity compared to Rimworld Air.
[*] Batteries will exchange heat with the environment. Putting batteries indoors will cause them to exchange heat with the room.
[*] Battery can overheat or freeze. (they cannot charge or discharge while being too hot or too cold). Leaving batteries unregulated during heatwaves or cold snaps is a bad idea.
[img]https://i.postimg.cc/5tQQdvSb/image-2021-06-20-132202.png[/img][img]https://i.postimg.cc/dVkVLFk9/image-2021-06-20-132327.png[/img]
[*] [b]When overheating (freezing), the battery's internal temperature must reach 5 degrees below(above) maximum(minimum) operating temperature before it can operate again.[/b]
Short circuit
[*] Short circuits under rainy weather will push battery internal temperature up to 50C(It should cool down quickly)
[*] [b] short circuits in large explosions will discharge all of the stored energy, and PUSH internal temperature up to 100C.[/b] So if you decided to put batteries indoor, be careful or your entire base will become a human bakery after one incident.
[*] [b] New!![/b] When the internal temperature rises above 50C, heat will be radiated away (black body radiation equation)
[*] [b] New!![/b] While the battery is burning, its internal temperature will increase by 1C every second.
[/list]
Added more types of batteries
[b]Primary(non-rechargeable) batteries:[/b] They have 100% capacity right after build, but cannot be charged, or can only be partially recharged once. Currently, there are 3 types:
[list]
[*] Voltaic pile.
[*] Daniell cell. (can be recharged partially)
[*] Zinc Air
[/list]
[b]Rechargeable batteries:[/b] Charging this type will now degrade it. Color represents the health of batteries (Green - Good health; Yellow = Ok; Orange to Red = Bad health). Currently, there are 3 types:
[list]
[*] Lead Acid. (First rechargeable battery)
[*] Lithium Cobalt. (Hold 7 times more charge compared to lead-acid, but research path is much more costly)
[*] Nickel-Iron. (Hold 2 times more charge compared to lead-acid, researching is easier)
[/list]
[b] More battery sizes to choose from[/b]
Spreadsheet
[url=https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F14CSm7eMx8Lo2xeLRq-9KQ6iZ9Jm-cmsUq8MlElm7bVA%2Fedit%3Fusp%3Dsharing]https://docs.google.com/spreadsheets/d/14CSm7eMx8Lo2xeLRq-9KQ6iZ9Jm-cmsUq8MlElm7bVA/edit?usp=sharing[/url]
Compatibility
Fully functional batteries include:
[list]
[*] Rimatomics PPC banks
[*] Terran's Security Building
[*] Backup Power
[*] Vanilla and vanilla extended batteries.
[/list]
Planned
[list]
[*] [b]Broken Primary Batteries will automatically be ordered to be deconstructed.[/b]
[*] More type and more size of batteries.
[*] More balance.
[*] Add internal emergency heater/cooler for extreme environment.
[/list]