Tuesday, November 24, 2009

First Power Graph

I got around to putting the data into RRDTool. I just updated the post with some better looking graphs. I used this guide for creating stacked, outlined area graphs.






Sunday, November 22, 2009

Back to Juggling Multiple Projects

Earlier this week, I started work on a new xPL app, currently called xPLSys. It monitors disk space, memory and cpu utilization and sends xPL messages containing the data. I'm not exactly sure how I want to package those messages as there really isn't a schema to hold the info I want to send - so either I make up my own schema or send multiple messages - one for each stat being watched. It's been running for a few days now but has been pushed aside for something else.



My Brultech ECM-1240 power monitor arrived Friday, and I started installing it that evening. I finished up most of the wiring Saturday morning and have been deciphering the serial protocol for real-time updates. I've been using our xPLSerial app to interface to it and code up the interactions with the built in scripting engine. I have to say, it's a very cool app and you should download it and donate ;). Despite being distracted by CAL's upset of Stanford (HOORAY), I figured out the serial protocol last night and have now been fine tuning my script. I've been thinking about rolling this into an app, but there is virtually no cpu utilization with the script running in xPLSerial.



I did make a change to xPLSerial to assist with debugging and that change will get pushed out eventually. I'm also considering removing the xPL from the name and calling it something else. It's really a serial port scripting engine with built in xPL functionality, but doesn't require xPL. In the meantime, I need to figure out what I'm going to do with the power data I'm getting every second.

Saturday, November 14, 2009

Solar Contract Signed & ECM-1240 Ordered

We signed the contract a couple days ago with Real Goods Solar (Regrid Power) for a 3.68kW system. Projected install date is late February and power on in March. Might as well have it come online when there's more sunlight.

I also ordered the ECM-1240 power monitor from Brultech. I decided to put current transformers on the lines from the solar array, but I will have to extend those via Cat-5. They should be able to go 100 feet, but it looks like it will be very, very close to 100 feet or possibly more. Hopefully, it will work. I've already opened up a hole in the wall next to the sub-panel, installed a mudring and drilled through the stud next to the subpanel so I can pass CT wires from the subpanel to the mudring. I also ran a couple Cat-5 wires through the wall behind the subpanel to a closet in the adjacent bedroom. I'll need those to connect to the Cat-5 drops in that room to extend the solar array's CTs and possibly get the ECM-1240 on the network via a Lantronix MSS-100. With luck, it'll get here before the Thanksgiving break so I'll have time to work on it.

Tuesday, November 10, 2009

Power Monitoring

As we get ready for the solar panel installation, I've been looking into power monitoring systems. I'm going with the Brultech ECM-1240. This is their 2nd generation energy monitor and has been very popular with the Cocoontech crowd so it has been well tested in the real world. Brultech Support has been very helpful responding to my emails with timely replies. I am looking at purchasing Package A, which comes with the monitor, 2 200A split core current transformers (CTs) and 5 MicroCTs. I'll also need 8 more MicroCTs and possibly a couple of the 80 amp MicroCTs (for our AC unit).

We have a main panel with the electric meter that services the AC unit and a sub-panel inside our house. Everything else is fed from the sub-panel, so that's where the ECM-1240 will be. It will be easier because I can shut off the main breaker to the sub-panel, whereas the main panel has no shut off. The less I muck around in there, the better. I will have to connect the CTs from the AC breakers to the ECM-1240 upstairs by the sub-panel. The CTs can be routed over Cat-5, I just need to figure out how to get the CT wires out from the main panel and into my garage, but that can wait until the solar guys do the install. Maybe their electrician can help me out.

As for the solar install, we've finally decided on an array size, an inverter & an installer, but I'm waiting for the data access to be finalized before signing the contract. I've chosen not to use the ECM-1240 to monitor the solar array as I am working with the solar installer on getting access to the inverter via an RS232 add on board. They've been very responsive so far and hopefully this item will be resolved soon.

Friday, November 6, 2009

BlueTrackerScript Released

I figure everybody is tired of reading about solar and wants me to get back to automation stuff. I'm releasing BlueTrackerScript, an app that I use at work to tell if I'm at my desk (this affects forwarding for Google Voice Automation). Of course, you'll need a bluetooth adapter for your PC, leaving bluetooth running on your cellphone, and you'll need to add some actions to the included sample script, blue.js.

Since I use this on my work PC, I want it to be able to communicate with my home server without any interaction necessary (setting up ssh tunnels, etc.). So I created two special URLs on my public webserver, one for detection and one for timeout. The script will fetch the appropriate URL using Wget. On the webserver, it watches the access log for access to those specific URLs from a specific IP address (my work IP), and passes a message to the automation server if it detects those URLs have been accessed. The automation server then adjusts Google Voice forwarding.

BlueTrackerScript is available here.

Thursday, November 5, 2009

Cleaning Solar Panels Uneccesary?

Yup, I'm still on my solar tangent. Getting close to deciding on a contractor, but not yet. I ran across this Google study on their solar installation. Their study shows that tilted panels, like virtually all residential rooftop mounted systems, don't need to be regularly washed. Rain does a good job of cleaning off the dust. This would discount SunRun's solar panel washing benefit. Panels that are installed horizontally do benefit greatly from a cleaning, however. To see more details on the Google study, check out their slides.

Friday, October 30, 2009

Solar Spreadsheet

A lot of the solar quotes I've gotten will take your current usage to show a cost-benefit analysis. What I want to see is what happens to that benefit when my usage changes. When sizing our prospective array, I want to see how much more electricity I can use before the costs really blow up. Ideally, I want to keep grid usage in the lowest 3 tiers. So I created this spreadsheet to help with planning.

It's based in Google Docs. It's read-only but if you go to File->Make a Copy, you can save yourself an editable copy. There is a 2nd sheet in the spreadsheet called 'info' that contains instructions on how to get the data for your specific scenarios. The information is based on California's PG&E standard residential service. You can adjust the formulas, tiers, rates, etc. based on your situation. Also note that many solar households go to the time of use rate schedule instead of the standard schedule, so that will affect calculations. For simplicity, I've chosen the standard schedule. Let me know if I've mucked anything up.

Thursday, October 29, 2009

Ladders & Solar Financing

Our home is two stories and you need at least a 15' ladder to reach the lowest part of the roof. So far, of the 2 companies that have done a roof survey, both of them have showed up with a 13' adjustable ladder. When the first guy visited, I saw him pull out his little ladder and I figured it wasn't going to be high enough. After a couple minutes of watching him reposition his ladder, I offered my 17' ladder. When the other installer came, I was in the house watching him on our cameras while he tried to figure out how he was going to get up on the roof with another 13' adjustable ladder. Again, I came to the rescue and offered my ladder. These guys seriously need to think about carrying a longer ladder. If I didn't have a long enough ladder, these guys would have really pissed me off. I would have taken time off from work for nothing and would have had to reschedule.

Anyway, all these solar installers are pushing this long term lease thing - the most common is by a company called SunRun. There are a couple different options - but they both have an 18 year term. The idea is they pay the installer for the system after its installed - so they own it. Then, they lease it to you over an 18 year period. At the end of the 18 years you can sign another lease, ask them to remove the system or purchase the system at some yet to be determined amount. You can pay either a lump sum amount or monthly. Its lure is that your initial outlay, if you do the lump sum, will be less than your cash purchase price before the federal tax credit.

So for example (assuming you live in California like me), if you purchased a $22,000 system, you would receive about a $3500 state rebate. Typically, you sign the rebate over to the installer and the out-of-pocket cost would be $18,500. Then a 30% federal tax credit shaves the net cost down to about $12,500.

With SunRun, you would pay a lump sum of about $13,000 for 18 years. Of course, they throw in a few more goodies. They extend the warranty of the system from the 10 year installer warranty to cover the entire 18 years. They provide monitoring for the duration of the lease (some installers offer it for 10 years and others charge for it). If they detect something wrong, they'll send a crew over to fix the problem. They'll also come out and wash the panels once a year. Finally, they'll replace the inverter since they typically have a 10-12 year lifespan. They want you to believe this is an added $6200 worth of goods.

They say monitoring is worth $2000, but since we've already got a home automation system & server running, I can get a Brultech monitor for about $250 and monitor it myself. Maintenance is supposedly a $2700 value, but that's hard to quantify. The system is supposed to be maintenance free, and I suppose I can climb up on our roof and hose the panels down once a year (but will I do that when I'm 50 or older???). Finally, they peg the inverter replacement at about $1500. If these inverters are $1500 in 10-12 years, to me, it assumes that there have been no technological advances in that time span. In all, I would derate the maintenance costs by 50% and say the inverter will cost $500 when it needs replacing. For our situation, this gives SunRun's perks a value of $250 (monitoring) + $1350 (maintenance) + $500 (inverter) = $2100, about 1/3 of what they claim.

If we take those "perks" and add it to the net purchase cost of $12,500, we get $14,600. Compared to SunRun's $13,000 cost, the purchase will cost $1600 more, but I get years 19-30 for "free." With SunRun, after 18 years, I could either fork out some unknown amount for a new lease or to buy the system from them. Either way, it's going to cost more than a purchase. Otherwise, how would they make money?

They really push the upfront cost advantage of SunRun vs. purchasing, and that really gets people interested. Then they throw in their perks/scare tactics, to help push you over the edge, which seems to work because solar systems are not very common (and people still buy extended warranties for tv's and other household items). It seems like an OK way if you don't have the cash for a purchase, but you could probably do a home equity loan and get the tax write off for that.

Monday, October 26, 2009

More Solar Thoughts

The system I'm currently leaning toward consists of 16 Sharp 230W panels and a Sunny Boy 3kW inverter. Apparently, due to what's called stringing limitations, I cannot install a Sunny Boy 4kW inverter with 16 panels. If I chose 14, 20 or 22 panels, it would work. That changes my expansion plans.

One suggestion would be to install 16 Enphase micro-inverters instead of a central inverter. The microinverters would allow each panel to turn on individually, instead of having to wait for the array voltage to reach a certain level before a central inverter turns on. Microinverters could possibly boost output 5-10% because the panels will generate sooner and stay on later and are supposed to work better in shade and on hazy/cloudy days. Also, if one dies, the rest of the array will still produce. However, there appears to be a $2000 premium based on my system size and they are relatively new technology (but have a 15 year warranty). There is also the issue of replacement in case of failure - someone would have to hike up to the roof and possibly remove panels to get access to a failed microinverter (depending on how they do the installation). I have also been told that around 10-12 years, normal inverters will probably need replacement, so I assume around 15 years, the microinverters will need to be replaced - and there is extra labor associated with their replacement. Finally, with so many microinverters, there is an increased number of points of failure vs. a single regular inverter.

Panel brands is another topic of interest. One installer is very high on Evergreen Solar and how their panels are rated 0-10% above spec vs. other brands which can be +/- 5% or so. Sunpowers are high end, high efficiency, but somewhat restrictive with their installation. Perhaps this is why none of the 5 quotes I received used Sunpower. Sanyos are also high efficiency and high priced, but are manufactured/assembled all over the place. Obviously, each dealer will tout the panels whose manufacturer they have deals with or which provides them the largest profit margin.

For the consumer, it ultimately comes down to cost, wattage and size (room for future expansion) - at least it does for me. When you start to use the more exotic panels, it's hard to justify the longer breakeven period. I chose the 16 230W panels instead of 20 175W panels due to density - I want to have room on the roof for future expansion. The 20 175s would nearly occupy the entire back roof. I could get 16 Sanyo 215W panels for a $2000 premium (and 240W less output) vs the Sharp 230W. The Sanyo's are about 8" narrower so I could squeeze 2 extra columns - or 4 more panels - in the space of the 230W Sharps. Overall, I could squeeze up to 27 Sanyo's vs 20 Sharps - 5.8kW vs. 4.6kW output - a pretty large difference.

I am leaning toward the 3kW inverter at this point. In the future, if we need more capacity, I could then go with microinverters for the additional 4-6 panels that there's room for. With today's panels, I have room to go from 3.7kW to 4.6kW, but in 5 years, panel density will be better - so I should be able to get more power out of the remaining roof space.

Wednesday, October 21, 2009

Planning to go Solar

I just had a site evaluation with an installer we're considering. He checked a few things out - the roof - and it's in great shape and the electrical panel - which can easily accommodate the extra amperage. Then he ducked into the attic to check the structure and take a few pictures. While on the roof, he took measurements and made note of obstructions like vents. Some short vents can be cut even shorter and panels can be installed over them. The lowest efficiency we'll have would be about 98% due to our back neighbor's Italian Cypress, which will cause some shading in the early morning. I may ask the neighbor if we can cut it down a little. Our back roof has a SE facing, while not optimal, is still very good in terms of sun exposure. Based on this, we should qualify for 92% of the California solar rebate. Next step is for the installer to send a couple plans with different panels and outputs. We're looking at a 3.5-4 kW system which will reduce our yearly electricity bill by about 72%. I also need to think about future needs and roof space for expansion like an EV car or 40" LCD touchpanels for automation ;) The installer has a bit of a backlog, combined with the winter weather and holidays, the soonest they could start would be January. Power on might not happen until March due to inspections from the city & utility. I have 3 other installers to look at, but I'm leaning toward this one as they did a great job on my co-worker's array several months ago and have had an answer for every one of my questions (I ask tough questions! ;)

Tuesday, October 20, 2009

xPLSerial Released

It's been a while since I released an app. xPLSerial gloms together a generic serial port interface, xPL and a scripting engine. Read more about it and download it here.

Monday, October 19, 2009

xPLSerial

I've decided I needed to code up something to deal with serial port devices I may want to interface with. I've put serial device handling into my starCOMUltra hosted script as well as in my sCU-xPL bridge (xPL sCU), but while I'm debugging stuff, I don't want to keep reloading those apps as much of the HA system relies on it functioning correctly. There doesn't appear to be an xPL app that allows generic serial port interfacing, so I figured this would be a good (and easy) app to write. A majority of the code comes out of xPL sCU since it already does serial & xPL as part of its features. Because of this, I've already got a prototype running. It relies on an internal scripting engine to set up the serial port, send data to it and parse data from it. You can then issue xPL messages as necessary. Right now, I'm working on interfacing to an Ocelot I just acquired.