config.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # xishan/config.yaml
  2. project:
  3. plant_name: "xishan"
  4. files:
  5. # 纯文件名,系统会自动在 ./xishan/ 下寻找
  6. threshold_filename: "sensor_threshold.xlsx"
  7. abnormal_link_filename: "abnormal_link.xlsx"
  8. model_filename: "ppo_tracing_model.pth"
  9. test_result_filename: "Final_Test_Report.xlsx"
  10. sensor_file_prefix: "data_process_"
  11. data_processing:
  12. sensor_file_num_range: [1, 119]
  13. original_sample_interval: 4
  14. target_sample_interval: 20
  15. window_duration_min: 40
  16. valid_data_ratio: 0.6
  17. window_anomaly_threshold: 0.2
  18. train_test_split: 0.8
  19. trigger_score_thresh: 0.5
  20. absolute_score_weight: 0.6
  21. dynamic_score_weight: 0.4
  22. mad_history_window: 360
  23. mad_threshold: 3.0
  24. sensors:
  25. keyword_layer: "One_layer"
  26. keyword_device: "Device"
  27. trigger_sensors:
  28. - "UF1Per"
  29. - "UF2Per"
  30. - "UF3Per"
  31. - "UF4Per"
  32. - "C.M.RO1_DB@DPT_1"
  33. - "C.M.RO2_DB@DPT_1"
  34. - "C.M.RO3_DB@DPT_1"
  35. - "C.M.RO4_DB@DPT_1"
  36. - "C.M.RO1_DB@DPT_2"
  37. - "C.M.RO2_DB@DPT_2"
  38. - "C.M.RO3_DB@DPT_2"
  39. - "C.M.RO4_DB@DPT_2"
  40. - "RO1_CSFlow"
  41. - "RO2_CSFlow"
  42. - "RO3_CSFlow"
  43. - "RO4_CSFlow"
  44. - "RO1HSL"
  45. - "RO2HSL"
  46. - "RO3HSL"
  47. - "RO4HSL"
  48. - "RO1_TYL"
  49. - "RO2_TYL"
  50. - "RO3_TYL"
  51. - "RO4_TYL"
  52. rl_params:
  53. min_path_length: 3
  54. max_path_length: 6
  55. embedding_dim: 64
  56. hidden_dim: 256
  57. ppo_lr: 0.0003
  58. ppo_gamma: 0.90
  59. ppo_eps_clip: 0.2
  60. ppo_k_epochs: 10
  61. ppo_batch_size: 64
  62. bc_epochs: 20000
  63. rl_episodes: 20000