diff --git a/src/Solcast/Clients/ForecastClient.cs b/src/Solcast/Clients/ForecastClient.cs index f5e728c..5667e37 100644 --- a/src/Solcast/Clients/ForecastClient.cs +++ b/src/Solcast/Clients/ForecastClient.cs @@ -381,9 +381,9 @@ public async Task> GetForecastRadiationAndWea /// The number of hours to return in the response. Default is 24. /// Length of the averaging period in ISO 8601 format. Default is PT30M. /// Deposition or settling velocity of PM2.5 particulates. [m/s]. Default is 0.0009. - /// Deposition or settling velocity of PM10 particulates. [m/s]. Default is 0.004. + /// Deposition or settling velocity of PM10 particulates. [m/s]. Default is 0.004. /// Restricted. A list of PM10 values. Concentration of airborne particulate matter (PM) with aerodynamicdiameter less than 10 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. - /// Restricted. Concentration of airborne particulate matter (PM) with aerodynamic diameter less than 2.5 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. + /// Restricted. Concentration of airborne particulate matter (PM) with aerodynamic diameter less than 2.5 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. /// The angle (degrees) that the PV system is tilted off the horizontal. A tilt of 0 means the system faces directly upwards, and 90 means the system is vertical and facing the horizon. If you don't specify tilt, we use a default tilt angle based on the latitude you specify in your request. Must be between 0 and 90. /// Amount of daily rainfall required to clean the panels (mm). Default is 6.0. /// Initial percentage of energy lost due to soiling at time zero in the rainfall series input. If not provided, Solcast will perform a ramp up series calculation to accurately determine this value. If provided must be >= 0 and < 0.3437. @@ -398,9 +398,9 @@ public async Task> GetForecastHsu( int? hours = null, string period = null, double? depoVelocPm10 = null, - double? depoVelocPm2_5 = null, + double? depoVelocPm25 = null, List pm10 = null, - List pm2_5 = null, + List pm25 = null, double? tilt = null, double? cleaningThreshold = null, double? initialSoiling = null, @@ -419,14 +419,14 @@ public async Task> GetForecastHsu( if (hours.HasValue) parameters.Add("hours", hours.Value.ToString()); if (period != null) parameters.Add("period", period.ToString()); if (depoVelocPm10.HasValue) parameters.Add("depoVelocPm10", depoVelocPm10.Value.ToString()); - if (depoVelocPm2_5.HasValue) parameters.Add("depoVelocPm2_5", depoVelocPm2_5.Value.ToString()); - if (pm10 != null && pm10.Any()) parameters.Add("pm10", string.Join(",", pm10)); - if (pm2_5 != null && pm2_5.Any()) parameters.Add("pm2_5", string.Join(",", pm2_5)); + if (depoVelocPm25.HasValue) parameters.Add("depoVelocPm25", depoVelocPm25.Value.ToString()); + if (pm10 != null) parameters.Add("pm10", pm10.ToString()); + if (pm25 != null) parameters.Add("pm25", pm25.ToString()); if (tilt.HasValue) parameters.Add("tilt", tilt.Value.ToString()); if (cleaningThreshold.HasValue) parameters.Add("cleaningThreshold", cleaningThreshold.Value.ToString()); if (initialSoiling.HasValue) parameters.Add("initialSoiling", initialSoiling.Value.ToString()); if (rainAccumPeriod.HasValue) parameters.Add("rainAccumPeriod", rainAccumPeriod.Value.ToString()); - if (rainfall != null && rainfall.Any()) parameters.Add("rainfall", string.Join(",", rainfall)); + if (rainfall != null) parameters.Add("rainfall", rainfall.ToString()); if (manualWashDates != null && manualWashDates.Any()) parameters.Add("manualWashDates", string.Join(",", manualWashDates)); if (format != null) parameters.Add("format", format.ToString()); @@ -462,7 +462,7 @@ public async Task> GetForecastHsu( } catch (HttpRequestException httpEx) { - var paramDetails = "latitude=" + latitude + ", " + "longitude=" + longitude + ", " + "timeZone=" + timeZone + ", " + "hours=" + hours + ", " + "period=" + period + ", " + "depoVelocPm10=" + depoVelocPm10 + ", " + "depoVelocPm2_5=" + depoVelocPm2_5 + ", " + "pm10=" + pm10 + ", " + "pm2_5=" + pm2_5 + ", " + "tilt=" + tilt + ", " + "cleaningThreshold=" + cleaningThreshold + ", " + "initialSoiling=" + initialSoiling + ", " + "rainAccumPeriod=" + rainAccumPeriod + ", " + "rainfall=" + rainfall + ", " + "manualWashDates=" + manualWashDates + ", " + "format=" + format; + var paramDetails = "latitude=" + latitude + ", " + "longitude=" + longitude + ", " + "timeZone=" + timeZone + ", " + "hours=" + hours + ", " + "period=" + period + ", " + "depoVelocPm10=" + depoVelocPm10 + ", " + "depoVelocPm25=" + depoVelocPm25 + ", " + "pm10=" + pm10 + ", " + "pm25=" + pm25 + ", " + "tilt=" + tilt + ", " + "cleaningThreshold=" + cleaningThreshold + ", " + "initialSoiling=" + initialSoiling + ", " + "rainAccumPeriod=" + rainAccumPeriod + ", " + "rainfall=" + rainfall + ", " + "manualWashDates=" + manualWashDates + ", " + "format=" + format; var status = httpEx.StatusCode.HasValue ? ((int)httpEx.StatusCode).ToString() : "unknown"; var content = httpEx.Data.Contains("Content") ? httpEx.Data["Content"] : "no content"; throw new Exception($@"HTTP error in GetForecastHsu @@ -473,7 +473,7 @@ public async Task> GetForecastHsu( } catch (Exception ex) { - var paramDetails = "latitude=" + latitude + ", " + "longitude=" + longitude + ", " + "timeZone=" + timeZone + ", " + "hours=" + hours + ", " + "period=" + period + ", " + "depoVelocPm10=" + depoVelocPm10 + ", " + "depoVelocPm2_5=" + depoVelocPm2_5 + ", " + "pm10=" + pm10 + ", " + "pm2_5=" + pm2_5 + ", " + "tilt=" + tilt + ", " + "cleaningThreshold=" + cleaningThreshold + ", " + "initialSoiling=" + initialSoiling + ", " + "rainAccumPeriod=" + rainAccumPeriod + ", " + "rainfall=" + rainfall + ", " + "manualWashDates=" + manualWashDates + ", " + "format=" + format; + var paramDetails = "latitude=" + latitude + ", " + "longitude=" + longitude + ", " + "timeZone=" + timeZone + ", " + "hours=" + hours + ", " + "period=" + period + ", " + "depoVelocPm10=" + depoVelocPm10 + ", " + "depoVelocPm25=" + depoVelocPm25 + ", " + "pm10=" + pm10 + ", " + "pm25=" + pm25 + ", " + "tilt=" + tilt + ", " + "cleaningThreshold=" + cleaningThreshold + ", " + "initialSoiling=" + initialSoiling + ", " + "rainAccumPeriod=" + rainAccumPeriod + ", " + "rainfall=" + rainfall + ", " + "manualWashDates=" + manualWashDates + ", " + "format=" + format; throw new Exception($@"Unhandled error in GetForecastHsu Parameters: {paramDetails} Error: {ex.Message}", ex); diff --git a/src/Solcast/Clients/HistoricClient.cs b/src/Solcast/Clients/HistoricClient.cs index ada2ee6..88fc7f4 100644 --- a/src/Solcast/Clients/HistoricClient.cs +++ b/src/Solcast/Clients/HistoricClient.cs @@ -334,9 +334,9 @@ public async Task> GetHistoricRooftopPvPowe /// Timezone to return in data set. Accepted values are utc, longitudinal, or a range from -13 to 13 in 0.25 hour increments for utc offset. Default is utc. /// Length of the averaging period in ISO 8601 format. Default is PT30M. /// Deposition or settling velocity of PM2.5 particulates. [m/s]. Default is 0.0009. - /// Deposition or settling velocity of PM10 particulates. [m/s]. Default is 0.004. + /// Deposition or settling velocity of PM10 particulates. [m/s]. Default is 0.004. /// Restricted. A list of PM10 values. Concentration of airborne particulate matter (PM) with aerodynamicdiameter less than 10 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. - /// Restricted. Concentration of airborne particulate matter (PM) with aerodynamic diameter less than 2.5 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. + /// Restricted. Concentration of airborne particulate matter (PM) with aerodynamic diameter less than 2.5 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. /// The angle (degrees) that the PV system is tilted off the horizontal. A tilt of 0 means the system faces directly upwards, and 90 means the system is vertical and facing the horizon. If you don't specify tilt, we use a default tilt angle based on the latitude you specify in your request. Must be between 0 and 90. /// ISO_8601 compliant starting datetime for the historical data. If the supplied value does not specify a timezone, the timezone will be inferred from the time_zone parameter, if supplied. Otherwise UTC is assumed. /// Must include one of end_date and duration. ISO_8601 compliant duration for the historical data. Must be within 31 days of the start_date. @@ -354,9 +354,9 @@ public async Task> GetHistoricHsu( string timeZone = null, string period = null, double? depoVelocPm10 = null, - double? depoVelocPm2_5 = null, + double? depoVelocPm2.5 = null, List pm10 = null, - List pm2_5 = null, + List pm2.5 = null, double? tilt = null, string duration = null, string end = null, @@ -377,9 +377,9 @@ public async Task> GetHistoricHsu( if (timeZone != null) parameters.Add("timeZone", timeZone.ToString()); if (period != null) parameters.Add("period", period.ToString()); if (depoVelocPm10.HasValue) parameters.Add("depoVelocPm10", depoVelocPm10.Value.ToString()); - if (depoVelocPm2_5.HasValue) parameters.Add("depoVelocPm2.5", depoVelocPm2_5.Value.ToString()); - if (pm10 != null && pm10.Any()) parameters.Add("pm10", string.Join(",", pm10)); - if (pm2_5 != null && pm2_5.Any()) parameters.Add("pm2.5", string.Join(",", pm2_5)); + if (depoVelocPm2.5.HasValue) parameters.Add("depoVelocPm2.5", depoVelocPm2.5.Value.ToString()); + if (pm10 != null) parameters.Add("pm10", pm10.ToString()); + if (pm2.5 != null) parameters.Add("pm2.5", pm2.5.ToString()); if (tilt.HasValue) parameters.Add("tilt", tilt.Value.ToString()); if (duration != null) parameters.Add("duration", duration.ToString()); if (end != null) parameters.Add("end", end.ToString()); @@ -387,7 +387,7 @@ public async Task> GetHistoricHsu( if (initialSoiling.HasValue) parameters.Add("initialSoiling", initialSoiling.Value.ToString()); if (manualWashDates != null && manualWashDates.Any()) parameters.Add("manualWashDates", string.Join(",", manualWashDates)); if (rainAccumPeriod.HasValue) parameters.Add("rainAccumPeriod", rainAccumPeriod.Value.ToString()); - if (rainfall != null && rainfall.Any()) parameters.Add("rainfall", string.Join(",", rainfall)); + if (rainfall != null) parameters.Add("rainfall", rainfall.ToString()); if (format != null) parameters.Add("format", format.ToString()); var queryString = string.Join("&", parameters.Select(p => $"{p.Key}={Uri.EscapeDataString(p.Value ?? string.Empty)}")); @@ -422,7 +422,7 @@ public async Task> GetHistoricHsu( } catch (HttpRequestException httpEx) { - var paramDetails = "latitude=" + latitude + ", " + "longitude=" + longitude + ", " + "start=" + start + ", " + "timeZone=" + timeZone + ", " + "period=" + period + ", " + "depoVelocPm10=" + depoVelocPm10 + ", " + "depoVelocPm2_5=" + depoVelocPm2_5 + ", " + "pm10=" + pm10 + ", " + "pm2_5=" + pm2_5 + ", " + "tilt=" + tilt + ", " + "duration=" + duration + ", " + "end=" + end + ", " + "cleaningThreshold=" + cleaningThreshold + ", " + "initialSoiling=" + initialSoiling + ", " + "manualWashDates=" + manualWashDates + ", " + "rainAccumPeriod=" + rainAccumPeriod + ", " + "rainfall=" + rainfall + ", " + "format=" + format; + var paramDetails = "latitude=" + latitude + ", " + "longitude=" + longitude + ", " + "start=" + start + ", " + "timeZone=" + timeZone + ", " + "period=" + period + ", " + "depoVelocPm10=" + depoVelocPm10 + ", " + "depoVelocPm2.5=" + depoVelocPm2.5 + ", " + "pm10=" + pm10 + ", " + "pm2.5=" + pm2.5 + ", " + "tilt=" + tilt + ", " + "duration=" + duration + ", " + "end=" + end + ", " + "cleaningThreshold=" + cleaningThreshold + ", " + "initialSoiling=" + initialSoiling + ", " + "manualWashDates=" + manualWashDates + ", " + "rainAccumPeriod=" + rainAccumPeriod + ", " + "rainfall=" + rainfall + ", " + "format=" + format; var status = httpEx.StatusCode.HasValue ? ((int)httpEx.StatusCode).ToString() : "unknown"; var content = httpEx.Data.Contains("Content") ? httpEx.Data["Content"] : "no content"; throw new Exception($@"HTTP error in GetHistoricHsu @@ -433,7 +433,7 @@ public async Task> GetHistoricHsu( } catch (Exception ex) { - var paramDetails = "latitude=" + latitude + ", " + "longitude=" + longitude + ", " + "start=" + start + ", " + "timeZone=" + timeZone + ", " + "period=" + period + ", " + "depoVelocPm10=" + depoVelocPm10 + ", " + "depoVelocPm2_5=" + depoVelocPm2_5 + ", " + "pm10=" + pm10 + ", " + "pm2_5=" + pm2_5 + ", " + "tilt=" + tilt + ", " + "duration=" + duration + ", " + "end=" + end + ", " + "cleaningThreshold=" + cleaningThreshold + ", " + "initialSoiling=" + initialSoiling + ", " + "manualWashDates=" + manualWashDates + ", " + "rainAccumPeriod=" + rainAccumPeriod + ", " + "rainfall=" + rainfall + ", " + "format=" + format; + var paramDetails = "latitude=" + latitude + ", " + "longitude=" + longitude + ", " + "start=" + start + ", " + "timeZone=" + timeZone + ", " + "period=" + period + ", " + "depoVelocPm10=" + depoVelocPm10 + ", " + "depoVelocPm2.5=" + depoVelocPm2.5 + ", " + "pm10=" + pm10 + ", " + "pm2.5=" + pm2.5 + ", " + "tilt=" + tilt + ", " + "duration=" + duration + ", " + "end=" + end + ", " + "cleaningThreshold=" + cleaningThreshold + ", " + "initialSoiling=" + initialSoiling + ", " + "manualWashDates=" + manualWashDates + ", " + "rainAccumPeriod=" + rainAccumPeriod + ", " + "rainfall=" + rainfall + ", " + "format=" + format; throw new Exception($@"Unhandled error in GetHistoricHsu Parameters: {paramDetails} Error: {ex.Message}", ex); diff --git a/src/Solcast/Clients/LiveClient.cs b/src/Solcast/Clients/LiveClient.cs index 5827cb7..59c6c0d 100644 --- a/src/Solcast/Clients/LiveClient.cs +++ b/src/Solcast/Clients/LiveClient.cs @@ -381,9 +381,9 @@ public async Task> GetLiveRadiationAnd /// The number of hours to return in the response. Default is 24. /// Length of the averaging period in ISO 8601 format. Default is PT30M. /// Deposition or settling velocity of PM2.5 particulates. [m/s]. Default is 0.0009. - /// Deposition or settling velocity of PM10 particulates. [m/s]. Default is 0.004. + /// Deposition or settling velocity of PM10 particulates. [m/s]. Default is 0.004. /// Restricted. A list of PM10 values. Concentration of airborne particulate matter (PM) with aerodynamicdiameter less than 10 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. - /// Restricted. Concentration of airborne particulate matter (PM) with aerodynamic diameter less than 2.5 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. + /// Restricted. Concentration of airborne particulate matter (PM) with aerodynamic diameter less than 2.5 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. /// The angle (degrees) that the PV system is tilted off the horizontal. A tilt of 0 means the system faces directly upwards, and 90 means the system is vertical and facing the horizon. If you don't specify tilt, we use a default tilt angle based on the latitude you specify in your request. Must be between 0 and 90. /// Amount of daily rainfall required to clean the panels (mm). Default is 6.0. /// Initial percentage of energy lost due to soiling at time zero in the rainfall series input. If not provided, Solcast will perform a ramp up series calculation to accurately determine this value. If provided must be >= 0 and < 0.3437. @@ -398,9 +398,9 @@ public async Task> GetLiveHsu( int? hours = null, string period = null, double? depoVelocPm10 = null, - double? depoVelocPm2_5 = null, + double? depoVelocPm2.5 = null, List pm10 = null, - List pm2_5 = null, + List pm2.5 = null, double? tilt = null, double? cleaningThreshold = null, double? initialSoiling = null, @@ -419,15 +419,15 @@ public async Task> GetLiveHsu( if (hours.HasValue) parameters.Add("hours", hours.Value.ToString()); if (period != null) parameters.Add("period", period.ToString()); if (depoVelocPm10.HasValue) parameters.Add("depoVelocPm10", depoVelocPm10.Value.ToString()); - if (depoVelocPm2_5.HasValue) parameters.Add("depoVelocPm2.5", depoVelocPm2_5.Value.ToString()); - if (pm10 != null && pm10.Any()) parameters.Add("pm10", string.Join(",", pm10)); - if (pm2_5 != null && pm2_5.Any()) parameters.Add("pm2.5", string.Join(",", pm2_5)); + if (depoVelocPm2.5.HasValue) parameters.Add("depoVelocPm2.5", depoVelocPm2.5.Value.ToString()); + if (pm10 != null) parameters.Add("pm10", pm10.ToString()); + if (pm2.5 != null) parameters.Add("pm2.5", pm2.5.ToString()); if (tilt.HasValue) parameters.Add("tilt", tilt.Value.ToString()); if (cleaningThreshold.HasValue) parameters.Add("cleaningThreshold", cleaningThreshold.Value.ToString()); if (initialSoiling.HasValue) parameters.Add("initialSoiling", initialSoiling.Value.ToString()); if (manualWashDates != null && manualWashDates.Any()) parameters.Add("manualWashDates", string.Join(",", manualWashDates)); if (rainAccumPeriod.HasValue) parameters.Add("rainAccumPeriod", rainAccumPeriod.Value.ToString()); - if (rainfall != null && rainfall.Any()) parameters.Add("rainfall", string.Join(",", rainfall)); + if (rainfall != null) parameters.Add("rainfall", rainfall.ToString()); if (format != null) parameters.Add("format", format.ToString()); var queryString = string.Join("&", parameters.Select(p => $"{p.Key}={Uri.EscapeDataString(p.Value ?? string.Empty)}")); @@ -462,7 +462,7 @@ public async Task> GetLiveHsu( } catch (HttpRequestException httpEx) { - var paramDetails = "latitude=" + latitude + ", " + "longitude=" + longitude + ", " + "timeZone=" + timeZone + ", " + "hours=" + hours + ", " + "period=" + period + ", " + "depoVelocPm10=" + depoVelocPm10 + ", " + "depoVelocPm2_5=" + depoVelocPm2_5 + ", " + "pm10=" + pm10 + ", " + "pm2_5=" + pm2_5 + ", " + "tilt=" + tilt + ", " + "cleaningThreshold=" + cleaningThreshold + ", " + "initialSoiling=" + initialSoiling + ", " + "manualWashDates=" + manualWashDates + ", " + "rainAccumPeriod=" + rainAccumPeriod + ", " + "rainfall=" + rainfall + ", " + "format=" + format; + var paramDetails = "latitude=" + latitude + ", " + "longitude=" + longitude + ", " + "timeZone=" + timeZone + ", " + "hours=" + hours + ", " + "period=" + period + ", " + "depoVelocPm10=" + depoVelocPm10 + ", " + "depoVelocPm2.5=" + depoVelocPm2.5 + ", " + "pm10=" + pm10 + ", " + "pm2.5=" + pm2.5 + ", " + "tilt=" + tilt + ", " + "cleaningThreshold=" + cleaningThreshold + ", " + "initialSoiling=" + initialSoiling + ", " + "manualWashDates=" + manualWashDates + ", " + "rainAccumPeriod=" + rainAccumPeriod + ", " + "rainfall=" + rainfall + ", " + "format=" + format; var status = httpEx.StatusCode.HasValue ? ((int)httpEx.StatusCode).ToString() : "unknown"; var content = httpEx.Data.Contains("Content") ? httpEx.Data["Content"] : "no content"; throw new Exception($@"HTTP error in GetLiveHsu @@ -473,7 +473,7 @@ public async Task> GetLiveHsu( } catch (Exception ex) { - var paramDetails = "latitude=" + latitude + ", " + "longitude=" + longitude + ", " + "timeZone=" + timeZone + ", " + "hours=" + hours + ", " + "period=" + period + ", " + "depoVelocPm10=" + depoVelocPm10 + ", " + "depoVelocPm2_5=" + depoVelocPm2_5 + ", " + "pm10=" + pm10 + ", " + "pm2_5=" + pm2_5 + ", " + "tilt=" + tilt + ", " + "cleaningThreshold=" + cleaningThreshold + ", " + "initialSoiling=" + initialSoiling + ", " + "manualWashDates=" + manualWashDates + ", " + "rainAccumPeriod=" + rainAccumPeriod + ", " + "rainfall=" + rainfall + ", " + "format=" + format; + var paramDetails = "latitude=" + latitude + ", " + "longitude=" + longitude + ", " + "timeZone=" + timeZone + ", " + "hours=" + hours + ", " + "period=" + period + ", " + "depoVelocPm10=" + depoVelocPm10 + ", " + "depoVelocPm2.5=" + depoVelocPm2.5 + ", " + "pm10=" + pm10 + ", " + "pm2.5=" + pm2.5 + ", " + "tilt=" + tilt + ", " + "cleaningThreshold=" + cleaningThreshold + ", " + "initialSoiling=" + initialSoiling + ", " + "manualWashDates=" + manualWashDates + ", " + "rainAccumPeriod=" + rainAccumPeriod + ", " + "rainfall=" + rainfall + ", " + "format=" + format; throw new Exception($@"Unhandled error in GetLiveHsu Parameters: {paramDetails} Error: {ex.Message}", ex); diff --git a/src/Solcast/Models/Responses/GetForecastHsuLosses.cs b/src/Solcast/Models/Responses/GetForecastHsuLosses.cs index 2590276..8252c1a 100644 --- a/src/Solcast/Models/Responses/GetForecastHsuLosses.cs +++ b/src/Solcast/Models/Responses/GetForecastHsuLosses.cs @@ -45,7 +45,7 @@ public class GetForecastHsuLosses /// Deposition or settling velocity of PM10 particulates. [m/s]. Default is 0.004. /// [JsonProperty("depo_veloc_pm2_5")] - public double? DepoVelocPm2_5 { get; set; } + public double? DepoVelocPm25 { get; set; } /// /// Restricted. A list of PM10 values. Concentration of airborne particulate matter (PM) with aerodynamicdiameter less than 10 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. @@ -57,7 +57,7 @@ public class GetForecastHsuLosses /// Restricted. Concentration of airborne particulate matter (PM) with aerodynamic diameter less than 2.5 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. /// [JsonProperty("pm2_5")] - public List Pm2_5 { get; set; } + public List Pm25 { get; set; } /// /// The angle (degrees) that the PV system is tilted off the horizontal. A tilt of 0 means the system faces directly upwards, and 90 means the system is vertical and facing the horizon. If you don't specify tilt, we use a default tilt angle based on the latitude you specify in your request. Must be between 0 and 90. diff --git a/src/Solcast/Models/Responses/GetHistoricHsuLosses.cs b/src/Solcast/Models/Responses/GetHistoricHsuLosses.cs index 042c0a2..058580c 100644 --- a/src/Solcast/Models/Responses/GetHistoricHsuLosses.cs +++ b/src/Solcast/Models/Responses/GetHistoricHsuLosses.cs @@ -39,7 +39,7 @@ public class GetHistoricHsuLosses /// Deposition or settling velocity of PM10 particulates. [m/s]. Default is 0.004. /// [JsonProperty("depo_veloc_pm2.5")] - public double? DepoVelocPm2_5 { get; set; } + public double? DepoVelocPm2.5 { get; set; } /// /// Restricted. A list of PM10 values. Concentration of airborne particulate matter (PM) with aerodynamicdiameter less than 10 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. @@ -51,7 +51,7 @@ public class GetHistoricHsuLosses /// Restricted. Concentration of airborne particulate matter (PM) with aerodynamic diameter less than 2.5 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. /// [JsonProperty("pm2.5")] - public List Pm2_5 { get; set; } + public List Pm2.5 { get; set; } /// /// The angle (degrees) that the PV system is tilted off the horizontal. A tilt of 0 means the system faces directly upwards, and 90 means the system is vertical and facing the horizon. If you don't specify tilt, we use a default tilt angle based on the latitude you specify in your request. Must be between 0 and 90. diff --git a/src/Solcast/Models/Responses/GetLiveHsuLosses.cs b/src/Solcast/Models/Responses/GetLiveHsuLosses.cs index 14ec3f8..f653126 100644 --- a/src/Solcast/Models/Responses/GetLiveHsuLosses.cs +++ b/src/Solcast/Models/Responses/GetLiveHsuLosses.cs @@ -45,7 +45,7 @@ public class GetLiveHsuLosses /// Deposition or settling velocity of PM10 particulates. [m/s]. Default is 0.004. /// [JsonProperty("depo_veloc_pm2.5")] - public double? DepoVelocPm2_5 { get; set; } + public double? DepoVelocPm2.5 { get; set; } /// /// Restricted. A list of PM10 values. Concentration of airborne particulate matter (PM) with aerodynamicdiameter less than 10 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. @@ -57,7 +57,7 @@ public class GetLiveHsuLosses /// Restricted. Concentration of airborne particulate matter (PM) with aerodynamic diameter less than 2.5 microns. [g/m^3]. HSU endpoint will internally use Solcast's PM2.5 values tailored to your request time period. /// [JsonProperty("pm2.5")] - public List Pm2_5 { get; set; } + public List Pm2.5 { get; set; } /// /// The angle (degrees) that the PV system is tilted off the horizontal. A tilt of 0 means the system faces directly upwards, and 90 means the system is vertical and facing the horizon. If you don't specify tilt, we use a default tilt angle based on the latitude you specify in your request. Must be between 0 and 90.