mekanism / Mekanism

A mod for Minecraft
MIT License
1.4k stars 531 forks source link

Nuclear Fusion #2043

Closed unpairedbracket closed 9 years ago

unpairedbracket commented 9 years ago

An inertial-confinement nuclear fusion reactor. Produces enormous amounts of power, but required large investment to build and run.

Currently working:

Needs work:

Stratos396 commented 9 years ago

If your are inside the running reactor, instant 50,000 damage to players and armour, destroys all items?

unpairedbracket commented 9 years ago

Yeah, I think being inside the reactor should be seriously deadly.

Greylocke commented 9 years ago

if the lasers used for fuel compression could also be used as a standalone cosmetic... that'd be a big bonus :)

unpairedbracket commented 9 years ago

I'm not sure exactly what you mean by standalone cosmetic, but they can break blocks, set entities on fire, redirect around the place (like portal 2 redirection cubes), and there are redirectors that can pull in drops from broken blocks to act as a linear autominer :D 2014-09-15_02 39 01 2014-09-15_02 45 08 2014-09-15_02 45 12

Greylocke commented 9 years ago

haha... I'd call that hypercosmetic. You have got it covered, and dinner as well, it looks like. Anyone for fried chicken?

Stratos396 commented 9 years ago

I thought it would be a confined reaction, and instant kills U know, toroidal fusion reactors?

Stratos396 commented 9 years ago

@Greylocke Just Nu. Nu lasers for kosmetiks XD

aMUSiC commented 9 years ago

Atomic Science (now part of Resonant induction) had some neat multiblock power sources. I always drooled over the particle accelerator.

Barhandar commented 9 years ago

And when Mystcraft adds Hazard Suit, it needs to be included as an exception which makes you not get dead and gone in a fusion reactor. Since hey, that thing in the original canon managed to keep a human alive for two seconds in a supernova.

Stratos396 commented 9 years ago

@Barhandar I doubt anything would be invented on earth that is able to survive a supernova for..... a long time. @unpairedbracket It should vaporize chickens, no drops (Laser=EXTERMINAAAATE)? and specific power cables for the reactor, 1280 GJ/t (the GJ is intended) and a new power cube, the (add a title here) (maybe uber) energy cube, storing 128 Exajoules? and they should be EXTREMELY expensive, using a ore that spawns 0.00001 times per chunk, so there is a 000.1% chance of it spawning in a chunk, and it looks similar to stone, so it is very hard to find?

aidancbrady commented 9 years ago

@unpairedbracket, we really need to get this thing finished for v8. I have finished the complete production process of tritium and deuterium, everything is looking great. A few things I noticed about the reactor itself:

Img

I'll be working on the EIM next, and I'm thinking of including 1 GJ, 8 GJ, 64 GJ and 512 GJ energy storage cells that will make up the structure. This means that an 16x16x16 EIM will be able to store 1 PJ of energy - quite a lot! It would take over 3 years for just one of those reactors outputting at 1 MJ/t to fill up a structure of that size. On a more realistic scale, it would take 18 days for a 5x5x5 EIM to be filled up (considering it contains 512 GJ cells).

Are you planning on working on your heat system at all? At this point, I think it may be best to hold off from the turbines and boilers until v9, and the heat transfer pipes could probably go with that. If you have any free time (after finishing the reactor of course), you could work on the item/fluid/energy teleportation, but I think we should focus on getting a release out before April.

Let me know what you think!

unpairedbracket commented 9 years ago

The neutron capture stuff is still planned, but we can leave it for now and as it in a future update - it's more for additional interest than actually important for rector operation.

The energy taken to ignite can be varied by adjusting ignition temperature or heat capacities. I'd possibly recommend adjusting the heat capacities to reduce the laser energy needed, as reducing the burn temperature will also have an effect on power production, especially when we move to proper thermal energy systems. (Also, the best way is to use the redstone-triggered laser amplifiers to dump a load of energy in one pulse - constant heating will get you nowhere.)

The hohlraums I've read about are often tiny gold cylinders - that would probably be easier than adding a new metal? In real life inertial fusion goes once, then needs to be restarted and reignited. I've designed our system to be able to run continually once ignited, as long as temperature stays high enough to burn, so it's more user-friendly. If (and only if) it drops below burn temperature, a new hohlraum will be needed to reignite.

The nice thing about nuclear fusion is that it's so difficult to get it to happen at all that it needs to be run at maximum production - if something goes wrong, it won't get out of hand and melt down like fission, it'll just gradually stop. I'm sure I can make it go some damage while it's slowing down, though...

Power production scales with case temperature, which (in equilibrium) scales with plasma temperature. I've written the system so that plasma temperature effectively scales with fuel feed rate, so that would be the important factor in maintaining a reactor.

50kJ/t is 1MW, and our units are significantly bigger than real-life joules and watts (remember when Calclavia suddenly decided to make UE's units nominally kJ, but keep the numbers the same? That was to be closer to realistic units). Active and passive behaviour is dependent on whether you're actively cooling the reactor with water or not - active cooling produces much less direct power but lots of steam for use with other mods like Big Reactors Turbines. More steam than I think any other mod can deal with at the moment, in fact. I think we would power tens of BR Turbines at the moment.

aidancbrady commented 9 years ago

Sounds great to me. I'll work on Hohlraum production then right after I finish my current project. I suppose I only one favor to ask then - lower the laser energy needed.

Would it be possible for you to add some special effects in the reactor core? I'm about to add a sound effect for the reactor itself, but it would be pretty cool if we could see some form of indication of a reaction going on inside.

unpairedbracket commented 9 years ago

I've just looked and the reactor requires a pulse of 10GJ to ignite - that's 20 lasers charging 4 amplifiers for nearly an hour and a half. Excessive, I agree. There are 2 solutions to that, I reckon:

I think reducing by a factor of 10 (so it takes about 9 minutes of 5 lasers charging each of 4 amplifiers) should be a reasonable compromise?

aidancbrady commented 9 years ago

Sounds great.

I'm trying to find a good example of an effect the reactor can display when it is active, this is the closest I could find:

Img

Some kind of glowing sphere that you can see on the inside. Do you know how to render something like that? If not, I've already spoken to Calclavia, and he said he'd be willing to write something.

When you have a chance, check out the droppers I just finished yesterday - our GUI element system made them easy and fun to implement.

unpairedbracket commented 9 years ago

I've so far been using a 3 modified (but similar) versions of the energy cube core model that pulse in size as well as rotating in a random-looking way.

2015-02-27_15 26 14 2015-02-27_15 26 16 2015-02-27_15 26 17

They all pulse and rotate at slightly different rates, so it looks nice and random - it was the closest I was able to get to a kind of high-tech ball of burning gas while still looking cool, and fitting the Minecraft look. I'd be happy to replace it with something else though, if anyone else can do any better.

aidancbrady commented 9 years ago

Ah, that actually looks really good. The only thing I would add is some kind of glowy-aura effect.

unpairedbracket commented 9 years ago

Hmm, I'll see what I can do... I'll have more time about 2 weeks from now, by the way - I'll be able to help more with finishing v8 then.

Greylocke commented 9 years ago

Hey all - I just had an interesting conversation in IRC regarding top-tier power solutions: how much power should they generate, how will it be used, complexity, destructive instability, some examples from other mods, and other stuff. Thought you might be interested. These guys (SeanWCom, Vaygrim, Vexatos, Xaw4) have been around a bit and have some pretty solid opinions.

https://dl.dropboxusercontent.com/u/27787851/TopTierPowerConvo_IRC.pdf

aidancbrady commented 9 years ago

Thanks @Greylocke, very helpful. I may actually scale up the EIM storage a tad after reading that.

What's your input on a good output rate for the reactor? I like super-large scale production, but I'd like to hear others' input.

Greylocke commented 9 years ago

From the IRC convo, I learned that players could easily find uses for 800kRF/t (2000kJ/t), and indeed other mods are currently doing this. So the reactor should be able to at least reach this output. IMO, the output should scale, maybe starting at roughly 20x the output of a gas-burning generator (gas gen is 400 J/t?). Increasing the size of the reactor (and increasing complexity) would increase the power output to as high as 1000kRF/t (2500kJ/t). Maybe there would be tiers of components required to reach the maximum output?

Also, players seem to really enjoy the "efficiency" game with these power systems. It is almost a mini-game, balancing the costs and benefits of the various factors that influence the output. Some common "power system" variables are: component quality (tier I reactor core v tier II core, etc), fuel type, coolant type, heat dynamics, spin-up cost (time and resources), system timing/synchronizing components, and co-generation (usually steam).

unpairedbracket commented 9 years ago

The approach I'm taking to the mechanics of this rector is pretty much "Write the equations and let them speak for themselves", which should hopefully give a good feel and level of tunability of different factors. Some things I've thought about adding are neutron capture (for added heat generation/not getting bathed in extreme neutron fluxes) and possibly different fuels with different thermal and fusion characteristics.

aidancbrady commented 9 years ago

@unpairedbracket, would it be possible to bump up the fusion reactor output perhaps by a scale of 10, to have a base 500,000 energy per fuel instead of 50,000? I just attempted myself but I'd rather let the actual physicist change the constants.

unpairedbracket commented 9 years ago

Yeah, making the Thermocouple more efficient is probably the best way.

I'll have a look at making different fuels with different parameters when I have some time. Another thing I just thought of, by the way - one interesting alternate fuel (as well as possibilities of D-D, D-He3, and P-B11) could be antimatter, and any normal gas. Antimatter would - of course - be extremely expensive to make and highly hazardous to transport and store, but would require no ignition energy and burn as fast as it was fed into the reactor, producing enormous amounts of energy as photons - no neutron flux or anything to worry about.

unpairedbracket commented 9 years ago

An interesting few paragraphs to read on the topic of catastrophic failures: http://en.wikipedia.org/wiki/Fusion_power#Accident_potential - the stuff in there about magnetic confinement isn't really relevant to us as we're using the inertial, laser-driven method, but general points about the fact that any equipment failure would cause the reaction to just stop are still valid.

I think the main hazard vector for ICF is probably neutron fluxes (NIF has a record of 300 trillion neutrons produced per second) that would cause the surrounding environment to become slowly radioactive. Not sure how easy it would be to simulate blocks becoming radioactive, but I'm sure that many neutrons would do horrible things to people...

aidancbrady commented 9 years ago

I think that neutron radiation would be our best bet - you should need some kind of fancy suit to do maintenance on the reactor. Perhaps we can implement that when we finish neutron capture stuff.

I'm pretty happy with the current reactor numbers right now. I'm going to do some more testing, but I feel like they fit well. Do you have any ideas for hohlraum production?

unpairedbracket commented 9 years ago

Yeah - additionally, neutron flux being a safety issue would also be a nice way of adding complexity with different fuel mixes further down the line. We could have (for example):

For hohlraum production I think something along the lines of using an enrichment chamber (or some other machine, or just a crafting recipe) on gold dust would yield an empty hohlraum - it would possibly implement IGasItem, so we could then enrich it with fuel (D-T gas, or whatever) to make it usable in the reactor. How does that sound?

Greylocke commented 9 years ago

for energy conversion, I've seen thermocouples mentioned, but are steam turbines off the table? It would be nice to have some options (again, back to playing the Efficiency Game). Thermocouples would require less infrastructure but also be less efficient and would output bursts of power; steam turbines would require more infrastructure, be more efficient, and smooth out your generation pulses.

unpairedbracket commented 9 years ago

Steam turbines are not at all off the table - in fact, the reactor can currently produce more steam than any mod I know of would know what to do with (tens of BR turbines, for instance) if fed with enough water (again, an enormous amount)

aidancbrady commented 9 years ago

Hohlraums are now complete, and therefore marking this issue as closed. @unpairedbracket, once you're on your break, you can keep working on it - I'm planning on pushing the release once you've had a chance to look over everything.