-
Notifications
You must be signed in to change notification settings - Fork 0
/
definitions.json
99 lines (99 loc) · 10.1 KB
/
definitions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"const": [
{"dtype": "STR", "addr": 30000, "len": 15, "gain": 1, "name":"model_ident", "unit":"", "category": 0},
{"dtype": "U16", "addr": 30071, "len": 1, "gain": 1, "name":"num_strings", "unit":"", "category": 0},
{"dtype": "U16", "addr": 30072, "len": 1, "gain": 1, "name":"num_trackers", "unit":"", "category": 0},
{"dtype": "U32", "addr": 30073, "len": 2, "gain": 1000, "name":"rated_power", "unit":"kW", "category": 0},
{"dtype": "U32", "addr": 30075, "len": 2, "gain": 1000, "name":"max_active_power", "unit":"kW", "category": 0},
{"dtype": "U32", "addr": 30077, "len": 2, "gain": 1000, "name":"max_apparent_power", "unit":"kVA", "category": 0},
{"dtype": "I32", "addr": 30079, "len": 2, "gain": 1000, "name":"max_reactive_feed_power", "unit":"kVar", "category": 0},
{"dtype": "I32", "addr": 30081, "len": 2, "gain": 1000, "name":"max_reactive_absorb_power", "unit":"kVar", "category": 0},
{"dtype": "UNK", "addr": 32000, "len": 1, "gain": 1, "name":"state_1", "unit":"", "category": 0},
{"dtype": "UNK", "addr": 32002, "len": 1, "gain": 1, "name":"state_2", "unit":"", "category": 0},
{"dtype": "UNK", "addr": 32003, "len": 1, "gain": 1, "name":"state_3", "unit":"", "category": 0},
{"dtype": "UNK", "addr": 32008, "len": 1, "gain": 1, "name":"alarm_1", "unit":"", "category": 0},
{"dtype": "UNK", "addr": 32009, "len": 1, "gain": 1, "name":"alarm_2", "unit":"", "category": 0},
{"dtype": "UNK", "addr": 32010, "len": 1, "gain": 1, "name":"alarm_3", "unit":"", "category": 0},
{"dtype": "I32", "addr": 32064, "len": 2, "gain": 1000, "name":"input_power", "unit":"kW", "category": 0},
{"dtype": "U16", "addr": 32066, "len": 1, "gain": 10, "name":"pg_ab_volt", "unit":"V", "category": 0},
{"dtype": "U16", "addr": 32067, "len": 1, "gain": 10, "name":"bc_volt", "unit":"V", "category": 0},
{"dtype": "U16", "addr": 32068, "len": 1, "gain": 10, "name":"ca_volt", "unit":"V", "category": 0},
{"dtype": "U16", "addr": 32069, "len": 1, "gain": 10, "name":"a_volt", "unit":"V", "category": 0},
{"dtype": "U16", "addr": 32070, "len": 1, "gain": 10, "name":"b_volt", "unit":"V", "category": 0},
{"dtype": "U16", "addr": 32071, "len": 1, "gain": 10, "name":"c_volt", "unit":"V", "category": 0},
{"dtype": "I32", "addr": 32072, "len": 2, "gain": 1000, "name":"pg_a_curr", "unit":"A", "category": 0},
{"dtype": "I32", "addr": 32074, "len": 2, "gain": 1000, "name":"b_curr", "unit":"A", "category": 0},
{"dtype": "I32", "addr": 32076, "len": 2, "gain": 1000, "name":"c_curr", "unit":"A", "category": 0},
{"dtype": "I32", "addr": 32078, "len": 2, "gain": 1000, "name":"day_peak_active_power", "unit":"kW", "category": 0},
{"dtype": "I32", "addr": 32080, "len": 2, "gain": 1000, "name":"active_power", "unit":"kW", "category": 0},
{"dtype": "I32", "addr": 32082, "len": 2, "gain": 1000, "name":"reactive_power", "unit":"kVar", "category": 0},
{"dtype": "I16", "addr": 32084, "len": 1, "gain": 1000, "name":"power_factor", "unit":"", "category": 0},
{"dtype": "U16", "addr": 32085, "len": 1, "gain": 100, "name":"grid_freq", "unit":"Hz", "category": 0},
{"dtype": "U16", "addr": 32086, "len": 1, "gain": 100, "name":"efficiency", "unit":"%", "category": 0},
{"dtype": "I16", "addr": 32087, "len": 1, "gain": 10, "name":"temp", "unit":"°C", "category": 0},
{"dtype": "U16", "addr": 32088, "len": 1, "gain": 1000, "name":"insul_resist", "unit":"MΩ", "category": 0},
{"dtype": "U16", "addr": 32089, "len": 1, "gain": 1, "name":"status", "unit":"", "category": 0},
{"dtype": "U16", "addr": 32090, "len": 1, "gain": 1, "name":"fault", "unit":"", "category": 0},
{"dtype": "U32", "addr": 32091, "len": 2, "gain": 1, "name":"startup_time", "unit":"", "category": 0},
{"dtype": "U32", "addr": 32093, "len": 2, "gain": 1, "name":"shutdown_time", "unit":"", "category": 0},
{"dtype": "U32", "addr": 32106, "len": 2, "gain": 100, "name":"acc_energy_yield", "unit":"kWh", "category": 0},
{"dtype": "U32", "addr": 32114, "len": 2, "gain": 1, "name":"day_energy_yield", "unit":"kWh", "category": 0},
{"dtype": "I32", "addr": 37113, "len": 2, "gain": 1, "name":"pmc_active_power", "unit":"W", "category": 0},
{"dtype": "U16", "addr": 37200, "len": 1, "gain": 1, "name":"num_optim", "unit":"", "category": 0},
{"dtype": "U16", "addr": 37201, "len": 1, "gain": 1, "name":"num_optim_online", "unit":"", "category": 0},
{"dtype": "U16", "addr": 37202, "len": 1, "gain": 1, "name":"optim_feature_data", "unit":"", "category": 0},
{"dtype": "U32", "addr": 40000, "len": 2, "gain": 1, "name":"system_time", "unit":"", "category": 0},
{"dtype": "U16", "addr": 40037, "len": 1, "gain": 1, "name":"qu_curve_mode", "unit":"", "category": 1},
{"dtype": "U16", "addr": 40038, "len": 1, "gain": 1, "name":"qu_trigger_power", "unit":"%", "category": 1},
{"dtype": "U16", "addr": 40120, "len": 1, "gain": 1, "name":"active_power_derated", "unit":"kW", "category": 1},
{"dtype": "I16", "addr": 40122, "len": 1, "gain": 10, "name":"pf_reactive_power_comp", "unit":"", "category": 1},
{"dtype": "I16", "addr": 40123, "len": 1, "gain": 1000, "name":"qs_reactive_power_comp", "unit":"", "category": 1},
{"dtype": "U16", "addr": 40125, "len": 1, "gain": 10, "name":"active_power_derating", "unit":"%", "category": 1},
{"dtype": "U32", "addr": 40126, "len": 2, "gain": 1, "name":"active_power_derated_w", "unit":"W", "category": 1},
{"dtype": "I32", "addr": 40129, "len": 2, "gain": 1000, "name":"night_reactive_power_comp", "unit":"kVar", "category": 1},
{"dtype": "UNK", "addr": 40133, "len": 21, "gain": 1, "name":"cosphi_curve", "unit":"", "category": 1},
{"dtype": "UNK", "addr": 40154, "len": 21, "gain": 1, "name":"qu_curve", "unit":"", "category": 1},
{"dtype": "UNK", "addr": 40175, "len": 21, "gain": 1, "name":"pfu_curve", "unit":"", "category": 1},
{"dtype": "U16", "addr": 40196, "len": 1, "gain": 1, "name":"reactive_power_adj_time", "unit":"s", "category": 1},
{"dtype": "U16", "addr": 40198, "len": 1, "gain": 1, "name":"qu_power_exit", "unit":"%", "category": 1},
{"dtype": "U32", "addr": 42015, "len": 2, "gain": 1000, "name":"reactive_power_change", "unit":"%/s", "category": 1},
{"dtype": "U32", "addr": 42017, "len": 2, "gain": 1000, "name":"active_power_change", "unit":"%/s", "category": 1},
{"dtype": "U32", "addr": 42019, "len": 2, "gain": 1, "name":"schedule_validity_time", "unit":"s", "category": 1},
{"dtype": "U16", "addr": 37000, "len": 1, "gain": 1, "name":"status", "unit":"", "category": 2},
{"dtype": "I32", "addr": 37001, "len": 2, "gain": 1, "name":"charge_discharge_power", "unit":"W", "category": 2},
{"dtype": "U16", "addr": 37003, "len": 1, "gain": 10, "name":"bus_volt", "unit":"V", "category": 2},
{"dtype": "U16", "addr": 37004, "len": 1, "gain": 10, "name":"soc", "unit":"%", "category": 2},
{"dtype": "U16", "addr": 37006, "len": 1, "gain": 1, "name":"working_mode", "unit":"", "category": 2},
{"dtype": "U32", "addr": 37007, "len": 2, "gain": 1, "name":"rated_charge_power", "unit":"W", "category": 2},
{"dtype": "U32", "addr": 37009, "len": 2, "gain": 1, "name":"rated_discharge_power", "unit":"W", "category": 2},
{"dtype": "U16", "addr": 37014, "len": 1, "gain": 1, "name":"fault", "unit":"", "category": 2},
{"dtype": "U32", "addr": 37015, "len": 2, "gain": 100, "name":"day_charge_capacity", "unit":"kWh", "category": 2},
{"dtype": "U32", "addr": 37017, "len": 2, "gain": 100, "name":"day_discharge_capacity", "unit":"kWh", "category": 2},
{"dtype": "I16", "addr": 37021, "len": 1, "gain": 10, "name":"bus_curr", "unit":"A", "category": 2},
{"dtype": "I16", "addr": 37022, "len": 1, "gain": 10, "name":"temp", "unit":"°C", "category": 2},
{"dtype": "U16", "addr": 37025, "len": 1, "gain": 1, "name":"remaining_charge_discharge_time", "unit":"min", "category": 2},
{"dtype": "U32", "addr": 37046, "len": 2, "gain": 1, "name":"max_charge_power", "unit":"W", "category": 2},
{"dtype": "U32", "addr": 37048, "len": 2, "gain": 1, "name":"max_discharge_power", "unit":"W", "category": 2},
{"dtype": "STR", "addr": 37052, "len": 10, "gain": 1, "name":"sn", "unit":"", "category": 2},
{"dtype": "U32", "addr": 37066, "len": 2, "gain": 100, "name":"total_charge", "unit":"kWh", "category": 2},
{"dtype": "U32", "addr": 37068, "len": 2, "gain": 100, "name":"total_discharge", "unit":"kWh", "category": 2},
{"dtype": "U16", "addr": 37100, "len": 1, "gain": 1, "name":"meter_status", "unit":"", "category": 0},
{"dtype": "I32", "addr": 37113, "len": 2, "gain": 1, "name":"meter_active_power", "unit":"W", "category": 0},
{"dtype": "I32", "addr": 37119, "len": 2, "gain": 100, "name":"meter_pa_power", "unit":"kWh", "category": 0},
{"dtype": "I32", "addr": 37121, "len": 2, "gain": 100, "name":"meter_ra_power", "unit":"kWh", "category": 0},
{"dtype": "U16", "addr": 37926, "len": 1, "gain": 1, "name":"soh_calib_status", "unit":"", "category": 2}
],
"scheme" : {
"bat": [
{"dtype": "STR", "addr": 0, "len": 10, "gain": 1, "name":"sn", "unit":""},
{"dtype": "STR", "addr": 10, "len": 15, "gain": 1, "name":"firmware", "unit":""},
{"dtype": "U16", "addr": 28, "len": 1, "gain": 1, "name":"status", "unit":""},
{"dtype": "U16", "addr": 29, "len": 1, "gain": 10, "name":"soc", "unit":"%"},
{"dtype": "I32", "addr": 33, "len": 2, "gain": 1000, "name":"charge_discharge_power", "unit":"kW"},
{"dtype": "U16", "addr": 35, "len": 1, "gain": 10, "name":"volt", "unit":"V"},
{"dtype": "I16", "addr": 36, "len": 1, "gain": 10, "name":"curr", "unit":"A"},
{"dtype": "U32", "addr": 38, "len": 2, "gain": 100, "name":"total_charge", "unit":"kWh"},
{"dtype": "U32", "addr": 40, "len": 2, "gain": 100, "name":"total_discharge", "unit":"kWh"}
]
}
}