Energy Site Simulation

With a single call to the SolarAnywhere API, the client can simulate the output of a single PV system or a list of PV systems under their license and retrieve:

  • AC Power and AC Energy Production
  • DC Power
  • Plane of Array Irradiance (POAI)
  • DC Snow Losses
  • Global Horizontal Irradiance (GHI), Direct Normal Irradiance (DNI) and Diffuse Horizontal Irradiance (DHI)
  • Wind Speed and Ambient Temperature
  • Solid and Liquid Precipitation
  • Snow Depth
  • Albedo
  • Particulate Matter

Energy Site Simulation methods offer a set of PV simulation operations both with and without the need to first create EnergySites using the Energy Site Management methods. The SolarAnywhere solar simulations API offers two simulation models: pvlib and CprPVForm. To learn more about these models, refer back to the Introduction.

Single Site Simulation

Simulation Options

Option 1: Simulate PV output based on an EnergySiteId. To learn how to create an EnergySiteId, see Complete Schema-EnergySiteCreateRequest. This method operates asynchronously, requiring the client to POST their simulation request, then retrieve data using a GET request.

Note: If you used one of the python 3.0 examples from the Energy Site Management page to create your EnergySiteId, use the corresponding python 3.0 simulation example below. If you used the “Residential Rooftop System” energy site example to get started, use the “Residential Rooftop Simulation” example, but if you used the “Commercial System” or “Single-axis Utility-scale System with Backtracking” examples, use the “Commercial and Utility-Scale Simulation” example. This is because the examples below each use a different PowerModel. Review the introduction page for a comparison of the model capabilities and additional guidance on which to use. For examples of <SimulationOptions> that include snow loss output fields visit Complete Schema – CreateSimulationRequest.

import requests
from requests.auth import HTTPBasicAuth
import xml.etree.ElementTree as ET
import time


#POST Create Simulation Request
url = "https://service.solaranywhere.com/api/v2/Simulation"
userName = "your_username@your_company.com"
password = "your_password"

querystring = {"key":"your_client_key"}

payload = """<CreateSimulationRequest xmlns="http://service.solaranywhere.com/api/v2">
  <EnergySites>
    <EnergySite EnergySiteId="NZ3RTPHLJE"></EnergySite>
  </EnergySites>
  <SimulationOptions
  PowerModel="CprPVForm"
  ShadingModel="ShadeSimulator" 
  OutputFields="StartTime,ObservationTime,EndTime,PowerAC_kW,
    EnergyAC_kWh,GlobalHorizontalIrradiance_WattsPerMeterSquared,DirectNormalIrradiance_WattsPerMeterSquared,
    DiffuseHorizontalIrradiance_WattsPerMeterSquared,IrradianceObservationType,AmbientTemperature_DegreesC,
    AmbientTemperatureObservationType,WindSpeed_MetersPerSecond,WindSpeedObservationType,
    PlaneOfArrayIrradiance_WattsPerMeterSquared,CapacitySimulatedDC_Percent,CapacitySimulatedDC_kW,
    ClearSkyPowerAC_kW,ClearSkyEnergyAC_kWh,RelativeHumidity_Percent,SnowDepth_Meters,LiquidPrecipitation_KilogramsPerMeterSquared,
    SolidPrecipitation_KilogramsPerMeterSquared,Albedo_Unitless">
    <WeatherDataOptions
    WeatherDataSource="SolarAnywhere3_5"
    WeatherDataPreference = "Auto"
    PerformTimeShifting = "true"
    StartTime="2020-01-01T00:00:00-08:00"
    EndTime="2020-02-01T00:00:00-08:00"
    SpatialResolution_Degrees="0.01"
    TimeResolution_Minutes="60"/>
  </SimulationOptions>
</CreateSimulationRequest>"""

headers = {
    'content-type': "text/xml; charset=utf-8",
    'content-length': "length",
    }

response = requests.post(url,auth = HTTPBasicAuth(userName,password),data=payload,
           headers=headers,params=querystring)

root = ET.fromstring(response.content)
print(response.content)
print("-----")

publicId = root.attrib.get("SimulationId")
print(publicId)

#GET SimulationResult
url2 = "https://service.solaranywhere.com/api/v2/SimulationResult/"

requestNumber = 0
MAX_requestNumber = 100

while(requestNumber < MAX_requestNumber):
 time.sleep(5)
 data = requests.get(url2 + publicId,auth = HTTPBasicAuth(userName,password))
 radicle = ET.fromstring(data.content) 
 status = radicle.attrib.get("Status")
 print(radicle)
 if status == "Done":
 print(data.content)
 break
 else:
 requestNumber = requestNumber + 1
import requests
from requests.auth import HTTPBasicAuth
import xml.etree.ElementTree as ET
import time


#POST Create Simulation Request
url = "https://service.solaranywhere.com/api/v2/Simulation"
userName = "your_username@your_company.com"
password = "your_password"

querystring = {"key":"your_client_key"}

payload = """<CreateSimulationRequest xmlns="http://service.solaranywhere.com/api/v2">
  <EnergySites>
    <EnergySite EnergySiteId="D7RCV0GWVQ"> </EnergySite>
  </EnergySites>
  <SimulationOptions
  PowerModel="PvLib" 
  SnowLossModel="None"
  OutputFields="StartTime,ObservationTime,EndTime,PowerAC_kW,PowerDC_kW,EnergyAC_kWh,GlobalHorizontalIrradiance_WattsPerMeterSquared,
  DirectNormalIrradiance_WattsPerMeterSquared,DiffuseHorizontalIrradiance_WattsPerMeterSquared,IrradianceObservationType,
  AmbientTemperature_DegreesC,AmbientTemperatureObservationType,WindSpeed_MetersPerSecond,WindSpeedObservationType,
  PlaneOfArrayIrradiance_WattsPerMeterSquared,ClearSkyPowerAC_kW,ClearSkyEnergyAC_kWh,RelativeHumidity_Percent,SnowDepth_Meters,
  LiquidPrecipitation_KilogramsPerMeterSquared,SolidPrecipitation_KilogramsPerMeterSquared,Albedo_Unitless">
    <WeatherDataOptions
    WeatherDataSource="SolarAnywhere3_5"
    WeatherDataPreference = "Auto"
    PerformTimeShifting = "true"
    StartTime="2020-01-01T00:00:00-08:00"
    EndTime="2020-02-01T00:00:00-08:00"
    SpatialResolution_Degrees="0.01"
    TimeResolution_Minutes="60"/>
  </SimulationOptions>
</CreateSimulationRequest>"""

headers = {
    'content-type': "text/xml; charset=utf-8",
    'content-length': "length",
    }

response = requests.post(url,auth = HTTPBasicAuth(userName,password),data=payload,
           headers=headers,params=querystring)

root = ET.fromstring(response.content)
print(response.content)
print("-----")

publicId = root.attrib.get("SimulationId")
print(publicId)

#GET SimulationResult
url2 = "https://service.solaranywhere.com/api/v2/SimulationResult/"

requestNumber = 0
MAX_requestNumber = 100

while(requestNumber < MAX_requestNumber):
 time.sleep(5)
 data = requests.get(url2 + publicId,auth = HTTPBasicAuth(userName,password))
 radicle = ET.fromstring(data.content) 
 status = radicle.attrib.get("Status")
 print(radicle)
 if status == "Done":
 print(data.content)
 break
 else:
 requestNumber = requestNumber + 1

Option 2: Simulate PV output without first creating EnergySiteIds. This method operates asynchronously, requiring the client to POST their simulation request, then retrieve data using a GET request.

Note: The examples below each use one of two different PowerModels. Review the introduction page for a comparison of the model capabilities and additional guidance on which to use. For examples of <SimulationOptions> that include snow loss output fields visit Complete Schema – CreateSimulationRequest.

import requests
from requests.auth import HTTPBasicAuth
import xml.etree.ElementTree as ET
import time


#POST Create Simulation Request
url = "https://service.solaranywhere.com/api/v2/Simulation"
userName = "your_username@your_company.com"
password = "your_password"

querystring = {"key":"your_client_key"}

payload = """<CreateSimulationRequest xmlns="http://service.solaranywhere.com/api/v2">
 <EnergySites>
  <EnergySite Name="Sample Site" Description="Sample Site for Plane of Array Irradiance Simulation">
  <Location Latitude="34.65" Longitude="-119.10" />
  <PvSystems>
   <PvSystem>
    <Inverters>
     <Inverter Count="1" MaxPowerOutputAC_kW="3.67000" EfficiencyRating_Percent="97.000000" />
    </Inverters>
    <PvArrays>
     <PvArray>
      <PvModules>
       <PvModule Count="20" NameplateDCRating_kW="0.22000" PtcRating_kW="0.19760"/>
      </PvModules>
      <ArrayConfiguration Tracking="Fixed" Azimuth_Degrees="180.000" Tilt_Degrees="34.65" />
     </PvArray>
    </PvArrays>
   </PvSystem>
  </PvSystems>
 </EnergySite>
  </EnergySites>
  <SimulationOptions
  PowerModel="PvLib" 
  SnowLossModel="None"
  OutputFields="StartTime,ObservationTime,EndTime,GlobalHorizontalIrradiance_WattsPerMeterSquared,
  DirectNormalIrradiance_WattsPerMeterSquared,DiffuseHorizontalIrradiance_WattsPerMeterSquared,IrradianceObservationType,
  PlaneOfArrayIrradiance_WattsPerMeterSquared">
    <WeatherDataOptions
    WeatherDataSource="SolarAnywhere3_5"
    WeatherDataPreference = "Auto"
    PerformTimeShifting = "true"
    StartTime="2020-01-01T00:00:00-08:00"
    EndTime="2020-02-01T00:00:00-08:00"
    SpatialResolution_Degrees="0.01"
    TimeResolution_Minutes="60"/>
  </SimulationOptions>
</CreateSimulationRequest>"""

headers = {
    'content-type': "text/xml; charset=utf-8",
    'content-length': "length",
    }

response = requests.post(url,auth = HTTPBasicAuth(userName,password),data=payload,
           headers=headers,params=querystring)

root = ET.fromstring(response.content)
print(response.content)
print("-----")

publicId = root.attrib.get("SimulationId")
print(publicId)

#GET SimulationResult
url2 = "https://service.solaranywhere.com/api/v2/SimulationResult/"

requestNumber = 0
MAX_requestNumber = 100

while(requestNumber < MAX_requestNumber):
 time.sleep(5)
 data = requests.get(url2 + publicId,auth = HTTPBasicAuth(userName,password))
 radicle = ET.fromstring(data.content) 
 status = radicle.attrib.get("Status")
 print(radicle)
 if status == "Done":
  print(data.content)
  break
 else:
  requestNumber = requestNumber + 1
import requests
from requests.auth import HTTPBasicAuth
import xml.etree.ElementTree as ET
import time


#POST Create Simulation Request
url = "https://service.solaranywhere.com/api/v2/Simulation"
userName = "your_username@your_company.com"
password = "your_password"

querystring = {"key":"your_client_key"}

payload = """<CreateSimulationRequest xmlns="http://service.solaranywhere.com/api/v2">
 <EnergySites>
<EnergySite Name="Sample Residential Site" Description="Sample Residential Site">
  <Location Latitude="34.65" Longitude="-119.10" />
  <PvSystems>
   <PvSystem Albedo_Percent="17" GeneralDerate_Percent="85.00">
    <Inverters>
     <Inverter Count="1" MaxPowerOutputAC_kW="4.470000" EfficiencyRating_Percent="97.000000" />
    </Inverters>
    <PvArrays>
     <PvArray>
      <PvModules>
       <PvModule Count="20" NameplateDCRating_kW="0.22000" PtcRating_kW="0.19760" PowerTemperatureCoefficient_PercentPerDegreeC="0.4" />
      </PvModules>
      <ArrayConfiguration Tracking="Fixed" Tilt_Degrees="34.65" Azimuth_Degrees="180.000"/>
      <SolarObstructions>
       <SolarObstruction Opacity_Percent="80.0" Azimuth_Degrees="90.000" Elevation_Degrees="33.000" />
       <SolarObstruction Opacity_Percent="100.0" Azimuth_Degrees="120.000" Elevation_Degrees="50.000" />
       <SolarObstruction Opacity_Percent="100.0" Azimuth_Degrees="150.000" Elevation_Degrees="22.000" />
       <SolarObstruction Opacity_Percent="100.0" Azimuth_Degrees="180.000" Elevation_Degrees="3.000" />
       <SolarObstruction Opacity_Percent="100.0" Azimuth_Degrees="210.000" Elevation_Degrees="1.000" />
       <SolarObstruction Opacity_Percent="100.0" Azimuth_Degrees="240.000" Elevation_Degrees="2.000" />
       <SolarObstruction Opacity_Percent="70.0" Azimuth_Degrees="270.000" Elevation_Degrees="4.000" />
      </SolarObstructions>
     </PvArray>
    </PvArrays>
   </PvSystem>
  </PvSystems>
 </EnergySite>
  </EnergySites>
   <SimulationOptions
  PowerModel="CprPVForm"
  ShadingModel="ShadeSimulator" 
  OutputFields="StartTime,ObservationTime,EndTime,PowerAC_kW,
    EnergyAC_kWh,GlobalHorizontalIrradiance_WattsPerMeterSquared,DirectNormalIrradiance_WattsPerMeterSquared,
    DiffuseHorizontalIrradiance_WattsPerMeterSquared,IrradianceObservationType,AmbientTemperature_DegreesC,
    AmbientTemperatureObservationType,WindSpeed_MetersPerSecond,WindSpeedObservationType,
    PlaneOfArrayIrradiance_WattsPerMeterSquared,CapacitySimulatedDC_Percent,CapacitySimulatedDC_kW,
    ClearSkyPowerAC_kW,ClearSkyEnergyAC_kWh,RelativeHumidity_Percent,SnowDepth_Meters,LiquidPrecipitation_KilogramsPerMeterSquared,
    SolidPrecipitation_KilogramsPerMeterSquared,Albedo_Unitless">
    <WeatherDataOptions
    WeatherDataSource="SolarAnywhere3_5"
    WeatherDataPreference = "Auto"
    PerformTimeShifting = "true"
    StartTime="2020-01-01T00:00:00-08:00"
    EndTime="2020-02-01T00:00:00-08:00"
    SpatialResolution_Degrees="0.01"
    TimeResolution_Minutes="60"/>
  </SimulationOptions>
</CreateSimulationRequest>"""

headers = {
    'content-type': "text/xml; charset=utf-8",
    'content-length': "length",
    }

response = requests.post(url,auth = HTTPBasicAuth(userName,password),data=payload,
           headers=headers,params=querystring)

root = ET.fromstring(response.content)
print(response.content)
print("-----")

publicId = root.attrib.get("SimulationId")
print(publicId)

#GET SimulationResult
url2 = "https://service.solaranywhere.com/api/v2/SimulationResult/"

requestNumber = 0
MAX_requestNumber = 100

while(requestNumber < MAX_requestNumber):
 time.sleep(5)
 data = requests.get(url2 + publicId,auth = HTTPBasicAuth(userName,password))
 radicle = ET.fromstring(data.content) 
 status = radicle.attrib.get("Status")
 print(radicle)
 if status == "Done":
  print(data.content)
  break
 else:
  requestNumber = requestNumber + 1
import requests
from requests.auth import HTTPBasicAuth
import xml.etree.ElementTree as ET
import time


#POST Create Simulation Request
url = "https://service.solaranywhere.com/api/v2/Simulation"
userName = "your_username@your_company.com"
password = "your_password"

querystring = {"key":"your_client_key"}

payload = """<CreateSimulationRequest xmlns="http://service.solaranywhere.com/api/v2">
 <EnergySites>
 <EnergySite Name="Sample Site" Description="Basic fixed tilt commercial scale PV system">
  <Location Latitude="34.65" Longitude="-119.10" />
  <PvSystems>
   <PvSystem Albedo_Percent="17" GeneralDerate_Percent="86.00">
    <Inverters>
     <Inverter Count="3" MaxPowerOutputAC_kW="166.7" EfficiencyRating_Percent="97.000000" />
    </Inverters>
    <PvArrays>
     <PvArray>
      <PvModules>
       <PvModule Count="165" NameplateDCRating_kW="0.33" PtcRating_kW="0.3054" PowerTemperatureCoefficient_PercentPerDegreeC="0.4"/>
      </PvModules>
      <ArrayConfiguration Tracking="Fixed" Azimuth_Degrees="180.000" Tilt_Degrees="34.65" ModuleRowCount="4" />
     </PvArray>
    </PvArrays>
   </PvSystem>
  </PvSystems>
 </EnergySite>
  </EnergySites>
  <SimulationOptions
  PowerModel="PvLib" 
  SnowLossModel="None"
  OutputFields="StartTime,ObservationTime,EndTime,PowerAC_kW,PowerDC_kW,EnergyAC_kWh,GlobalHorizontalIrradiance_WattsPerMeterSquared,
  DirectNormalIrradiance_WattsPerMeterSquared,DiffuseHorizontalIrradiance_WattsPerMeterSquared,IrradianceObservationType,
  AmbientTemperature_DegreesC,AmbientTemperatureObservationType,WindSpeed_MetersPerSecond,WindSpeedObservationType,
  PlaneOfArrayIrradiance_WattsPerMeterSquared,ClearSkyPowerAC_kW,ClearSkyEnergyAC_kWh,RelativeHumidity_Percent,SnowDepth_Meters,
  LiquidPrecipitation_KilogramsPerMeterSquared,SolidPrecipitation_KilogramsPerMeterSquared,Albedo_Unitless">
    <WeatherDataOptions
    WeatherDataSource="SolarAnywhere3_5"
    WeatherDataPreference = "Auto"
    PerformTimeShifting = "true"
    StartTime="2020-01-01T00:00:00-08:00"
    EndTime="2020-02-01T00:00:00-08:00"
    SpatialResolution_Degrees="0.01"
    TimeResolution_Minutes="60"/>
  </SimulationOptions>
</CreateSimulationRequest>"""

headers = {
    'content-type': "text/xml; charset=utf-8",
    'content-length': "length",
    }

response = requests.post(url,auth = HTTPBasicAuth(userName,password),data=payload,
           headers=headers,params=querystring)

root = ET.fromstring(response.content)
print(response.content)
print("-----")

publicId = root.attrib.get("SimulationId")
print(publicId)

#GET SimulationResult
url2 = "https://service.solaranywhere.com/api/v2/SimulationResult/"

requestNumber = 0
MAX_requestNumber = 100

while(requestNumber < MAX_requestNumber):
 time.sleep(5)
 data = requests.get(url2 + publicId,auth = HTTPBasicAuth(userName,password))
 radicle = ET.fromstring(data.content) 
 status = radicle.attrib.get("Status")
 print(radicle)
 if status == "Done":
  print(data.content)
  break
 else:
  requestNumber = requestNumber + 1
import requests
from requests.auth import HTTPBasicAuth
import xml.etree.ElementTree as ET
import time


#POST Create Simulation Request
url = "https://service.solaranywhere.com/api/v2/Simulation"
userName = "your_username@your_company.com"
password = "your_password"

querystring = {"key":"your_client_key"}

payload = """<CreateSimulationRequest xmlns="http://service.solaranywhere.com/api/v2">
 <EnergySites>
  <EnergySite Name="Sample Site" Description="Basic fixed tilt utility-scale PV system">
  <Location Latitude="34.65" Longitude="-119.10" />
  <PvSystems>
   <PvSystem Albedo_Percent="17" GeneralDerate_Percent="86.00">
    <Inverters>
     <Inverter Count="12" MaxPowerOutputAC_kW="4166.7" EfficiencyRating_Percent="97.000000" />
    </Inverters>
    <PvArrays>
     <PvArray>
      <PvModules>
       <PvModule Count="16500" NameplateDCRating_kW="0.33" PtcRating_kW="0.3054" PowerTemperatureCoefficient_PercentPerDegreeC="0.4"/>
      </PvModules>
      <ArrayConfiguration Tracking="SingleAxisWithBacktracking" Azimuth_Degrees="180.000" Tilt_Degrees="0.00" ModuleRowCount="25" TrackingRotationLimit_Degrees="60" RelativeRowSpacing="3"/>
     </PvArray>
    </PvArrays>
   </PvSystem>
  </PvSystems>
 </EnergySite>
</EnergySites>
  <SimulationOptions
  PowerModel="PvLib" 
  SnowLossModel="None"
  OutputFields="StartTime,ObservationTime,EndTime,PowerAC_kW,PowerDC_kW,EnergyAC_kWh,GlobalHorizontalIrradiance_WattsPerMeterSquared,
  DirectNormalIrradiance_WattsPerMeterSquared,DiffuseHorizontalIrradiance_WattsPerMeterSquared,IrradianceObservationType,
  AmbientTemperature_DegreesC,AmbientTemperatureObservationType,WindSpeed_MetersPerSecond,WindSpeedObservationType,
  PlaneOfArrayIrradiance_WattsPerMeterSquared,ClearSkyPowerAC_kW,ClearSkyEnergyAC_kWh,RelativeHumidity_Percent,SnowDepth_Meters,
  LiquidPrecipitation_KilogramsPerMeterSquared,SolidPrecipitation_KilogramsPerMeterSquared,Albedo_Unitless">
    <WeatherDataOptions
    WeatherDataSource="SolarAnywhere3_5"
    WeatherDataPreference = "Auto"
    PerformTimeShifting = "true"
    StartTime="2020-01-01T00:00:00-08:00"
    EndTime="2020-02-01T00:00:00-08:00"
    SpatialResolution_Degrees="0.01"
    TimeResolution_Minutes="60"/>
  </SimulationOptions>
</CreateSimulationRequest>"""

headers = {
    'content-type': "text/xml; charset=utf-8",
    'content-length': "length",
    }

response = requests.post(url,auth = HTTPBasicAuth(userName,password),data=payload,
           headers=headers,params=querystring)

root = ET.fromstring(response.content)
print(response.content)
print("-----")

publicId = root.attrib.get("SimulationId")
print(publicId)

#GET SimulationResult
url2 = "https://service.solaranywhere.com/api/v2/SimulationResult/"

requestNumber = 0
MAX_requestNumber = 100

while(requestNumber < MAX_requestNumber):
 time.sleep(5)
 data = requests.get(url2 + publicId,auth = HTTPBasicAuth(userName,password))
 radicle = ET.fromstring(data.content) 
 status = radicle.attrib.get("Status")
 print(radicle)
 if status == "Done":
  print(data.content)
  break
 else:
  requestNumber = requestNumber + 1

Bulk Simulations

Within the set of <SimulationOptions> operations, the client can perform bulk simulation, where the simulation request contains multiple EnergySiteIds. The GetSimulationResultResponse will contain the results for each <EnergySite> specified. Visit the Complete Schema-EnergySiteCreateRequest to learn more about creating EnergySiteIds.

Note: One of the examples below uses the CprPVForm PowerModel, while the other uses the pvlib PowerModel. When using the pvlib simulation model, you can make a request containing up to 5 energy sites. When using the CprPVForm simulation model, you can include an unlimited number of energy sites. Review the introduction page for a comparison of the model capabilities and additional guidance on which to use.

 

Request
<CreateSimulationRequest xmlns="http://service.solaranywhere.com/api/v2">
  <EnergySites>
    <EnergySite EnergySiteId="NZ3RTPHLJE"></EnergySite>
    <EnergySite EnergySiteId="6N0QX6E2U9"></EnergySite>
    <EnergySite EnergySiteId="NBGTY7NBK2"></EnergySite>
    <EnergySite EnergySiteId="FCDVD4A2CQ"></EnergySite>
    <EnergySite EnergySiteId="6FTJ1WT0PM"></EnergySite>
    <EnergySite EnergySiteId="XA70N15TNW"></EnergySite>
    </EnergySite>
  </EnergySites>
  <SimulationOptions
  PowerModel="CprPVForm"
  OutputFields="StartTime,ObservationTime,EndTime,PowerAC_kW,PowerDC_kW,EnergyAC_kWh,GlobalHorizontalIrradiance_WattsPerMeterSquared,IrradianceObservationType">
    <WeatherDataOptions
    WeatherDataSource="SolarAnywhere3_5"
    WeatherDataPreference = "Auto"
    PerformTimeShifting = "true"
    StartTime="2020-01-01T00:00:00-08:00"
    EndTime="2020-01-01T15:00:00-08:00"
    SpatialResolution_Degrees="0.1"
    TimeResolution_Minutes="60"/>
  </SimulationOptions>
</CreateSimulationRequest>
<CreateSimulationRequest xmlns="http://service.solaranywhere.com/api/v2">
  <EnergySites>
    <EnergySite EnergySiteId="D7RCV0GWVQ"></EnergySite>
    <EnergySite EnergySiteId="3MA0Z5H564"></EnergySite>
    <EnergySite EnergySiteId="DYQX7DUVWG"></EnergySite>
    <EnergySite EnergySiteId="L26ZDBF9P8"></EnergySite>
    <EnergySite EnergySiteId="M8OGEJN1QI"></EnergySite>
  </EnergySites>
  <SimulationOptions
  PowerModel="PvLib" 
SnowLossModel="None"
  OutputFields="StartTime,ObservationTime,EndTime,PowerAC_kW,PowerDC_kW,EnergyAC_kWh,GlobalHorizontalIrradiance_WattsPerMeterSquared,IrradianceObservationType">
    <WeatherDataOptions
    WeatherDataSource="SolarAnywhere3_5"
    WeatherDataPreference = "Auto"
    PerformTimeShifting = "true"
    StartTime="2020-01-01T00:00:00-08:00"
    EndTime="2020-01-01T15:00:00-08:00"
    SpatialResolution_Degrees="0.01"
    TimeResolution_Minutes="60"/>
  </SimulationOptions>
</CreateSimulationRequest>
Response
<GetSimulationResultResponse SimulationId="DWYG5BJ" Status="Done" RequestId="V6VPBXF0T" xmlns="http://service.solaranywhere.com/api/v2">
    <SimulationResults>
        <SimulationResult Status="Success" EnergySiteName="Sample API V2 Site">
            <WeatherSourceInformation WeatherSiteName="SolarAnywhere3_5" Latitude="34.65" Longitude="-119.1" Elevation_Meters="1553" />
            <SimulationPeriods TimeResolution_Minutes="60" FirstStartTime="2020-01-01T10:00:00-08:00">
                <SimulationPeriod StartTime="2020-01-01T10:00:00-08:00" ObservationTime="2020-01-01T10:30:00-08:00" EndTime="2020-01-01T11:00:00-08:00" 
				EnergyAC_kWh="2.525617" PowerAC_kW="2.525617" GlobalHorizontalIrradiance_WattsPerMeterSquared="470" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T11:00:00-08:00" ObservationTime="2020-01-01T11:30:00-08:00" EndTime="2020-01-01T12:00:00-08:00" 
				EnergyAC_kWh="2.915379" PowerAC_kW="2.915379" GlobalHorizontalIrradiance_WattsPerMeterSquared="552" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T12:00:00-08:00" ObservationTime="2020-01-01T12:30:00-08:00" EndTime="2020-01-01T13:00:00-08:00" 
				EnergyAC_kWh="2.896454" PowerAC_kW="2.896454" GlobalHorizontalIrradiance_WattsPerMeterSquared="554" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T13:00:00-08:00" ObservationTime="2020-01-01T13:30:00-08:00" EndTime="2020-01-01T14:00:00-08:00" 
				EnergyAC_kWh="2.68288" PowerAC_kW="2.68288" GlobalHorizontalIrradiance_WattsPerMeterSquared="501" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T14:00:00-08:00" ObservationTime="2020-01-01T14:30:00-08:00" EndTime="2020-01-01T15:00:00-08:00" 
				EnergyAC_kWh="2.181154" PowerAC_kW="2.181154" GlobalHorizontalIrradiance_WattsPerMeterSquared="377" IrradianceObservationType="AD" />
            </SimulationPeriods>
        </SimulationResult>
        <SimulationResult Status="Success" EnergySiteName="Sample Site">
            <WeatherSourceInformation WeatherSiteName="SolarAnywhere3_5" Latitude="34.65" Longitude="-119.1" Elevation_Meters="1553" />
            <SimulationPeriods TimeResolution_Minutes="60" FirstStartTime="2020-01-01T10:00:00-08:00">
                <SimulationPeriod StartTime="2020-01-01T10:00:00-08:00" ObservationTime="2020-01-01T10:30:00-08:00" EndTime="2020-01-01T11:00:00-08:00" 
				EnergyAC_kWh="2.569338" PowerAC_kW="2.569338" GlobalHorizontalIrradiance_WattsPerMeterSquared="470" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T11:00:00-08:00" ObservationTime="2020-01-01T11:30:00-08:00" EndTime="2020-01-01T12:00:00-08:00" 
				EnergyAC_kWh="2.951945" PowerAC_kW="2.951945" GlobalHorizontalIrradiance_WattsPerMeterSquared="552" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T12:00:00-08:00" ObservationTime="2020-01-01T12:30:00-08:00" EndTime="2020-01-01T13:00:00-08:00" 
				EnergyAC_kWh="2.93165" PowerAC_kW="2.93165" GlobalHorizontalIrradiance_WattsPerMeterSquared="554" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T13:00:00-08:00" ObservationTime="2020-01-01T13:30:00-08:00" EndTime="2020-01-01T14:00:00-08:00" 
				EnergyAC_kWh="2.71511" PowerAC_kW="2.71511" GlobalHorizontalIrradiance_WattsPerMeterSquared="501" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T14:00:00-08:00" ObservationTime="2020-01-01T14:30:00-08:00" EndTime="2020-01-01T15:00:00-08:00" 
				EnergyAC_kWh="2.208555" PowerAC_kW="2.208555" GlobalHorizontalIrradiance_WattsPerMeterSquared="377" IrradianceObservationType="AD" />
            </SimulationPeriods>
        </SimulationResult>
        <SimulationResult Status="Success" EnergySiteName="Sample Site">
            <WeatherSourceInformation WeatherSiteName="SolarAnywhere3_5" Latitude="34.65" Longitude="-119.1" Elevation_Meters="1553" />
            <SimulationPeriods TimeResolution_Minutes="60" FirstStartTime="2020-01-01T10:00:00-08:00">
                <SimulationPeriod StartTime="2020-01-01T10:00:00-08:00" ObservationTime="2020-01-01T10:30:00-08:00" EndTime="2020-01-01T11:00:00-08:00" 
				EnergyAC_kWh="2.569338" PowerAC_kW="2.569338" GlobalHorizontalIrradiance_WattsPerMeterSquared="470" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T11:00:00-08:00" ObservationTime="2020-01-01T11:30:00-08:00" EndTime="2020-01-01T12:00:00-08:00" 
				EnergyAC_kWh="2.951945" PowerAC_kW="2.951945" GlobalHorizontalIrradiance_WattsPerMeterSquared="552" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T12:00:00-08:00" ObservationTime="2020-01-01T12:30:00-08:00" EndTime="2020-01-01T13:00:00-08:00" 
				EnergyAC_kWh="2.93165" PowerAC_kW="2.93165" GlobalHorizontalIrradiance_WattsPerMeterSquared="554" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T13:00:00-08:00" ObservationTime="2020-01-01T13:30:00-08:00" EndTime="2020-01-01T14:00:00-08:00" 
				EnergyAC_kWh="2.71511" PowerAC_kW="2.71511" GlobalHorizontalIrradiance_WattsPerMeterSquared="501" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T14:00:00-08:00" ObservationTime="2020-01-01T14:30:00-08:00" EndTime="2020-01-01T15:00:00-08:00" 
				EnergyAC_kWh="2.208555" PowerAC_kW="2.208555" GlobalHorizontalIrradiance_WattsPerMeterSquared="377" IrradianceObservationType="AD" />
            </SimulationPeriods>
        </SimulationResult>
        <SimulationResult Status="Success" EnergySiteName="Sample Site">
            <WeatherSourceInformation WeatherSiteName="SolarAnywhere3_5" Latitude="34.65" Longitude="-119.1" Elevation_Meters="1553" />
            <SimulationPeriods TimeResolution_Minutes="60" FirstStartTime="2020-01-01T10:00:00-08:00">
                <SimulationPeriod StartTime="2020-01-01T10:00:00-08:00" ObservationTime="2020-01-01T10:30:00-08:00" EndTime="2020-01-01T11:00:00-08:00" 
				EnergyAC_kWh="2.569338" PowerAC_kW="2.569338" GlobalHorizontalIrradiance_WattsPerMeterSquared="470" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T11:00:00-08:00" ObservationTime="2020-01-01T11:30:00-08:00" EndTime="2020-01-01T12:00:00-08:00" 
				EnergyAC_kWh="2.951945" PowerAC_kW="2.951945" GlobalHorizontalIrradiance_WattsPerMeterSquared="552" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T12:00:00-08:00" ObservationTime="2020-01-01T12:30:00-08:00" EndTime="2020-01-01T13:00:00-08:00" 
				EnergyAC_kWh="2.93165" PowerAC_kW="2.93165" GlobalHorizontalIrradiance_WattsPerMeterSquared="554" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T13:00:00-08:00" ObservationTime="2020-01-01T13:30:00-08:00" EndTime="2020-01-01T14:00:00-08:00" 
				EnergyAC_kWh="2.71511" PowerAC_kW="2.71511" GlobalHorizontalIrradiance_WattsPerMeterSquared="501" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T14:00:00-08:00" ObservationTime="2020-01-01T14:30:00-08:00" EndTime="2020-01-01T15:00:00-08:00" 
				EnergyAC_kWh="2.208555" PowerAC_kW="2.208555" GlobalHorizontalIrradiance_WattsPerMeterSquared="377" IrradianceObservationType="AD" />
            </SimulationPeriods>
        </SimulationResult>
        <SimulationResult Status="Success" EnergySiteName="Sample Site">
            <WeatherSourceInformation WeatherSiteName="SolarAnywhere3_5" Latitude="34.65" Longitude="-119.1" Elevation_Meters="1553" />
            <SimulationPeriods TimeResolution_Minutes="60" FirstStartTime="2020-01-01T10:00:00-08:00">
                <SimulationPeriod StartTime="2020-01-01T10:00:00-08:00" ObservationTime="2020-01-01T10:30:00-08:00" EndTime="2020-01-01T11:00:00-08:00" 
				EnergyAC_kWh="2.569338" PowerAC_kW="2.569338" GlobalHorizontalIrradiance_WattsPerMeterSquared="470" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T11:00:00-08:00" ObservationTime="2020-01-01T11:30:00-08:00" EndTime="2020-01-01T12:00:00-08:00" 
				EnergyAC_kWh="2.951945" PowerAC_kW="2.951945" GlobalHorizontalIrradiance_WattsPerMeterSquared="552" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T12:00:00-08:00" ObservationTime="2020-01-01T12:30:00-08:00" EndTime="2020-01-01T13:00:00-08:00" 
				EnergyAC_kWh="2.93165" PowerAC_kW="2.93165" GlobalHorizontalIrradiance_WattsPerMeterSquared="554" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T13:00:00-08:00" ObservationTime="2020-01-01T13:30:00-08:00" EndTime="2020-01-01T14:00:00-08:00" 
				EnergyAC_kWh="2.71511" PowerAC_kW="2.71511" GlobalHorizontalIrradiance_WattsPerMeterSquared="501" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T14:00:00-08:00" ObservationTime="2020-01-01T14:30:00-08:00" EndTime="2020-01-01T15:00:00-08:00" 
				EnergyAC_kWh="2.208555" PowerAC_kW="2.208555" GlobalHorizontalIrradiance_WattsPerMeterSquared="377" IrradianceObservationType="AD" />
            </SimulationPeriods>
        </SimulationResult>
        <SimulationResult Status="Success" EnergySiteName="Sample Site">
            <WeatherSourceInformation WeatherSiteName="SolarAnywhere3_5" Latitude="34.65" Longitude="-119.1" Elevation_Meters="1553" />
            <SimulationPeriods TimeResolution_Minutes="60" FirstStartTime="2020-01-01T10:00:00-08:00">
                <SimulationPeriod StartTime="2020-01-01T10:00:00-08:00" ObservationTime="2020-01-01T10:30:00-08:00" EndTime="2020-01-01T11:00:00-08:00" 
				EnergyAC_kWh="2.569338" PowerAC_kW="2.569338" GlobalHorizontalIrradiance_WattsPerMeterSquared="470" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T11:00:00-08:00" ObservationTime="2020-01-01T11:30:00-08:00" EndTime="2020-01-01T12:00:00-08:00" 
				EnergyAC_kWh="2.951945" PowerAC_kW="2.951945" GlobalHorizontalIrradiance_WattsPerMeterSquared="552" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T12:00:00-08:00" ObservationTime="2020-01-01T12:30:00-08:00" EndTime="2020-01-01T13:00:00-08:00" 
				EnergyAC_kWh="2.93165" PowerAC_kW="2.93165" GlobalHorizontalIrradiance_WattsPerMeterSquared="554" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T13:00:00-08:00" ObservationTime="2020-01-01T13:30:00-08:00" EndTime="2020-01-01T14:00:00-08:00" 
				EnergyAC_kWh="2.71511" PowerAC_kW="2.71511" GlobalHorizontalIrradiance_WattsPerMeterSquared="501" IrradianceObservationType="AD" />
                <SimulationPeriod StartTime="2020-01-01T14:00:00-08:00" ObservationTime="2020-01-01T14:30:00-08:00" EndTime="2020-01-01T15:00:00-08:00" 
				EnergyAC_kWh="2.208555" PowerAC_kW="2.208555" GlobalHorizontalIrradiance_WattsPerMeterSquared="377" IrradianceObservationType="AD" />
            </SimulationPeriods>
        </SimulationResult>
    </SimulationResults>
</GetSimulationResultResponse>

What’s Next?