@@ -48,43 +48,43 @@ enum ElectricalComponentCategory {
4848 ELECTRICAL_COMPONENT_CATEGORY_EV_CHARGER = 6 ;
4949
5050 // A crypto miner.
51- ELECTRICAL_COMPONENT_CATEGORY_CRYPTO_MINER = 8 ;
51+ ELECTRICAL_COMPONENT_CATEGORY_CRYPTO_MINER = 7 ;
5252
5353 // An electrolyzer for converting water into hydrogen and oxygen.
54- ELECTRICAL_COMPONENT_CATEGORY_ELECTROLYZER = 9 ;
54+ ELECTRICAL_COMPONENT_CATEGORY_ELECTROLYZER = 8 ;
5555
5656 // A heat and power combustion plant (CHP stands for combined heat and power).
57- ELECTRICAL_COMPONENT_CATEGORY_CHP = 10 ;
57+ ELECTRICAL_COMPONENT_CATEGORY_CHP = 9 ;
5858
5959 // A relay.
6060 // Relays generally have two states: open (connected) and closed
6161 // (disconnected).
6262 // They are generally placed in front of a component, e.g., an inverter, to
6363 // control whether the component is connected to the grid or not.
64- ELECTRICAL_COMPONENT_CATEGORY_RELAY = 11 ;
64+ ELECTRICAL_COMPONENT_CATEGORY_RELAY = 10 ;
6565
6666 // A precharge module.
6767 // Precharging involves gradually ramping up the DC voltage to prevent any
6868 // potential damage to sensitive electrical components like capacitors.
6969 // While many inverters and batteries come equipped with in-built precharging
7070 // mechanisms, some may lack this feature. In such cases, we need to use
7171 // external precharging modules.
72- ELECTRICAL_COMPONENT_CATEGORY_PRECHARGER = 12 ;
72+ ELECTRICAL_COMPONENT_CATEGORY_PRECHARGER = 11 ;
7373
7474 // A fuse.
7575 // Fuses are used to protect electrical components from overcurrents.
76- ELECTRICAL_COMPONENT_CATEGORY_FUSE = 13 ;
76+ ELECTRICAL_COMPONENT_CATEGORY_FUSE = 12 ;
7777
7878 // A voltage transformer.
7979 // Voltage transformers are used to step up or step down the voltage, keeping
8080 // the power somewhat constant by increasing or decreasing the current.
8181 // If voltage is stepped up, current is stepped down, and vice versa.
8282 // Note that voltage transformers have efficiency losses, so the output power
8383 // is always less than the input power.
84- ELECTRICAL_COMPONENT_CATEGORY_VOLTAGE_TRANSFORMER = 14 ;
84+ ELECTRICAL_COMPONENT_CATEGORY_VOLTAGE_TRANSFORMER = 13 ;
8585
8686 // An HVAC (Heating, Ventilation, and Air Conditioning) system.
87- ELECTRICAL_COMPONENT_CATEGORY_HVAC = 15 ;
87+ ELECTRICAL_COMPONENT_CATEGORY_HVAC = 14 ;
8888}
8989
9090// ElectricalComponentStatus defines the possible statuses for a component.
0 commit comments