solarpower.cpp File Reference

#include "solarpower.h"
#include <iostream>
#include <fstream>
#include <cstring>
#include <cstdlib>
#include <cmath>

Include dependency graph for solarpower.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
double moduleCurrent (const double solarEnergy, const double voltage)
double OptimalModuleVoltage (const double solarEnergy)
double airDensity (const double height)
double pathLoss (const double cosPhi)
double dailySolarEnergyFollowing (const double latitude, const double declination)
double dailySolarEnergyFixed (const double latitude, const double declination, const double moduleAngle)
double dayLength (const double latitude, const double declination)


Function Documentation

double airDensity ( const double  height  ) 

Definition at line 237 of file solarpower.cpp.

Referenced by pathLoss().

double dailySolarEnergyFixed ( const double  latitude,
const double  declination,
const double  moduleAngle 
)

Definition at line 347 of file solarpower.cpp.

References pathLoss().

double dailySolarEnergyFollowing ( const double  latitude,
const double  declination 
)

Definition at line 308 of file solarpower.cpp.

References pathLoss().

double dayLength ( const double  latitude,
const double  declination 
)

Definition at line 388 of file solarpower.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 46 of file solarpower.cpp.

References moduleCurrent(), OptimalModuleVoltage(), and pathLoss().

double moduleCurrent ( const double  solarEnergy,
const double  voltage 
)

Definition at line 179 of file solarpower.cpp.

Referenced by main().

double OptimalModuleVoltage ( const double  solarEnergy  ) 

Definition at line 198 of file solarpower.cpp.

Referenced by main().

double pathLoss ( const double  cosPhi  ) 

Definition at line 270 of file solarpower.cpp.

References airDensity().

Referenced by dailySolarEnergyFixed(), dailySolarEnergyFollowing(), and main().


Generated on Mon Sep 3 06:31:15 2007 for Solar Power by  doxygen 1.5.2