Alpine3D
Spatially distributed alpine surface processes model
Loading...
Searching...
No Matches
EBStruct.h
Go to the documentation of this file.
1
/***********************************************************************************/
2
/* Copyright 2009-2015 WSL Institute for Snow and Avalanche Research SLF-DAVOS */
3
/***********************************************************************************/
4
/* This file is part of Alpine3D.
5
Alpine3D is free software: you can redistribute it and/or modify
6
it under the terms of the GNU Lesser General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
9
10
Alpine3D is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public License
16
along with Alpine3D. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
#ifndef EBSTRUCT_H
19
#define EBSTRUCT_H
20
21
// Ssolar contains the information for sun position
22
typedef
struct
23
{
24
25
double
ecc_corr
;
// correction due to the eccentricity of the earth's orbit
26
double
decl
;
// solar declination: angle between the vector earth/sun
27
// and the equatorial plane
28
double
eq_time
;
// equation of time
29
double
azi
;
// solar azimuth
30
double
elev
;
// solar elevation
31
double
toa_h
;
// incoming irradiance on horizontal area on top of the atmosphere
32
double
solar_time
;
// true solar time
33
double
hr_angle
;
34
35
}
Ssolar
;
36
37
// Smeteo contains the meteo input information as well as time information and atmosphere correction factors
38
typedef
struct
39
{
40
int
hh
;
// actual hour
41
double
gr
;
// incoming global radiation
42
double
ea
;
// atmospheric emissivity (longwave radiation, cloud cover)
43
double
tdirhor
;
// at station or biggest theoretical incident direct solar radiation on a flat field
44
double
tdiff
;
// at station or biggest theoretical clear sky diffuse radiation
45
double
Md
;
// splitting coefficient for direct and diffuse solar radiation
46
47
}
Smeteo
;
48
49
#endif
Ssolar::solar_time
double solar_time
Definition
EBStruct.h:32
Ssolar::decl
double decl
Definition
EBStruct.h:26
Ssolar::toa_h
double toa_h
Definition
EBStruct.h:31
Ssolar::ecc_corr
double ecc_corr
Definition
EBStruct.h:25
Smeteo::tdiff
double tdiff
Definition
EBStruct.h:44
Smeteo::tdirhor
double tdirhor
Definition
EBStruct.h:43
Smeteo::hh
int hh
Definition
EBStruct.h:40
Smeteo::ea
double ea
Definition
EBStruct.h:42
Ssolar::hr_angle
double hr_angle
Definition
EBStruct.h:33
Smeteo::gr
double gr
Definition
EBStruct.h:41
Ssolar::eq_time
double eq_time
Definition
EBStruct.h:28
Ssolar::elev
double elev
Definition
EBStruct.h:30
Smeteo::Md
double Md
Definition
EBStruct.h:45
Ssolar::azi
double azi
Definition
EBStruct.h:29
Smeteo
Definition
EBStruct.h:39
Ssolar
Definition
EBStruct.h:23
alpine3d
ebalance
EBStruct.h
Generated on Thu Nov 13 2025 00:13:33 for Alpine3D by
1.9.8