Uranium Power

Power generation with atoms.

Moderator: Fatmice

Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Uranium Power

Post by Fatmice »

Hello all,

Since Liquius bowed out due to time constraints, I and a friend have stepped in to continue development of this mod. This post will served as a continuation of Liquius' first post. All future announcements will be linked back to this post.

Ideas, plans, and thoughts for the mod.

Factorio 0.13.x - Current version: 0.6.5 -> Download | Example build -> Download

Factorio 0.14.x - Current version: 0.6.6 -> Download | Example build -> Download
Description of build
Overview of base
Closeup of the 500 MWh reactor build
Closeup of the 250 MWh reactor build
Production and simple enrichment chains
Complete fuel reprocessing chain
Official Tutorial Videos for Uranium Power
Savegame used in the tutorial. Note this savegame is for Factorio 0.12.x.


Current work will be here.
https://github.com/Fatmice/Uranium-Power-Cont

Past releases have been archived to here.
https://github.com/Fatmice/UraniumPower
---------------------------------
Version History
0.6.6.1 - Nov 23, 2016
0.6.6 - Nov 23, 2016
0.6.5 - Aug 17, 2016
0.6.4.2 - Jul 08, 2016
0.6.4.1 - Jul 03, 2016
0.6.4 - Jul 01, 2016
0.6.3 - Oct 18, 2015
0.6.2 and 0.6.0 - Jul 19, 2015
0.6.1 - Jul 19, 2015
0.6.0 - Jul 18, 2015
0.5.4 - Jun 19, 2015
0.5.3_01 - Feb 16, 2015
0.5.3 - Feb 16, 2015
0.5.2 - Feb 2, 2015
---------------------------------
Archived Releases
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Uranium Power

Post by Fatmice »

The light at the end of the tunnel is getting brighter for 0.6.0

Here is a WIP of the turbine generator/cooling tower complex from my friend's blender render. It needs some more geometry and doodads to make it more appealing.
turbinegenresize4.png
turbinegenresize4.png (104.33 KiB) Viewed 93423 times
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
kurkudjikul
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Sep 30, 2014 9:32 am
Contact:

Re: Uranium Power

Post by kurkudjikul »

What will be the dimensions of the turbine generator/cooling tower complex?
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Uranium Power

Post by Fatmice »

Presently, the turbine generator/cooling tower complex is going to be around 5x10 or 5x12 for the 3by3 reactor. The 5by5 reactor will get its own turbine generator/cooling tower, which will be correspondingly larger. The initial 0.6.0 release will only have the complex for the 3by3. The complex for the 5by5 reactor will come in a subsequent update.
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
tomcat
Burner Inserter
Burner Inserter
Posts: 11
Joined: Mon Feb 23, 2015 9:12 am
Contact:

Re: Uranium Power

Post by tomcat »

for the meantime would multiple of the smaller turbines/cooling towers still work with a 5x5 reactor?
Zeeth_Kyrah
Long Handed Inserter
Long Handed Inserter
Posts: 66
Joined: Tue Jan 21, 2014 10:05 pm
Contact:

Re: Uranium Power

Post by Zeeth_Kyrah »

Those are awesome-looking models. Professional quality work. :)
Planned projects: Energy Crystals Plus, Minor Fluid Handling, Small electric furnaces
(high-energy materials and assembler, fluid void burner and small tank, tiny and slow furnaces with charcoal)
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Uranium Power

Post by Fatmice »

tomcat wrote:for the meantime would multiple of the smaller turbines/cooling towers still work with a 5x5 reactor?
No, due to the nature of how I've coded the complex, the 3by3 or 5by5 "support" buildings can not be mixed and matched. This limitation is mainly due to how buildings in Factorio can not have irregular concave shapes, such as L shapes. The upside is that a single 3by3 reactor with its support buildings will be able to put out about 26 MW of power for a measly footprint of approximately 5x20 or so. I think this is a good trade-off for the inability to mix and match to vanilla power production.

The 5by5 reactor with its support building is slated to take up about 8x30? I'm not sure yet as that is still on the drawing board. I do hope that the large size of the complex will not have rendering issues.
Zeeth_Kyrah wrote:Those are awesome-looking models. Professional quality work. :)
Thanks. My friend will be happy to see your kind words. :)
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Wenihal
Inserter
Inserter
Posts: 28
Joined: Thu Jan 22, 2015 11:56 am
Contact:

Re: Uranium Power

Post by Wenihal »

New graphics looks really cool.
Fatmice wrote: The 5by5 reactor with its support building is slated to take up about 8x30? I'm not sure yet as that is still on the drawing board. I do hope that the large size of the complex will not have rendering issues.
Wow. Can't wait to see this!
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Uranium Power

Post by Fatmice »

Here is a little teaser ;)
sample.gif
sample.gif (9.93 MiB) Viewed 90367 times
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Uranium Power

Post by Fatmice »

I'm glad you like the teaser.

Regarding heat, the simulation of it is very basic in Factorio. Only fluids can "carry" heat while things designated as fuel can have a certain heating values, i.e. batteries of heat.

How are you using heat? Are you willing to accept non-realistic heat-capacity values that will "work?" If you are going to work with heat, you will have to accept the quirks that come with it until the Factorio devs code a better heat simulation. The present situation can be rather frustrating. I know because I'm dealing with a certain heat problem myself that I'm trying to work out. :?
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Zeeth_Kyrah
Long Handed Inserter
Long Handed Inserter
Posts: 66
Joined: Tue Jan 21, 2014 10:05 pm
Contact:

Re: Uranium Power

Post by Zeeth_Kyrah »

That's definitely it. Fluid heat in Factorio doesn't rely on fluid density or heat capacity, only on the speed of the machine that adds or removes heat and the value of heat-containing items. So fluids don't behave like fluids, in more than one way.
Planned projects: Energy Crystals Plus, Minor Fluid Handling, Small electric furnaces
(high-energy materials and assembler, fluid void burner and small tank, tiny and slow furnaces with charcoal)
Dreadicon
Inserter
Inserter
Posts: 38
Joined: Sun Jun 22, 2014 9:06 am
Contact:

Re: Uranium Power

Post by Dreadicon »

EDIT 2: Never mind; I finally found the information I was looking for; the amount of heat needed is in fact given as a per-unit basis. to this end, I have adjusted the amount of heat per unit, and adjusted how much is in a unit. water is a weird amount per unit (based on temperature and such, assuming the max temp is 100 degrees, water's boiling point at standard pressure, and it's 1KJ per degree, each unit is around 250 liters of water). I think this clears up a lot. Thanks for taking the time to read!

Well, I went through great lengths to use Factorio's system; would be a waste to give up now. The dilema specifically is as follows:

A blast furnace takes around 300 liters of air per second, heated to around 1000 degrees Celsius. the specific heat of air is 1.01, so that comes to about 300kJ of energy per second, which is 300kW.

When I configue air to have a max temperature of 1000, and set it's energy potential at 1kJ, it takes a ton of boilers to heat the 300 air to that temperature per second. like 50 or so just to get half way. How does this even work? I want to work with the built in heating, but I can't make heads or tails of any of it. how does it take 50 390kW boilers to achieve 100 kW of heating per second? is the energy potential per point of temperature?

EDIT: of note, i'm not even factoring in things like heat transfer efficiency or such things for now; I just want to know how the game works, but there's like no documentation anywhere on it.
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Uranium Power

Post by Fatmice »

The reason why it takes so much vanilla boilers to heat your air is because heat can only be added in certain amounts per second, more accurately per tick. The temperature rise is inversely proportional to the heat-capacity (1kJ/Celsius for your fluid). In this case, a unit of air will have a temperature rise of 390 Celsius if the boiler heats it for 1 second. However, a vanilla boiler has space for 10 units of air (base_area * 10; 1 * 10), so the temperature rise will be 39C. This means a vanilla boiler can at most cause 39C/s of temperature rise to any liquid of heat-capacity = 1kJ/C if such liquid transitions through the boiler at a rate of 10 units/s. The actual temperature rise in the game is much lower than this because the flow rate is usually much higher than 10 units/s.

Luckily, the flow rate is usually sink limited. So in your case, one could take the blast furnace energy consumption of 300 kW to compute the liquid sink rate given the base_area of the sink. If the liquid sink rate is smaller than 10 units/s, the temperature of the arriving liquid will eventually reach max-temp otherwise it will be below max-temp.

The problem you will face is a bit more hidden. Currently, there is no vanilla way to extract energy from a fluid without destroying it. There is also no way for a recipe to contain temperature requirements nor is there anyway to produce liquid at a certain temperature that has working heat (heat value above base line) through recipe. A furnace is not an assembler-prototype so I do not think it can have liquids as input. Furthermore, a 2 inputs -> 1 output is permissible but not 1 input -> 2 ouputs nor 2 inputs -> 2 outputs nor any other variations.
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Dreadicon
Inserter
Inserter
Posts: 38
Joined: Sun Jun 22, 2014 9:06 am
Contact:

Re: Uranium Power

Post by Dreadicon »

so, I already resolved the issues; the root of the issue was that 'heat_capacity' is per-temperature-increment (which most people use as degrees C). There was no documentation about this anywhere in the API or modding info; I finally stumbled across it in a fluid mechanics guide in the player's portion of the wiki. I had incorrectly assumed that 'heat_capacity' was the total energy of one unit of fluid at 'max_temperature', and thus the amount of heat needed was quite astronomical; about 8000 times more than it should be. The other aspect I realized was that vanilla water is 250 liters per unit, if the heat_capacity of it is to be believed, thus 1 unit of liquid = 0.25kL, rather than 10L as I had originally assumed.

Concerning making sure the temperature is correct for the recipe, I wrote a script that checks 15 times per second for fluid in a separate 'intake' entity, and if enough fluid is present of the right temperature, it removes the appropriate amount from the intake entity, and inserts the corresponding amount into the blast furnace (an assembler type entity). If the intake fills beyond a certain point with air that is not hot enough, it removes some so more can come in. The linking process for it is essentially the same as Uranium Power's access port linking (I admit I looked to it for ideas on how to do this). I have to say, the number of nil and valid checks one must do in this is pretty silly, but that's probably just me coming from a strong typed language background...

Because of the massive amount of materials a blast furnace consumes, I also wrote a script for it to pick up valid items that are adjacent, which is also processed 15 times per second. So far, it's (finally) all working out nicely, now that i've uncovered more of the silly API's tribal knowledge. Armed with what I have now, I can jury-rig around most any further obstacles I run into, I believe.

Thanks for your time and you mod! It's a lot of fun, and I look forward to how it further develops. My only suggestions for it would be 1) move it further up the tech tree + split out some of the techs a little more, 2) increase the amount of depleted uranium needed per pellet, as currently it's pretty trivial to replace all ammo with the (somewhat powerful) depleted uranium rounds.

oh, and increase the decay rate on the uranium; giving it a base-line decay as well that happens even when it's not under any load.

But, those are only suggestions; the mod is already a blast and really cool :)

PS: Rseding said he has written up some code for allowing recipes to have heat constraints on liquids, but it's pending approval by one of the leads, who has been super busy with multiplayer lag-hiding and end-game stuff. It'll be in the game in some build relatively soon methinks, but that may yet be a moth or three, depending on priorities. Just thought I'd give you a heads up :)
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Uranium Power

Post by Fatmice »

Base line decay is an interesting idea. I'll look into that.

I'll look at your mod once it is released. =)
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Uranium Power

Post by Fatmice »

Hello all,

I've compiled an interim release 0.5.4 to prepare for 0.6.0 as work on it is almost done. The current release has quite a few bug fixes, as well as goodies ;) if you know where to look, that I felt should be released before 0.6.0...that and I had to fix that fluid output bug in the example build that was driving me nuts. Enjoy. 0.6.0 will be out soon, perhaps a week's time.
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Uranium Power

Post by Fatmice »

Hello all,

I'm pleased to release 0.6.0. This update brings about the first iteration of closed fluid cycles. Three new buildings added, the Reactor Recirculation Pump, Steam Generator Mk I, and 30 MW Turbine Generator/Cooling Tower complex. You will now be able to put much of the heat from the 72 MW reactor to good use (see screenshots). :) You should know that overclocking your reactor will degrade your fuel assemblies much faster when fuel decay is implemented.

With the release of Factorio 0.12.x today, I will now deprecate all releases under 0.11.x after today's release. What this means to you is that 0.6.0 will be the last release for 0.11.x and will only receive bug fixes. Once I port 0.6.0 to support Factorio 0.12.x, a separate link will be provided for you to download the ported version. Please read release notes carefully before you download.

I am in the process of making a series of video that will introduce new players to this mod. For those who have requested more documentations, you can view those video when I've uploaded them.

The roadmap for 0.6.x will be mainly about closed fluid cycles and cross-mod compatibilities. The second iteration of closed fluid cycles will be in 0.6.1 where I will split up the Turbine Generator/Cooling Tower complex into their individual components. Two types of cooling tower will be added as well as a condenser building. I will likely to move away from steam-generator type and towards accumulator-type due to DyTech's irreverence to vanilla values*. Mod compatibility will be added for MoPower as well as support for DyTech's clean-water in my assembler-type heat exchanger.

The roadmap for 0.7.x remains the same. Fuel decay, fuel breeding, fuel reprocessing, breeder reactor, and a liquid salt reactor will be added as well as reworking the graphics for the current reactors. A new fuel will be added, thorium.

The roadmap for 0.8.x has recently been fleshed out in my mind. Militarization of Uranium Power. I will add new ammo types, rocket types (read nuclear warheads), a custom missile silo with targeting control (if Factorio's modding api allows). I will begin work on an addon that add support for a reactor control room.

The roadmap for 0.9.x hopefully will be mainly code optimization as by then I think this mod is feature complete. I will begin work on Hydrogen Power (Fusion), a separate mod that will require the power foundation of the current mod.

*If you play with DyTech, changes to the water heat_capacity introduced by that mod will have a profound effect on the amount of power produced by the 30 MW Turbine Generator/Cooling Tower complex. You have been warned.

Now some screenshots
New Reactor components.jpg
New Reactor components.jpg (938.78 KiB) Viewed 51896 times
New Reactor componens_power_output.jpg
New Reactor componens_power_output.jpg (736.38 KiB) Viewed 51896 times
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Zeeth_Kyrah
Long Handed Inserter
Long Handed Inserter
Posts: 66
Joined: Tue Jan 21, 2014 10:05 pm
Contact:

Re: Uranium Power

Post by Zeeth_Kyrah »

Awesome! I'm glad to see Uranium Power's alive. Still one of my favorite mods. :)
Planned projects: Energy Crystals Plus, Minor Fluid Handling, Small electric furnaces
(high-energy materials and assembler, fluid void burner and small tank, tiny and slow furnaces with charcoal)
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Uranium Power

Post by Fatmice »

Hello all,

0.6.0 has been ported to Factorio 0.12.x. This took longer than I had expected but was not too painful. See release notes. :D
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Fatmice
Filter Inserter
Filter Inserter
Posts: 808
Joined: Thu Dec 04, 2014 11:03 pm
Contact:

Re: Uranium Power

Post by Fatmice »

Hello all,

Multiplayer desync bug fix for 0.6.0 and 0.6.2. See release notes.
Maintainer and developer of Atomic Power. See here for more information.
Current release: 0.6.6 - Requires 0.14.x
Example build - Requires 0.14.x
Post Reply

Return to “Atomic Power”