Query the output active power details of all Plant on a certain day
Parameter | Description | Required |
---|---|---|
action | queryPlantsActiveOuputPowerOneDay | True |
date | Date to query, format: yyyy-mm-dd, The date is considered to be the time zone where the Plant is located, If this parameter is not passed, it will be defaulted to today | False |
response:
The sampling frequency for the output active power of the Plant is 5 minutes: take the last output active power value of all power generation Device under the Plant in a 5-minute interval, and then summarize it
Parameter | Description | Required |
---|---|---|
outputPower[x].val | Output active power, Standardized units | True |
outputPower[x].ts | Sampling time for output active power (in the time zone where the Plant is located), format: yyyy-mm-dd hh:mi:ss | True |
{
"err":0,
"desc":"ERR_NONE",
"dat":{
"outputPower":[
{
"val":"29.0001",
"ts":"2016-12-31 06:10:10"
},
{
"val":"30.0001",
"ts":"2016-12-31 06:15:10"
}
]
}
}
Possible errors:
Response error code | Description | Details |
---|---|---|
0x0104 | ERR_NOT_FOUND_PLANT | Unable to find Plant |
0x000C | ERR_NO_RECORD | No records (no data found or no data generated for that day) |