ClaudeMetz / FactoryPlanner

A mod for Factorio. Allows you to plan out your production in detail.
https://mods.factorio.com/mod/factoryplanner
MIT License
82 stars 40 forks source link

Power production utility #81

Open ClaudeMetz opened 11 months ago

ClaudeMetz commented 11 months ago

It would be great to have a utility that helps you figure out how much power production you need to satisfy your needs. This utility would have different ways to configure the different ways of producing power (solar, chemical, nuclear), and maybe propose solutions to you.

Technically, this is quite complicated, since power setups involve a lot of prototypes that interact in specific ways, so it's lots of generator stuff to figure out. It would of course integrate with the district item and power pools.

This could also integrate with the real world, tracking power consumption (and maybe even production), and alerting the user if it clashes with the current plans.

Need to think about this one, I could also implement power production as normal recipes that can be used alongside others. This is quite tricky, as powder production doesn't quite fit the model of recipes, but it could. If I add energy and heat as items, it could fit into the existing system quite well. The advantage of making it part of normal factories that the supporting infrastructure can be right alongside the power production.

Hyratel commented 8 months ago

I would greatly welcome this, as presently, I have to do things like this indirectly, and it is especially topheavy when dealing with a power production chain that has a large number of intermediates such as Realistic Fusion Power (Release Ver)'s Heavy Water Concentration Chain. the hidden fluid results of "MJ" and "GJ" which the mod uses to mediate between Fusors and Fusion Heatex is also not choosable as a Primary Product, meaning you have to select the next-step-prior of the relevant feeder plasma and then externally calculate the M/GJ you need from there based on researched Production Recipes for the selected Plasma. It would also benefit from the Unspecified Temperature Of Fluids For Recipes overhaul I saw in another thread, although the workaround for that one is easier to lasso

ClaudeMetz commented 7 months ago

Thanks for the comment. I'll be sure to look at that when I get to this card.

Illiander42 commented 3 weeks ago

The lack of this might send me back to Helmod (it generates fake recipies for power), which is a shame, because FactoryPlanner handles looped recipies better.