You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calculate the hysteresis losses with the MagNet model of Paderborn University based on FEM-simulation results.
257
+
258
+
- uses the local magnetic flux density in each mesh cell
259
+
- arbitrary waveforms are possible. But FEM simulation assumes a sinusoidal waveform and the peak of the magnetic flux density result of each mesh cell
260
+
is used to linearly scale the arbitrary waveform to its max. value
261
+
- for each mesh cell, the magnet model is applied
262
+
263
+
:param b_wave: type of the waveform of the magnetic flux density/magnetizing current
264
+
:type b_wave: WaveformType
265
+
:param custom_b_wave: normalized signal of the magnetic flux density/magnetizing current (normalized -> amplitude of 1)
Copy file name to clipboardExpand all lines: femmt/enumerations.py
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
"""Enumeration for FEMMT."""
2
2
fromenumimportIntEnum, Enum
3
3
4
+
4
5
classVerbosity(IntEnum):
5
6
"""State of verbosity."""
6
7
@@ -10,13 +11,15 @@ class Verbosity(IntEnum):
10
11
ToConsole=2# Outputs to console
11
12
ToFile=3# Outputs to file
12
13
14
+
13
15
classVisualizationMode(IntEnum):
14
16
"""How simulation results are shown in Gmsh."""
15
17
16
18
Final=1# Only final static result
17
19
Post=2# Animate after simulation
18
20
Stream=3# Live results during simulation
19
21
22
+
20
23
classWindingTag(IntEnum):
21
24
"""Names of windings."""
22
25
@@ -62,19 +65,22 @@ class ComponentType(IntEnum):
62
65
Transformer=2
63
66
IntegratedTransformer=3
64
67
68
+
65
69
classSimulationType(IntEnum):
66
70
"""Sets the simulation type. The static is just to show the fields."""
67
71
68
72
FreqDomain=1
69
73
TimeDomain=2
70
74
ElectroStatic=3
71
75
76
+
72
77
classCoreType(IntEnum):
73
78
"""Sets the core type for the whole simulation. Needs to be given to the MagneticComponent on creation."""
74
79
75
80
Single=1# one axisymmetric core
76
81
Stacked=2# one and a half cores
77
82
83
+
78
84
classAirGapMethod(IntEnum):
79
85
"""Sets the method how the air gap position (vertical) is set.
80
86
@@ -190,6 +196,7 @@ class ConductorArrangement(IntEnum):
190
196
turns of the previous line. First drawn in y-direction then x-direction.
191
197
"""
192
198
199
+
193
200
classAlign(IntEnum):
194
201
"""Specifies the distribution direction for conductors when starting from the center. This can be done for having single windings in vww."""
195
202
@@ -202,6 +209,7 @@ class Align(IntEnum):
202
209
CenterOnHorizontalAxis=3
203
210
"""Conductors are centered across the middle line of the horizontal axis."""
204
211
212
+
205
213
classConductorDistribution(IntEnum):
206
214
"""Defines specific strategies for placing conductors starting from the peripheral (edges) of the virtual winding window."""
207
215
@@ -229,6 +237,7 @@ class ConductorDistribution(IntEnum):
229
237
HorizontalLeftward_VerticalDownward=8
230
238
"""Places conductors horizontally leftward first, then moves vertically downward for the next set with consistent direction."""
231
239
240
+
232
241
classFoilVerticalDistribution(IntEnum):
233
242
"""Defines specific strategies for placing rectangular foil vertical conductors starting from the peripheral (edges) of the virtual winding window."""
234
243
@@ -238,6 +247,7 @@ class FoilVerticalDistribution(IntEnum):
238
247
HorizontalLeftward=2
239
248
"""Moves horizontally leftward for the next set with consistent direction."""
240
249
250
+
241
251
classFoilHorizontalDistribution(IntEnum):
242
252
"""Defines specific strategies for placing rectangular foil horizontal conductors starting from the peripheral (edges) of the virtual winding window."""
243
253
@@ -247,6 +257,7 @@ class FoilHorizontalDistribution(IntEnum):
247
257
VerticalDownward=2
248
258
"""Moves vertically downward for the next set with consistent direction."""
249
259
260
+
250
261
classCenterTappedInterleavingType(IntEnum):
251
262
"""Contains different interleaving types for the center tapped transformer."""
252
263
@@ -310,6 +321,7 @@ class WrapParaType(IntEnum):
310
321
The foils will have a given width and thickness. The virtual winding window may not be fully occupied..
311
322
"""
312
323
324
+
313
325
classConductorMaterial(IntEnum):
314
326
"""Sets the conductivity of the conductor."""
315
327
@@ -346,3 +358,10 @@ class CoreMaterialType(str, Enum):
0 commit comments