Lumina Electric Boiler


Adds configurable electric boilers

Content
11 months ago
1.1
663
Power
Owner:
LuminaSapphira
Source:
https://github.com/CerulanLumina/lumi...
Homepage:
N/A
License:
Mozilla Public License 2.0
Created:
11 months ago
Latest Version:
1.0.1 (11 months ago)
Factorio version:
1.1
Downloaded by:
663 users

Lumina Electric Boiler

Adds electric boilers to Factorio with support for multiple tiers, configurable power requirements, variable steam temperature per-boiler, and more.

One tier is enabled by default, check startup settings to enable more tiers. This mod provides basic recipes and technologies for up to 3 tiers.

The basic tier consumes water and outputs steam equivalent to 8 vanilla boilers, before energy loss. If enabled, higher tiers linearly use more energy and work faster.

These boilers function similarly to Space Exploration's electric boiler, in that it uses recipe selection to allow for variable steam temperature.

Features:

  • Per-machine output temperature selection
  • Auto-detection of steam temperatures
  • Configurable number of tiers of boiler (Recipes and Technologies provided for up to 3, default is only 1)
  • Tertiary power priority (configurable) for use in steam batteries

Configuration Options:

  • Fluid amount per craft
  • Base power requirement for electric boilers
  • Efficiency for electric boilers (default 0.9)
  • Whether to auto-generate steam temperatures
  • Extra temperatures to add that weren't detected
  • Electric usage priority for electric boilers
  • Available tiers (default 1, recipes and techs provided for 3, beyond that will have to create your own in a mod)

Math

Steam holds a certain amount of energy per unit, as defined by base Factorio. To generate recipes for steam production in electric boilers, this mod multiplies the fluid amount by the energy capacity of steam for a given temperature, then divides by the base power consumption to get a time requirement for the recipe. Then, it scales the time according to the efficiency setting (total_time = base_time / efficiency_ratio) to get the final time. An electric boiler with a crafting speed of one (which is defined as the boiler that uses the base power consumption) will complete that recipe in that amount of time. Higher tiers of boilers, if added, consume more power and thus have a higher crafting speed, which keeps the efficiency the same.

Adjusting the base power requirement will also change the generated time requirements of all steam recipes, as will changing the fluid production/consumption. This keeps efficiency values in line even when adjusting settings. You may get weird time requirements if you use weird inputs.


Graphics used from other electric boiler mods, according to license.