A Beautiful Mind

October 26, 2009

fslurp-screenshot
solar-2009-10-26

Continue our Solar Power Adventure…

Last week David spent his vacation writing a C software package called fslurp at SourceForge, to “read and display data from Fronius IG and IG Plus inverters, using a serial port to talk with the Fronius Interface Easy Card.” Because now we have a way to read our inverter’s beautiful mind, it’s time to start collecting data and do something about it!

First I wrote a tiny Python script to clean up the dataset generated by David’s fslurp. Next I loaded the cleaned dataset to R for the data visualization step. solar-2009-10-26-allHowever, things didn’t go as well as I had in mind; the plotted graph looked strange — each reading was a short horizontal line instead of a circle.

After investigating the problem for a while, I realized that I got tripped over by the infamous Factor object. Fortunately, plenty of experienced R users have already solved this problem and posted their solutions along with detailed explanations online. Even better, William Revelle actually implemented the same solar power plotting project back in Feb. 2006! While he had 38 months of data, I just had 1 day to play with. But, still! :)

Tomorrow I’ll need to add a little shell script to have the whole process automatically run at the end of the day. Frankly, it’s more interesting to have at least 1 year of data, so we can see the amount of power generated following the changes of season. But we’ll get there, and we’ll have a lot more data to track! ;)

[10/27/2009 UPDATE] Yesterday I forgot to post the daily summary:
solar-summary

Entry Filed under: Geek Zone, Solar System. .

3 Comments Add your own

  • 1. Loic  |  October 27, 2009 at 11:04 am

    Really cool ! Next step is to do the same with your power consumption ? daily temperature and UV level ?
    It is going to be addictive :)

  • 2. Gerry  |  October 27, 2009 at 8:27 pm

    Very impressive you two!!

  • 3. Can You See Me Now? « Amanda's Tea Room 阿勳茶室  |  October 28, 2009 at 11:20 am

    [...] 27, 2009 Today I cleaned up my scripts and set up the data storage structure (to get ready for decades of solar power data! ). I’m [...]

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


過去的留不住,
未來的難預測,
守住現在,當下即是。

Calendar

October 2009
S M T W T F S
« Sep   Nov »
 123
45678910
11121314151617
18192021222324
25262728293031

Older Stuff :: 回憶錄

Top Posts :: 排行榜

Categories :: 分門別類

Recent Comments :: 留言

Recent Posts :: 近期目錄

Friends’ Books :: 朋友的書

Friends’ Blogs :: 部落格

Friends’ Websites :: 網站

Currently Playing :: 學習

python-logo django Rlogojava-logo- mysql_logo + MDX OST_Logo

Meta

Blog Stats

Feeds