[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[TRNSYS-users] Error: division by zero



Hello there,

I am trying to compute certain equation, but I am constantly getting the following error:


[ TRNSYS Message 5 : The TRNSYS Program attempted to evaluate an EQUATION that has a division by zero. Please check the EQUATION formulation and re-run    the simulation
   Reported information  : EFF_ENERGY ]

I made sure to calculate the equation only when the denominator is positive as follows:

Eff_energy = GT(m_H2,0)*(P_load+Q_heating+Q_DHW+Q_cooling)/(m_H2*LHV) ]

Any help would be appreciated...
Regards.