Skip to content

Commit f6f8391

Browse files
Rename voltage-transformer to power-transformer (#399)
Voltage-transformers are used in voltmeters for pretection, whereas what we needed was a power transformer, which is used for bulk transfer of electrical energy with voltage stepping up or down. This renaming makes the electrical component name more consistent with the underlying concept of the component.
2 parents 1b848be + cd954c3 commit f6f8391

File tree

2 files changed

+25
-15
lines changed

2 files changed

+25
-15
lines changed

RELEASE_NOTES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
- `ElectricalComponentStateSnapshot.component_id` has been renamed to `ElectricalComponentStateSnapshot.electrical_component_id`
1919
- `microgrid.MicrogridComponentIds` has been renamed to `microgrid.MicrogridElectricalComponentIds`.
2020
- `MicrogridComponentIDs.component_ids` has been renamed to `MicrogridElectricalComponentIds.electrical_component_ids`.
21+
- `electrical_components.VoltageTransformer` has been renamed to `electrical_components.PowerTransformer`, to make the name more consistent with the underlying concept.
22+
- `ElectricalComponentCategorySpecificInfo.kind.voltage_transformer` has been renamed to `ElectricalComponentCategorySpecificInfo.kind.power_transformer`, to make the name more consistent with the underlying concept.
23+
- `ElectricalComponentCategory.ELECTRICAL_COMPONENT_CATEGORY_VOLTAGE_TRANSFORMER` has been renamed to `ElectricalComponentCategory.ELECTRICAL_COMPONENT_CATEGORY_POWER_TRANSFORMER`, to make the name more consistent with the underlying concept.
2124

2225

2326
## Bug Fixes

proto/frequenz/api/common/v1alpha8/microgrid/electrical_components/electrical_components.proto

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,16 @@ enum ElectricalComponentCategory {
106106
// Examples: Siemens Silyzer, Nel Hydrogen PEM, ITM Power electrolyzers.
107107
ELECTRICAL_COMPONENT_CATEGORY_ELECTROLYZER = 10;
108108

109-
// A voltage transformer.
109+
// A power transformer.
110110
//
111-
// Voltage transformers are used to step up or step down the voltage, keeping
112-
// the power somewhat constant by increasing or decreasing the current.
113-
// If voltage is stepped up, current is stepped down, and vice versa.
114-
// Note that voltage transformers have efficiency losses, so the output power
115-
// is always less than the input power.
116-
ELECTRICAL_COMPONENT_CATEGORY_VOLTAGE_TRANSFORMER = 11;
111+
// A power transformer is designed for the bulk transfer of electrical energy.
112+
// Its main job is to "step-up" or "step-down" voltage levels for efficient
113+
// transmission and distribution of power.
114+
//
115+
// Since power transformers try to keep the output power same as the input
116+
// power (ignoring losses), when they step-up the voltage, the current gets
117+
// proportionally reduced, and vice versa.
118+
ELECTRICAL_COMPONENT_CATEGORY_POWER_TRANSFORMER = 11;
117119

118120
// An HVAC system (Heating, Ventilation, and Air Conditioning).
119121
//
@@ -535,13 +537,18 @@ message Inverter {
535537
InverterType type = 1;
536538
}
537539

538-
// A representation of a voltage transformer.
539-
// Voltage transformers are used to step up or step down the voltage, keeping
540-
// the power somewhat constant by increasing or decreasing the current.
541-
// If voltage is stepped up, current is stepped down, and vice versa.
542-
// Note that voltage transformers have efficiency losses, so the output power
543-
// is always less than the input power.
544-
message VoltageTransformer {
540+
// A representation of a power transformer.
541+
//
542+
// The voltage across the secondary winding of a power transformer is
543+
// typically equal to the voltage across the primary winding multiplied by the
544+
// primary/secondary turns ratio. The current flowing through the secondary
545+
// winding is typically equal to the current flowing through the primary
546+
// winding multiplied by the secondary/primary turns ratio, ignoring losses.
547+
//
548+
// If the voltage across the secondary winding is greater than the voltage
549+
// across the primary winding, the transformer is said to step-up the voltage,
550+
// otherwise it is said to step-down the voltage.
551+
message PowerTransformer {
545552
// The primary voltage of the transformer.
546553
// This is the input voltage that is stepped up or down.
547554
float primary = 1;
@@ -577,7 +584,7 @@ message ElectricalComponentCategorySpecificInfo {
577584
EvCharger ev_charger = 2;
578585
GridConnectionPoint grid_connection_point = 3;
579586
Inverter inverter = 4;
580-
VoltageTransformer voltage_transformer = 5;
587+
PowerTransformer power_transformer = 5;
581588
}
582589
}
583590

0 commit comments

Comments
 (0)