2.2. Solar Irradiance Calculation
HAPSs must supply all necessary power solely through photovoltaic generation during long-term continuous flight. For this reason, quantitative and highly accurate prediction of solar irradiance and power generation plays a decisive role in optimizing HAPS system design and operational planning. The stratosphere, at an altitude of approximately 20 km, has radiation characteristics that differ significantly from the terrestrial environment. Because the effects of atmospheric absorption and scattering are minimal, the solar spectrum is close to the extraterrestrial solar irradiance (AM0) rather than the terrestrial standard AM1.5G [
27]. Additionally, because clouds and the ground surface extend below the aircraft, the reflected component (albedo) from these sources, together with direct solar radiation from above, makes a non-negligible contribution to power generation. This section describes the mathematical model for calculating the incident energy on each cell, based on the aircraft’s position and attitude, accounting for the stratospheric radiation environment.
2.2.1. Calculation of Solar Position
The primary factor determining the incident energy on the solar array is the geometric position of the sun relative to the aircraft. Because HAPS operates over a wide area for an extended period, it is essential to accurately specify the solar position on a given date, time, and location. Astronomical algorithms are used to calculate the solar position. First, based on the day number from 1 January, the orbital angle
(rad) indicating the position on the Earth’s revolution orbit is defined by the following equation:
From an astronomical point of view, 365 days in Equation (1) is 365 days, 5 h, and 49 min. However, changing Equation (1) in this way will interfere with the consistency of the calendar (for example, the starting point of 2026 will be 11:48 instead of 0:00), and not only will there be discrepancies with the date and time displayed in the actual logging data, but it may also cause serious errors in flight management, such as the south–central time being midnight. In this paper, rather than focusing on the rigor of Earth’s orbital cycle, we considered the benefits of operational management, such as integration with flight simulators, and systematized a year into 365 days. Since the deviation of the solar position coordinates associated with this approximation is small, it has little impact on the calculation results. In addition, this approximation requires correcting the calendar method for leap years. The algorithm we developed ensures consistency in our calculations by treating 29 February in leap years as 28 February.
Considering the Earth’s elliptical orbit and the axial tilt (approximately 23.44 degrees), the solar declination
and the equation of time
are calculated using Spencer’s series approximation. This accurately reproduces seasonal variation in solar altitude and the deviation of solar noon [
27].
Furthermore, the variation in extra-terrestrial solar irradiance due to the fluctuation in the Earth-Sun distance is corrected using the following correction factor
[
27]:
Finally, the sine of the solar altitude angle
is determined from the local latitude
, declination
, and hour angle
[
27].
2.2.2. Altitude Correction of Stratospheric Environmental Parameter
The stratospheric environment (at an altitude of approximately 20 km) has physical conditions that differ markedly from those at the ground. As shown in the authors’ previous study [
18] and the study by Song et al. [
20], changes in atmospheric pressure, temperature, and air density associated with altitude changes directly affect the calculation of Air Mass (AM) and the conversion efficiency of solar cells; thus, ground models cannot be applied by ignoring these factors. For altitude correction, the geopotential height was calculated. Geopotential height (
HGP) is referenced to Earth’s mean sea level. Here,
is the Earth’s radius and
is the HAPS altitude with the unit of km [
28].
Note that some successive Equations use a vectorization operator. The arrow placed above the formula corresponds to this. The vectorization operator affects all operators in the expression. The vectorization operator performs iterative computations without using range variables. That is, apply an operator or function to each element of a vector or matrix. In other words, the multiplication operator of a vector variable means that it is not an outer or inner product, but rather a multiplication for each corresponding element. In other words, the array and scalar operations are performed by applying the scalar to each element of the array. Because application of an operator or function is to each element of a vector or matrix, array and scalar operations are performed by applying scalars to each element of the array.
Also note that we extended Bird’s ground-based solar model into the stratosphere, making careful modifications as needed. We selected Bird’s model [
29] for its transparency, which is essential for scientifically validating any modifications or scope expansions. Although newer models claim to correct errors in Bird’s model, their source code and equations have not been publicly disclosed in our research context, making their application beyond surface or high-altitude ranges questionable. Many of these newer models are based on Bird’s framework, indicating its fundamental soundness. Our focus remains on scientific rigor and transparency. Equations (6)–(10) are used for extending Bird’s solar model [
29], denoted as Equation (6):
The temperature was corrected based on the ICAO standard atmosphere model, and the temperature at stratospheric altitude is
°C [
28]. Next, the atmospheric pressure was corrected to the geopotential height. Atmospheric pressure (
Patm) changes with altitude, and the pressure correction at stratospheric altitudes (11–20 km) is expressed as [
29], denoted as Equation (7):
Relative density,
, was calculated using Boyle’s law from the above pressure and temperature corrections [
29] with the temperature unit of °C denoted as Equation (8):
The thickness of the atmospheric layer (
), which depends on relative density and altitude, was calculated as follows [
30] denoted as Equation (9):
At the relevant altitude, Air Mass (
) was calculated considering altitude correction, temperature correction, and atmospheric pressure correction [
31], denoted as Equation (10):
In Equation (10), the variable yatm that is used for the description of the atmospheric description is an abbreviation of “atmospheric transmittance” calculated by Equation (10). The variable sh is a vector as calculated in Equation (5).
2.2.3. Calculation of Stratospheric Solar Irradiance
The direct solar spectral irradiance
at wavelength
is obtained by multiplying the extra-terrestrial irradiance
(AM0) by the transmittance of each attenuation factor. In this study, we adopted Bird and Riordan’s Simple Spectral Model [
29] and formulated it as follows:
Here, is the Earth-Sun distance correction factor. Each transmittance is defined as follows:
Rayleigh Scattering
: Scattering by air molecules.
Aerosol Scattering
: Defined using Angstrom coefficients
.
Ozone Absorption : Depends on total ozone amount.
Mixed Gas Absorption : Absorption by CO2 and O2.
Water Vapor Absorption : While a major attenuation factor on the ground, the stratosphere (altitude 20 km) is extremely dry. In this model, attenuation due to water vapor is considered negligible, assuming .
Global horizontal irradiance is the sum of the direct component, the scattered component (Rayleigh and Aerosol scattering), and the reflected component from the ground surface.
Scattered Irradiance Spectrum
:
Calculated based on the Bird model using forward scattering ratios [
31].
Since HAPS is located at high altitude, the influence of reflected light (albedo) from the ground surface (or cloud tops) cannot be ignored. Assuming a ground albedo
, the reflected spectrum is obtained considering multiple reflections:
Here, is the sky albedo, and is the atmospheric transmittance for reflected light. In this simulation, was dynamically changed depending on the presence of clouds (e.g., 0.2 for clear sky, 0.8 for cloudy).
The final Global Horizontal Irradiance (GHI:
) is calculated as the sum of the direct component (DNI
) and the scattered component SI:
. Here, the scattered component (SI:
) includes the contribution from multiple reflections between the ground surface and the atmosphere, in addition to the scattered light from the sky (Rayleigh and aerosol). The trapezoidal rule was applied for the integration [
32]. The integration range varies by the numerical tables of wavelength
.
The following equation obtains the final total irradiance:
While we acknowledge the availability of several newer, more advanced solar models, our decision not to use stems from concerns about transparency. We extended the ground-based solar model into the stratosphere, carefully expanding and modifying its scope as necessary. Without full transparency, it becomes scientifically infeasible to validate a model’s modifications or scope expansions. Although the new solar models claim to rectify errors in the Bird model, the source code and equations underlying these corrections have not been publicly disclosed within our research context. Consequently, we deemed it unreasonable to extend their application beyond surface or high-altitude ranges. Furthermore, many of these new models are derived from the Bird model [
29], indicating that its fundamental framework remains sound. Our approach prioritizes scientific rigor and transparency to ensure the validity of our results.
2.3. Curved Surface Representation
The photovoltaic modules mounted on the upper surface of the HAPS wing are arranged to conform to the curved shape, prioritizing aerodynamic performance (see
Figure 1) [
33]. Due to this constraint, each solar cell on the module surface has a different normal vector. The cosine loss caused by increased incidence angles and self-shading from the airframe structure varies dynamically with position and time. Consequently, the solar irradiance on the array surface is highly non-uniform [
26]. This results in a significant discrepancy between the global horizontal irradiance incident on the aircraft’s projected area and the effective irradiance actually received by the PV system [
34].
Especially in stratospheric operations, aircraft altitude, solar position vector, and three-axis flight attitude (roll, pitch, and yaw) interact. Calculations that account for self-shading by airframe components such as main wings, tail wings, and fuselage are therefore required. In this study, we use a curved-surface representation based on differential geometry, as established in our previous report [
22]. The core description of this method is as follows.
Generally, studies on vehicle-integrated PVs report that non-uniform radiation intensity on curved PV modules causes current mismatch between cells, known as mismatch loss [
35]. Unlike terrestrial environments, where diffuse light predominates, the stratosphere receives direct solar radiation and has a high albedo. In this setting, the contrast from self-shading on curved surfaces is exceptionally high, and the impact of mismatch becomes more severe and complex. This mismatch loss is a critical factor in the energy balance of HAPS operating with a limited light-receiving area.
The mathematical expression for the curved surface is defined by a nested matrix, where each element is a vector of position in Cartesian coordinates. To numerically analyze complex light-receiving behavior, this study defines the airframe surface as a mapping from parameter space (
uv-plane) to real space (
X,
Y,
Z). The equation serves as a mathematical model that converts grid point information on the u v-plane, held as a two-dimensional array, into a three-dimensional airframe shape. A schematic expression is illustrated in
Figure 2. The address of each element is shown in the
uv-plane. To obtain optical properties, such as cosine loss and self-shading loss, we compute the first derivative in each direction as a function of (
u,
v), corresponding to the position of the element. The map file, which allocates the positions of the solar cells on the wings, and differentiates the surface element if it is a simple self-shading surface or not, maintains the same address in the
uv-plane [
36].
Analyzing this requires surface elements, normal vectors, and first derivatives with respect to each parameter on each curved surface. To describe the complex wing geometry in three-dimensional space, the parametric form representation shown in the following equation is suitable [
22].
In regions such as the leading edge and wingtips of HAPS, the curvature becomes locally steep. As a result, there is a possibility that the change in normal vectors cannot be sufficiently captured with an equally spaced grid. Therefore, this model uses a variable-mesh structure. It arranges grid points non-uniformly on the uv-plane based on the physical curvature distribution.
Geometric physical quantities, such as normal vectors and area elements, are calculated at each grid point. These calculations use the central difference method with adjacent points on the parameter space [
22].
Here, the obtained and j are column vectors, stored as elements in a matrix having rows and columns corresponding to the total number of grid points. These represent the partial derivative vectors in the direction and direction in the parameter space (v-plane). Also, indicates the specific coordinate values of the airframe surface in space. That is, for the indices (row number , column number ) corresponding to each grid point on the -plane, the coordinate values of are held as matrix elements. The first, second, and third elements of each column vector correspond to the coordinates, respectively.
To evaluate the total power generation efficiency of HAPSs, it is necessary to accurately determine the effective surface area of the PV modules deployed on the airframe. This is obtained by integrating minute planar elements (surface elements) over the entire curved surface. The area of the surface element
and the local normal vector
at that point are calculated using the following Equations (22) and (23) [
22].
Here, and denote matrices whose entries are the area and normal vector at each point on the entire airframe surface. Since and are vector quantities, the operator × means the cross product (vector product). Here, and are nested matrices whose elements are vectors calculated using the central difference method for the sides of the pixels in the direction and direction based on the 3D mesh of the airframe. The vector obtained by the cross product of these is perpendicular to the tangent plane formed by the original two vectors, and this defines the normal vector of the surface element. Finally, the orientation at each point on the curved surface is defined by normalizing the normal vector n to unit length.
In the calculation of cosine loss, the inner product of the normal vector of each surface element and the incident ray vector is integrated using Equations (22) and (23). For general aircraft shapes with no extreme concavities (i.e., complex multiple-surface regions with multiple peaks), such as HAPS wing surfaces and fuselages, it is possible to determine geometric self-shading from the sign of the normal vector and its inner product with the ray vector. Surface elements where the result of the inner product becomes zero or less are considered such that the component itself becomes a shadow, and the ray does not reach it. Specifically, these geometric relationships are defined as logical values by the following equations.
After the airframe shape and the normal vector of each surface element are defined, it is necessary to compute the ray vector of each component and evaluate the incidence-angle characteristics. In this model, many ray vectors in three-dimensional space are generated based on the spherical coordinate system. These are converted into the x, y, and z components of the orthogonal coordinate system for efficient vector operations, and then processed according to Equation (24) [
22].
Here, is a vector indicating the direction of the incident ray to the PV module, having a zenith angle and an azimuth angle Based on the Monte Carlo ray-tracing method, is generated as a random number uniformly distributed in the range of , and in the range of The index identifies the random number set generated in the simulation, and rays are used to ensure sufficient statistical convergence and reproducibility.
and are matrices storing the local cosine value and the logical value indicating the presence of self-shading, respectively. A value of 1 (TRUE) is stored for points without self-shading (lit points), and 0 (FALSE) for points in shadow.
2.4. 4-Tensor
The attitude of the HAPS is described by three Euler angles: roll (
), pitch (
), and yaw (
). To transform the solar vector
, defined in the ground coordinate system (Global Frame), into the vector
in the airframe fixed coordinate system (Body Frame), a coordinate transformation matrix
is used. In this study, we adopted the standard
rotation order (Yaw to Pitch to Roll) used in aerodynamics. The coordinate transformation matrix
is defined using the rotation matrices
,
,
around each axis as follows [
31]:
Using this rotation matrix, the solar vector
in the airframe coordinate system at an arbitrary time
is calculated by the following equation [
31]:
By calculating the dot product of this and the normal vector of each mesh on the airframe surface, the incidence angle and the reference index for the 4-tensor are determined. This vector-operation-based approach allows for robust simulation of 360-degree attitude changes while avoiding gimbal lock.
Furthermore, to account for the aeroelastic deformation of high-aspect-ratio wings, this model defines the local deformation angle (deflection) at a position
on the airframe as
. This is derived via spline interpolation of measurements from roll sensors distributed along the wing span. The local solar vector
considering this deformation, is calculated by dynamically adding the deformation angle
to the attitude angle
of the entire airframe as follows:
When the main wing of a HAPS has a saddle-shaped curved surface or complex multiple curvatures, the “Hidden Surface” problem arises in geometric calculations: the solar vector “penetrates” the airframe structure and a hit is detected on the back surface, which should be physically in shadow. To resolve this, we implemented the following Interior Point Detection algorithm for each surface element (quadrilateral mesh). Let the vertex position vectors of the surface element be
(counter-clockwise), and let
be the point on the ray vector or its extension to be tested. Also, let
be the unit normal vector of the surface element whether point
lies inside the surface element is determined by computing the cross product of each edge vector with the vector from the vertex to point q, and checking whether the result has the same direction (positive correlation) as the normal vector. That is, if all four conditional expressions below are satisfied, the point is determined to be an Interior Point [
36]:
Note that
. This geometric determination enables the accurate identification of the boundaries of dynamic shadows in complex airframe shapes. Also, note that Equation (31) should be applied to every combination of the index i and the indices of a pair of surface elements. For example, if the surface of HAPS or HAPS wings is covered by 1000 × 1000 elements, the total number of trials for Equation (31) will be 4 × (1000 × 1000)
2 = 4 × 10
12, including the calculation of the inner product of three-dimensional vectors and the cross product of vectors. At the same time, these vector operations on a large matrix require significant computational time to search for elements within the matrix. Also, these calculations should, in principle, be performed for each ray and each surface element, so the total computation time will be huge. This study extends the concept of the 4-tensor proposed in previous research [
17] to accommodate dynamic three-axis attitude changes and HAPS-specific flexible wing deformation. It implements it within a high-speed computational framework. This is to process a structure with four degrees of freedom, obtained by combining two degrees of freedom for angular change with two for positional change, without increasing computational load during execution.
The light-receiving characteristics on a curved wing correspond to two indices (extent of parameter space) describing the surface. They are formulated as a 4-tensor
having a nested structure as shown in Equations (32) and (33) [
22,
36,
37]. Since a 4-tensor is a four-dimensional structure, and it is not suitable for graphical explanation in principle, we believe the best explanation is made by the form of the nested matrix described in Equation (32). Each element of each nested matrix in the 4-tensor described in Equation (33) is a dimensionless real number with the range of 0 ≤ x ≤ 1, namely [0,1]. It is not a simple cosine loss ratio; it also accounts for the hidden-surface loss ratio [
37,
38].
Here, is a matrix storing the two-dimensional angular response of the surface element at position , and is its scalar element. Generally, the number of elements in a 4-dimensional tensor becomes enormous (e.g., if each matrix is , the total number of elements is ). Therefore, it is highly inefficient to recalculate whenever the solar position or airframe attitude changes. Thus, in this study, we adopted an algorithm that pre-calculates (catalogs) a reference tensor. During simulation execution, the performance of each surface element is computed using a tensor reference, applying 3D rotation matrices for pitch, roll, and yaw, and then integrated at the module level. Although the ray distribution matrix for each surface element varies in a complex manner with position on the curved surface, this cataloging method minimizes computational cost. For the actual angular deviation, an immediate calculation method using two-dimensional spline interpolation, such as Bicubic Interpolation, was adopted. The motion of the airframe and the sun can be regarded as a rotational transformation of this 4-tensor, thereby achieving both physical rigor and substantial computational speedup in dynamic power-generation simulations in the stratosphere.
Using 4-tensors rather than repeating vector calculations each time appears to reduce total computation time. Although the HAPS flight attitude is dynamic, it affects the ray distributions on the aircraft body’s surface elements. This effect on the 4-tensor can be easily reproduced by rotational coordinate conversion using Equations (28) and (29), without repeating the time-consuming calculation or the accompanying search for matrix elements.
2.5. Power Generation Calculation
By integrating the 4-tensor derived in the previous sections with stratospheric meteorological parameters, the total power generated by the HAPS is calculated. In this study, a high-precision energy balance evaluation accounting for partial shading and temperature non-uniformity is achieved by integrating solar irradiance calculations for each mesh and detailed power-generation characteristics for each solar cell. The power generation at an arbitrary time step and surface element (mesh address ) is calculated according to the following process.
First, the incident irradiance intensity
at the panel element is calculated by the geometric calculation using the 4-tensor. The base power generation
corresponding to the incident irradiance intensity is expressed by the following equation:
Here, represents the rated output of a standard single cell in the AM0 environment, represents the extra-terrestrial solar irradiance intensity (solar constant), and represents the total series-parallel number of cells included in the array.
Next, to correct for the fluctuation in conversion efficiency associated with the extremely low-temperature environment of the stratosphere and pressure changes, a temperature correction factor and a voltage correction factor are introduced.
Temperature correction factor
:
Here, is the temperature coefficient, is the ambient temperature, is the reference temperature, is the standard solar irradiance (non-zero positive value), and is the thermal coefficient indicating the cell temperature rise according to the irradiance intensity. These parameters were set based on the thermal characteristics of lightweight photovoltaic modules suitable for stratospheric platforms.
Voltage correction factor
:
This equation simulates the logarithmic decrease in the open-circuit voltage () under low illumination, based on a physical model (the one-diode model).
Here, is the open-circuit voltage at reference irradiance, and is a physical constant corresponding to the thermal voltage. This accurately reproduces the drop in efficiency in low-light environments, where only stratospheric albedo is available.
Finally, the power generation
at surface element
is obtained by the following equation:
The total generated power
of the entire airframe is obtained by summing this over all panels
pieces) [
19,
32].
This formulation enables extremely high-precision power generation prediction that reflects the low-temperature, low-pressure environment characteristic of the stratosphere and the dynamic solar-irradiance distribution associated with changes in airframe attitude.