You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用odeint求解耦合ODE组异常:咖啡豆烘焙模型问题

咖啡豆烘焙ODE模型求解异常求助

我正在为课程作业搭建咖啡豆烘焙的常微分方程组(ODE)模型,方程组里只有T_b和X_b是变量,其余都是常数参数。但在用scipy.integrate.odeint求解这个系统时,得到的T_b和X_b曲线居然是恒定值,这完全不符合实际烘焙过程中温度和水分变化的逻辑。

以下是我目前写的代码片段:

from scipy.integrate import odeint
import numpy as np
import matplotlib.pyplot as plt
# 编写豆温T_b的微分方程函数
def deriv(X,t):
    T_b, X_b = X...

内容的提问来源于stack exchange,提问作者L Buck

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.26 08:22:18