residential/solvers.h

00001 // solvers.h
00002 //
00003 // ETP solver utilities
00004 //
00005 // DP Chassin
00006 // December 2002
00007 // Copyright (C) 2002, Pacific Northwest National Laboratory
00008 // All Rights Reserved
00009 //
00010 // Update with advanced solver in June 2008 by D. Chassin
00011 
00012 #ifndef _SOLVERS_H
00013 #define _SOLVERS_H
00014 
00015 #ifdef OLD_SOLVER
00016 int dual_decay_solve(double *ans, double prec, double start, double end, int f, double a, double n, double b, double m, double c);
00017 int dual_decay_solve(double *ans, double prec, double start, double end, double a, double n, double b, double m, double c);
00018 #else
00019 double e2solve( double a,double n,double b,double m,double c,double p=1e-8,double *e=NULL);
00020 #endif
00021 
00022 #endif

GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy