diff --git a/CokeOvenServiceSimulator.ipynb b/CokeOvenServiceSimulator.ipynb index 5b312a5..9803afc 100644 --- a/CokeOvenServiceSimulator.ipynb +++ b/CokeOvenServiceSimulator.ipynb @@ -11,6 +11,8 @@ "\n", "import numpy as np\n", "\n", + "import cantera as ct\n", + "\n", "import matplotlib.ticker \n", "from matplotlib import pyplot as plt\n", "%matplotlib widget" @@ -328,9 +330,21 @@ " return next_oven_id\n", "\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", - " cc.bake(dQ)\n", + " cc.bake(dQ) # bake.(dQ[cc.idx_oven])\n", "\n", " def push_and_charge (self, coke_charge):\n", " if len(self.processing) >= self.size:\n",