首页 > 解决方案 > 用热量需求计算质量流量的缓慢计算

问题描述

我正在根据任何给定时刻的热量需求计算将水从 10°C 加热到 35°C 所需的质量流量。

将此模型引入我的模拟中会大大增加模拟时间!

model m_flow_calc
 "A simple model to calculated the primary mass flow needed to heat up space heating water "
 import SI = Modelica.SIunits;
    parameter SI.Temperature T_SHW_out = 30+273.15 "Temperature of the space heating water supply temperature";
    parameter SI.Temperature T_SHW_in = 10+273.15 "Temperature of the space heating water return temperature";                      
    Modelica.Blocks.Interfaces.RealInput Q_demand;        
    equation 
      m_flow =-Q_demand/(4120*(T_SHW_out-T_SHW_in)); //"Calculating the primary mass flow for a given Heating demand to heat the space heating water to the set temperature"     
end m_flow_calc;

使用计算出的质量流量,边界绘制通过热交换器的质量流量。然后将 HEX 之后的温度转移到另一个边界,该边界“推出”与第一个边界相同的质量流。 在此处输入图像描述

我缺少什么会减慢模拟速度吗?

标签: simulationmodelicadymola

解决方案


推荐阅读