Skip to content

Node.js script for creating ai hydra reef tank light programs that resemble solar irradiance

Notifications You must be signed in to change notification settings

chriswhong/ai-hydra-solar-curve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ai-hydra-solar-curve

Node.js script for creating aquaillumination hydra lighting programs that resemble the curve of irradiance by time of day.

how to use

  • Install Dependencies: yarn.
  • Modify variables for light spectrum settings, time of day, etc in solar-curve.js.
  • Run the script: node solar-curve.js. It will overwrite solar-curve.aip. Upload the file to your light!

AI_Hydra_TwentySix

Calculation_of_Solar_Insolation___PVEducation

Why

This was just an attempt to create a sunrise to sunset light profile based on real data. The chart from pveducation.org shows solar irradiance at the equator on January 1st over time. A table view of the charts is also available on the site, from which you can infer a percentage of the mid-day (peak) value for each hour.

This script generates an AIP file representing the same curve based on maximum power settings applied at mid-day. You can also offset the start of the curve (I did this to push the light more towards the evening so I can see sunset while at home.

About

Node.js script for creating ai hydra reef tank light programs that resemble solar irradiance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published