<% '============= Create and Open Database Connection ============= 'OPEN THE DATABASE If blnConnectToDB Then dim blnDBconnectionDown blnDBconnectionDown = false Err.Clear on error resume next set dbConn = Server.CreateObject("ADODB.Connection") 'Open the Connnection 'dbConn.Open Application("dbConn_ConnectionString") dbConn.Open "DSN=PostgreSQL30", "eere_news", "33reNews" ''New Error trapping. KC added 2/23/2012 If Err.Number <> 0 Then ''Response.Write (Err.Description& "

") dbConn.Close Set dbConn = nothing blnDBconnectionDown = true End If On Error GoTo 0 ''error trapping not working here KC removed 2/23/2012 ''tmpDBErrorNativeError = 0 '' For Each dbErr In dbConn.Errors '' strErrMsg = strErrMsg & _ '' "Source: " & dbErr.Source & vbCrLF & _ '' "Description: " & dbErr.Description & vbCrLF & _ '' "SQL State: " & dbErr.SQLState & vbCrLF & _ '' "NativeError: " & dbErr.NativeError & vbCrLF & _ '' "Number: " & dbErr.Number & vbCrLF & vbCrLF '' tmpDBErrorNativeError = dbErr.NativeError '' Next '' If (dbConn.Errors.Count > 0) AND (tmpDBErrorNativeError <> 5703) Then '' dbConn.Close '' Set dbConn = nothing '' blnDBconnectionDown = true '' Response.write(strErrMsg) '' Response.end '' End If dim arrErrors() Redim arrErrors(2,0) End If '============================================================== Public Function GetRS2(myCommand) On Error GoTo 0 'objConn: local connection object 'objRS: local recordset object 'objComm: command object passed in to the function Dim objConn, objRS, blnErrorLogged, objComm 'Create the command object Set objComm = Server.CreateObject("ADODB.Command") Set objComm = myCommand 'Create the connection object Set objConn = Server.CreateObject("ADODB.Connection") 'Open the connection object objConn.Open "DSN=PostgreSQL30", "eere_news", "33reNews" 'Set the active connection objComm.ActiveConnection = objConn 'Create the recordset object Set objRS = Server.CreateObject("ADODB.Recordset") 'Set the cursor location for disconnected recordsets 'objRS.CursorLocation = adUseClient 'Turn on error handling for just a second ' On Error Resume Next 'Open the recordset 'objRS.Open SQL, objConn, adOpenStatic, adLockOptimistic Set objRS = objComm.Execute 'Response.Write "State = " & objRS.State & "
" 'objRS.MoveLast 'objRS.MoveFirst 'Response.Write "Count = " & objRS.RecordCount & "
" 'Response.End 'Check for an error ' If Err.Number <> 0 Then ' Response.Write "Database Error Occured

" ' Response.Write "Error #" & Err.Number & "
" ' Response.Write Err.Description & "

" ' Response.Write "SQL:
" ' Response.Write SQL ' Response.End ' End If 'Turn off error handling ' On Error GoTo 0 'Disconnect the recordset 'Set objComm.ActiveConnection = Nothing 'Close the connection 'objConn.Close 'Set the connection to Nothing 'Set objConn = Nothing 'Set the Command to Nothing 'Set objComm = Nothing 'Return the recordset Set GetRS2 = objRS On Error Resume Next End Function '=============================================================== Function GetRS(sSQL) 'Declarations dim rs 'Create Recordset Object set rs = Server.CreateObject("ADODB.Recordset") If blnConnectToDB Then 'Open Recordset based on SQL rs.Open sSQL, dbConn, 1, 3, 1 End If 'Return Recordset set GetRs = rs End Function '=============================================================== Function ExecSQL(sSQL) 'Open the Command Object dim lRecordsAffected dbConn.Execute sSQL, lRecordsAffected 'Return the Records Affected ExecSQL = lRecordsAffected End Function '======================================================================== Function sendEmail(strFrom,strTo,strSubject,strMessage) Dim sch ' Schema sch = "http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig = CreateObject("CDO.Configuration") With cdoConfig.Fields .Item(sch & "sendusing") = 2 .Item(sch & "smtpserver") = "mxrelay.doe.gov" .update End With Set cdoMessage = CreateObject("CDO.Message") With cdoMessage Set .Configuration = cdoConfig .From = strFrom .To = strTo .Subject = strSubject .TextBody = strMessage .Send End With Set cdoMessage = Nothing Set cdoConfig = Nothing End Function Function removeBadChars(tmpString) tmpString = Replace(tmpString , "<", "") tmpString = Replace(tmpString , ">", "") tmpString = Replace(tmpString , "'", "") tmpString = Replace(tmpString , """", "") tmpString = Replace(tmpString , ";", "") tmpString = Replace(tmpString , "(", "") tmpString = Replace(tmpString , ")", "") removeBadChars = tmpString End Function %> <% 'initialize getPageFormVars(). This function is for printable versions of .asp pages that pass form variables function getPageFormVars() getPageFormVars = "" end function %> Federal Energy Management Program: Concentrating Solar Power Resources and Technologies

U.S. Department of Energy: Energy Efficiency and Renewable Energy

Federal Energy Management ProgramTechnologies

Site Navigation ↓
<% 'This code is strictly when a user clicks on a left nav and needs to be forwarded to another site/program/office if ("" <> "") then Response.Clear Response.Redirect ("") end if %>

Concentrating Solar Power Resources and Technologies

Photo of a CSP dish glistening in the sun. Multiple solar mirrors reflect sunlight onto a collector.

CSP systems concentrate solar heat onto a collector, which powers a turbine to generate electricity.

Photo of two men standing in front of CSP troughs. Multiple troughs stand aligned in front of a desert backdrop.

CSP linear concentrator systems currently generate up to 150 megawatts of electricity.

This page provides a brief overview of concentrating solar power (CSP) technologies supplemented by specific information to apply CSP within the Federal sector.


Concentrating solar power technologies produce electricity by concentrating the sun's energy using reflective devices, such as troughs or mirror panels, to reflect sunlight onto a receiver. The resulting high-temperature heat is used to power a conventional turbine to produce electricity.

There are three types of CSP technologies:

CSP systems are used to generate a large amount of electricity and require large amounts of land to deploy. These technologies are typically not applicable under other circumstances.

Visit the Department of Energy's (DOE) Solar Technologies Program for in-depth information about solar energy basics and technologies. An Energy 101 Video on Concentrating Solar Power is also available on the EERE multimedia site.

Federal Application

Before conducting an assessment or deploying CSP systems, Federal agencies must evaluate a series of questions. Concentrating solar power systems are viable for large-scale electricity production in the Federal sector.

What are my energy goals?

Energy goals range from meeting regulatory requirements to powering remote applications to increasing energy security.

What kind of energy do I use?

Federal agencies must understand what type of energy is needed before determining if concentrating solar power is applicable. CSP systems generate electricity and are not appropriate for mechanical or thermal power.

When do I need the energy?

Due to their large size, most CSP systems are tied into the utility grid. This combination provides accessible electricity around the clock to meet agency load requirements.

Photo of a CSP power tower featuring numerous mirrors focusing sunlight on a central tower.

CSP power towers focus sunlight onto a central tower, which houses a turbine used to generate electricity.

How much power do I use/need to produce?

CSP systems generate large amounts of electricity and are applicable for campus size deployments or larger.

Is open land available?

Concentrating solar power systems require a large, open area of land to accommodate sprawling collector and tower equipment. According to SolarPACES, CSP trough systems require an average of 5.5 acres per megawatt of electricity produced. If large, open areas are not available, CSP may not be the best solution. It is important to consult an expert to determine whether CSP systems are a good fit for your Federal facility.

Where am I located?

For a broad overview of your facility's solar resources, the National Renewable Energy Laboratory (NREL) provides solar energy resource maps of the U.S. Before initiating a project, solar resources in your area must be measured and verified. Resource maps are a good start, but resources vary at a micro level. It is important to consult an expert for a professional evaluation before implementing energy projects.

What is my budget?

CSP systems are a large investment with varying costs depending on application and location specifics. It is important to consult an expert to determine whether CSP systems are a good fit for your budget.

What resources are available for operations and maintenance?

The operation and maintenance (O&M) of a parabolic trough power plant is very similar to conventional steam power plants that cycle on a daily basis. Staffing is needed to operate and maintain them 24-hours per day. CSP systems also require additional labor to maintain the solar fields. Experience shows that solar field mirrors must be washed frequently during the summer, but the increase in solar output pays for the cost of labor and water. Current power plants may wash mirrors weekly during the peak solar times of the year and every few months during the winter.

Next steps

Visit the project planning section for detailed information on planning and deploying renewable energy projects. Federal case studies are available to provide specific examples of viable solar energy projects.


Detailed information on solar energy resources and technologies is available through:

Back to Top | ">View Full Site
Federal Energy Management Program Home | EERE Home
Webmaster | Search
Content Last Updated: 09/23/2013