电压治理
下发电压治理控制
Method:
POST
URL:
https://www.einfra.cn/wad/ems/v1/api
/voltage-control
接口描述:为特定ems设备下发电压治理控制指令
请求
Body参数/voltageControl
参数类型是否必填描述范围样例device_uid
string设备唯一ID
-
xxxxx
phase_rated_voltage_a
intA相额定电压,希望A相保持的电压(单位:V)
-
220
phase_rated_voltage_b
intB相额定电压,希望A相保持的电压(单位:V)
-
220
phase_rated_voltage_c
intC相额定电压,希望A相保持的电压(单位:V)
-
220
phase_voltage_upper_limit_threshold_a
intA相电压上限阈值,A相平均电压高于该阈值则触发调节策略(单位:V)
-
240
phase_voltage_upper_limit_threshold_b
intB相电压上限阈值,B相平均电压高于该阈值则触发调节策略(单位:V)
-
240
phase_voltage_upper_limit_threshold_c
intC相电压上限阈值,C相平均电压高于该阈值则触发调节策略(单位:V)
-
240
phase_voltage_lower_limit_threshold_a
intA相电压上限阈值,A相平均电压低于该阈值则触发调节策略(单位:V)
-
200
phase_voltage_lower_limit_threshold_b
intB相电压上限阈值,B相平均电压低于该阈值则触发调节策略(单位:V)
-
200
phase_voltage_lower_limit_threshold_c
intC相电压上限阈值,C相平均电压低于该阈值则触发调节策略(单位:V)
-
200
phase_voltage_hysteresis_a
intA相电压回差,触发调节后,A相平均电压达到回差值时,停止调节
5
phase_voltage_hysteresis_b
intB相电压回差,触发调节后,B相平均电压达到回差值时,停止调节
5
phase_voltage_hysteresis_c
intC相电压回差,触发调节后,C相平均电压达到回差值时,停止调节
5
period
int调节周期,单位毫秒
-
500
step
int步长,每次调节的步长
-
5
响应
数据类型:application/json
参数类型是否必填描述范围样例code
int错误码
见下文错误码
0
message
str描述
-
PCS控制下发成功
data
str详细信息
错误码
HTTP状态码错误码描述200
0
成功
400
100001
参数格式错误
获取电压治理控制
Method:
GET
URL:
https://www.einfra.cn/wad/ems/v1/api
/voltage-control
接口描述:获取电压治理控制
请求
Query参数
参数类型是否必填描述范围样例device_uid
str设备唯一ID
-
xxxxx
响应
application
参数类型是否必填描述范围样例code
int错误码
见下文错误码
0
message
str描述
-
data
object同步后的控制
data:
参数类型是否必填描述范围样例device_uid
string设备唯一ID
-
xxxxx
phase_rated_voltage_a
intA相额定电压,希望A相保持的电压(单位:V)
-
220
phase_rated_voltage_b
intB相额定电压,希望A相保持的电压(单位:V)
-
220
phase_rated_voltage_c
intC相额定电压,希望A相保持的电压(单位:V)
-
220
phase_voltage_upper_limit_threshold_a
intA相电压上限阈值,A相平均电压高于该阈值则触发调节策略(单位:V)
-
240
phase_voltage_upper_limit_threshold_b
intB相电压上限阈值,B相平均电压高于该阈值则触发调节策略(单位:V)
-
240
phase_voltage_upper_limit_threshold_c
intC相电压上限阈值,C相平均电压高于该阈值则触发调节策略(单位:V)
-
240
phase_voltage_lower_limit_threshold_a
intA相电压上限阈值,A相平均电压低于该阈值则触发调节策略(单位:V)
-
200
phase_voltage_lower_limit_threshold_b
intB相电压上限阈值,B相平均电压低于该阈值则触发调节策略(单位:V)
-
200
phase_voltage_lower_limit_threshold_c
intC相电压上限阈值,C相平均电压低于该阈值则触发调节策略(单位:V)
-
200
phase_voltage_hysteresis_a
intA相电压回差,触发调节后,A相平均电压达到回差值时,停止调节
5
phase_voltage_hysteresis_b
intB相电压回差,触发调节后,B相平均电压达到回差值时,停止调节
5
phase_voltage_hysteresis_c
intC相电压回差,触发调节后,C相平均电压达到回差值时,停止调节
5
period
int调节周期,单位毫秒
-
500
step
int步长,每次调节的步长
-
5
同步电压治理控制
Method:PUT
URL:
https://www.einfra.cn/wad/ems/v1/api
/voltage-control/sync
接口描述: 同步电压治理控制
请求
Query参数
参数类型是否必填描述范围样例device_uid
str设备唯一ID
-
xxxxx
响应
application
code
错误码
见下文错误码
0
message
描述
-
电压治理同步成功
data
同步后的控制
data:
device_uid
设备唯一ID
-
xxxxx
phase_rated_voltage_a
A相额定电压,希望A相保持的电压(单位:V)
-
220
phase_rated_voltage_b
B相额定电压,希望A相保持的电压(单位:V)
-
220
phase_rated_voltage_c
C相额定电压,希望A相保持的电压(单位:V)
-
220
phase_voltage_upper_limit_threshold_a
A相电压上限阈值,A相平均电压高于该阈值则触发调节策略(单位:V)
-
240
phase_voltage_upper_limit_threshold_b
B相电压上限阈值,B相平均电压高于该阈值则触发调节策略(单位:V)
-
240
phase_voltage_upper_limit_threshold_c
C相电压上限阈值,C相平均电压高于该阈值则触发调节策略(单位:V)
-
240
phase_voltage_lower_limit_threshold_a
A相电压上限阈值,A相平均电压低于该阈值则触发调节策略(单位:V)
-
200
phase_voltage_lower_limit_threshold_b
B相电压上限阈值,B相平均电压低于该阈值则触发调节策略(单位:V)
-
200
phase_voltage_lower_limit_threshold_c
C相电压上限阈值,C相平均电压低于该阈值则触发调节策略(单位:V)
-
200
phase_voltage_hysteresis_a
A相电压回差,触发调节后,A相平均电压达到回差值时,停止调节
5
phase_voltage_hysteresis_b
B相电压回差,触发调节后,B相平均电压达到回差值时,停止调节
5
phase_voltage_hysteresis_c
C相电压回差,触发调节后,C相平均电压达到回差值时,停止调节
5
period
调节周期,单位毫秒
-
500
step
步长,每次调节的步长
-
5
最后更新于