diff --git a/lectures/06_LinearStateSpaceNodal/EMT_Ph1_SSN_DufourRLC.ipynb b/lectures/06_LinearStateSpaceNodal/EMT_Ph1_SSN_DufourRLC.ipynb index 305e46d31aac70bf5cf8902f1e937d306723df50..f94c4d0f6380557032bf95a44e91806734ebdf73 100644 --- a/lectures/06_LinearStateSpaceNodal/EMT_Ph1_SSN_DufourRLC.ipynb +++ b/lectures/06_LinearStateSpaceNodal/EMT_Ph1_SSN_DufourRLC.ipynb @@ -151,8 +151,6 @@ "source": [ "import villas.dataprocessing.readtools as rt\n", "import matplotlib.pyplot as plt\n", - "import sys\n", - "sys.path.append(\"/home/mto/dpsim/build/\")\n", "import dpsimpy\n", "#%matplotlib widget\n", "\n", @@ -412,7 +410,7 @@ "ts_emt_ph1_dufour_rlc_ssn = rt.read_timeseries_dpsim(work_dir_SSN + log_name_SSN + '.csv')\n", "\n", "#Plot Results\n", - "fig3 = plt.figure()\n", + "fig4 = plt.figure()\n", "plt.plot(ts_emt_ph1_dufour_rlc['v3'].time, ts_emt_ph1_dufour_rlc['v3'].values, \"b-\", label='V_3')\n", "plt.plot(ts_emt_ph1_dufour_rlc_ssn['v3'].time, ts_emt_ph1_dufour_rlc_ssn['v3'].values, \"c--\", label='V_3_SSN')\n", "plt.title('Voltages Node 3')\n", @@ -420,7 +418,7 @@ "plt.ylabel('Voltages [V]')\n", "plt.legend(loc = 4)\n", "\n", - "fig4 = plt.figure()\n", + "fig5 = plt.figure()\n", "plt.plot(ts_emt_ph1_dufour_rlc['i_c1'].time, ts_emt_ph1_dufour_rlc['i_c1'].values, \"m-\", label='I_C1')\n", "plt.plot(ts_emt_ph1_dufour_rlc_ssn['i_c1'].time, ts_emt_ph1_dufour_rlc_ssn['i_c1'].values, \"y--\", label='I_C1_SSN')\n", "plt.title('Capacitor currents')\n", @@ -428,7 +426,7 @@ "plt.ylabel('Currents [A]')\n", "plt.legend(loc = 4)\n", "\n", - "fig4 = plt.figure()\n", + "fig6 = plt.figure()\n", "plt.plot(ts_emt_ph1_dufour_rlc['i_rlc'].time, ts_emt_ph1_dufour_rlc['i_rlc'].values, \"m-\", label='I_RLC')\n", "plt.plot(ts_emt_ph1_dufour_rlc_ssn['i_rlc'].time, ts_emt_ph1_dufour_rlc_ssn['i_rlc'].values, \"y--\", label='I_RLC_SSN')\n", "plt.title('RLC currents')\n",