Getting Started Guide For HOMER Version 2.1: April 2005
Getting Started Guide For HOMER Version 2.1: April 2005
Getting Started Guide For HOMER Version 2.1: April 2005
for
April 2005
Table of Contents
Welcome to HOMER........................................................................................... 3
Step one: Formulate a question that HOMER can help answer .......................... 5
Step two: Create a new HOMER file................................................................... 6
Step three: Build the schematic ........................................................................ 7
Step four: Enter load details ............................................................................. 9
Step five: Enter component details ................................................................. 11
Step six: Enter resource details ...................................................................... 15
Step seven: Check inputs and correct errors ................................................... 17
Step eight: Examine optimization results........................................................ 20
Step nine: Refine the system design ............................................................... 22
Step ten: Add sensitivity variables .................................................................. 25
Step eleven: Examine sensitivity analysis results ........................................... 27
Getting Started Guide summary ...................................................................... 29
Contacts.......................................................................................................... 30
Welcome to HOMER
What is HOMER?
HOMER, the micropower optimization model, simplifies the task of evaluating designs of
both off-grid and grid-connected power systems for a variety of applications. When you
design a power system, you must make many decisions about the configuration of the
system: What components does it make sense to include in the system design? How many
and what size of each component should you use? The large number of technology options
and the variation in technology costs and availability of energy resources make these
decisions difficult. HOMER's optimization and sensitivity analysis algorithms make it easier
to evaluate the many possible system configurations.
When you want to explore the effect that changes in factors such as resource availability
and economic conditions might have on the cost-effectiveness of different system
configurations, you can use the model to perform sensitivity analyses. To perform a
sensitivity analysis, you provide HOMER with sensitivity values that describe a range of
resource availability and component costs. HOMER simulates each system configuration
over the range of values. You can use the results of a sensitivity analysis to identify the
factors that have the greatest impact on the design and operation of a power system. You
can also use HOMER sensitivity analysis results to answer general questions about
technology options to inform planning and policy decisions.
HOMER performs these energy balance calculations for each system configuration that you
want to consider. It then determines whether a configuration is feasible, i.e., whether it can
meet the electric demand under the conditions that you specify, and estimates the cost of
installing and operating the system over the lifetime of the project. The system cost
calculations account for costs such as capital, replacement, operation and maintenance,
fuel, and interest.
Optimization
After simulating all of the possible system configurations, HOMER displays a list of
configurations, sorted by net present cost (sometimes called lifecycle cost), that you can
use to compare system design options.
Sensitivity Analysis
When you define sensitivity variables as inputs, HOMER repeats the optimization process for
each sensitivity variable that you specify. For example, if you define wind speed as a
sensitivity variable, HOMER will simulate system configurations for the range of wind speeds
that you specify.
When you start HOMER, it looks for the most recently saved file and opens it. If HOMER can
not find the file, it displays a blank window.
• Click New File , or choose File, New from the menu to create a new HOMER file.
HOMER displays a blank schematic on the Main Window.
Tip: You can also open an existing HOMER file by clicking Open File .
In this exercise, HOMER will simulate systems that include wind turbine and diesel
combinations to answer the question How do changes in average wind speed and fuel price
affect the feasibility of adding wind turbines to a diesel-only system design?
Tip: Every system design must include either a primary load (a description of the
electric demand), deferrable load, or be connected to a grid.
HOMER displays buttons on the schematic that represent the load and components
(wind turbine, diesel generator, and battery).
In the Resources section (directly below the schematic) HOMER displays buttons for the
resources that each component will use. In this case, buttons for the wind and diesel
resources appear in the resources section of the schematic.
Note: This sample file is located in the same directory as the HOMER program
(homer.exe) in a sub-directory called Sample Files.
HOMER displays the daily load profile in the table and graph. Note that the name of the
imported file appears in the graph title.
Tip: You can also create a load profile by entering 24 values in the Load Profile table.
On the schematic, notice the arrow that now connects the load button to the AC bus and
shows the direction of energy flow. Also note that the label you typed, "Remote Load,"
appears on the schematic, along with the values of the average and peak demand.
This tells HOMER that installing a diesel generator in the system initially costs $1500 per
kilowatt, that replacing the generator would cost $1200 per kilowatt, and that it will cost
$0.05 per hour per kilowatt to operate and maintain. Notice that HOMER plots the cost
curve based on the values you enter in the Costs table.
Tip: For this example, the cost curve is linear: HOMER assumes that the cost and
generator size are related linearly, i.e., that the installation cost of hardware is $1,500
for 1 kilowatt worth of diesel generation, $3,000 for 2 kilowatts, $4,500 for 3 kilowatts,
etc. You can define a non-linear cost curve to account for quantity discounts and
economies of scale by adding rows to the Costs table with values that do not follow this
linear pattern. As you enter values in the table, HOMER automatically creates a blank
row at the bottom of the table so that you can add additional values as needed.
3. In the Sizes to consider table, remove 0.000 and 1.000, and add 15. The values in the
Sizes to consider table are called optimization variables. The table should look like the
one shown below:
Note: HOMER automatically adds zero and any sizes that you entered in the Costs table
to the Sizes to consider table. You can leave these values in the Sizes to consider table if
you want HOMER to simulate systems with these component sizes, or delete and add to
them if you want HOMER to simulate different sizes.
HOMER will simulate systems with a 15 kilowatt generator. On the Cost curve, notice
that HOMER displays the optimization variables as diamonds:
HOMER uses the values in the Costs table for the system costs calculations that are part
of the simulation process to determine how much installing, operating, and maintaining
the diesel generator will add to the power system's cost. The optimization variables tell
HOMER how much diesel generator capacity to include in the various system
configurations it will simulate.
4. Click OK to return to the Main window.
7. In the Costs table, enter the following values: Quantity 1, Capital 30000, Replacement
25000, O&M 500.
Note: The O&M (operation and maintenance) cost for a wind turbine is expressed in
dollars per year ($/yr), and not in dollars per hour ($/hr) as it is for a generator.
11.In the Costs table, enter the following values: Quantity 1, Capital 300, Replacement 300,
O&M 20.
This section describes how to define resource inputs for wind and fuel, which are the
resources required by the two components HOMER will simulate: wind turbines and diesel
generators.
2. Choose Import hourly data file, then click Import File and open Sample_Wind_Data.wnd.
Tip: HOMER can synthesize hourly wind speeds for a whole year from 12 monthly
values, a Weibull K value and the other parameters. See Help for more information.
The baseline data is a set of 8,760 wind speed values that describe the wind resource
for a single year. Pay special attention to the baseline annual average value (at the
bottom of the wind speed table), and the scaled annual average.
HOMER uses scaled data for simulations to allow you to perform a sensitivity analysis on
resource availability. To create scaled data, HOMER determines a scaling factor by
dividing the scaled annual average by the baseline annual average and multiplies each
baseline value by this factor. By default, HOMER sets the scaled average equal to the
baseline average, which results in a scaling factor of one. You can change the scaled
annual average to examine the effect of higher or lower wind speeds on the feasibility of
system designs.
Note: HOMER will interpret a scaled annual average of zero to mean that there is no
available wind resource.
For this exercise, the scaled annual average is the same as the annual average, so
HOMER will use the baseline data for simulations. In Step ten: Add sensitivity variables,
we will see how to use the scaled annual average to examine how wind speed variations
affect the optimal system design.
3. Set the anemometer height to 25 m, indicating that the wind speed data were measured
at a height of 25 meters above ground.
5. Click Diesel (in the Resources section) to open the Diesel Inputs window.
For this example, HOMER displays a message suggesting that a converter should be
included in the system design. A converter is a component that converts alternating current,
AC, to direct current, DC, (rectifier); DC to AC (inverter); or both.
Warnings tell you that there may be a problem with one or more inputs. These problems
may not prevent HOMER from running, but could indicate that there is a problem with
the design of the system.
You can see on the schematic that there is no arrow between the DC bus and the load.
This means that power from the DC wind turbine will not be supplied to the AC load. The
warning message suggests that adding a converter to the system design would correct
this problem.
Tip: indicates a problem that will prevent HOMER from running simulations.
2. To add a converter to the schematic, Click Add/Remove, select the Converter check box,
and click OK.
This tells HOMER that the cost of either installing or replacing a converter in the system
is $1,000 per kilowatt, and that it costs $100 per year per kilowatt to operate and
maintain the converter.
5. In the Sizes to consider table, remove 1.000, and add the values 6 and 12.
This tells HOMER to simulate system designs that include either no converter (0
kilowatts), a 6 kilowatt converter, or a 12 kilowatt converter. Since the peak load
displayed on the schematic is 11.5 kilowatts, we can guess that a 12 kilowatt converter
would meet the load for any hour that the wind turbine serves most of the load.
Specifying the 6 kilowatt converter allows us to find out whether a using a smaller, less
expensive converter is a more cost-effective design option.
6. Click OK to return to the Main window.
HOMER can now consider systems that deliver power from the DC wind turbine to the
AC load.
Tip: Notice that the converter functions as both an inverter (converting DC to AC) and
rectifier (AC to DC). This will not affect the results of an analysis of a system that only
requires an inverter. You can, however, remove the rectifier component of the converter
by opening the Converter Inputs window and setting Capacity relative to inverter to
zero.
7. In the Main window toolbar, click Search Space to review the optimization variables.
The Search Space summary table displays all of the optimization variables (sizes to
consider) that you entered in the input windows for each component. You can add and
remove sizes to consider for a component in this table, or by opening the input window
for that component and editing the Sizes to consider table there.
In the table for this example, the heading G10 represents the Generic 10 kilowatt wind
turbine, and Gen1 represents Generator 1.
Note: HOMER will simulate system designs for all of the combinations in the Search
Summary table. For this example, HOMER will simulate 6 designs: 2 wind turbine
quantities (G10), 1 diesel generator capacity (Gen1), 1 battery quantity, and 3
converter capacities, or 2 x 1 x 1 x 3 = 6 designs.
2. When HOMER is finished running the simulations, click the Optimization Results tab, and
click Overall to view a table of all feasible system configurations.
In the Overall Optimization Results table, HOMER displays a list of the four system
configurations that it found to be feasible. They are listed in order (from top to bottom)
of most cost-effective to least cost-effective. The cost-effectiveness of a system
configuration is based on its net present cost, displayed under the heading "Total NPC"
in the results tables. For this example, one diesel/battery configuration ( ) wins
over the other configurations, including two wind systems ( ).
3. To view a table of sorted system designs, click the Optimization Results tab, and click
Categorized.
In the Categorized Optimization Results table, HOMER displays only the most cost
effective configuration of each system design.
4. To view the details for the most cost-effective wind/diesel/converter design, double-click
the second row in the Optimization Results table.
In the Simulation Results window, you can view many technical and economic details
about each system configuration that HOMER simulates. For this example, click the
Electrical tab, and note that 16% of the total electric energy produced by the system is
excess electricity, or energy that is not used by the system and goes to waste. Would
including more batteries in the system design result in this excess electricity being used
by the system?
HOMER displays a warning message at the bottom of the Main window to let you know
that the information in the results table does not reflect the changes you just made.
When the simulations are finished, HOMER displays the new results in the results tables,
and also displays a warning message at the bottom of the Main window.
HOMER displays a message suggesting that you add more battery quantities to the Sizes
to consider table. Since we are not sure exactly how many batteries to add, we will add
a range of new battery quantities.
6. Click OK to return to the Main window.
7. In the Main window toolbar, click Search Space to open the Search Space Summary
table.
8. Add 32, 40, 48, and 56 to the number of batteries.
Tip: You could also add these values to the Sizes to consider tables in the Battery
Inputs windows.
The excess electric energy produced by the most cost-effective configuration of the
wind/diesel/battery system is dramatically reduced from 17% to 3%.
12. In the File menu, choose Save As, and save the file as Reduced_Excess.hmr.
HOMER has helped us refine the system design by adding batteries to store excess
energy. However, systems with no wind are still more cost-effective than systems that
use wind. Under what conditions does it make sense to include wind turbines in the
system design? To understand this question, we will use HOMER to do a sensitivity
analysis.
2. Click the Scaled annual average Sensitivities button to open the Sensitivity Inputs
window.
3. Add the values 4, 5, 5.5, 6, 6.5, and 7 to the Average Wind Speed sensitivities table.
These sensitivity values tell HOMER to simulate each system configuration using seven
sets wind speed data (scaled to each average annual wind speed value in the table).
4. Click OK to return to the Wind Resource Inputs window. Notice that the number of
sensitivity variables, 7, appears in between the brackets on the Sensitivities button.
6. Click Diesel (in the Resources section) to open the Diesel inputs window.
8. Add the values 0.5, 0.6, and 0.7 to the Diesel Price Sensitivities table.
HOMER will simulate each system configuration for each diesel price value in the
sensitivities table.
9. Click OK to return to the Diesel Inputs window, then click OK to return to the Main
window.
Tip: You can stop HOMER at any time during the simulation process by clicking Stop.
2. Click the Optimization Results tab, and click Categorized to display the table of sorted
system designs.
HOMER now displays the Wind Speed and Diesel Price sensitivity variables in the boxes
above the Categorized Optimization Results table. You can see that when the average
annual wind speed is 7 meters per second and the price of Diesel fuel is $0.70 per liter,
wind/diesel/battery is the optimal system type: it is more cost-effective than the system
with no wind turbine.
You can explore how changes in the average annual wind speed and diesel fuel price
affect the optimal system type by selecting different wind speeds and fuel prices. For
example, if the diesel fuel price is $0.70 per liter, and average annual wind speed is 4.5
meters per second or lower, system designs that include wind turbines are no longer
optimal.
HOMER also displays sensitivity results in graphs, which can be a more useful way to
look at the results.
3. Click the Sensitivity Results tab, and click Graphic to display the table of sorted system
designs. Make the following selections:
• In the Wind Speed list, select x-axis. In the Diesel Price list, select y-axis.
• Under Variables to plot, select Optimal System Type in the Primary list. Select
<none> in the Superimposed list.
On the Optimal System Type (OST) graph, you can simultaneously see the results for all
the wind speeds and fuel prices you entered. The graph shows that the optimal system
design depends both on the fuel price and on the annual average wind speed.
HOMER displays the results of the simulation and optimization in a wide variety of tables
and graphs. Spend some time looking at the different graphs to familiarize yourself with
these tables and graphs.
• To use HOMER, you enter inputs (information about loads, components, and
resources), HOMER calculates and displays results, and you examine the results in
tables and graphs.
• Using HOMER is an iterative process. You can start with rough estimates of values for
inputs, check results, refine your estimates and repeat the process to find reasonable
values for the inputs.
• You can use HOMER to simulate a power system, optimize design options for cost-
effectiveness, or to perform a sensitivity analysis on factors such as resource
availability and system costs.
• HOMER is an hourly simulation model. HOMER models system components, available
energy resources, and loads on an hourly basis for one year. Energy flows and costs
are constant over a given hour. HOMER can synthesize hourly resource data from
monthly averages that you enter in tables, or you can import measured data from
properly formatted files.
• HOMER is primarily an economic model. You can use HOMER to compare different
combinations of component sizes and quantities, and to explore how variations in
resource availability and system costs affect the cost of installing and operating
different system designs. Some important technical constraints, including bus
voltage levels, intra-hour performance of components, and complex diesel generator
dispatch strategies are beyond the scope of an economic model such as HOMER.
NREL's design tool for hybrid power systems, Hybrid2, can simulate these and other
technical constraints and is useful for further exploring design options that HOMER
identifies as cost-effective.
Contacts
Peter Lilienthal, PhD
National Renewable Energy Laboratory
peter_lilienthal@nrel.gov
phone: (303) 384 - 7444
fax: (303) 384 - 7411
Paul Gilman
National Renewable Energy Laboratory
paul_gilman@nrel.gov
http://www.nrel.gov/homer