update notebook with ventilation changes

This commit is contained in:
markus 2020-10-20 16:23:21 +02:00
parent 8e524fea1b
commit aa3a58caae

View file

@ -42,7 +42,8 @@
" \"\"\"\n",
" model = cara.models.Model(\n",
" room=cara.models.Room(volume=volume),\n",
" ventilation=cara.models.Ventilation(),\n",
" ventilation=cara.models.PeriodicWindow(period=120, duration=120, inside_temp=293, outside_temp=283,\n",
" window_height=1.6, opening_length=0.6, cd_b=0.6),\n",
" infected=cara.models.InfectedPerson(\n",
" virus=cara.models.Virus.types['SARS_CoV_2'],\n",
" present_times=((0, 4), (5, 8)),\n",
@ -145,7 +146,7 @@
],
"source": [
"ventilation_widgets = {\n",
" 'Natural': widgets.Label('Currently hard-coded to 514.74 / volume'),\n",
" 'Natural': widgets.Label('Currently hard-coded to window-example from mathematica notebook'),\n",
" 'other': widgets.Label('Not yet implemented.')\n",
"}\n",
"for name, widget in ventilation_widgets.items():\n",