config
This commit is contained in:
parent
321e6a2402
commit
9bddb6d020
config
@ -51,6 +51,7 @@ type DataTypeConfig struct {
|
|||||||
NormalRollover map[string]string `json:"normal_rollover"`
|
NormalRollover map[string]string `json:"normal_rollover"`
|
||||||
NormalPhases map[string]int `json:"normal_phases"`
|
NormalPhases map[string]int `json:"normal_phases"`
|
||||||
TimeParameters TimeParameters `json:"time_parameters"`
|
TimeParameters TimeParameters `json:"time_parameters"`
|
||||||
|
CoolingModelConfig map[string]float64 `json:"cooling_model_config"` // Add this line
|
||||||
}
|
}
|
||||||
|
|
||||||
// LoadConfig 加载配置文件
|
// LoadConfig 加载配置文件
|
||||||
|
@ -42,6 +42,13 @@
|
|||||||
"warm": 60,
|
"warm": 60,
|
||||||
"cold": 180,
|
"cold": 180,
|
||||||
"delete": 365
|
"delete": 365
|
||||||
|
},
|
||||||
|
"cooling_model_config": {
|
||||||
|
"timeDecayFactor": 0.5,
|
||||||
|
"periodGranularityFactor": 0.5,
|
||||||
|
"warmPhaseMultiplier": 1.0,
|
||||||
|
"coldPhaseMultiplier": 2.0,
|
||||||
|
"deletePhaseMultiplier": 3.0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ma": {
|
"ma": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user