"대수적 루프"가 의미하는 바를 알려 줄 수 있습니까? "pre"연산자를 추가하여이 상황에 어떻게 대처할 수 있습니까? 난 심각 ... 사전에dymola 오류 메시지를 이해하는 데 문제가 있습니까?
Error: Failed to generate code for an algebraic loop
involving when equations or algorithms with when parts.
Unknowns:
pump.Hb_flow
pump.medium.d
pump.medium.h
pump.medium.state.melting
pump.medium.state.T
pump.V_flow
pump.V_flow_single
pump.W_single
Equations:
algorithm
when Modelica.SIunits.Conversions.to_degC(pump.medium.state.T) < 13.9 then
pump.medium.state.melting := true;
elsewhen Modelica.SIunits.Conversions.to_degC(pump.medium.state.T) > 32.8 then
pump.medium.state.melting := false;
end when;
// [removed set of equations that contained no "when"]
You may be able to cut the loop
by putting 'pre' around some of the references to
unknown continuous time variables in when parts or when conditions.
감사합니다, 안부
티모 그것을받지 못했습니다.