@@ -48,15 +48,58 @@ class ComponentCategory(enum.Enum):
4848 INVERTER = PBComponentCategory .COMPONENT_CATEGORY_INVERTER
4949 """An electricity generator, with batteries or solar energy."""
5050
51+ CONVERTER = PBComponentCategory .COMPONENT_CATEGORY_CONVERTER
52+ """A DC-DC converter."""
53+
5154 BATTERY = PBComponentCategory .COMPONENT_CATEGORY_BATTERY
5255 """A storage system for electrical energy, used by inverters."""
5356
5457 EV_CHARGER = PBComponentCategory .COMPONENT_CATEGORY_EV_CHARGER
5558 """A station for charging electrical vehicles."""
5659
60+ CRYPTO_MINER = PBComponentCategory .COMPONENT_CATEGORY_CRYPTO_MINER
61+ """A crypto miner."""
62+
63+ ELECTROLYZER = PBComponentCategory .COMPONENT_CATEGORY_ELECTROLYZER
64+ """An electrolyzer for converting water into hydrogen and oxygen."""
65+
5766 CHP = PBComponentCategory .COMPONENT_CATEGORY_CHP
5867 """A heat and power combustion plant (CHP stands for combined heat and power)."""
5968
69+ RELAY = PBComponentCategory .COMPONENT_CATEGORY_RELAY
70+ """A relay.
71+
72+ Relays generally have two states: open (connected) and closed (disconnected).
73+ They are generally placed in front of a component, e.g., an inverter, to
74+ control whether the component is connected to the grid or not.
75+ """
76+
77+ PRECHARGER = PBComponentCategory .COMPONENT_CATEGORY_PRECHARGER
78+ """A precharge module.
79+
80+ Precharging involves gradually ramping up the DC voltage to prevent any
81+ potential damage to sensitive electrical components like capacitors.
82+
83+ While many inverters and batteries come equipped with in-built precharging
84+ mechanisms, some may lack this feature. In such cases, we need to use
85+ external precharging modules.
86+ """
87+
88+ FUSE = PBComponentCategory .COMPONENT_CATEGORY_FUSE
89+ """A fuse."""
90+
91+ VOLTAGE_TRANSFORMER = PBComponentCategory .COMPONENT_CATEGORY_VOLTAGE_TRANSFORMER
92+ """A voltage transformer.
93+
94+ Voltage transformers are used to step up or step down the voltage, keeping
95+ the power somewhat constant by increasing or decreasing the current. If voltage is
96+ stepped up, current is stepped down, and vice versa.
97+
98+ Note:
99+ Voltage transformers have efficiency losses, so the output power is
100+ always less than the input power.
101+ """
102+
60103 @classmethod
61104 def from_proto (
62105 cls , component_category : PBComponentCategory .ValueType
0 commit comments