零碳宝盒
  1. 算法接口
零碳宝盒
  • 组件相关
    • 获取组件列表
      GET
    • 获取组件详情
      GET
    • 获取最近选择的20条组件数据
      GET
  • 逆变器相关
    • 获取逆变器列表
      GET
    • 获取最近20条逆变器数据
      GET
    • 根据厂商获取逆变器信息
      GET
    • 获取逆变器详情
      GET
  • 厂商相关
    • getCompanyList
      POST
    • 查询有逆变器的厂商
      GET
    • 查询组件的厂商
      GET
  • 项目相关接口
    • getProjectList
      GET
    • 储能项目保存
      POST
    • 储能项目查询
      GET
    • createOrUpdatePowerSaveProject
      POST
    • queryPowerAndPvSaveProjectDetail
      GET
    • queryPowerSaveProjectDetail
      GET
    • calSlope
      GET
    • *
      GET
    • getReportProject
      GET
    • updateReportProject
      POST
    • getSatelliteProjectList
      GET
    • 获取项目列表,详细看接口文档
      GET
    • TestController
      GET
    • 查询光伏地图性能仿真数据
      GET
    • 获取项目列表,查询小程序光伏性能仿真设计项目 Copy
      GET
  • 性能仿真
    • calcOrGetPowerAndPvSaveReport
    • calcOrGetPowerSaveReport
    • 光伏储能一体化报告 Copy
  • 地址相关
    • 获取大洲
    • 获取国家
    • 获取省份
    • 获取城市
    • 获取城市列表
    • 获取区域
  • 储能设备相关
    • 获取储能设备列表
    • 获取最近20条储能设备
  • 参考电价相关
    • queryElectricityPriceById
    • 脱硫煤电价查询
  • 算法接口
    • java仿真
      POST
    • 计算预测发电量
      POST
    • 经济计算 (当前默认工商)
      POST
    • 计算有效小时数
      POST
    • 建站费用查询
      POST
    • 环境分析
      POST
    • 经济计算 (当前默认工商)
      POST
    • 生成报告 (当前默认工商)
      GET
    • 生成word
      GET
    • 生成ppt
      GET
  • 布置面接口
    • 保存布置面列表数据
    • 获取布置面列表
    • 通过项目id删除列表
  • 电价查询接口
    • 查询脱硫煤电价
    • 获取用电部制和用电类型V1
    • 获取用电部制和用电类型V2
    • 查询工商加权电价
  • 工程接口
    • 获取项目截图
    • 用电模型列表
    • 逻辑删除项目
  • CompanyController
  • 储能容量
    • 计算储能规模容量与运行天数
    • 龙控储能容量经济计算
    • 创建储能容量项目
    • 修改储能容量项目容量测算参数
    • 龙控储能容量模型算法
    • 根据id查询储能容量项目参数信息
    • 处理负载数据
    • 下载储能模型收益测算文件
    • 分页查询用户储能容量测算项目
    • 删除储能容量测算项目
    • 计算储能运行天数
    • 下载储能负载文件模板
  • powerSaveUpload
    POST
  • 小程序查询用户信息
    GET
  • 小程序修改用户信息
    POST
  • createOrUpdatePowerSaveProject
    POST
  • 获取手机号
    GET
  • 上传头像
    GET
  • 微信登录
    GET
  • 测试
    GET
  1. 算法接口

计算预测发电量

POST
/api/third/calGeneration

请求参数

Body 参数application/json
projectArrayDtoList
array[object (ProjectArrayDto) {4}] 
可选
projectId
integer 
可选
boxInfo
object (BoxInfo) 
可选
face
array [array] 
可选
path
array[object (Path3dData) {5}] 
可选
projectId
integer 
可选
lat
number 
可选
lng
number 
可选
userId
integer 
可选
base64Image
string 
可选
faceAreaAll
number 
总面积
可选
powerConsumptionTypeId
integer 
负载模型id
可选
investType
integer 
可选
投资模式(1=业主自投, 2=EMC, 3全额上网
powerConsumption
number 
年用电量
可选
isCalPowerConsumption
boolean 
可选
是否自动计算年用电量
rentModel
integer 
可选
租金模式 (1= 按面积计算, 2按光伏板数量计算)
rentPrice
number 
租金金额
可选
powerConsumptionTypeStr
string 
负载类型
可选
示例
{
  "userId": null,
  "lat": 11.45,
  "lng": 191.14,
  "faceAreaAll": 1678,
  "installedCapacityAll": 269,
  "componentNumAll": 379,
  "firstYearPowerAll": 0,
  "investType": 1,
  "powerConsumption": 0,
  "powerConsumptionTypeId": 6,
  "projectArrayDtoList": [
    {
      "boxInfo": {
        "face": "布置面All",
        "componentSelection": "",
        "componentMethod": 2,
        "componentMethodText": "竖排安装",
        "strategy": 1,
        "strategyText": "满铺",
        "LimitType": "2",
        "limit": "",
        "dip": 0,
        "angle": 0,
        "horizontalSpacing": 0.4,
        "verticalSpacing": 0.9,
        "horizontal": 18,
        "vertical": 2,
        "installedCapacity": null,
        "componentNum": null,
        "componentId": 12815,
        "componentPower": 700,
        "roofType": 1
      },
      "face": [
        [
          -0.000211,
          0.00023
        ],
        [
          0.000134,
          0.000215
        ],
        [
          0.000213,
          -0.0002
        ],
        [
          -0.000081,
          -0.000206
        ]
      ],
      "path": [
        {
          "minX": -0.00019749838303988502,
          "minY": 0.00018507081230669057,
          "maxX": -0.00018579338842975208,
          "maxY": 0.00020663103442038818,
          "rectPoints": [
            [
              -0.00019749838303988502,
              0.00018507081230669057
            ],
            [
              -0.00018579338842975208,
              0.00018507081230669057
            ],
            [
              -0.00018579338842975208,
              0.00020663103442038818
            ],
            [
              -0.00019749838303988502,
              0.00020663103442038818
            ]
          ]
        },
        {
          "minX": -0.00018399676607977003,
          "minY": 0.00018507081230669057,
          "maxX": -0.0001722917714696371,
          "maxY": 0.00020663103442038818,
          "rectPoints": [
            [
              -0.00018399676607977003,
              0.00018507081230669057
            ],
            [
              -0.0001722917714696371,
              0.00018507081230669057
            ],
            [
              -0.0001722917714696371,
              0.00020663103442038818
            ],
            [
              -0.00018399676607977003,
              0.00020663103442038818
            ]
          ]
        },
        {
          "minX": -0.00018399676607977003,
          "minY": 0.00016170184672707874,
          "maxX": -0.0001722917714696371,
          "maxY": 0.00018326206884077635,
          "rectPoints": [
            [
              -0.00018399676607977003,
              0.00016170184672707874
            ],
            [
              -0.0001722917714696371,
              0.00016170184672707874
            ],
            [
              -0.0001722917714696371,
              0.00018326206884077635
            ],
            [
              -0.00018399676607977003,
              0.00018326206884077635
            ]
          ]
        },
        {
          "minX": -0.00017049514911965505,
          "minY": 0.00018507081230669057,
          "maxX": -0.0001587901545095221,
          "maxY": 0.00020663103442038818,
          "rectPoints": [
            [
              -0.00017049514911965505,
              0.00018507081230669057
            ],
            [
              -0.0001587901545095221,
              0.00018507081230669057
            ],
            [
              -0.0001587901545095221,
              0.00020663103442038818
            ],
            [
              -0.00017049514911965505,
              0.00020663103442038818
            ]
          ]
        },
        {
          "minX": -0.00017049514911965505,
          "minY": 0.00016170184672707874,
          "maxX": -0.0001587901545095221,
          "maxY": 0.00018326206884077635,
          "rectPoints": [
            [
              -0.00017049514911965505,
              0.00016170184672707874
            ],
            [
              -0.0001587901545095221,
              0.00016170184672707874
            ],
            [
              -0.0001587901545095221,
              0.00018326206884077635
            ],
            [
              -0.00017049514911965505,
              0.00018326206884077635
            ]
          ]
        },
        {
          "minX": -0.00017049514911965505,
          "minY": 0.0001383328811474669,
          "maxX": -0.0001587901545095221,
          "maxY": 0.00015989310326116452,
          "rectPoints": [
            [
              -0.00017049514911965505,
              0.0001383328811474669
            ],
            [
              -0.0001587901545095221,
              0.0001383328811474669
            ],
            [
              -0.0001587901545095221,
              

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://zcb.test.solarpv.top/api/third/calGeneration' \
--header 'Content-Type: application/json' \
--data-raw '{
  "userId": null,
  "lat": 11.45,
  "lng": 191.14,
  "faceAreaAll": 1678,
  "installedCapacityAll": 269,
  "componentNumAll": 379,
  "firstYearPowerAll": 0,
  "investType": 1,
  "powerConsumption": 0,
  "powerConsumptionTypeId": 6,
  "projectArrayDtoList": [
    {
      "boxInfo": {
        "face": "布置面All",
        "componentSelection": "",
        "componentMethod": 2,
        "componentMethodText": "竖排安装",
        "strategy": 1,
        "strategyText": "满铺",
        "LimitType": "2",
        "limit": "",
        "dip": 0,
        "angle": 0,
        "horizontalSpacing": 0.4,
        "verticalSpacing": 0.9,
        "horizontal": 18,
        "vertical": 2,
        "installedCapacity": null,
        "componentNum": null,
        "componentId": 12815,
        "componentPower": 700,
        "roofType": 1
      },
      "face": [
        [
          -0.000211,
          0.00023
        ],
        [
          0.000134,
          0.000215
        ],
        [
          0.000213,
          -0.0002
        ],
        [
          -0.000081,
          -0.000206
        ]
      ],
      "path": [
        {
          "minX": -0.00019749838303988502,
          "minY": 0.00018507081230669057,
          "maxX": -0.00018579338842975208,
          "maxY": 0.00020663103442038818,
          "rectPoints": [
            [
              -0.00019749838303988502,
              0.00018507081230669057
            ],
            [
              -0.00018579338842975208,
              0.00018507081230669057
            ],
            [
              -0.00018579338842975208,
              0.00020663103442038818
            ],
            [
              -0.00019749838303988502,
              0.00020663103442038818
            ]
          ]
        },
        {
          "minX": -0.00018399676607977003,
          "minY": 0.00018507081230669057,
          "maxX": -0.0001722917714696371,
          "maxY": 0.00020663103442038818,
          "rectPoints": [
            [
              -0.00018399676607977003,
              0.00018507081230669057
            ],
            [
              -0.0001722917714696371,
              0.00018507081230669057
            ],
            [
              -0.0001722917714696371,
              0.00020663103442038818
            ],
            [
              -0.00018399676607977003,
              0.00020663103442038818
            ]
          ]
        },
        {
          "minX": -0.00018399676607977003,
          "minY": 0.00016170184672707874,
          "maxX": -0.0001722917714696371,
          "maxY": 0.00018326206884077635,
          "rectPoints": [
            [
              -0.00018399676607977003,
              0.00016170184672707874
            ],
            [
              -0.0001722917714696371,
              0.00016170184672707874
            ],
            [
              -0.0001722917714696371,
              0.00018326206884077635
            ],
            [
              -0.00018399676607977003,
              0.00018326206884077635
            ]
          ]
        },
        {
          "minX": -0.00017049514911965505,
          "minY": 0.00018507081230669057,
          "maxX": -0.0001587901545095221,
          "maxY": 0.00020663103442038818,
          "rectPoints": [
            [
              -0.00017049514911965505,
              0.00018507081230669057
            ],
            [
              -0.0001587901545095221,
              0.00018507081230669057
            ],
            [
              -0.0001587901545095221,
              0.00020663103442038818
            ],
            [
              -0.00017049514911965505,
              0.00020663103442038818
            ]
          ]
        },
        {
          "minX": -0.00017049514911965505,
          "minY": 0.00016170184672707874,
          "maxX": -0.0001587901545095221,
          "maxY": 0.00018326206884077635,
          "rectPoints": [
            [
              -0.00017049514911965505,
              0.00016170184672707874
            ],
            [
              -0.0001587901545095221,
              0.00016170184672707874
            ],
            [
              -0.0001587901545095221,
              0.00018326206884077635
            ],
            [
              -0.00017049514911965505,
              0.00018326206884077635
            ]
          ]
        },
        {
          "minX": -0.00017049514911965505,
          "minY": 0.0001383328811474669,
          "maxX": -0.0001587901545095221,
          "maxY": 0.00015989310326116452,
          "rectPoints": [
            [
              -0.00017049514911965505,
              0.0001383328811474669
            ],
            [
              -0

返回响应

🟢200成功
application/json
Body
top.solarpv.common.domain.JsonResult
message
string 
可选
status
integer 
可选
data
object (Object) 
可选
top.solarpv.common.domain.JsonResult
示例
{
  "message": "",
  "status": 0,
  "data": {}
}
修改于 2025-03-13 09:46:15
上一页
java仿真
下一页
经济计算 (当前默认工商)
Built with