-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.toml
95 lines (85 loc) · 2.96 KB
/
config.toml
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
# Name of the reference PGLib case. Must be a valid PGLib case name.
ref = "89_pegase"
# Directory where instance/solution files are exported
# must be a valid directory
export_dir = "data/89_pegase"
[sampler]
# Sampler options
[sampler.load]
noise_type = "ScaledUniform"
l = 0.60 # Lower bound of base load factor
u = 1.00 # Upper bound of base load factor
sigma = 0.15 # Relative (multiplicative) noise level.
[sampler.reserve]
type = "E2ELR"
l = 1.0
u = 2.0
factor = 5.0
[sampler.status]
type = "Full"
[OPF]
# OPF formulations to solve for each sample
[OPF.DCOPF]
# Formulation/solver options
type = "DCOPF"
solver.name = "HiGHS"
[OPF.ACOPF]
type = "ACOPF"
solver.name = "Ipopt"
solver.attributes.tol = 1e-6
solver.attributes.linear_solver = "ma27"
[OPF.EDSoftThermal]
type = "EconomicDispatch"
kwargs.soft_thermal_limit = true
solver.name = "HiGHS"
[OPF.SOCOPF]
type = "SOCOPF"
solver.name = "Clarabel"
# Tight tolerances
solver.attributes.tol_gap_abs = 1e-6
solver.attributes.tol_gap_rel = 1e-6
solver.attributes.tol_feas = 1e-6
solver.attributes.tol_infeas_rel = 1e-6
solver.attributes.tol_ktratio = 1e-6
# Reduced accuracy settings
solver.attributes.reduced_tol_gap_abs = 1e-6
solver.attributes.reduced_tol_gap_rel = 1e-6
solver.attributes.reduced_tol_feas = 1e-6
solver.attributes.reduced_tol_infeas_abs = 1e-6
solver.attributes.reduced_tol_infeas_rel = 1e-6
solver.attributes.reduced_tol_ktratio = 1e-6
[OPF.SOCOPF128]
# These settings are meant to solve `SOCWRConic` problems to high precision
type = "SOCOPF"
solver.name = "Clarabel128"
solver.attributes.max_iter = 2000
solver.attributes.max_step_fraction = 0.995
# Disabling scaling can avoid violations (especially in the dual)
# /!\ This results in worse performance /!\
solver.attributes.equilibrate_enable = true
# Tight tolerances
solver.attributes.tol_gap_abs = 1e-12
solver.attributes.tol_gap_rel = 1e-12
solver.attributes.tol_feas = 1e-12
solver.attributes.tol_infeas_rel = 1e-12
solver.attributes.tol_ktratio = 1e-10
# Reduced accuracy settings
solver.attributes.reduced_tol_gap_abs = 1e-8
solver.attributes.reduced_tol_gap_rel = 1e-8
solver.attributes.reduced_tol_feas = 1e-8
solver.attributes.reduced_tol_infeas_abs = 1e-8
solver.attributes.reduced_tol_infeas_rel = 1e-8
solver.attributes.reduced_tol_ktratio = 1e-7
# Additional linear solver-related settings, to match precision of Float128
solver.attributes.static_regularization_enable = false # typically not needed unless tolerances go below 1e-14
solver.attributes.dynamic_regularization_enable = true # kept for safety
solver.attributes.dynamic_regularization_eps = 1e-28
solver.attributes.dynamic_regularization_delta = 1e-14
solver.attributes.iterative_refinement_reltol = 1e-18
solver.attributes.iterative_refinement_abstol = 1e-18
[slurm]
# SLURM options
n_samples = 65536
n_jobs = 45
queue = "embers"
charge_account = "gts-phentenryck3-ai4opt"