A little while ago, I came up with the crazy idea to build a little solar powered data center in my home. I work professionally with hosting solutions for the Thai market, and we use big traditional data centers to support our infrastructure, but I'm keen on experimenting with more sustainable solutions at home. Hopefully, over time, I will be able to come up with innovative solutions to help lower the overall power consumption of the equipment needed for smaller scale hosting, and find reliable ways to supply the power needed through renewable sources of energy. That's my dream.
I am by no means an expert on DC circuits and solar power, but I do know a thing or two about computers. I have already done a ton of research on DC circuits and solar power, but I'm hoping that I can get some feedback here for my initial setup. It would be nice to validate my ideas before I get started, and hopefully avoid spending too much money on equipment that won't get the job done. Here's my current idea for a basic setup:
Solar Panel -> Charge Controller -> Battery Bank -> Small server with 12V PSU
Obviously, this is very simplistic, but let me go into a bit more detail about the individual parts of the setup. Starting with the load:
Small serverThe goal is to have a server with 4 cores, which will support running virtualised applications inside Linux Containers (I'm happy to expand on this for those interested). Obviously, power consumption needs to be as low as possible, and I hope to get below 100W (or even lower) under full load, but I wish to plan a setup which is able to support a steady consumption of 150W to make sure I have enough power. I have already found a very
neat little 12V DC power supply that I plan to use, and I'm also thinking about equipping the server with a
built-in UPS as an added failover measure.
I have a few questions regarding the server:
- The PSU accepts a maximum input of 12v/8A, but is supposed to automatically compensate for current fluctuations. Would it still be wise to put some kind of fuse box in front of the PSU?
- How big a battery would I need for the built-in UPS to allow the server to run for 1 hour?
Battery BankI would like to scale the battery bank to allow the server to run on battery power alone for up to 48 hours. However, I'm quite uncertain about this particular part of the setup.
These are the questions currently on my mind:
- How do I go about calculating the capacity needed for 48 hour non-stop operation?
- Can I use 12V batteries, considering that I also want to charge the 12V internal battery in the server hooked up to the UPS?
- How do I wire up the batteries? Serial, parallel, a combination?
- How will fluctuations in ambient temperature affect the batteries?
- Any recommendations regarding brands/battery types?
Charge ControllerI understand the purpose of the charge controller, but I would love recommendations on certain brands/types, that would work well with the setup I have in mind. Obviously, it should be a controller that has the capacity to support my overall setup, and it would be great if it's big enough to support future expansion.
Solar PanelI expect to have minimum 8 hours of direct sunlight on any given day. Based on that assumption, here are my questions:
- Given the right size battery bank, as outlined above, how many solars panels — and what capacity — would I need, to be able to fully charge my battery bank within 8 hours — and power my load at the same time?
- How do I need to wire up the panels? Serial, parallel, a combination?
Power/performance measuringThe whole experiment is rather pointless if I cannot measure the efficiency of the setup. Here are the main things I would like to measure:
- Power generated by the solar panels
- Power consumed by the load
Ideally, I would like to be able to collect data over time and download them to my computer for analysis. However, I have had a very hard time locating equipment that will allow me to do that, so I'm very interested in hearing about equipment that will fit my setup, and help me accomplish my goal.
WiringI will not be pulling cables over long distances (maximum 15-20 meters), but, as I understand it, there can be significant power loss if using the wrong cables. I would greatly appreciate some input on how to pick the right cables for various parts of the system.
This is a pretty big project for me, but I'm super excited about getting started. I realise that I'm asking a lot of questions, but any kind of input is greatly appreciated.
I will obviously be sharing my experiences with you as I build this, and I plan to document everything in video, photos and text. It would be great if others can benefit from my experiments if trying to build a similar setup.