由于热量需求而无法进行质量流量的缓慢计算

时间:2018-06-25 11:14:31

标签: simulation modelica dymola

我正在计算从源头将任意给定时刻的热量需求从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;

利用计算出的质量流量,边界会吸引通过热交换器的质量流量。然后,将十六进制后的温度传递到另一个边界,该边界像第一个边界一样“推动”相同的质量流。 enter image description here

我缺少某些东西在减慢模拟速度吗?

0 个答案:

没有答案