车辆预测与调度 MCP
复用 LightGBM 预测模型和固定电价 NSGA-II 调度算法,提供
ev_predict_and_schedule 工具。支持 STDIO(标准输入输出)和
Streamable HTTP(流式 HTTP)传输。
工具输入与输出
输入参数 request_json 是 JSON 字符串。包内附带 5 辆车的历史特征演示样本,
可以使用以下参数:
{
"request_json": "{\"sample_vehicle_ids\":[0,1,2,3,4]}"
}
正式输入应提供 vehicles,包含 13 维预测特征、时间窗、桩绑定和 SOC 信息。
工具返回预测需求 predicted_demand、车辆充电时间窗 vehicle_schedule、
调度汇总 summary 和云端需求计划 dispatch_plan。
当前只生成 JSON,返回 dispatched: false,不会发送 MQTT 或实际控制充电桩。
启动
安装后运行:
ev-dispatch-mcp
默认使用 STDIO,进程会等待 MCP 客户端连接,不是交互式命令行程序。
可用 ev-dispatch-mcp --help 查看传输参数。
使用边界
- 包含两个 LightGBM 模型权重、算法源码和演示样本。
- 调度可行不等于有削峰效果,必须查看实际负荷指标。
dispatch_plan表示车辆需求,不能直接当作已经执行的桩端控制指令。- 演示输入包含历史时间窗、演示 SOC 和桩绑定,不应直接用于真实设备控制。
Metadata
Release files for huawei-ev-dispatch-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| huawei_ev_dispatch_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for huawei_ev_dispatch_mcp-0.1.0-py3-none-any.whl |
Release files / huawei_ev_dispatch_mcp-0.1.0-py3-none-any.whl
| Download URL | huawei_ev_dispatch_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd9fc8764e2f3ea7f575728cef56d416467ef15b796e16368fab98bcd80d597c
|
|
BLAKE2b-256 checksum How to use checksums |
61005507fbacc9a2fc329c6acdf459ea545d9759b6a9bb9e56cb93c71a7a7660
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for huawei-ev-dispatch-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.