Skip to content

v0.0.3

Compare
Choose a tag to compare
@georgezhao2010 georgezhao2010 released this 04 Sep 17:23
· 40 commits to master since this release
afb4f62
  • 支持非居民用户的峰平谷电价类别策略
  • 为峰平谷用户新增当前电价类别传感器
  • 为峰平谷用户移除不必要的传感器
  • 因为峰平谷用电政策可能会发生变化,所以在const.py中加入峰平谷配置
PGC_PRICE = [
    {
        "key": "尖峰",
        "month": [7, 8],
        "time_slot": [[11, 13], [16, 17]]
    },
    {
        "key": "峰",
        "time_slot": [[10, 15], [18, 21]]
    },
    {
        "key": "平",
        "time_slot": [[7, 10], [15, 18], [21, 23]]
    },
    {
        "key": "谷",
        "time_slot": [[23, 7]]
    }
]