POST api/v1/PowerStation/GetYieldRatioCharts
发电量及收益图表
Request Information
URI Parameters
None.
Body Parameters
PowerKeyIndicatorsParaModelName | Description | Type | Additional information |
---|---|---|---|
PowerStationId |
电站Id |
string |
None. |
Date |
[可省略]指定日期,默认当天 |
date |
None. |
Type |
[可省略]1LifeCycle,2Day,3Month,4Year |
integer |
None. |
Opt |
操作:down下载 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "powerStationId": "sample string 1", "date": "2025-05-15 22:09:06", "type": 2, "opt": "sample string 3" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
YieldRatioChartsModelName | Description | Type | Additional information |
---|---|---|---|
Pv |
PV(光伏发电量 单位kWh):占比柱状图 |
Collection of ChartsModel |
None. |
SelfUseOfPV |
Self-use of PV(自发自用电量 单位kWh):占比柱状图 |
Collection of ChartsModel |
None. |
Sell |
(卖电量 单位kWh):柱状图 |
Collection of ChartsModel |
None. |
Buy |
(卖电量 单位kWh):柱状图 |
Collection of ChartsModel |
None. |
GenerationIncome |
(根据货币单位规则)(曲线) |
Collection of ChartsModel |
None. |
GenerationSelfUseRatio |
Self-use Ratio(四舍五入两位小数%)(曲线) |
Collection of ChartsModel |
None. |
Output |
kWh |
Collection of ChartsModel |
None. |
Consumption | Collection of ChartsModel |
None. |
|
Xy |
对应Xl轴 |
Collection of string |
None. |
Currency |
货币单位 |
string |
None. |
Yield |
发电量 |
string |
None. |
Income |
收益 |
string |
None. |
ChartsType |
【已弃用,用ViewFiled】图表类型[0,无设备,1:all,2:ESU|EMU,3:BPS,4:BPU] |
integer |
None. |
ViewFiled |
显示字段 |
Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "pv": [ { "x": "sample string 1", "y": {} }, { "x": "sample string 1", "y": {} } ], "selfUseOfPV": [ { "x": "sample string 1", "y": {} }, { "x": "sample string 1", "y": {} } ], "sell": [ { "x": "sample string 1", "y": {} }, { "x": "sample string 1", "y": {} } ], "buy": [ { "x": "sample string 1", "y": {} }, { "x": "sample string 1", "y": {} } ], "generationIncome": [ { "x": "sample string 1", "y": {} }, { "x": "sample string 1", "y": {} } ], "generationSelfUseRatio": [ { "x": "sample string 1", "y": {} }, { "x": "sample string 1", "y": {} } ], "output": [ { "x": "sample string 1", "y": {} }, { "x": "sample string 1", "y": {} } ], "consumption": [ { "x": "sample string 1", "y": {} }, { "x": "sample string 1", "y": {} } ], "xy": [ "sample string 1", "sample string 2" ], "currency": "sample string 1", "yield": "sample string 2", "income": "sample string 3", "chartsType": 4, "viewFiled": [ "sample string 1", "sample string 2" ] }