Skip to content

Commit 4e3d8f2

Browse files
committed
minor comments
1 parent 48ab7b6 commit 4e3d8f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/propsys/PMSM.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Structure that defines a permanent magnet synchronous motor (PMSM).
138138
"""Maximum Current Density [A/m²]"""
139139
J_max::Float64 = 1e6
140140
"""Max ratio to saturation"""
141-
rB_sat::Float64 = 0.98
141+
rB_sat::Float64 = 0.98 #Default assumption is that the metal is almost saturated at design
142142
"""Stack length [m]"""
143143
l::Float64 = 1.0
144144
"""Mean internal temperature [K],
@@ -197,8 +197,8 @@ function size_PMSM!(motor::Motor, shaft_speed::AbstractFloat, design_power::Abst
197197

198198
# Calculate maximum flux through the stator and rotor back iron
199199
# Really, this needs to be a constraint Bsbi ≤ Bsat (at the top level) rather
200-
# than a prescribed setting.
201-
# The higher Bsbi is the thinner the sbi, but higher Bsbi ⟹ higher core losses
200+
# than a prescribed setting. Or rB_sat can be a global optimization variable.
201+
# The higher Bsbi, the thinner the sbi, but higher Bsbi ⟹ higher core losses
202202
stator.B = motor.rB_sat * motor.B_sat
203203
rotor.B = motor.rB_sat * motor.B_sat
204204

0 commit comments

Comments
 (0)