mini change to figname for saving
This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
{
|
{
|
||||||
"cells": [
|
"cells": [
|
||||||
{
|
{
|
||||||
|
"attachments": {},
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"# Markdown for converting jupyter notebook into a python script for looping\n",
|
"# Markdown for converting jupyter notebook into a python script for looping\n",
|
||||||
"- make a copy of \"KW Vorlage.ipynb\" (will be deleted later)\n",
|
"- make a copy of \"KW Vorlage.ipynb\" (will be deleted later) and open it\n",
|
||||||
"- changes to called functions\n",
|
"- changes to called functions\n",
|
||||||
" - in the Ausgleichsbecken_class file, in the update_level() method, comment out the raise_Exception('Reservoir ran empty') lines 228/229\n",
|
" - in the Ausgleichsbecken_class file, in the update_level() method, comment out the raise_Exception('Reservoir ran empty') lines 228/229\n",
|
||||||
" - this might lead to a warning, for a divide by 0 situation, which can usually be ignored:\n",
|
" - this might lead to a warning, for a divide by 0 situation, which can usually be ignored:\n",
|
||||||
@@ -63,7 +64,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 19,
|
"execution_count": 2,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
@@ -88,12 +89,12 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 20,
|
"execution_count": 3,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"# code cell 1\n",
|
"# # code cell 1\n",
|
||||||
"# for loop creation\n",
|
"# # for loop creation\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# Area_list = np.round(np.arange(40.,90.,5.),1)\n",
|
"# Area_list = np.round(np.arange(40.,90.,5.),1)\n",
|
||||||
"# Kp_list = np.round(np.arange(0.1,3.0,0.2),1)\n",
|
"# Kp_list = np.round(np.arange(0.1,3.0,0.2),1)\n",
|
||||||
@@ -161,7 +162,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 21,
|
"execution_count": 4,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
@@ -650,12 +651,12 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 29,
|
"execution_count": 5,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"# code cell 10\n",
|
"# # code cell 10\n",
|
||||||
"# code for plotting and safing the figures generated in the loop\n",
|
"# # code for plotting and safing the figures generated in the loop\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# level_plot_min = 0\n",
|
"# level_plot_min = 0\n",
|
||||||
"# level_plot_max = 3\n",
|
"# level_plot_max = 3\n",
|
||||||
@@ -707,14 +708,14 @@
|
|||||||
"# fig3.tight_layout()\n",
|
"# fig3.tight_layout()\n",
|
||||||
"# plt.show()\n",
|
"# plt.show()\n",
|
||||||
"\n",
|
"\n",
|
||||||
"# figname = 'Simulation Vorlage\\KW_Vorlage_Fläche_'+str(Res_area_base)+'_Ti_'+str(Con_T_i)+'_Kp'+str(round(Con_K_p,1))+'.png'\n",
|
"# figname = 'Simulation Vorlage\\KW_Vorlage_Fläche_'+str(Res_area_base)+'_Kp_'+str(round(Con_K_p,1))+'_Ti_'+str(Con_T_i)+'.png'\n",
|
||||||
"# fig3.savefig(figname)"
|
"# fig3.savefig(figname)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"kernelspec": {
|
"kernelspec": {
|
||||||
"display_name": "Python 3.8.13 ('Georg_DT_Slot3')",
|
"display_name": "DT_Slot3",
|
||||||
"language": "python",
|
"language": "python",
|
||||||
"name": "python3"
|
"name": "python3"
|
||||||
},
|
},
|
||||||
@@ -728,12 +729,12 @@
|
|||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.8.13"
|
"version": "3.8.16"
|
||||||
},
|
},
|
||||||
"orig_nbformat": 4,
|
"orig_nbformat": 4,
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"interpreter": {
|
"interpreter": {
|
||||||
"hash": "84fb123bdc47ab647d3782661abcbe80fbb79236dd2f8adf4cef30e8755eb2cd"
|
"hash": "06e42ed9520aaad7103456df165a31ea40da0f41ac9dffb743274e5e314689f3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user