Skip to content

warshanks/nukecalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

☢️ NukeCalc

Python 3 Factorio Plutonium Energy GitHub Pages

NukeCalc is a powerful tool designed to help Factorio engineers calculate the perfect ratios for their nuclear power plants. Specifically tailored for Bob's Power Mod and Plutonium Energy, it handles the complex math behind reactor tiers, neighbor bonuses, and heat exchanger/turbine ratios.

Available as both a modern Web App and a classic Command-Line Interface (CLI).

✨ Features

  • Multi-Tier Support: Full support for Bob's Mods & Plutonium Energy tiers:
    • Reactors (Tier 1-3 + MOX)
    • Heat Exchangers (Tier 1-4)
    • Steam Turbines (Tier 1-3)
  • Smart Calculations: Automatically calculates total power output based on reactor count and neighbor bonuses.
  • 2xN Layout Optimization: Optimized for the standard, efficient 2xN reactor layouts.
  • Resource Management: Tells you exactly how many:
    • Heat Exchangers
    • Steam Turbines
    • Offshore Pumps
    • ...you need to build to fully utilize your reactors.

🚀 Getting Started

Prerequisites

You need Python 3 installed on your machine to run the CLI version.

Installation

  1. Clone the repository:
    git clone https://github.com/warshanks/nukecalc.git
    cd nukecalc

🎮 Usage

🌐 Web App (New!)

The easiest way to use NukeCalc is through the new modern web interface.

  1. Simply go to https://warshanks.github.io/nukecalc/ in your favorite web browser.

💻 Command Line

Run the classic calculator using Python:

python3 nukecalc.py

Follow the interactive prompts to configure your setup:

  1. Reactor Tier: Choose between Tier 1-3 or MOX.
  2. Reactor Count: Enter X for a 2 x X setup (e.g., entering 2 calculates for a 2x2 setup). You can also enter 0.5 for a single reactor.
  3. Component Tiers: Select your Heat Exchanger and Steam Turbine tiers.

Example Output

--- Bob's Mods Nuclear Power Calculator ---
Reactor Tier (1-3, or 'MOX'): 2
Number of Reactors (2 x X), enter X: 2
Heat Exchanger Tier (1-4): 2
Steam Turbine Tier (1-3): 2

--- Results ---
Total Reactor Output:  288
Total Tier 2 Exchangers Needed:  28
Total Tier 2 Turbines Needed:  40
Total Offshore Pumps Needed: 2
You will need 2 groups of 20 heat exchangers (2x10)

Happy Factorio-ing! The factory must grow. 🏭

About

Nuclear calculator for Factorio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published