SimulationResponse

SimulationResponse is returned in response to an HTTP GET request to https://service.solaranywhere.com/api/v1/Simulate?EnergySiteId=ENERGY_SITE_ID&StartTime=START_TIME&EndTime=END_TIME&INTERMEDIATE_RESULT_ID&key=CLIENT_KEY.

The SimulationResponse element will contain a single SimulationPeriod element which contains a list of SimulationPeriod elements.

<SimulationResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" EnergySiteId="EHmMWnHp-EqzKJx3McTWWg" RequestURL="/SolarAnywhereToolkit/Services/Services.svc/v1/Simulate?EnergySiteId=EHmMWnHp-EqzKJx3McTWWg&StartTime=2011-01-01T09%3a00%3a00-08%3a00&EndTime=2011-01-01T11%3a00%3a00-08%3a00&AmbientTemperature&WindSpeed&key=****EY" Status="Success" xmlns="v3">
  <SimulationPeriods>
    <SimulationPeriod StartTime="2011-01-01T11:00:00-06:00" EndTime="2011-01-01T12:00:00-06:00" Energy_kWh="2.92453462367618" ObservationTypes="AD" AmbientTemperature_DegreesC="0" WindSpeed_MetersPerSecond="3" />
    <SimulationPeriod StartTime="2011-01-01T12:00:00-06:00" EndTime="2011-01-01T13:00:00-06:00" Energy_kWh="3.07792648790834" ObservationTypes="AD" AmbientTemperature_DegreesC="0" WindSpeed_MetersPerSecond="3" />
  </SimulationPeriods>
</SimulationResponse>

SimulationPeriod

The response will contain data specified as an INTERMEDIATE_RESULT in the GET request. Sample INTERMEDIATE_RESULT strings are listed below.

StartTime

The time stamp of the beginning of the period in ISO 8601 combined date-time format.

EndTime

The time stamp of the end of the period in ISO 8601 combined date-time format.

Energy_kWh

The simulated energy production from StartTime to EndTime of an energy site in kilowatt-hours (kWh).