|
4783 | 4783 | "simu_femm.input.N0 = 2000\n", |
4784 | 4784 | "\n", |
4785 | 4785 | "# time discretization [s]\n", |
4786 | | - "time = linspace(start=0, stop=60/simu_femm.input.N0, num=16*p, endpoint=False) # 16 timesteps\n", |
| 4786 | + "time = linspace(start=0, stop=60/simu_femm.input.N0, num=32*p, endpoint=False) # 16 timesteps\n", |
4787 | 4787 | "simu_femm.input.time = time \n", |
4788 | 4788 | "\n", |
4789 | 4789 | "# Angular discretization along the airgap circonference for flux density calculation\n", |
|
4793 | 4793 | "A_rms = 200 \n", |
4794 | 4794 | "felec = p * simu_femm.input.N0 /60 # [Hz]\n", |
4795 | 4795 | "rot_dir = simu_femm.machine.stator.comp_rot_dir()\n", |
4796 | | - "Phi0 = 0\n", |
| 4796 | + "Phi0 = 140*pi/180 # Maximum Torque Per Amp\n", |
4797 | 4797 | "\n", |
4798 | 4798 | "Ia = (\n", |
4799 | 4799 | " A_rms\n", |
|
4864 | 4864 | "simu_femm.mag.is_periodicity_a=True" |
4865 | 4865 | ] |
4866 | 4866 | }, |
| 4867 | + { |
| 4868 | + "source": [ |
| 4869 | + "The same is done for time periodicity only half of one electrical period is calculated (i.e: 1/8 of mechanical period):" |
| 4870 | + ], |
| 4871 | + "cell_type": "markdown", |
| 4872 | + "metadata": {} |
| 4873 | + }, |
| 4874 | + { |
| 4875 | + "cell_type": "code", |
| 4876 | + "execution_count": null, |
| 4877 | + "metadata": {}, |
| 4878 | + "outputs": [], |
| 4879 | + "source": [ |
| 4880 | + "simu_femm.mag.is_periodicity_t=True" |
| 4881 | + ] |
| 4882 | + }, |
4867 | 4883 | { |
4868 | 4884 | "cell_type": "markdown", |
4869 | 4885 | "metadata": {}, |
|
6532 | 6548 | "out_femm.plot_A_space(\"mag.B\",component_list=[\"tangential\"],t_index=1, is_fft=True, r_max=76)" |
6533 | 6549 | ] |
6534 | 6550 | }, |
| 6551 | + { |
| 6552 | + "cell_type": "code", |
| 6553 | + "execution_count": null, |
| 6554 | + "metadata": {}, |
| 6555 | + "outputs": [], |
| 6556 | + "source": [ |
| 6557 | + "# Torque, one can see that the first torque ripple harmonic is at N0/60*p*6=800 Hz\n", |
| 6558 | + "out_femm.plot_A_time(\"mag.Tem\", is_fft=True)" |
| 6559 | + ] |
| 6560 | + }, |
6535 | 6561 | { |
6536 | 6562 | "cell_type": "markdown", |
6537 | 6563 | "metadata": {}, |
|
0 commit comments