Query the details of the output active power of a project for a certain day
| parameter | description | required |
|---|---|---|
| action | queryPlantActiveOuputPowerOneDay | true |
| plantid | Project id | true |
| date | The date to query, format: yyyy-mm-dd, The date is considered the time zone in which the project is located, If you do not pass this parameter, it defaults to today | false |
response:
The sampling frequency of the active power output of the project is 5 minutes: Take the last output active power value of all power generation equipment in a 5-minute period, and then summarize.
| parameter | description | required |
|---|---|---|
| outputPower[x].val | Output active power, Standardized units | true |
| outputPower[x].ts | Sample time of output active power (project time zone), 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 error:
| Returns an error code | description | detailed description |
|---|---|---|
| 0x0006 | ERR_FORMAT_ERROR | parameter error |
| 0x000B | ERR_NO_PERMISSION | No permissions (the user does not have permission to operate on the project) |
| 0x0104 | ERR_NOT_FOUND_PLANT | Project not found |
| 0x000C | ERR_NO_RECORD | No record (no data queried or no data produced on that day) |