Skip to content

Commit 4e83e28

Browse files
committed
linting
1 parent e3d2923 commit 4e83e28

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

dct/topology/dab/dab_losses.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ def transistor_turn_off_loss(transistor_turn_off_current: float, transistor_dto:
9898
"""
9999
Calculate the transistor turn-off losses.
100100
101-
In case of measurement data is available, the measurement fit factors are used. In case of no measurement data availabe, the
102-
datasheet switching loss curves are considered.
101+
In case of measurement data is available, the measurement fit factors are used. In case of no measurement data available, the
102+
data sheet switching loss curves are considered.
103103
104104
:param transistor_turn_off_current: Current in A at turn-off
105105
:type transistor_turn_off_current: float
@@ -131,8 +131,8 @@ def transistor_turn_off_loss(transistor_turn_off_current: float, transistor_dto:
131131

132132
energy_vec_corrected = energy_vec - energy_in_capacitance_at_dpt_voltage
133133
else:
134-
logger.info(f"{transistor_dto.name} turn-off loss data source: datasheet data")
135-
# use datasheet data, scale curve according to the dc link voltage
134+
logger.info(f"{transistor_dto.name} turn-off loss data source: data sheet data")
135+
# use data sheet data, scale curve according to the dc link voltage
136136
current_vec = transistor_dto.turn_off_current_vec
137137
energy_vec_corrected = transistor_dto.turn_off_energy_vec * v_dc / transistor_dto.turn_off_voltage
138138

docs/wordlist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ px
7272
savefig
7373
Coss
7474
MOSFET
75+
MOSFETs
7576
OptZVS
7677
Vds
7778
fs

0 commit comments

Comments
 (0)