|
1 | 1 | """ |
2 | | -Basic example to show how to simulate an inductor. |
| 2 | +Basic example to show how to simulate an inductor with current offset. |
3 | 3 |
|
4 | | -After starting the program, the geometry dimensions are displayed. Verify this geometry, close the window, to continue the simulation. |
5 | | -After a short time, B-Field and winding losses simulation results are shown. Winding losses are shown as a colormap. |
6 | | -In the core, the magnitude B-Field in Tesla is shown. With the gmsh window, one can move the picture in the 3D way (not recommended). |
7 | | -If you close this window, the thermal simulation will be continued, if programmed. If true, the thermal heat distribution will be displayed. |
8 | | -To continue with the next simulation (or end the program), you need to close this window. All results are written to the result |
| 4 | +This example shows the calculation of the air gap by a given (dynamic) inductance. |
| 5 | +The dynamic inductance is calculated with a start air gap. The result of the inductance is taken to change the air gap |
| 6 | +accordingly. This changes the magnetic flux density, which influences the dynamic induction, so that the air gap will |
| 7 | +be approximated, until the requested accuracy is reached. All results are written to the result |
9 | 8 | folder .../femmt/examples/example_results/simulation_file_name/results/log_electro_magnetic.json. and .../results_thermal.json. |
| 9 | +and the air gap length, calculated dynamic inductance and target inductance is displayed. |
10 | 10 | """ |
11 | 11 | import femmt as fmt |
12 | 12 | import os |
@@ -87,12 +87,6 @@ def basic_example_inductor_with_dc_offset(onelab_folder: str = None, show_visual |
87 | 87 |
|
88 | 88 | # 4. set insulation |
89 | 89 | # it is preferred to assign the exact dimensions of the bobbin for running electrostatic simulations or obtaining the capacitance of the inductor component |
90 | | - # using the function below |
91 | | - # bobbin_db = fmt.bobbin_database()["PQ 40/40"] |
92 | | - # bobbin_dimensions = fmt.dtos.BobbinDimensions(bobbin_inner_diameter=bobbin_db["bobbin_inner_diameter"], |
93 | | - # bobbin_window_w=bobbin_db["bobbin_window_w"], |
94 | | - # bobbin_window_h=bobbin_db["bobbin_window_h"], |
95 | | - # bobbin_h=bobbin_db["bobbin_h"]) |
96 | 90 | insulation = fmt.Insulation(flag_insulation=True) |
97 | 91 | insulation.add_core_insulations(0.001, 0.001, 0.003, 0.001) |
98 | 92 | insulation.add_winding_insulations([[0.0005, 0.0005]], per_layer_of_turns=False) |
|
0 commit comments