-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.py
executable file
·69 lines (57 loc) · 1.25 KB
/
config.py
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
my_host = 'localhost'
my_port = 10000
is_emulation = False
emulator_host = '0.0.0.0'
emulator_port = 4390
apis_web_host = '0.0.0.0'
apis_web_budo_emulator_port = 43830
apis_web_api_server_port = 9999
#apis_log_group_address = 'FF02:0:0:0:0:0:0:1'
apis_log_group_address = '224.2.2.4'
apis_log_port = 8888
units = [
{
'id' : 'E001',
'name' : 'E001',
'host' : '0.0.0.0',
'dcdc_port' : 4380,
'emu_port' : 8080,
},
{
'id' : 'E002',
'name' : 'E002',
'host' : '0.0.0.0',
'dcdc_port' : 4380,
'emu_port' : 8080,
},
{
'id' : 'E003',
'name' : 'E003',
'host' : '0.0.0.0',
'dcdc_port' : 4380,
'emu_port' : 8080,
},
{
'id' : 'E004',
'name' : 'E004',
'host' : '0.0.0.0',
'dcdc_port' : 4380,
'emu_port' : 8080,
},
]
default_control_dcdc_command = 'MODE'
default_control_dcdc_mode = 'WAIT'
default_grid_voltage_v = 350
default_grid_current_a = 2.3
default_droop_ratio = 0
default_deal_grid_current_a = 2
default_deal_amount_wh = 100
default_point_per_wh = 10
default_efficient_grid_voltage_v = 330
default_error_level = 'ERROR'
default_error_extent = 'LOCAL'
default_error_category = 'HARDWARE'
default_wait_log_timeout_s = 30
default_wait_duration_s = 5
default_apis_global_operation_mode = 'Run'
default_apis_local_operation_mode = None