선정목록으로
Optimal Switchable Load Sizing and Scheduling for Standalone Renewable Energy Systems
필름·전자재료 · (11) 배리어 필름
기본 정보
- 저자
- DOI
- 10.48550/arxiv.1702.00870
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.1702.00870
- 토픽
- Hybrid Renewable Energy Systems
- OpenAlex ID
- W6910745671
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (11) 배리어 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 배리어 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
The variability of solar energy in off-grid systems dictates the sizing of energy storage systems along with the sizing and scheduling of loads present in the off-grid system. Unfortunately, energy storage may be costly, while frequent switching of loads in the absence of an energy storage system causes wear and tear and should be avoided. Yet, the amount of solar energy utilized should be maximized and the problem of finding the optimal static load size of a finite number of discrete electric loads on the basis of a load response optimization is considered in this paper. The objective of the optimization is to maximize solar energy utilization without the need for costly energy storage systems in an off-grid system. Conceptual and real data for solar photovoltaic power production is provided the input to the off-grid system. Given the number of units, the following analytical solutions and computational algorithms are proposed to compute the optimal load size of each unit: mixed-integer linear programming and constrained least squares. Based on the available solar power profile, the algorithms select the optimal on/off switch times and maximize solar energy utilization by computing the optimal static load sizes. The effectiveness of the algorithms is compared using one year of solar power data from San Diego, California and Thuwal, Saudi Arabia. It is shown that the annual system solar energy utilization is optimized to 73% when using two loads and can be boosted up to 98% using a six load configuration.
본문 77,887자
본문 펼치기
### Optimal Switchable Load Sizing and Scheduling for Standalone Renewable Energy Systems
Abdulelah H. Habib <sup>a,</sup> <sup>_∗_</sup>, Vahid R. Disfani <sup>a</sup>, Jan Kleissl <sup>a</sup>, Raymond A. de Callafon <sup>a</sup>
_aDepartment of Mechanical and Aerospace Engineering (MAE), University of California, San Diego, 9500 Gilman Drive MC 0411, La Jolla, CA_
_92093-0411_
Abstract
The variability of solar energy in off-grid systems dictates the sizing of energy storage systems along with the sizing
and scheduling of loads present in the off-grid system. Unfortunately, energy storage may be costly, while frequent
switching of loads in the absence of an energy storage system causes wear and tear and should be avoided. Yet, the
amount of solar energy utilized should be maximized and the problem of finding the optimal static load size of a finite
number of discrete electric loads on the basis of a load response optimization is considered in this paper. The objective
of the optimization is to maximize solar energy utilization without the need for costly energy storage systems in an
off-grid system. Conceptual and real data for solar photovoltaic power production is provided the input to the off-grid
system. Given the number of units, the following analytical solutions and computational algorithms are proposed to
compute the optimal load size of each unit: mixed-integer linear programming and constrained least squares. Based
on the available solar power profile, the algorithms select the optimal on/off switch times and maximize solar energy
utilization by computing the optimal static load sizes. The effectiveness of the algorithms is compared using one
year of solar power data from San Diego, California and Thuwal, Saudi Arabia. It is shown that the annual system
solar energy utilization is optimized to 73% when using two loads and can be boosted up to 98% using a six load
configuration.
_Keywords:_ Inequality-constrained least square, Load management, Mixed-integer linear programming, off-grid
solar energy.
### Nomenclature
_S_ ( _tk_ ) Solar power data sampled at _tk_ and normalized by the maximum solar generation _Smax_
_Smax_ Maximum solar generation
∆ _T_ is the sampling rate
T is the length of the solar power data
k is an array of size _T_
_x_ <sup>_i_</sup> static load size unit
_n_ is the number of loads
_E_ ( _tk_ ) power mismatch or difference of solar power _S_ ( _tk_ ) and power used by the loads _u_ ( _tk_ ) _x_
_u_ <sup>_i_</sup> _k_ binary number represent the switching of the loads
_N_ Number of possible combination of units
_U_ is the permutation matrix of size [ _n, N_ ]
_∗_ Corresponding author: Abdulelah Habib, Tel.: +1 (858) 353 4278, Fax: +1 (858) 534-7078.
_Email addresses:_ ahhabib@ucsd.edu (Abdulelah H. Habib), disfani@ucsd.edu (Vahid R. Disfani), jkleissl@ucsd.edu (Jan
Kleissl ), callafon@ucsd.edu ( Raymond A. de Callafon )
_Preprint submitted to Solar Energy_ _February 6, 2017_
### 1. Introduction
Increasing global energy demand and human population growth have triggered a need for standalone renewable
applications. Recent estimates show that 1.4 billion people do not have access to energy services and one billion are
suffering from unreliable electricity services [1]. Standalone application of clean energy, (E.g., fresh water pumping),
has become more critical for humanity [1, 2]. Often such systems are powered by solar photovoltaic (PV) due to
ubiquitous high solar resource availability and scalability. However, solar production exhibits high variability over a
broad range of time scales [3]. Power variability is the main obstacle facing solar energy in standalone or islanded
mode applications. High penetrations of solar power sources create large power swings which influence electric power
quality [4], and can cause loss of load or generation curtailment [5]. Variability of solar PV generation is a result of
seasonal and diurnal changes in the sunpath as well as short-lived cloud cover. Solar variability limits the operation
of off-grid loads at maximum capacity [6, 7, 8].
Optimal load switching can be applied to microgrids with any hybrid forms of renewable energy resources such
as solar and wind [9, 10, 11, 12] to capture as much renewable energy as possible. Although partial or modulated
load operation is conducive to the problem, there are numerous types of load units which can only be switched on
or off, such as non-dimmable lighting, standard electric motors, and Magnetic Resonance Imaging (MRI) machines
at hospitals and load aggregation such as demand side management [13, 14]. Dispatching such binary load units,
which are referred as switchable loads hereafter, to follow available renewable energy resources have been discussed
in the literature for different microgrid applications such as water desalination [15], pumping systems [16], irrigation
systems [17], and cooking appliances[18, 19, 20].
Different optimization techniques are used for planning and design of such systems. For instance, mixed-integer
linear programming (MILP) has been used in many fields, such as unit commitment of power production [21] and
power transmission network expansion [22, 23], as well as scheduling problem of the generation units in off-grid
in order to maximize supply performance of the system [24]. Nonlinear approaches have also been applied to load
scheduling [25]. For example, neural networks and genetic algorithms have been applied to size stand-alone PV
[26, 27, 28]. The on/off control optimization problem is similar to the unit commitment problem in power systems and
bio-fuel[29, 30]. However, limited studies have been conducted on the optimal load sizing in a standalone (islanded)
grid application with switchable loads. Most of other research has been in the demand/supply side while very few
looked into the unit/load sizing for many reasons, such as, the load is assumed to be fixed and has to meet by any
supply way [31] or the accessibility of designing load for certain application is harder and not easy process. This
work focuses on optimal load sizing for standalone applications in rural areas or off-grid sites. While the present
paper assumes an off-grid system, similar challenges exist for a power system with a weak grid connection, i.e. with
a line carrying capacity that could only balance variability that is a small fraction of local solar generation or load
capacity.
Energy storage systems (ESS) have been applied to solve the variability challenges [32, 33].An alternative or
complementary approach is optimal sizing and scheduling of load units which follow power generation variability to
maximize solar energy utilization and load uptime. Clearly, the solar energy utilization could be improved with an
ESS, but an ESS that eliminates solar variability would need to be large enough to store several days’ worth of solar
power which is uneconomical at present. Smaller ESS would experience significant cycling and deep discharge events
if not properly maintained, increasing maintenance costs and requiring replacement much before the end-of-life of a
PV system. Our objective is to improve solar utilization without an ESS and use load demand response only and show
that high efficiencies can still be obtained. In practice, a combination of a small ESS with high cycle life such as an
ultracapacitor ESS and the proposed load sizing and scheduling system would probably be the best solution. The ESS
would absorb solar variability at time scales of seconds to minutes while the loads would balance variability at longer
time scales. This approach would allow limiting ESS energy capacity making it more economical. While practical
challenges of implementing such a system are significant, e.g. in maintaining system stability during switching, this
paper focuses on the critical algorithmic work that permits such a system to operate efficiently and economically.
In a properly planned system the solar system would be optimally sized to power the load required for the intended
application. This paper does not consider this scenario. Often in practice the conditions are not as plannable. Load
growth will occur and a solar power system may be initially oversized to accommodate such growth. Sizing the solar
system may also be limited by land ownership and topographic constraints. The solutions proposed in this paper apply
in such a context where solar capacity is fixed and loads are sized to optimize solar energy utilization.
2
This paper proposes an optimization model to capture the maximum amount of variable solar generation, which
sizes and schedules a finite number of loads to track available solar PV power. The objective is to maximize solar
utilization, given the projected power generation of the renewable energy resources. Here, solar utilization is defined
as percentage of energy captured by the units over total solar energy produced. This is akin to terms such as solar
utilization factor [34] and loss of power supply (LPS) [35] which are commonly used in the literature. The loads are
assumed to switch between a binary ”on” or ”off” statuses, where both the switching times and the size of the static
power demand (static load size) determines the ability to track available solar power.
The main contribution of this paper is to develop both analytical solutions and computational approaches based on
Equality Constrained Least Squares (ECLS), Inequality Constrained Least Squares (ICLS), and Mixed-Integer Linear
Programming (MILP) in order to solve the optimization problem. The rest of the paper is organized as follows. The
mathematical formulation is given in Section 2 along with an analytical example and the motivation for a computational procedure for optimal load size selection. One year of solar resource data for San Diego is analyzed and
discussed in Section3. Section 4 presents different computational procedures for optimal load size selection based on
a bi-linear optimization problem involving a mix of binary and real numbers. The simulation results are presented and
discussed in Section 5. Finally, Section 7 concludes the paper.
### 2. Problem Formulation
The sizing and scheduling problem computes the distribution of the optimal load size of a finite number load
units, given an available (solar) power profile. For the optimal load size selection, the loads are assumed to operate in
a binary manner, off or on, and therefore only the static load size is optimized.
2.1. Static Load Response Optimization Problem
To formalize the notation for the optimization approach presented in this paper, we assume knowledge of the
(solar) power delivery _S_ ( _t_ ) sampled at regular time intervals _t_ = _tk_ = _k_ ∆ _T_, where 1 _/_ ∆ _T_ is a fixed sampling
frequency and _k_ is the sample index. In this way, we have a data set of _T_ points on the solar power production
_S_ ( _tk_ ) _,_ _k_ = 1 _, ..., T_ . Typically, _S_ ( _tk_ ) is close to a daily periodic function and _S_ ( _tk_ ) _≥_ 0 over a daily time interval
_tk_ _∈_ [ _tb, te_ ], where _b_ is the beginning and _e_ is the ending of the day, with a maximum value
_Smax_ = max _S_ ( _tk_ ) _,_
_k_
that is typically equal to the AC rating of the solar power system. The data _S_ ( _tk_ ) and _Smax_ may be available from
historical solar power measurements or from solar radiation measurements in conjunction with a model of the solar
power conversion efficiency.
In the static load response optimization we consider _n_ loads, where each load _i_ = 1 _, ..., n_ is characterized only
by a static power value _x_ <sup>_i_</sup> that can be either turned on or off. Given the number _n_ of loads, the objective of the static
load response optimization is to find the optimal distribution of static load values _x_ <sup>_i_</sup> _,_ _i_ = 1 _,_ 2 _, . . ., n_ so that the time
sampled solar power delivery _S_ ( _tk_ ) can be approximated as closely as possible to maximize the energy captured.
As indicated in Figure 1, the power mismatch _E_ ( _tk_ ) at any time _tk_ can be characterized by
_n_
_E_ ( _tk_ ) = _S_ ( _tk_ ) _−_
_i_ =1
_u_ <sup>_i_</sup> _k_ <sup>_xi_</sup>
where _u_ <sup>_i_</sup> _k_ <sup>_∈_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1]</sup> <sup>are</sup> <sup>_n_</sup> <sup>binary</sup> <sup>numbers</sup> <sup>reflecting</sup> <sup>the</sup> <sup>on/off</sup> <sup>switch</sup> <sup>state</sup> <sup>of</sup> <sup>the</sup> <sup>individual</sup> <sup>loads</sup> <sup>_i_</sup> <sup>=</sup> <sup>1</sup> <sup>_, . . ., n_</sup> <sup>with</sup>
their (to be determined) static load size _x_ <sup>_i_</sup> . Defining the vectors
_k_ = - _u_ 1 _k_ _u_ <sup>2</sup> _k_ _..._ _u_ <sup>_n_</sup> _k_ - _,_ _u_ <sup>_i_</sup> _k_ <sup>_∈_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1]</sup>
_x_ = - _x_ 1 _x_ <sup>2</sup> _..._ _x_ <sup>_n_</sup> <sup>�</sup> <sup>_T_</sup> _,_ _x_ <sup>_i_</sup> _>_ 0
_uk_ =
- _u_ 1 _k_ _u_ <sup>2</sup> _k_
_k_ _k_ _k_ (1)
- _x_ 1 _x_ <sup>2</sup> _..._ _x_ <sup>_n_</sup> <sup>�</sup> <sup>_T_</sup> _,_ _x_ <sup>_i_</sup> _>_ 0
<sup>2</sup> _k_ _..._ _u_ <sup>_n_</sup> _k_
_k_
- _,_ _u_ <sup>_i_</sup> _k_
3
Figure 1: Problem illustration for one clear and symmetric day. Loads _x_ <sup>_i_</sup> are scheduled hourly to follow the increase or decrease in solar power
generation _S_ ( _tk_ ).
the static power mismatch _E_ ( _tk_ ) at a particular time _tk_ can be written with an inner product
_E_ ( _tk_ ) = _S_ ( _tk_ ) _−_ _ukx,_
of the time dependent binary switch state vector _uk_ and the static load size distribution vector _x_ . Static load response
optimization can now be written as
arg min
_uk,x_
_N_
_k_ =1
_E_ ( _tk_ ) <sup>2</sup> _,_ _E_ ( _tk_ ) = _S_ ( _tk_ ) _−_ _ukx_ (2)
where the variables _uk_ and _x_ are given in (1). The optimization in (2) is a least squares optimization in which both
the time dependent binary switch state vector _uk_ and the static load size distribution vector _x_ must be determined on
the basis of the _T_ data points on the solar production _S_ ( _tk_ ) _,_ _k_ = 1 _, . . ., T_ .
Clearly, the least squares optimization in (2) is non-standard for several reasons. First of all, the error _E_ ( _tk_ ) is bilinear due to the product of the optimization variable _uk_ and _x_ . Furthermore, the optimization variable _uk_ is a binary
vector, whereas the elements _x_ <sup>_i_</sup> of the static load size distribution vector _x_ must likely satisfy (linear) constraints
_x_ <sup>_i_</sup> _≥_ _x_ <sup>_i−_</sup> <sup>1</sup> _≥_ 0 (3)
to ensure a unique load distribution solution with real valued positive loads. An additional linear constraint
_n_
_i_ =1
_x_ <sup>_i_</sup> = _|x|_ 1 = _CSmax_ (4)
where _C_ can be chosen in the range of 0 _._ 5 _< C_ _<_ 1 ensures that the sum of the load distribution is bounded to avoid
oversizing of the loads in trying to match the anticipated maximum power production _Smax_ . Finally, the number of
loads ( _n_ ) also needs to be determined. It is clear that a larger value _n_ of will enable smaller power mismatch errors
_E_ ( _tk_ ) but would likely increase the investment cost as the per kWh cost of a load unit typically decreases with the
size of the unit.
The process can be described in a flow chart as Figure 2 illustrates, starting with annual solar irradiance data for at
least one year to capture the seasonal changes. Then followed by a power model to compute solar power and then sort
solar power annual data followed by inputting number of desired units then the optimal unit sizing will be computed
then followed by a daily unit scheduling.
4
Figure 2: Flow chart of the proposed optimization process in this paper.
### 3. Solar Resource Data and its Distribution
To capture the interannual variability of solar irradiance, solar resource data should be collected for several years,
such as in the production of a typical meteorological year (TMY). In this paper, only one year of solar power generation
is used to demonstrate the model application, but most large solar system developers rely on multidecadal modeled
power production based on site adoption of long-term satellite records with short-term local measurements for their
financial calculations [36]. Such long-term data would be preferable in practice although interannual variability of
solar energy generation is small. For example, [37] specifies that the interannual variability of GHI for 7-10 years of
measurement at Potsdam, Germany and Eugene, USA is about 5%.
Here, only one year of data was available which allows characterizing most of the important seasonal and diurnal
variability.
3.1. Case Study 1: San Diego, USA
Multidecadal PV power projections are typically based on the measured and modeled GHI which is transposed to
the direct, diffuse, and reflected radiation at the plane-of-array[38, 39, 40] and input into a PV performance model.
We bypass the complexity in the PV power modeling by using a solar power generation dataset available at two sites.
AC power production and GHI data were collected from a (91.6 kWDC and 100 kWAC) fixed tilt (non-tracking)
polycrystalline PV system (Figure 3). The system was installed at 10 <sup>_◦_</sup> tilt and facing south, at the UC San Diego
campus at 32 <sup>_◦_</sup> 53 <sup>_′_</sup> 01 _._ 4”N 117 <sup>_◦_</sup> 14 <sup>_′_</sup> 22 _._ 6”W. Data for one year, _i.e.,_ May 2011 through April 2012, were used and
averaged over 15 minutes. The raw data is available at 1 s resolution and the algorithm can be applied to data at
any temporal resolution. Nevertheless, switching loads over such short timescales is generally impractical and we
assume instead that a small energy storage system modulates high frequency solar variability to create a supply that is
stable over 15 min intervals. The solar power data for these specific sites are not symmetric over a day, and overcast
conditions occur more frequently in the mornings.
The impacts of solar PV generation variability on the utilization of different combinations of discrete loads is
illustrated through 2-dimensional (2D) histograms in Figure 4. In each subplot, similar to Figure 3, one year of
solar power data is superimposed over one day and different numbers of units _n_ are used to track the solar power
generation. The quantization idea of the solar power data _S_ ( _tk_ ) for different numbers of units is illustrated. _N_ =
2 <sup>_n_</sup> _−_ 1 is the number of discrete combinations of units for each case described in (1), which implies that with more
units more discrete load levels can be served resulting in a better match with the solar generation. Qualitatively,
the best combination of load sizes is expected to be the one that is able to best track the solar generation levels (or
minimize power mismatch as in (2)) that are (i) large and (ii) occur frequently.
3.2. Case Study 2: Thuwal, Saudi Arabia
Another case was selected to prove the robustness of the algorithms to different input data. Thuwal, north of
5
100
90
80
70
60
50
40
30
20
10
0
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Time (Hours)
Figure 3: 365 days of solar PV output data from the UC San Diego campus (green) superimposed with the annual average (red). Hourly boxplots
(black) show the median, 25 <sup>_th_</sup> and 75 <sup>_th_</sup> percentiles, and range.
n=2
3
2
1
2 4 6 8 1012
n= 4
2 4 6 8 1012
6
4
2
n= 3
2 4 6 8 1012
15
10
5
<u>n= 5</u> <u>n= 6</u>
30 60
20 40
10 20
<u>n= 5</u>
<u>n= 6</u> <u>n= 7</u>
60
100
40
20 50
100
50
60
50
40
30
20
10
2 4 6 8 1012
<u>n= 8</u>
200
100
0
2 4 6 8 1012
0
2 4 6 8 1012
Daytime hour
2 4 6 8 1012
0
2 4 6 8 1012
<u>n= 9</u>
1000
<u>n= 9</u> <u>n= 10</u>
500 1000
500
0
2 4 6 8 1012
Figure 4: 2D histogram of number of occurrences of a combination of discrete loads for _n_ = 2 to 10 as a function of time of day for one year of
solar power generation data shown in Figure 3. Only hours with non-zero power data, i.e., only daytime hours, are shown. For example, for _n_ = 2,
either two units (at different capacity) can be turned on individually or together resulting in 3 discrete loads. For _n_ = 10, almost 1,000 discrete
load levels exist, The colors show how often each combination of loads is run to utilize the energy from solar PV generation.
Jeddah, is a city located in the west coast of Saudi Arabia as shown in Figure 2 of [41]. Thuwal solar meteorology is
predominantly clear and at a lower latitude and is therefore quite different from San Diego with days such as clear day
(D1) in Figure 10 being more common. Data from a monocrystalline Silicon solar PV power plant at (22 <sup>_◦_</sup> 18 <sup>_′_</sup> 28 _._ 5”N
39 <sup>_◦_</sup> 06 <sup>_′_</sup> 17 _._ 1”E) with tilt 20 <sup>_◦_</sup> and azimuth of 133 <sup>_◦_</sup> and 145 <sup>_◦_</sup> (split in two different arrays) was collected by King
Abdullah University of Science and Technology (KAUST).
### 4. Optimization Techniques
This section is initiated by an analytical solution for a small number _n ≤_ 2 of loads is presented when the available
power follows a symmetric daily profile. The analytical approach is followed by the motivation for a computational
procedure to compute optimal load size distribution for a larger number _n ≥_ 2 of loads when the available daily power
profile is non-symmetric. After that three different optimization techniques are presented, discussed and compared.
4.1. Analytical and Motivating Example
Consider a (symmetric) time dependent power function _y_ = _S_ ( _t_ ) which must be followed by the rectangular
power demands created by a simple on/off switching of a static load over a specified time period. System efficiency
6
is optimized by finding the largest rectangular window (representing energy demand by the switchable load units) to
be drawn under the power function _S_ ( _t_ ). For a single load subjected to a symmetric _S_ ( _t_ ), this problem reduces to
selecting an optimal on/off switch time _t_ <sup>¯</sup> to define the width of the rectangle 2 _t_ <sup>¯</sup> and height _y_ ¯ = _S_ ( _t_ <sup>¯</sup> ), as indicated in
Figure 5.
~~<mark>S(t)</mark>~~
y=S(t)
## A
-tmax -t 0 t tmax
Figure 5: Single static unit sizing and scheduling optimization over a symmetric power function _S_ ( _t_ ), resembling solar power output on a clear
day.
The function _A_ ( _t_ ) that parametrizes the area of the rectangle in Figure 5 is equal to _A_ ( _t_ ) = 2 _tS_ ( _t_ ) and can be
written in terms of _y_ as _A_ ( _y_ ) = 2 _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ ) _y_ . The derivative or Jacobian of this function is given as
_A_ <sup>_′_</sup> ( _t_ ) = 2 _S_ ( _t_ ) + 2 _tS_ <sup>_′_</sup> ( _t_ ) _,_ or _A_ <sup>_′_</sup> ( _y_ ) = 2 _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ ) + 2 _y_ ( _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ )) <sup>_′_</sup>
By setting _A_ <sup>_′_</sup> ( _y_ ) = 0, the optimal value for the load size _y_ ¯ = _f_ ( _t_ <sup>¯</sup> ) and the resulting switch time _t_ <sup>¯</sup> can be found.
In this case, it is clear that _A_ <sup>_′_</sup> ( _y_ ) = 0 leads to the analytical expression
_S_ <sup>_−_</sup> <sup>1</sup> ( _y_ ) = _−y_ ¯( _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ )) <sup>_′_</sup> (5)
where solving it for _y_ gives the optimal load size _y_ ¯.
To make this approach applicable to a symmetric solar PV power curve, a clear sky power solar function _S_ ( _y_ )
can be modeled as a trigonometric function or a parabola. Global horizontal irradiance (GHI) models have been
extensively studied in the literature in [42, 38, 39, 40] take for example equation 20 [42] as bellow
_GHI_ = 951 _._ 39 _cos_ ( _t_ ) <sup>1</sup> <sup>_._</sup> <sup>15</sup>
In this paper, a simplified fitting curve is presented using trigonometric and parabola functions as below (see Appendix
for accuracy discussion),
_S_ ( _t_ ) = _y_ = _a cos_ ( _bt_ ) + _a_ 1 _sin_ ( _bt_ ) = _a sin_ ( _bt_ + _c_ ) (6)
where _a_ = 0 _._ 9903 _,_ _a_ 1 = _−_ 0 _._ 001192, _b_ = 0 _._ 006952, and _c_ = 1 _._ 572 based on data obtained from a clear solar day,
where axes interception are (0 _, ±ymax_ ) = (0 _,_ 0 _._ 9903) and ( _±tmax,_ 0) = ( _±_ 226 _,_ 0). The inverse function _S_ <sup>_−_</sup> <sup>1</sup> is thus
as follows,
_t_ = _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ ) = _α_ arcsin( _βy_ ) + _γ_ (7)
where _α_ = 143 _._ 8 _,_ _β_ = 1 _._ 01 _,_ and _γ_ = _−_ 226 _._ 1. More details on the computation of the numerical values of _a_, _b_ can
be found in Appendix A. The first derivative of (7) can be expressed as
_t_ <sup>_′_</sup> = ( _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ )) <sup>_′_</sup> = _<u>αβ</u>_ (8)
<u>�1 +</u> _β_ <sup>2</sup> _y_ <sup>2</sup>
7
Solving the analytic expression (5) numerically for an optimal integer value _t_ <sup>¯</sup>, with _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ ) given in (7) and
( _S_ <sup>_−_</sup> <sup>1</sup> ( _t_ )) <sup>_′_</sup> given in (8) with a trigonometric function to compute the optimal values of ¯ _y_ analytically, with the following
numerical value of _A_ <sup>_′_</sup> ( _y_ ) = 0
_S_ <sup>_−_</sup> <sup>1</sup> ( _y_ ) + _y_ ( _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ )) <sup>_′_</sup> = 0 _→_ _<u>y</u>_
1
_αβ_
_<u>y</u>_
= 0
<u>�1</u> _−_ _y_ <sup>2</sup> _/α_ <sup>2</sup> <sup>_−_</sup> <sup>_<u>γ −</u>_</sup> <sup>_<u>arcsin</u>_</sup> _β_ <sup><u>(</u></sup> <sup>_<u>y/α</u>_</sup> <sup><u>)</u></sup>
then leads to
_S_ ( _t_ <sup>¯</sup> ) = _y_ ¯ = 0 _._ 6489
(9)
_t_ ¯ = _±_ 123
for the optimal switch time _t_ <sup>¯</sup> and normalized load size _y_ ¯.
The resulting optimal switch time and load size lead to a maximum (rectangular) area of 2 _t_ <sup>¯</sup> _y_ ¯ = 2 _·_ 0 _._ 6489 _·_ 123 =
159 _._ 6294. With the known (symmetric) solar power curve _S_ ( _t_ ), we can also compute <sup>�</sup> _−_ <sup>_xmax_</sup> _xmax_ <sup>_S_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) over the integer</sup>
values _t ∈_ [ _−_ 226 _,_ 226] to be 284.8962 and obtain
<u>2</u> _<u>t</u>_ <sup>¯</sup> _<u>y</u>_ <u>¯</u>
SU = Solar utilization = <sup><u>Total Energy Captured by Units</u></sup> =
Total Solar Energy <u>�</u> _t−maxtmax_ <sup>_S_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_dt_</sup>
= 56 _._ 03% _._
This means that for a single load, the optimal rectangular area achieved under the given symmetric power curve _S_ ( _t_ )
captures 56% of the total (solar) energy. Similar results can be obtained by a straightforward line search algorithm for
the scalar value of _t_ as provided in Appendix B.
The approach of finding optimal on/off switching time and load size for a symmetric power curve can also be
extended to the case of multiple loads. However, the solution is only analytically tractable for _n_ = 2 loads where the
Jacobian becomes a two dimensional vector or a three dimensional vector with an additional equality constraint as
indicated below.
<u><mark>S(t)</mark></u>
y3=S(t3)
## A3
y2=S(t2)
y1=S(t1)
## A1 A2 A2
-tmax -t1 -t2 -t3 0 t3 t2 t1 tmax
Figure 6: Analytical optimization results for a functional clear sky model and two units. _A_ 1, _A_ 2, and _A_ 3 are the energy captured by loads 1, 2,
and both loads together.
Figure 6 illustrates the optimal load size distribution and switching to maximize solar utilization for _n_ = 2 loads.
Under this scenario there exists 3 optimal switch times _t_ 1, _t_ 2 and _t_ 3 for two (optimal) load sizes _y_ 1, _y_ 2, where
_y_ 3 = _y_ 1 + _y_ 2 is used to indicate when both loads are on. The dark gray shaded area is due to switch time _t_ 2, where
the area is _A_ 1 = 2 _t_ 2 _y_ 2. The area of the light gray shaded areas are functions of _t_ 1, _t_ 2 and _t_ 3, where the area of the
light gray rectangular areas is the sum of _A_ 2 = 2( _t_ 1 _−_ _t_ 2) _y_ 1 and _A_ 3 = 2 _t_ 3( _y_ 3 _−_ _y_ 2). The objective is to maximize
8
the sum of the shaded areas
_A_ ( _y_ 1 _, y_ 2 _, y_ 3) =
2 <sup>_n_</sup> _−_ 1=3
_i_ =1
_Ai_ = 2 _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 2) _y_ 2 + 2( _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 1) _−_ _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 2)) _y_ 1 + 2 _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 3)( _y_ 3 _−_ _y_ 2)
to solve for the optimal switch times and load sizes as shown in Figure 6. The area _A_ ( _y_ 1 _, y_ 2 _, y_ 3) can be reduced to a
function of only two variables _A_ <sup>¯</sup> ( _y_ 1 _, y_ 2) by substituting _y_ 3 = _y_ 1 + _y_ 2 to obtain
_A_ ¯( _y_ 1 _, y_ 2) = 2 _y_ 1( _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 1) _−_ _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 2) + _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 1 + _y_ 2)) + 2 _y_ 2 _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 2) _._ (10)
The maximum solar utilization can now be expressed as an optimization problem:
_y_ 1max _,y_ 2 _,y_ 3 <sup>_A_</sup> <sup>(</sup> <sup>_y_</sup> <sup>1</sup> <sup>_, y_</sup> <sup>2</sup> <sup>_, y_</sup> <sup>3)</sup>
subject to 0 _≤_ _y_ 1 _≤_ _y_ 2 _≤_ _y_ 3 _< ymax_
_y_ 3 = _y_ 1 + _y_ 2 _,_
(11a)
which alternatively can be written as
max
_y_ 1 _,y_ 2
_A_ ¯( _y_ 1 _, y_ 2)
_y_ 1 _,y_ 2 (11b)
subject to 0 _≤_ _y_ 1 _≤_ _y_ 2 _< ymax_
where _S_ ( _y_ ) is given in (7), and _ymax_ is the _y_ intersection of _S_ ( _y_ ). We consider only the positive values _y_ _>_ 0 of the
symmetric trigonometric approximation _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ ) as indicated in Figure 6.
Figure 7: Area surface plot of equation (10) as function of _y_ 1 and _y_ 2. The _z_ -axis and the colorbar show the area.
Since the optimization problem has affine equality constraints, its solution set is convex. Moreover, the objective
function is a concave function. Thus, it has a single maximum or minimum 1 _/A_ ( _y_ 1 _, y_ 2 _, y_ 3) as indicated in Figure 7.
As a result, solving the optimization in (11b) by an iterative gradient method will lead to the global maximum solution.
The following Jacobian matrix, which is derived in Appendix C,
- _J_ =
_<u>∂A</u>_
_∂y_ 1
_<u>∂A</u>_
_∂y_ 2
=
_S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 1) _−_ _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 2) + _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 1 + _y_ 2) + _y_ 1( _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 1)) <sup>_′_</sup>
( _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 2)) <sup>_′_</sup> ( _y_ 1 + _y_ 2) + _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 2)
can be used in an iterative gradient based method, leading to the optimal load size solutions [¯ _y_ 1 _,_ ¯ _y_ 2 _,_ ¯ _y_ 3] = [¯ _y_ 1 _,_ ¯ _y_ 2 _,_ ¯ _y_ 1 +
9
_y_ ¯2] = [0 _._ 2727 _,_ 0 _._ 5758 _,_ 0 _._ 8485]. The resulting solar utilization for 2 loads is then characterized by
_<u>A</u>_ <u>(¯</u> _<u>y</u>_ <u>1</u> _<u>,</u>_ <u>¯</u> _<u>y</u>_ <u>2</u> _<u>,</u>_ <u>¯</u> _<u>y</u>_ <u>3)</u>
SU =
<u>�</u> _t−maxtmax_ <sup>_S_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_dt_</sup>
= 79 _._ 49%
indicating a significant improvement over the single load solar utilization of 56 _._ 0307% over the same symmetric solar
power curve.
The analytic approach indicates that maximizing solar utilization is equivalent to finding the largest sum of rectangle windows that can be drawn under the power function _S_ ( _t_ ). Extending this concept to _n_ number of loads where
_n >_ 2 would entail
2 <sup>_n_</sup>
_A_ ( _y_ 1 _, · · ·_ _, y_ 2 _n−_ 1) =
_i_ =1
2 [ _S_ <sup>_−_</sup> <sup>1</sup> ( _yi_ ) _−_ _S_ <sup>_−_</sup> <sup>1</sup> ( _yi_ +1)] _yi,_ (12a)
where _y_ 2 _n_ = 0 and
_, i_ = _{_ 1 _,_ 2 _, · · ·_ _,_ 2 <sup>_n_</sup> _−_ 1 _},_ (12b)
_yi_ = _bin_ ( _i_ ) <sup>_T_</sup> _×_
_y_ 1
_y_ 2
...
_yn_
where _bin_ ( _i_ ) is a reversed vertical vector format representing the binary value of _i_ . The number of variables of the
new area function _A_ <sup>¯</sup> ( _y_ 1 _, · · ·_ _, yn_ ) in (12a) reduces to _n_ variables instead of 2 <sup>_n_</sup> _−_ 1 by substituting (12b).
In summary the optimization problem appears to be convex over our solution set. However, relying on _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ )
for _y_ _>_ 0 is not possible, as _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ ) is not guaranteed to exist. Furthermore, a power curve _S_ ( _t_ ) may not be
symmetric, especially for PV systems operating on non-clear day conditions. To overcome these obstacles, this paper
proposes optimization approaches that exploit the convexity of the optimization problem that selects the optimal load
size distribution. Although the analytic approach is only viable for a small number of loads under symmetric power
curves, we will use the optimally computed solar utilization as a benchmark for the solar utilization obtained from the
optimization approaches presented in the following.
4.2. Equality Constrained Least Squares Optimization
Although the optimization in 2 to minimize the Least Squares of the static power mismatch _E_ ( _tk_ ) is bi-linear, it
is clear that the entries of the time dependent binary switch state vector _uk_ is given by a limited number of binary
combinations. The number of binary combinations depends on the choice of _n_ and the number of data points _T_ . Once
the time dependent binary switch state vector _uk_ is fixed, the optimization in (2) reduces to a standard Least Squares
(LS) problem to find the optimal value of the static load size distribution vector _x_ .
To ensure a unique solution for the static load size distribution vector _x_, the constraint (3) can be included in the
LS optimization implicitly by simply ordering the _T_ data points of the (solar) power data _S_ ( _tk_ ). The ordering uses
the fact that both _S_ ( _tk_ ) _≥_ 0, _x_ <sup>_i_</sup> _>_ 0 and the fact that a larger value of _S_ ( _tk_ ) would require the switching of a larger
sum of loads _ukx_ . To set up the solution to the optimization to (2), the solar data _S_ ( _tk_ ) that may be periodic due to
daily patterns and irregular due to weather patterns, is sorted such that
_S_ ( _tk_ ¯+1) _≥_ _S_ ( _tk_ ¯) _,_ _k_ <sup>¯</sup> = 1 _, ..., T_ _−_ 1 (13)
The ordering in (13) ensures that _S_ ( _tk_ ¯) is monotonically non-decreasing function represented as the unshaded
curve in Figure 8 In addition, it allows the ordering of the _n_ numerical values _x_ <sup>_i_</sup> _>_ 0 in the vector _x_ to become
unambiguous by properly ordering the _n_ binary values _u_ <sup>_i_</sup> _k_ ¯ <sup>in the binary vector</sup> <sup>_u_</sup> _k_ <sup>¯</sup> <sup>for each value of ¯</sup> <sup>_k_</sup> <sup>= 1</sup> <sup>_, ..., T_</sup> <sup>_−_</sup> <sup>1.</sup>
The ambiguity in the ordering of the _n_ numerical values _x_ <sup>_i_</sup> _>_ 0 in _x_ given in (3) is implicitly included due to the
fact
_S_ ( _tk_ ¯+1) _≥_ _S_ ( _tk_ ¯) _⇒_ _uk_ ¯+1 _x ≥_ _uk_ ¯ _x,_ _k_ <sup>¯</sup> = 1 _, ..., T_ _−_ 1 (14)
10
100
50
0
0 0.5 1 1.5 2 2.5 3 3.5
Time (one year) #10 <sup>4</sup>
<u>(a)</u>
100
50
0
0 0.5 1 1.5 2 2.5 3 3.5
Time (one year) sorted data #10 <sup>4</sup>
(b)
Figure 8: (a) Time series plot for 12 months of solar power data starting from May 2011 through April 2012. (b) Sorted solar power data _S_ ( _t_ <sup>¯</sup> _k_ )
sampled at a 15 minute interval satisfying equation (13).
and the fact that _x_ <sup>_i_</sup> _>_ 0. In this way, the values of _xi_ can be ordered if we order the values of _u_ <sup>_i_</sup> _k_ ¯ <sup>_∈_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1] contained in</sup>
the time ordered binary switch state vector _uk_ ¯ by the choice of a positive real linear function
_f_ ( _uk_ ¯) =
_n_
_i_ =1
_f_ <sup>_i_</sup> _u_ <sup>_i_</sup> _k_ ¯ <sup>_,_</sup> <sup>_f i_</sup> <sup>_>_</sup> <sup>0</sup> (15)
<sup>_i_</sup> _k_ ¯ <sup>_,_</sup> <sup>_f i_</sup> <sup>_>_</sup> <sup>0</sup> (15)
that satisfies the property
_f_ ( _uk_ ¯+1) _≥_ _f_ ( _uk_ ¯) _,_ _k_ <sup>¯</sup> = 1 _, ..., T_ _−_ 1 (16)
The rationale behind the choice of the function _f_ ( _·_ ) in (15) is as follows. For a given value of _n_, there are 2 <sup>_n_</sup> _−_ 1
possible binary combinations of the vector _xk_ ¯, excluding the value 0. Ordering the values of the time ordered binary
switch state vector _uk_ ¯ according to (16), allows us to choose a fixed _x_ (independent of _k_ <sup>¯</sup> ) with _x_ <sup>_i_</sup> _>_ 0 to satisfy (14).
An obvious choice for the desired function _f_ ( _·_ ) in (15) is to use the fact that _u_ <sup>_i_</sup> _k_ ¯ <sup>_∈_</sup> <sup>[0</sup> <sup>_,_</sup> <sup>1] and that the vectors</sup> <sup>_u_</sup> _k_ <sup>¯</sup>
with length _n_ can be seen as a _n_ bit binary number representing a signed integer number _dk_ ¯ _>_ 0. The conversion
from an _n_ bit binary number _uk_ ¯ to a signed integer number _dk_ ¯ is given by
_n_
_f_ ( _uk_ ¯) = _dk_ ¯ =
_i_ =1
_u_ <sup>_i_</sup> _k_ ¯ <sup>_·_</sup> <sup>2</sup> <sup>_n−i,_</sup> (17)
which clearly satisfies the conditions of the function _f_ ( _·_ ) given in (15) and (16). With the choice of _f_ ( _uk_ ¯) = _dk_ ¯ and
ordering the integer numbers _dk_ ¯ according to (15), the static load optimization problem in (2) can be rewritten as
(18)
_x_ ˆ = arg min
_x_
_T_
_k_ ¯=1
_E_ ( _tk_ ¯) <sup>2</sup> _,_ _E_ ( _tk_ ¯) = _S_ ( _tk_ ¯) _−_ _uk_ ¯ _x_
_f_ ( _uk_ ¯+1) _≥_ _f_ ( _uk_ ¯) _,_ _k_ <sup>¯</sup> = 1 _, ..., T_ _−_ 1
with _f_ ( _uk_ ¯) given in (17). It should be noted that for a given value of _n_, the binary numbers and the ordering of _uk_ ¯ in
(18) are completely known. As a result, only an optimization over _x_ is required reducing the optimization in (2) to an
equivalent standard least squares (LS) optimization given in (18). With the known time ordered binary switch state
vector _uk_ ¯, the time ordered error _E_ ( _tk_ ¯) for _k_ <sup>¯</sup> = 1 _, ..., T_ in (2) can be written in a matrix notation _E_ = _S −_ _Ux_ where
11
the matrices are given by
_S_ = - _S_ ( _t_ 1) _S_ ( _t_ 2) _· · ·_ _S_ ( _tT_ ) - _T_ _∈_ _RT ×_ 1 _,_
_E_ = - _E_ ( _t_ 1) _E_ ( _t_ 2) _· · ·_
_E_ ( _tT_ ) <sup>�</sup> <sup>_T_</sup> _∈_ _R_ <sup>_T ×_</sup> <sup>1</sup>
_S_ =
- _S_ ( _t_ 1) _S_ ( _t_ 2) _· · ·_ _S_ ( _tT_ )
- _E_ ( _t_ 1) _E_ ( _t_ 2) _· · ·_
_E_ ( _tT_ ) <sup>�</sup> <sup>_T_</sup> _∈_ _R_ <sup>_T ×_</sup> <sup>1</sup> _,_
_⊗_ 1 1 _×L_ _∈_ _RT ×n_
<sup>2</sup> 1 _· · ·_ _u_ <sup>_n_</sup> 1
<sup>2</sup> 2 _· · ·_ _u_ <sup>_n_</sup> 2
_u_ <sup>1</sup> 1
(19)
2 2 2
... ... ...
_u_ <sup>1</sup> 2 <sup>_n_</sup> _−_ 1 _u_ <sup>2</sup> 2 <sup>_n_</sup> _−_ 1 _· · ·_ _u_ <sup>_n_</sup> 2 <sup>_n_</sup>
1 1 1
_u_ <sup>1</sup> 2 _u_ <sup>2</sup> 2 _· · ·_ _u_ <sup>_n_</sup> 2
<sup>1</sup> 2 <sup>_n_</sup> _−_ 1 _u_ <sup>2</sup> 2
<sup>1</sup> 1 _u_ <sup>2</sup> 1
<sup>1</sup> 2 _u_ <sup>2</sup> 2
<sup>2</sup> 2 <sup>_n_</sup> _−_ 1 _· · ·_ _u_ <sup>_n_</sup> 2
_U_ =
_x_ =
- _x_ 1 _x_ <sup>2</sup> _· · ·_ _x_ <sup>_n_</sup> <sup>�</sup> <sup>_T_</sup> _∈_ _R_ <sup>_n×_</sup> <sup>1</sup>
2 <sup>_n_</sup> _−_ 1
and where the block rows of the matrix _U_ will be repeated entries given of the time ordered binary load switch vector
- _u_ 1 _k_ ¯ _u_ <sup>2</sup> _k_ ¯ _· · ·_ _u_ <sup>_n_</sup> _k_ ¯ - due to Kronecker product with the 1 _× L_ unity vector 1 1 _×L_ where _L_ = _T/_ (2 <sup>_n_</sup> _−_ 1). The
- _u_ 1 _k_ ¯ _u_ <sup>2</sup> _k_ ¯ _· · ·_ _u_ <sup>_n_</sup> _k_ ¯ - due to Kronecker product with the 1 _× L_ unity vector 1 1 _×L_ where _L_ = _T/_ (2 <sup>_n_</sup> _−_ 1). The
repeated entries are needed to ensure that _U_ _∈_ _R_ <sup>_T ×n_</sup>, as there are only 2 <sup>_n_</sup> _−_ 1 binary load switch combinations
(excluding all loads off), while the available number of (solar) power data points _T_ _>>_ 2 <sup>_n_</sup> _−_ 1. The typical value of
_L_ for the repeating entries in the block rows of _U_ is _L_ = 20, using 20 _·_ (2 <sup>_n_</sup> _−_ 1) points of ordered (solar) power data
for computation of the optimal load size distribution. The standard LS minimization of (18) can be rewritten as
<sup>2</sup> _· · ·_ _u_ <sup>_n_</sup>
_k_ ¯ _k_ ¯
_k_ ¯
_x_ ˆ = arg min _x_ <sup>_∥S −_</sup> <sup>_Ux∥_</sup> <sup>2</sup>
where the solution can be computed by _x_ ˆ = [ _U_ <sup>_T_</sup> _U_ ] <sup>_−_</sup> <sup>1</sup> [ _U_ <sup>_T_</sup> _S_ ].
The standard LS solution in (18) will solve the Least Squares error of the static power mismatch, but does not
ensure yet that the sum of the load distribution is bounded as in (4) to avoid oversizing of the loads in trying to match
the anticipated maximum power production _Smax_ [43]. The additional linear equality constraint on the sum of the
load distribution can easily be incorporated via an Equality Constrained Least Square (ECLS) problem
_T_
_k_ ¯=1
_x,_ ˆ _λ_ <sup>ˆ</sup> = arg min
_x,λ_
_x,_ ˆ _λ_ <sup>ˆ</sup> = arg min
_E_ ( _tk_ ¯) <sup>2</sup> + _λ_ ( _Dx −_ _C_ )) _,_ _E_ ( _tk_ ¯) = _S_ ( _tk_ ¯) _−_ _uk_ ¯ _x_ (20)
that also includes a Lagrange multiplier _λ_ and the unit equality constraint vector _D_ = [1 1 _· · ·_ 1] = 1 1 _×n_ and a
chosen value of _C_ in the range 0 _._ 5 _≤_ _C_ _≤_ 1 to satisfy (4). The ECLS solution is now given by
_._
_C_
- _x_ ˆ
_λ_ ˆ
=
- _U_ <sup>_T_</sup> _U_ 1
1 0
- _−_ 1 � _U_ <sup>_T_</sup> _S_
with _U_ and _S_ as given in (19). Since the optimal value _C_ in the range 0 _._ 5 _≤_ _C_ _≤_ 1 to avoid oversizing of the loads
by bounding the sum of the load distribution as in (4) is unknown, an additional line search along _C_ can be used to
determine the optimal load oversizing constraint.
4.3. Inequality Constrained Least Squares Optimization
Although the ECLS approach presented above computes the optimal load size distribution _x_ = [ _x_ <sup>1</sup> _x_ <sup>2</sup> _· · ·_ _x_ <sup>_n_</sup> ] <sup>_T_</sup>,
the optimal solution _x_ ˆ to (20) still depends on the choice of the time ordered binary load switch vector _uk_ ¯ due to the
bi-linear nature of the optimization problem in (2). Even when the (solar) power data _S_ ( _tk_ ) has been ordered, it is
still not clear when exactly the loads will be turned on/off. Referring to Figure 9 to illustrate this concept, it is not
clear what the optimal load switch time _m_ 1 for the first load 1 will be and how many samples _m_ 2 the first load should
remain on before the second load is switched on at _m_ 1 + _m_ 2 samples. Clearly, the optimal static values _x_ ˆ <sup>1</sup> and _x_ ˆ <sup>2</sup> of
the loads depend on these switching times.
To explicitly incorporate the ordering constraint (3) and allow for variability in the switch time, both the optimization variable _x_ and the matrix _U_ in (19) can be modified., while still allowing for a convex optimization. First we
12
1.2
1
0.8
0.6
0.4
0.2
0
S(tm 1)+ x S(t 1+x m 2 2 )
S(tm x 2) 2
S(t x m 1 1)
x m 1 1
1
Figure 9: Illustration of variable switching time in optimal load switching and load size optimization.
define
1 1 _· · ·_ 1
0 1 _· · ·_ 1
... ... ...
0 0 _· · ·_ 1
_∈_ _Rn×n_
_x_ = _T_ ¯ _x,_ _T_ =
where the upper diagonal matrix _T_ ensures that _x_ ¯ now reflect the incremental change in the load size distribution. In
this way the ordering constraint (3) can be enforced explicitly by _x >_ ¯ 0. Secondly, we define
1 <sup>2</sup> _· · ·_ _U_ 1 <sup>_n_</sup>
2 <sup>2</sup> _· · ·_ _U_ 2 <sup>_n_</sup>
_∈_ _RT ×n_
2 2 2
... ... ...
_U_ 2 <sup>1</sup> <sup>_n_</sup> _−_ 1 _U_ 2 <sup>2</sup> <sup>_n_</sup> _−_ 1 _· · ·_ _U_ 2 <sup>_nn_</sup>
_U_ 1 <sup>1</sup>
2 <sup>1</sup> <sup>_n_</sup> _−_ 1 _U_ 2 <sup>2</sup> <sup>_n_</sup>
1 <sup>1</sup> _U_ 1 <sup>2</sup>
2 <sup>1</sup> _U_ 2 <sup>2</sup>
2 <sup>2</sup> <sup>_n_</sup> _−_ 1 _· · ·_ _U_ 2 <sup>_n_</sup>
1 1 1
_U_ 2 <sup>1</sup> _U_ 2 <sup>2</sup> _· · ·_ _U_ 2 <sup>_n_</sup>
_U_ ( _m_ ) =
2 <sup>_n_</sup> _−_ 1
where now the block rows of _U_ are defined by
_k_
- _Uk_ 1 _Uk_ <sup>2</sup>
_k_
_k_ <sup>2</sup> _· · ·_ _Uk_ <sup>_n_</sup>
- <sup>�</sup> _u_ 1 _k_ _u_ <sup>2</sup> _k_
<sup>�</sup> _u_ 1 _k_ _u_ <sup>2</sup> _k_ _· · ·_ _u_ <sup>_n_</sup> _k_ - _⊗_ 1 1 _×mk_ _,_ _k_ = 1 _,_ 2 _, . . .,_ 2 <sup>_n_</sup> _−_ 2
- _u_ 1 _k_ _u_ <sup>2</sup> _k_ _· · ·_ _u_ <sup>_n_</sup> _k_ - _⊗_ 1 1 _×T −_ <sup>�</sup> _m,_ _k_ = 2 <sup>_n_</sup> _−_ 1
<sup>2</sup> _k_ _· · ·_ _u_ <sup>_n_</sup> _k_
<sup>2</sup> _k_ _· · ·_ _u_ <sup>_n_</sup> _k_
- =
_k_
- _⊗_ 1 1 _×T −_ <sup>�</sup> _m,_ _k_ = 2 <sup>_n_</sup> _−_ 1
in which the integer vector
_m_ = - _m_ 1 _m_ 2 _· · ·_ _m_ 2 _n−_ 1
- with _m >_ 0 _,_
- _m < T_
is the set of 2 <sup>_n_</sup> _−_ 1 possibilities of incremental switching time values in the case of _n_ loads.
The incremental switching time values _m_ allow variable timing when loads are switched, similar as in Figure 9 for
the case of _n_ = 2 loads. Moreover, given the vector of incremental switching time values _m_, the optimal incremental
load size distribution can be computed with a Inequality Constrained Least Squares (ICLS) problem
_x_ ˆ = arg min _x_ ¯ <sup>_∥S −_</sup> <sup>_U_</sup> <sup>(</sup> <sup>_m_</sup> <sup>)</sup> <sup>_T_</sup> <sup>¯</sup> <sup>_x∥_</sup> <sup>2</sup> <sup>_,_</sup> <sup>subject to</sup> <sup>_Ax_</sup> <sup>¯</sup> <sup>_≤_</sup> <sup>_b_</sup> (21)
where the matrix _A_ and _b_ can be used to enforce inequality constraints. In particular, the choice
_,_ _b_ =
- 0 _n×_ 1
_S_
_A_ =
- _−In×n_
_U_ ( _m_ ) _T_
enforces the ordering constraint (13) via _x_ ¯ _≥_ 0 and ensures load power demand is always under the (solar) power
curve via _U_ ( _m_ ) _T_ ¯ _x_ = _U_ ( _m_ ) _x ≤_ _S_ to avoid oversizing of the loads directly.
The solution to the ICLS problem can be solved with standard convex optimization tools and will lead directly to
13
optimal results for the static load distribution, given the integer vector
- with _m >_ 0 _,_
- _m < T_
_m_ =
- _m_ 1 _m_ 2 _· · ·_ _m_ 2 <sup>_n_</sup> _−_ 1
of 2 <sup>_n_</sup> _−_ 1 possibilities of incremental switching time values. An additional line search or non-linear optimization can
be used on top of the ICLS problem to compute an optimal set of incremental switching time values to further improve
the solar utilization of the static load distribution. Theoretically, such an additional search along the switching time
values via an additional iterative or gradient based optimization should lead to the globally optimal solution to the
bi-linear optimization problem of (2), as one can use the full number of _T_ data points on the (solar) power data,
while using the smallest number of optimization variables. A drawback is that the iterative search for switching time
values may get stuck in a local minimum. This was performed based on gradient search over _m_ using the Nonlinear
programming solver (fmincon) in the MATLAB optimization toolbox
4.4. Mixed-integer Linear Programming (MILP) Method
Since the optimization problem (2) is a bi-linear optimization problem involving a mix of binary and real numbers, a limited range of optimization solvers can be applied and none of which may guarantee global optimality. To
guarantee the optimality, we employ the Big-M relaxation method [44] to convert the optimization problem into a
mixed-integer linear programming (MIPL) problem. The convexity of MILP therefore fulfills the zero duality gap.
In addition, MILP has the capability of determining the exact switching schedule of load units, which the other
approaches discussed in this paper lack. In fact, solving the optimization problem through MILP is equivalent to
simultaneous solution to planning and scheduling problems.
There exist many mature MILP solvers which are capable of solving large-scale MILP problems with millions of
variables within a reasonable time frame [45]. Proper selection of optimization variables and use of the disjunctive
methods discussed in [22] make it possible to reformulate the original problem as an MILP problem.
Denoting the binary variable _ui_ ( _tk_ ) as the on/off status of the unit _i_ at time step _tk_, the optimization problem (2)
is presented as below,
_n_
_i_ =1
min _ui,xi_
_T_
- [ _S_ ( _tk_ ) _−_
_tk_ =1
_yi_ ( _tk_ )]
subject to _ui_ ( _tk_ ) _∈{_ 0 _,_ 1 _}, ∀tk_
_S_ ( _tk_ ) _≥_ - _yi_ ( _tk_ ) _,_
(22)
_yi_ ( _tk_ ) _, ∀tk_
_i_
_yi_ ( _tk_ ) = _ui_ ( _tk_ ) _xi,_
where _i_ and _tk_ are the index for units and time steps respectively. _S_ ( _tk_ ) denotes the solar power timeseries of length
_T_ . _x ∈_ _R_ <sup>_n_</sup> is the vector of load sizes. _yi_ ( _tk_ ) also denotes the committed demand by load _i_ at time _tk_ .
The last constraint in (22) is a bi-linear equality constraint and makes (22) nonconvex. To resolve the nonconvexity
issue, the big-M technique is used to replace the constraint with the two following sets of constraints,
- _yi_ ( _tk_ ) _≤_ _ui_ ( _tk_ ) _M,_
(23a)
_yi_ ( _tk_ ) _≥_ 0 _,_
- _yi_ ( _tk_ ) _≤_ _xi,_
(23b)
_yi_ ( _tk_ ) _≥_ _xi_ + ( _ui_ ( _tk_ ) _−_ 1) _M,_
where _M_ is a big-enough positive number, e.g. 10 <sup>6</sup> as utilized in the numerical examples here. The constraint sets
(23a) and (23b) are binding and relaxed respectively when _ui_ ( _tk_ ) = 1, guaranteeing _yi_ ( _tk_ ) = _xi_ . Likewise, _yi_ ( _tk_ )
exactly equal to zero _ui_ ( _tk_ ) = 0.
One great advantage of this method is that the input data can be one certain day (clear or cloudy), that is the data
does not need to be sorted as compared to the other approaches. In addition, as no change is required in the order
of PV power profile while solving the optimization problem via MILP, additional constraints and technologies such
14
as minimum uptime and downtime of load units and employing energy storage systems could be considered in the
optimization process. Since this paper is focused on optimal load sizing, these options will be discussed in detail in
the future research works.
MILP was implemented using the CVX toolbox and Gurobi 6.50 to solve the integer problem in our optimization.
To reduce computational expense, down-sampling the original data was needed. As the sequence of PV data does not
affect the optimization results, down-sampling with the ratio of 1 : _n_ can be performed by arbitrarily selecting one
data point from every _n_ data points from either the original or sorted data set further discussed in Section 5.3.
### 5. Results
In this paper, two levels of optimization are performed. The first level is toward unit sizing for a given number
of units. After the size of the units is determined, they are scheduled through an optimization process to capture the
maximum solar power. For example Figure 10, which will be discussed more in section 6, illustrates the scheduling
results on three sample days for different number of units.
Normalized Solar Power x1 x2 x3 x4 x5 x6
1
0.5
0
1
0.5
0
1
0.5
0
1
0.5
0
1
0.5
0
D1 D2 D3
Figure 10: Scheduling results for four different days (D1 clear, D2 mostly clear with scattered clouds, and D3: overcast. The unit sizes of the
Inequality Constrained Least Squares (ICLS) method are presented.
San Diego solar power data, described earlier in Section 3 is investigated in the following subsection using the
different optimization techniques. This is followed by an additional case study and concluded with a discussion.
5.1. Equality Constrained Least Squares Optimization (ECLS) Results
The optimal unit sizes _x_ are obtained from equation (20). Subsequently, the operation is simulated for one year
of solar power data. These results do not constrain the units with any minimum up or down time meaning the units
are instantly turned on or off. After that the solar utilization ( _SU_ ) was calculated by dividing energy consumed by the
loads over the solar power data for one year.
A Sensitivity analysis for ECLS method was performed for _n_ = 3 showing the 75th percentile of the maximum
solar utilization in 42 points and showing the range of the unit sizes. The maximum solar utilization for _n_ = 3 as
shown in Table 1 is 0.8277 but for other _x_ combinations the solar utilization can be as low as 0.7542 (Figure 11). Unit
size appears to be closely related to solar utilization. For example the size of _x_ 1 varies between 0.5752 and minimum
is 0.4385 with quartiles of 0.5418, 0.5068, 0.5418. This results in a 9% change in solar utilization with this unit
size range. The smallest unit sizes are associated with the smallest solar utilization. Then there appears a bifurcation
15
Table 1: ECLS results for unit sizes and solar utilization for _n_ between 2 and 6.
_n_ _x_ 1 _x_ 2 _x_ 3 _x_ 4 _x_ 5 _x_ 6 �( _x_ ) _SU_
2 0.4670 0.1450 0.6120 0.7071
3 0.5068 0.2025 0.0857 0.7950 0.8277
4 0.5111 0.2269 0.1175 0.0585 0.9140 0.9117
5 0.4769 0.2138 0.1117 0.0565 0.0290 0.8880 0.9571
6 0.4476 0.2015 0.1060 0.0544 0.0287 0.0158 0.8540 0.9790
_n_ _x_ 1 _x_ 2 _x_ 3 _x_ 4 _x_ 5 _x_ 6
where the largest and mid-size units achieve medium solar utilization. The largest solar utilization are associated with
medium-to-large unit sizes.
1
0.5
0
0.55
0.5
0.45
0.85
0.8
0.75
0 5 10 15 20 25 30 35 40 45
~~Itr~~ <u>0.15</u>
~~0~~ .25
0.2
~~0~~ .15
<u>0.15</u>
0.1
<u>0.05</u>
x1
x2
x3
Figure 11: Sensitivity analysis for the CLS method. Blue line is solar utilization while stacked bars represent total load size split into the contributions of unit 1 (blue), 2 (yellow), and 3 (turquoise). A Box-Whisker plot for the unit size distribution for each unit is shown on the bottom.
5.2. Inequality Constrained Least Squares (ICLS) Results
The Inequality Constrained Least Squares (ICLS) optimization results are shown in Table 2 and will be discussed
in section 6.
Table 2: Same as Table 1, but for ICLS method.
_n_ _x_ 1 _x_ 2 _x_ 3 _x_ 4 _x_ 5 _x_ 6 �( _x_ ) _SU_
2 0.4078 0.1994 0.6053 0.7274
3 0.4210 0.2076 0.1028 0.7314 0.8601
4 0.3957 0.1954 0.0989 0.0467 0.7367 0.9273
5 0.4180 0.2063 0.1034 0.0508 0.0228 0.8013 0.9614
6 0.3913 0.1935 0.0973 0.0473 0.0233 0.0115 0.7642 0.9796
5.3. MILP Optimization Results
To mitigate the adverse effect of down-sampling on the simulation results in this paper, down-sampled data points
are selected uniformly from sorted data set, which represents the original data set more accurately. Figure 12 examines the impact of downsampling on computational speed and solar utilization for the case of 3 units ( _n_ = 3).
The final solar utilization is the nearly the same for different down-sampling rates (with in 1% variation) while the
computational cost varies remarkably. Table 3 shows the best solar utilization obtained in Figure 12.
For comparison Thuwal, Saudi Arabia case was performed using the ICLS approach and the results are shown in
Figure 13. The resulting unit sizes are expected to be larger than San Diego due to the lack of cloudy days driving the
need for smaller, more adaptive units.
16
0.87
0.86
0.85
0.84
0.83
0.82
0.81
Rate 1:50
Rate 1:100
Rate 1:200
Time (seconds)
Figure 12: Convergence rate for system efficiency for difference down-sampling rates. The _x_ -axis is nonuniform and shows computational cost on
a MATLAB based modeling system named CVX using gurobi solver.
Table 3: Same as Table 1, but for Mixed-Integer Linear Programming.
_n_ _x_ 1 _x_ 2 _x_ 3 _x_ 4 _x_ 5 _x_ 6 �( _x_ ) _SU_
2 0.3933 0.1899 0.5832 0.7274
3 0.4126 0.1899 0.1008 0.7033 0.8586
4 0.4074 0.2100 0.0914 0.0438 0.7526 0.9243
5 0.3811 0.2150 0.1082 0.0515 0.0240 0.7798 0.9597
6 0.4505 0.2049 0.0837 0.0598 0.0327 0.0162 0.8478 0.9765
### 6. Discussion
Looking at the solar utilization comparison between the three optimization approaches shows close results for each
_n_ number of units as shown in Figure 14. Figure 14 shows summary of optimal unit size achieved by each method
as well as solar utilization. ECLS was chosen as the reference case and assigned a solar utilization of 1 as shown in
Figure 15. Theoretically the ICLS optimization approach should lead to the largest solar utilization, as it uses the full
data set and the smallest number of optimization variables. ICLS indeed yielded the best results, but improvements
compared to ECLS only ranged from 3.9% to 0.1% decreases as _n_ increases. However, MILP results were slightly
less than ICLS. From Figure 14, it is also clear that as _n_ increases the different among the approaches decreases.
Figure 13 summarizes the differences between the unit sizes for both case studies (San Diego, USA and Thuwal,
Saudi Arabia) as well as the optimal solar utilization obtained. Keep in mind that these results are normalized for both
solar power and unit size. The main difference between the two sites is larger units are preferred in the Thuwal case
with an average size increase of 25%. For _n_ = 2 the solar utilization for Thuwal was larger compared to San Diego,
mainly due to a higher clear day count over the year. As _n_ increases both site solar utilization tend to get closer until
they nearly match for _N_ = 6.
Each method proposed in this paper carries advantages and drawbacks when solving the unit sizing problem, as
summarized in Table 4. From a global optimality point of view, the analytic approach is proven to achieve the global
optimum, but it can not be generalized for all solar day patterns. The other approaches on the other hand were proven
to be robust and suitable for real sizing problems. MILP approach guarantees global optimality, but its computation
expense increases exponentially with the number of decision variables and constraints. ECLS required downsampling
as well, and that explains the decreases in solar utilization difference between different methods as _n_ increases, where
downsampling get more accurate. Finally, ICLS is not guaranteed to converge to the global optimal, rather could get
stuck in a local minimum. Thus, the final solution highly depends on initial conditions. This could be avoided by
slightly perturbing the initial or final solution and restarting the optimization and thereby exploring the solution space
The analytic approach can not be generalized for all solar day patterns; it requires a functional form for the
solar data and function inverse has to be known which limits this approach to be applied to run yearly data. For
that reason, the analytic method can not be used for real sizing problems. The MILP technique is the most flexible
approach especially given the ability of adding more constraints to the problem, such as battery or minimum up and
17
~~1~~
0.5
~~0~~
x1 x2 x3 x4 x5 x6
2 3 4 5 6
Number of Units
1
0.9
0.8
0.7
Figure 13: Comparison of results for the ICLS optimization between San Diego and Thuwal.
x1 x2 x3 x4 x5 x6
1
1
.9
0.8
0.7
0.5
0
2 3 4 5 6
Number of Units
Figure 14: Unit sizes for difference optimization approaches and different number of units _n_ . ICLS is Inequality Constrained Least Squared, ECLS
is Equality Constrained Least Squared, and MILP is Mixed-integer Linear Programming.
downtime. It can also solve a daily pattern which is suitable for schedule peruses with global optimality claims in
case of convergence, still the number of variables play a big role in convergence and determining optimality. The
main obstacles with the MILP are the high computational cost due to a large number of variables as well as the
approximation or the relaxation applied to the problem. ECLS and ICLS are both scalable to solve multiple number
of years with fast computation time. The main disadvantages of these approaches are that they do not consider the
daily solar profile in addition to that they have limited capability to add constraints or improve the case as in adding
batteries or minimum up and downtime.
Sample results were selected in Figure 10 for _n_ = 2 up to _n_ = 6 using the ICLS approach as shown in Table 2 and
Figure 14. The algorithm solves for the optimal unit sizing over one year which contains various daily patterns based
on the prevailing weather conditions. For the clear day (D1), clearly a large area of the peak of the day is wasted but
lost energy is reduced as the number of units _n_ increases. On the other hand, on the most cloudy day D3, the loss was
reduced. This is a reflection of the input data where clear midday periods that yield normalized power output close
to 1 are less common than cloudy days and morning and evening periods. Consequently, the unit sizes are selected to
track lower power outputs more closely and clear midday periods are curtailed. If the algorithm was intended to solve
the optimization over just one of the days pattern or for a different site, the results would be different.
Moreover, the computational time for the different methods was performed in a 3.4 GHz Intel Core i7 processor
with 32 GB of RAM. As discussed earlier the analytic approach can not solve the planning problem, but it is very
fast routine since it only computes derivative of existing function and substitute variables. MILP is the slowest, for
the full set of variables, whereas Figure 12 shows it takes 7000 seconds to solve for input with 1:50 samples ratio and
18
1.04
MILP
<u>ICLS</u>
1.03
1.02
1.01
1
0.99
2 3 4 5 6
Number of units
Figure 15: Normalized solar utilization for the ICLS and MILP versus ECLS as reference case.
only 170 second for 1:200 downsample ratio. As discussed before the ICLS optimization is expected to return the
optimal sizing of units, it does not require removing the zero solar radiation data. The main advantage of ICLS is that
it searches for the optimal unit size and switching time by avoiding the equidistant constraints giving by the ECLS
method. The main disadvantage for ICLS, it is sensitive to the initial condition, especially for larger n ( _n >_ 4) which
means that global optimality is not guaranteed. The computation time for ICLS varies from 11 seconds for _n_ = 2 to
around 150 seconds for _n_ = 6. ECLS is the fastest approach even though it has to search for the optimal C given in
(20). ECLS forces the results of the switch time to be equidistant outdistance spaced from each other which is not
the optimal decision. Also it requires removal of zeros in the input data; otherwise the results and the solar utilization
will be negatively affected. Each run of ECLS costs 0.01 seconds so solution time is dependent on the resolution of
the line-search (C). For our purposes, ECLS is the fastest approach. Assuming the resolution of the line-search is 100
steps, ECLS is 10 times faster than ICLS for _n_ = 2 and 140 faster for _n_ = 6.
Table 4: Comparison of the advantages and disadvantages of the optimization algorithms.
<u>ICLS</u> <u>ECLS</u> <u>MILP</u> <u>Analytic</u>
-Fast
-Exact (no approx.)
-Guarantees global
optimum
-Only for symmetric,
i.e., clear days
-Can not be used for
planning algorithms
-Fast
-Considering all
sorted data
-Not equidistant
-No guaranteed global
optimality
-Sensitive to initial
conditions
-Fast
-Unique minimum
for fixed constraint
-Down-sampling required
-Equidistant
-Requires line-search
for constraint
-Convex (Global optimality) <sup>_∗_</sup>
-Any data profile for limited
variables
- More constraints
<u>could be added</u>
-Computationally expensive
-Requires down-sampling
_∗_ Note: convexity for MILP approach is assumed in case of convergence
### 7. Conclusions
Solar PV is a desirable energy source for many standalone applications. Variability of solar irradiance is one of the
main challenges of PV utilization. State-of-the-art optimization techniques were developed and applied to optimize
the solar utilization by sizing a given number of load units based on one year of data collected in San Diego and
Saudi Arabia. The algorithm switches the units on and off to “load follow” the available solar power during the day to
19
maximize the solar energy utilization. The primary output of the algorithms is the optimum sizing for a given number
of units, but unit scheduling is a byproduct of the analysis. Three different optimization methods are proposed to
solve for the optimal unit size: Equality Constrained Least Squares (ECLS), Inequality Constrained Least Squares
(ICLS), and Mixed-Integer Linear Programming (MILP). The performance of the three methods was compared with
two case studies. Results for the San Diego case indicate a solar utilization (i.e., percentage of energy captured by
units over available energy) differed by less than 5% between the algorithms. It was shown the utilization increased
from 73% for two units up to 98% for six units for San Diego case. As expected, the ICLS optimization yields the
largest utilization. The results obtained will differ by location and may even vary year-to-year due to spatio-temporal
patterns in the solar resources and cloud coverage as evident from the differing results between San Diego, USA and
Thuwal, KSA. The methodology proposed in this paper allows computationally efficient solutions even when several
years of solar resource data are available and yield the optimal sizing for the given data. For practical applications,
the economics also need to be considered as smaller units typically cost more per kW and an optimization based on
cost would therefore yield larger and prefer fewer units. Within our framework, it is possible to assign a cost function
to the number of units and to the solar utilization to provide solutions for practical applications.
### References References
[1] IEA, International Energy Agency, 2013 Key world energy statistics, Tech. rep., OECD/IEA (2013).
[2] Universal Access to Modern Energy for the Poor [Online], Available: http://www.undp.org/content/undp/en/home/ourwork/environmentandenergy/focus
areas/sustainable-energy/universal-access/.
[3] Y. Wan, Long-term wind power variability [Online], NREL: Technical Report TP-5500-53637. (January 2012).
[4] D. A. Nguyen, P. Ubiratan, M. Velay, R. Hanna, J. Kleissl, J. Schoene, V. Zheglov, B. Kurtz, B. Torre, V. R. Disfani, Impact research of high
photovoltaics penetration using high resolution resource assessment with sky imager and power system simulation.
[5] G. Energy, Western wind and solar integration study, Citeseer, 2010.
[6] A. Y. Saber, G. K. Venayagamoorthy, Resource scheduling under uncertainty in a smart grid with renewables and plug-in vehicles, Systems
Journal, IEEE 6 (1) (2012) 103–109.
[7] M. Egido, E. Lorenzo, The sizing of stand alone pv-system: A review and a proposed new method, Solar Energy Materials and Solar Cells
26 (1) (1992) 51–69.
[8] E. Sreeraj, K. Chatterjee, S. Bandyopadhyay, Design of isolated renewable hybrid power systems, Solar Energy 84 (7) (2010) 1124–1136.
[9] M. Mohammadi, S. Hosseinian, G. Gharehpetian, Optimization of hybrid solar energy sources/wind turbine systems integrated to utility grids
as microgrid (MG) under pool/bilateral/hybrid electricity market using pso, Solar energy 86 (1) (2012) 112–125.
[10] T. Kobayakawa, T. C. Kandpal, Analysis of electricity consumption under a photovoltaic micro-grid system in india, Solar Energy 116 (2015)
177–183.
[11] M. Lee, D. Soto, V. Modi, Cost versus reliability sizing strategy for isolated photovoltaic micro-grids in the developing world, Renewable
Energy 69 (2014) 16–24.
[12] R. Atia, N. Yamada, More accurate sizing of renewable energy sources under high levels of electric vehicle integration, Renewable Energy
81 (2015) 918–925.
[13] M. Shafie-khah, E. Heydarian-Forushani, M. Golshan, P. Siano, M. Moghaddam, M. Sheikh-El-Eslami, J. Catal˜ao, Optimal trading of plug-in
electric vehicle aggregation agents in a market environment for sustainability, Applied Energy 162 (2016) 601–612.
[14] M. Negnevitsky, K. Wong, Demand-side management evaluation tool, Power Systems, IEEE Transactions on 30 (1) (2015) 212–222.
[15] M. Smaoui, A. Abdelkafi, L. Krichen, Optimal sizing of stand-alone photovoltaic/wind/hydrogen hybrid system supplying a desalination unit,
Solar Energy 120 (2015) 263–276.
[16] Y. Bakelli, A. H. Arab, B. Azoui, Optimal sizing of photovoltaic pumping system with water tank storage using lpsp concept, Solar Energy
85 (2) (2011) 288–294.
[17] C. Olcan, Multi-objective analytical model for optimal sizing of stand-alone photovoltaic water pumping systems, Energy Conversion and
Management 100 (2015) 358–369.
[18] S. Mandelli, C. Brivio, E. Colombo, M. Merlo, A sizing methodology based on levelized cost of supplied and lost energy for off-grid rural
electrification systems, Renewable Energy 89 (2016) 475–488.
[19] S. F. Fux, M. J. Benz, L. Guzzella, Economic and environmental aspects of the component sizing for a stand-alone building energy system:
A case study, Renewable Energy 55 (2013) 438–447.
[20] A. Bouabdallah, J. Olivier, S. Bourguet, M. Machmoum, E. Schaeffer, Safe sizing methodology applied to a standalone photovoltaic system,
Renewable Energy 80 (2015) 266–274.
[21] A. Viana, J. P. Pedroso, A new MILP-based approach for unit commitment in power production planning, International Journal of Electrical
Power & Energy Systems 44 (1) (2013) 997–1005.
[22] L. Bahiense, G. C. Oliveira, M. Pereira, S. Granville, A mixed integer disjunctive model for transmission network expansion, Power Systems,
IEEE Transactions on 16 (3) (2001) 560–565.
20
[23] H. Zhang, V. Vittal, G. T. Heydt, J. Quintero, A mixed-integer linear programming approach for multi-stage security-constrained transmission
expansion planning, Power Systems, IEEE Transactions on 27 (2) (2012) 1125–1133.
[24] H. Morais, P. Kadar, P. Faria, Z. A. Vale, H. Khodr, Optimal scheduling of a renewable micro-grid in an isolated load area using mixed-integer
linear programming, Renewable Energy 35 (1) (2010) 151–156.
[25] J. T. Hung, T. G. Robertazzi, Scheduling nonlinear computational loads, Aerospace and Electronic Systems, IEEE Transactions on 44 (3)
(2008) 1169–1182.
[26] A. Mellit, S. A. Kalogirou, M. Drif, Application of neural networks and genetic algorithms for sizing of photovoltaic systems, Renewable
Energy 35 (12) (2010) 2881–2893.
[27] A. Mellit, S. A. Kalogirou, Artificial intelligence techniques for photovoltaic applications: A review, Progress in energy and combustion
science 34 (5) (2008) 574–632.
[28] A. Mellit, S. A. Kalogirou, M. Drif, Application of neural networks and genetic algorithms for sizing of photovoltaic systems, Renewable
Energy 35 (12) (2010) 2881–2893.
[29] Y. Chen, P. Gai, J. Xue, J.-R. Zhang, J.-J. Zhu, An “on–off” switchable power output of enzymatic biofuel cell controlled by thermal-sensitive
polymer, Biosensors and Bioelectronics 74 (2015) 142–149.
[30] L. Amir, T. K. Tam, M. Pita, M. M. Meijler, L. Alfonta, E. Katz, Biofuel cell controlled by enzyme logic systems, Journal of the American
Chemical Society 131 (2) (2008) 826–832.
[31] S. Ashok, Optimised model for [community-based](http://www.sciencedirect.com/science/article/pii/S0960148106000978) hybrid energy system, Renewable Energy 32 (7) (2007) 1155 - 1164. [doi:http:](http://dx.doi.org/http://dx.doi.org/10.1016/j.renene.2006.04.008)
[//dx.doi.org/10.1016/j.renene.2006.04.008.](http://dx.doi.org/http://dx.doi.org/10.1016/j.renene.2006.04.008)
[URL http://www.sciencedirect.com/science/article/pii/S0960148106000978](http://www.sciencedirect.com/science/article/pii/S0960148106000978)
[32] W. F. Pickard, D. Abbott, Addressing the intermittency challenge: Massive energy storage in a sustainable future, Proceedings of the IEEE
100 (2) (2012) 317.
[33] T. Kousksou, P. Bruel, A. Jamil, T. El Rhafiki, Y. Zeraouli, Energy storage: Applications and challenges, Solar Energy Materials and Solar
Cells 120 (2014) 59–80.
[34] H. Vermeulen, T. Nieuwoudt, Optimisation of residential solar pv system rating for minimum payback time using half-hourly profiling, in:
Domestic Use of Energy (DUE), 2015 International Conference on the, IEEE, 2015, pp. 215–221.
[35] S. Gupta, Dr. y. kumar1, dr. gayatri agnihotri1, J. Electrical Systems 7 (2) (2011) 206–224.
[36] D. Thevenard, S. Pelland, Estimating the uncertainty in long-term photovoltaic yield predictions, Solar Energy 91 (2013) 432–445.
[37] R. Pitz-Paal, N. Geuder, C. Hoyer-Klick, C. Schillings, How to get bankable meteo data, DLR solar Resource Assessment. Cologne (Ale
manha): DLR [Deutschen Zentrums f¨ur Luft-und Raumfahrt].
[38] A. Bouabdallah, S. Bourguet, J. Olivier, M. Machmoum, Photovoltaic energy for the fixed and tracking system based on the modeling of solar
radiation, in: Industrial Electronics Society, IECON 2013-39th Annual Conference of the IEEE, IEEE, 2013, pp. 1821–1826.
[39] Z. Wissem, K. Gueorgui, K. H´edi, Modeling and technical–economic optimization of an autonomous photovoltaic system, Energy 37 (1)
(2012) 263–272.
[40] A. Bouabdallah, S. Bourguet, J.-C. Olivier, M. Machmoum, Optimal sizing of a stand-alone photovoltaic system, in: Renewable Energy
Research and Applications (ICRERA), 2013 International Conference on, IEEE, 2013, pp. 543–548.
[41] A. H. Habib, V. Zamani, J. Kleissl, Solar desalination system model for sizing of photovoltaic reverse osmosis (PVRO), in: ASME 2015
Power Conference, Vol. 9, 2015.
[42] M. J. Reno, C. W. Hansen, J. S. Stein, Global horizontal irradiance clear sky models: Implementation and analysis, SANDIA report
SAND2012-2389.
[43] D. N. Miller, R. A. de Callafon, Identification of linear, discrete-time filters via realization, LINEAR ALGEBRA–THEOREMS AND AP
PLICATIONS (2012) 117.
[44] I. Griva, S. G. Nash, A. Sofer, Linear and nonlinear optimization, Siam, 2009.
[45] P. Bonami, M. Kilinc¸, J. Linderoth, Algorithms and software for convex mixed integer nonlinear programs, in: Mixed integer nonlinear
programming, Springer, 2012, pp. 1–39.
21
### Appendices
Appendix A: Clear Day Fitting
To obtain a function close to a clear day solar power data for the analytical optimization, San Diego data from a
clear day was used as a template to fit a quadratic function
_S_ 1( _x_ ) = _p_ 1 _t_ <sup>2</sup> + _p_ 2 _t_ + _p_ 3 _,_
and a combination of sin and cos functions
_S_ 2( _x_ ) = _a_ 1 _sin_ ( _bt_ ) + _a_ 2 _cos_ ( _bt_ )
as shown in Figure 16. The quadratic function parameters were _p_ 1 = _−_ 2 _._ 001 _×_ 10 <sup>_−_</sup> <sup>11</sup> _, p_ 2 = 9 _._ 035 _×_ 10 <sup>_−_</sup> <sup>6</sup> _, p_ 3 =
_−_ 0 _._ 04926. Once shifting _S_ 1( _t_ ) to be symmetric over the _y_ -axis _p_ 1 = _−_ 2 _._ 001 _×_ 10 <sup>_−_</sup> <sup>5</sup> _, p_ 2 = _−_ 7 _._ 884 _×_ 10 <sup>_−_</sup> <sup>6</sup> _, p_ 3 =
0 _._ 9708
. The sin and cos parameters were _a_ 1 = _a_ 2 = 0 _._ 99 _, b_ = 0 _._ 007. For the symmetric _S_ 2( _t_ ), _a_ 1 = 0 _._ 99 _, a_ 2 =
8 _._ 3 _×_ 10 <sup>_−_</sup> <sup>4</sup> _, b_ = 7 _×_ 10 <sup>_−_</sup> <sup>6</sup> .
Both functions are suitable to be used as fitting for clear sky model, where the _S_ 2( _x_ ) resulted in better fitting.
This was discussed in detailed in the the motivation section 4.1. The San Diego solar data was recorded at 15 min
resolution. The function where shifted to be symmetric over the _y_ -axis to simplify calculation.
1
0.8
0.6
0.4
0.2
Clar sky model
S(t)=p1t <sup>2</sup> + p2t + p3
S(t) =a1sin(b t)+a2cos(b t)
0
0 100 200 300 400 500
t
Figure 16: Clear day solar power data normalized by the peak fitted with quadratic polynomial and a combination of sin and cos.
Appendix B: Numerical Optimization
An alternative way to the Jacobian method in section 4.1 is the numerical search or the line-search for all possible
numbers which can draw the rectangle. By doing so the line-search started from around zero up to the peak of the
parabola which is around 1. The results were very close the Jacobian method and difference is due the sampling
errors. The area of the simulation results is 15985 while the analytical result is 2 _×_ 123 _×_ 0 _._ 6489 = 15963. The error
is 0 _._ 14%
Appendix C: Newton’s Method
Showing the results of the optimization using the Jacobian method is not straightforward, since the area function
is nonlinear for more than 2 variables.
22
1
0.8
0.6
0.4
0.2
0
-250 -200 -150 -100 -50 0 50 100 150 200 250
<u>#10</u> <sup>5</sup> x
2
<u>#10</u> <sup>5</sup>
1
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
t
Figure 17: Numerical optimization of sizing a single rectangle under a parabola.
_A_ ( _y_ 1 _, y_ 2 _, y_ 3) = _y_ 1( _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 1) _−_ _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 2)) + _y_ 2 _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 2) + ( _y_ 3 _−_ _y_ 2) _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 3)
substituting _y_ 3 = _y_ 1 + _y_ 2
_A_ ¯( _y_ 1 _, y_ 2) = _y_ 1( _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 1) _−_ _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 2) + _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 1 + _y_ 2)) + _y_ 2 _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 2)
_<u>∂A</u>_
_∂y_ 1
_<u>∂A</u>_
_∂y_ 2
=
_S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 1) _−_ _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 2) + _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 1 + _y_ 2) + _y_ 1( _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 1)) <sup>_′_</sup>
- _J_ =
( _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 2)) <sup>_′_</sup> ( _y_ 1 + _y_ 2) + _S_ <sup>_−_</sup> <sup>1</sup> ( _y_ 2)
_∂y_ <sup>_<u>∂A</u>_</sup> 1 <sup>and</sup> _∂y_ <sup>_<u>∂A</u>_</sup> 2
This problem was solved by plotting the derivative of the area over all variables ( _∂y_ <sup>_<u>∂A</u>_</sup> 1
This problem was solved by plotting the derivative of the area over all variables ( _∂y_ <sup>_<u>∂A</u>_</sup> 1 <sup>and</sup> _∂y_ <sup>_<u>∂A</u>_</sup> 2 <sup>) and equate them to zero</sup>
or find their intersection. Since the area function is 2D and so its derivative Figure 18 shows each of the ▽ _J_ equation
surface graph plotted over each other and sliced over the area function at zero.
Figure 18: A slice of the 3-dimensional graph in Figure 7 at area = 0 showing the intersection of the area derivative with respect to the variables
( _x_ 1 and _x_ 2).
23
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.