Professional Documents
Culture Documents
SAM Help
SAM Help
Notes.
The solar water heating model in SAM 2013.1.15 and earlier has been replaced with a new model that
has similar but not identical input variables. If you use the current version of SAM to open file or case
created with the previous model, SAM converts the input variables from the previous model to the new
model as closely as possible. You should expect slightly different results between the old and new
models. See below for details.
As of September 2013, we are writing reference manual describing the SAM solar water heating model.
When the manual is published, it will be available for download on the SAM website.
The SWH model allows you to vary the location, hot water load profiles, mains and set temperature profiles,
and characteristics of the collector, heat exchanger, and solar tanks. The model was developed at the
National Renewable Energy Laboratory for SAM.
July 2015
267
, where is the temperature of the water delivered from the solar tank.
Because solar heat has been added to the water, , and less energy is needed to bring the
water to the desired set temperature than would be required without the solar water heating system.
SAM also calculates the energy that would be required without the solar water heating system and
reports it as Q auxiliary only (kWh): .
The energy saved by the solar water heating system is Q saved (kWh):
. This value is equivalent to the energy delivered by the solar water
heating system.
The solar fraction reported in the Metrics table is the ratio of the quantity of energy from the solar water
The specific equations solved depend on whether useful solar energy is being collected or not. Below is a
system diagram for when energy is being collected.
During solar collection, the tank is assumed to be fully mixed. This assumption is made because hot water
continually is entering the top of the tank and mixing with cooler water underneath. A simple energy balance
is performed on the tank to solve for the mean tank temperature each hour. Note that energy is added from
the solar collector loop, energy is lost to the environment, mass enters the tank at the mains temperature
July 2015
269
and exits the tank at the mean tank temperature. Making an assumption that the mass in the tank is
constant results in the differential equation:
Where the value for the useful energy delivered is derived using relations from the third edition of Solar
Engineering of Thermal Processes by John Duffie and William Beckman.
When useful solar energy is not being collected, the tank is assumed to be stratified into one hot node and
one cold node.
This stratification occurs because user draws reduce the volume of hot water in the tank, and cold water
from the mains is input to replace that water. Gradually, the cold volume will increase until solar collection
begins again. In the stratified discharging mode, variable volume energy balances are performed on both the
hot and cold nodes. The only heat transfer modeled is transfer to the environment which is drawn in a
positive sense above. The heat transfer direction is usually reversed for the hot node. The mass coming into
the cold node is at the mains temperature, and no mass is assumed to leave. The variable volume nature of
each node means that mass cannot be assumed constant, resulting in the following differential equation for
the cold node:
The mass leaving the hot node at the hot-node temperature, and no mass is assumed to enter.
These three differential equations are approximated for each hour, with the express interest of determining
how much energy is saved by using solar water heating.
Notes.
You may want to model your system using weather data from several different sources
and locations around your project site to understand both how sensitive your analysis
results are to the weather assumptions, and how muc h variation there is in the data from
the different weather files.
You can compare results for a system using more than one weather file in a single case by using
SAM's parametric simulation option.
For more information about weather data, including where to find data for locations outside of the United
States, see Weather Data on the SAM website.
For a helpful discussion of weather data and power system simulation, see Sengupta et al., (2015) "Best
Practices Handbook for the Collection and Use of Solar Resource Data for Solar Energy Applications,"
NREL Report No. TP-5D00-63112 (PDF 8.9 MB).
Tools
July 2015
Location and Resource 271
Note. You can also see the data after running a simulation on the Results page data tables and time
series graphs.
Refresh library
Refresh the library after adding files to the weather file folder. Refreshing the library may take several
seconds up to a minute.
Folder settings
Add and remove folders containing weather files from the solar resource library. SAM will add any
weather files in the folder to the solar resource library. It may take several seconds up to minute for
SAM to refresh the library after you add folders.
Open library folder
Open the folder containing the default solar resource files.
Notes.
Although the files you download from the Solar Power Prospector website are in TMY2 format, they may
contain TMY, TDY, TGY or single-year data depending on the option you choose when you download the
files.
When you download weather data from the Solar Power Prospector website, SAM displays
"Satellitedata" for the city and "??" for the state because the Solar Prospector database does not
include city and state names.
Note. If you use this option, SAM does not display the location information or annual summary data for
the file, or display the data in the time series data viewer from the Location and Resource page. It can
only display this information for weather files in the solar resource library.
Notes.
The solar water heating model in SAM 2013.1.15 and earlier has been replaced with a new model that
has similar but not identical input variables. If you use the current version of SAM to open file or case
created with the previous model, SAM converts the input variables from the previous model to the new
model as closely as possible. You should expect slightly different results between the old and new
models. See here for details.
You can explore the details of the SWH model by reviewing the hourly performance model results.
July 2015
Solar Water Heating 273
System
Tilt (degrees)
The array's tilt angle in degrees from horizontal, where zero degrees is horizontal, and 90 degrees is
vertical. As a rule of thumb, system designers often use the location's latitude (shown on the Location
and Resource page) as the optimal array tilt angle. The actual tilt angle will vary based on project
requirements.
Azimuth (degrees)
The array's east-west orientation in degrees. An azimuth value of 180° is facing south in the northern
hemisphere. As a rule of thumb, system designers often use an array azimuth of 180°, or facing the
equator.
Total system flow rate (kg/s)
The flow rate in the collector loop when it is operating.
Working fluid
The fluid in the solar collector loop, which one may choose either glycol or water.
Number of Collectors
The number of collectors in the system
Diffuse Sky Model
Allows three different sky models to be chosen: Isotropic, HDKR (Hay-Davies-Klucher-Reindl), or Perez.
Irradiance Inputs
Allows either Beam & Diffuse irradiation or Total & Beam irradiation.
Albedo
The ground reflectance.
Total Collector Area (m2)
Total area of all collectors. :
Total Collector Area = Single Collector Area × Number of Collectors
Rated System Size (kWt)
The system's nominal capacity in thermal kilowatts, used to in capacity based cost and financial
Shading
External shading losses are matrices of loss values that represent reduction in incident irradiance caused
by shadows from nearby objects on the array.
Click Edit shading to specify external shading losses.
The 3D shade calculator calculates a set of shade loss values from a three-dimensional scene, which is a
drawing of the array and nearby objects.
Click Open 3d shade calculator to open the calculator to draw the scene and generate shade losses.
Constant loss
SAM reduces the hourly electricity output value for each time step by the percentage that you specify,
which effectively reduces the system's total annual output by that amount.
For example, a loss of 5% for a system with a net annual output of 100,000 kWh re sults in a delivered
electrical output of 95,000 kWh.
Enable hourly losses
Check the box when you have a table of 8,760 loss values. Click Edit data, and either cut and paste a
column of 8,760 values into the table, or import a text file with a header row (column label) in the first
row followed by 8,760 rows of loss values. The first row of data applies to the hour beginning at 12 a.m.
on January 1.
July 2015
Solar Water Heating 275
Note. If you use combinations of loss values, SAM combines them to calculate the total loss in each
time step. For example, if you specify a constant loss of 5% and hourly losses of 25% for the first seven
days in February, and the system's output at 7 a.m. on February 1 is 455 kW, the output after losses
would be 455 kW × ( 1 - 0.05 ) × ( 1 - 0.25 ) = 324 kW .
Collector
Enter user defined parameters
Choose this option to specify your own collector parameters.
Select from library
Use this option to choose a collector from the collector library. SAM applies parameters fro m the library
to model the collector.
The collector library contains parameters for collectors certified by the Solar Rating and Certification
Corporation (SRCC): http://www.solar-rating.org.
Search by collector name
Type a few characters of the collector manufacturer or model name to filter the list of available
collectors.
Click the collector name in the list to select it.
SRCC#
The collector's SRCC number.
Type
The collector's optic type.
Fluid
The solar system's heat transfer fluid.
Test flow
Fluid flow rate used to generate test data.
The User-defined Collector variables are active for the User Specified option. (SAM ignores the user-
specified values when you use the Choose From Library option.)
Collector Area
Area of a single collector. Choose a value consistent with the area convention used in the collector
efficiency equation. For example, use gross area for all SRCC data.
FRta
Optical gain a in Hottel-Whillier-Bliss (HWB) equation, hcoll = a – b × dT.
July 2015
Solar Water Heating 277
If you do not have a complete 8,760 set of load data, you can use a set of daily load profiles for each month,
and use SAM to create a set of 8,760 values.
Note. The default cost values that appear when you create a file or case are intended to illustrate SAM's
use. The cost data are meant to be realistic, but not to represent actual costs for a specific project. For
more information and a list of online resources for cost data, see the SAM website, https://sam.nrel.gov/
cost.
July 2015
System Costs 279
Note: Because SAM uses only the total installed cost value in cash flow calculations, how you distribute
costs among the different direct capital cost categories does not affect the final results.
Note: Because SAM uses only the total installed cost value in cash flow calculations, how you distribute
costs among the different indirect capital cost categories does not affect the final results.
July 2015
System Costs 281
For expenses such as component replacements that occur in particular years, you can use an annual
schedule to assign costs to individual years. See below for details.
Fixed Annual Cost ($/yr)
A fixed annual cost that applied to each year in the project cash flow.
Fixed Cost by Capacity ($/kW-yr)
A fixed annual cost proportional to the system's rated or nameplate capacity.
Variable Cost by Generation ($/MWh)
A variable annual cost proportional to the system's total annual electrical output in AC megawatt-hours.
The annual energy output depends on either the performance model's calculated first year value and the
degradation rate from the Lifetime page, or on an annual schedule of costs, depending on the option
chosen.
Notes.
If you use the annual schedule option to specify equipment replacement costs, SAM does not calculate
any residual or salvage value of system components based on the annual schedule. SAM calculates
salvage value separately, using the salvage value you specify on the Financial Parameters page.
Dollar values in the annual schedule are in nominal or current dollars. SAM does not apply inflation and
escalation rates to values in annual schedules.
The following procedure describes how to define the fixed annual cost category as an annual schedule. You
can use the same procedure for any of the other operation and maintenance cost categories.
In this case, SAM would assign an annual cost of $284 to each year in the project cash flow.
2. Click the button so that "Sched" label is highlighted in blue. SAM replaces the variable's value with
an Edit button.
3. Click Edit.
4. In the Edit Schedule window, use the vertical scroll bar to find the year of the first replacement, and
type the replacement cost in current or constant dollars for that year.
To delete a value, select it and press the Delete key on your keyboard.
Note. You must type a value for each year. If you delete a value, SAM will clear the cell, and you must
type a number in the cell or SAM will consider the schedule to be invalid. Type a zero for years with no
annual costs.
Because you must specify an O&M cost category as either an annual cost or annual schedule, to assign
both a recurring annual fixed cost and periodic replacement cost, you must type the recurring cost in each
year of the annual schedule, and for years with replacement costs, type the sum of the recurring and
replacement costs.
10.4 Results
After running a simulation, SAM displays hourly results for the solar water heating model on the Results
page Tables and Time Series graphs.
Variable Name Units Description
Hourly Energy Delivered kWh Energy saved by the solar
water system.
Q delivered kWh Thermal energy delivered by
the solar water heating
system.
Q saved kWh Electric energy saved by the
solar water heating system:
.
This value is equivalent to the
energy delivered by the solar
water heating system.
Draw – hot water kg/hr The hourly usage of hot water
specified in the draw profile on
the input page.
Irradiance - Beam W/m2 Direct normal radiation value
from the weather file.
July 2015
Results 283
Variable Name Units Description
Irradiance - Diffuse W/m2 Diffuse horizontal radiation
value from the weather file.
Irradiance - Incident W/m2 The total hourly incident global
radiation incident on the
collector.
Irradiance - Transmitted W/m2 The total hourly radiation that
makes it into the collector.
Depends on the optical
properties of the collector.
Operation mode 1 – mixed mode, during hours
when useful energy is
collected
2 – stratified mode, during
hours no useful energy is
collected.
P pump kWh The total amount of electric
pump power needed to drive
the collector loop and heat
exchanger loop.
Q auxiliary kWh Electricity energy required by
the auxiliary heater to raise
the water temperature from
the solar storage tank to the
set temperature:
,
where is the temperature
of the water delivered from the
solar tank. Because solar heat
has been added to the water,
, and less energy
is needed to bring the water to
the desired set temperature
than would be required without
the solar water heating
system.
Q auxiliary only kWh Electric energy that would be
required without the solar
water heating system:
.
Q loss kWh Envelope loss to room:
.
Q transmitted kWh Solar radiation transmitted
through the collector glass,
accounting for collector area:
July 2015
Results 285
Variable Name Units Description
separate nodes. The cold
volume increases as users
draw water from the tank and
mains water replaces it.
V hot m3 The estimated volume of the
hot portion of the solar
storage tank, where "hot" is
with respect to the cold
portion of the tank. SAM
models the hot and cold
portions as separate nodes.
The hot volume increases from
hour to hour as the useful
energy from the collector is
added until the hot volume is
equal to the tank volume (and
cold volume is zero).
11 Generic System
The generic system model allows you to represent a power plant using a simple model based on capacity
factor and nameplate capacity, or to import hourly or sub-hourly electric generation data from another
simulation model or measured from an operating system.
You can use the generic system model for the following applications:
Model a thermal power plant as a baseline case for comparison with renewable alternatives.
Use energy generation profiles for any type of power system from other software with SAM's financial
models.
Use measured data from an installed plant with SAM's financial models.