Solar Calculator


Adds a solar power calculator that can calculate how much power your solar panels provide on average. Or calculate how many panels and accumulators you need to provide the desired power. Supports modded panels and accumulators, quality and DLC planets (future Space Exploration update to 2.0 most likely won't work)

Utilities
6 hours ago
1.0 - 2.0
66.7K
Owner:
Kaktusbot
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
3 years ago
Latest Version:
0.5.32 (6 hours ago)
Factorio version:
1.0 - 2.0
Downloaded by:
66.7K users

Notes

  • I expect the 0.5.X ver of solar-calc to be extremely buggy, so please report any bugs.

Due to various API changes introduced in factorio 2.0 a few things were broken for the mod:

  1. You can now select the same entity multiple times in a block due to how 'choose-elem-button-with-quality' works.
  2. It is impossible to get the capacity of the quality accumulators through the API, so it simply works by formula "base_cap * (quality.level + 1)", which is correct for DLC, but I can't guarantee it will work for other mods.
  3. Getting surface parameters(solar_power_multiplier) is a pain now. It combines using prototype stage properties with runtime properties, and space platforms are just a mess. IMPORTANT: For this reason, solar-calc simply loads PlanetPrototype's on load. This means it's compatible with the Space Age DLC, but other mods (including the future Space Exploration ported for 2.0) will fail with a 99% chance. I may add compatibility with Space Exploration 2.0 if I find time for it when it is released.