221124-2230

This commit is contained in:
Yeongdo Park 2022-11-24 22:33:01 +09:00
parent bb5722ef2b
commit 67d37c5481

View file

@ -11,6 +11,8 @@
"\n", "\n",
"import numpy as np\n", "import numpy as np\n",
"\n", "\n",
"import cantera as ct\n",
"\n",
"import matplotlib.ticker \n", "import matplotlib.ticker \n",
"from matplotlib import pyplot as plt\n", "from matplotlib import pyplot as plt\n",
"%matplotlib widget" "%matplotlib widget"
@ -328,9 +330,21 @@
" return next_oven_id\n", " return next_oven_id\n",
"\n", "\n",
" def bake (self, dt):\n", " def bake (self, dt):\n",
" dQ = self.dQ(dt) # array, dQ to all ovens\n", " # update combustion chamber equilibrium temperature\n",
" # Tad = 연료 조성과 공연비로 결정\n",
" # m_dot = 연료 발열량과 공급열량 공연비로 결정\n",
" # m(h1 - h0) = hA(Tgas - Twall) => solve with initial T0 = Tad\n",
" \n",
" # advance time oven brick\n",
" # from chamber heat flux boundary condition\n",
" # to oven fixed temperature boundary condition\n",
" \n",
" # integrate heat to oven # 오븐 벽면 온도 우선 시간 함수로\n",
"\n",
" dQ = self.dQ(dt) # array, dQ pairs of all oven taking from both walls\n",
" \n",
" for cc in self.processing:\n", " for cc in self.processing:\n",
" cc.bake(dQ)\n", " cc.bake(dQ) # bake.(dQ[cc.idx_oven])\n",
"\n", "\n",
" def push_and_charge (self, coke_charge):\n", " def push_and_charge (self, coke_charge):\n",
" if len(self.processing) >= self.size:\n", " if len(self.processing) >= self.size:\n",