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

[TRNSYS-users] Strange error when using the equation proforma



Dear Trnsys users.

When I try to simulate a HVAC system, I got the following error message copied
from the .lst file related to an equation proforma:


* EQUATIONS "ChWSH_P"                                                          

 
  EQUATIONS  12
     M_ChWS_PO_max = 85323
     M_ChWS_PSA_max = 104280
     S_SAV_PO1 = gt([71,1],0.1)*gt([86,1],0.01)*Max(Min([86,1],1.0),0.3)
     S_SAV_PSA1 = gt([71,5],0.01)*gt([110,1],0.01)*Max(Min([110,1],1.0),0.3)
     tMP = M_ChWS_PO_max*S_SAV_PO1+M_ChWS_PSA_max*S_SAV_PSA1
     xPO = gt(tMP,0.01)*M_ChWS_PO_max*S_SAV_PO1/Max(tMP,0.01)
     xPSA = 1-xPO
     M_ChWS_PO =
gt(N_ahu_PO,0.1)*Min([43,2]*N_chwsp_P*S_SAV_PO1,M_ChWS_PO_max)/Max(N_ahu_PO,0.01)
     M_ChWS_PSA =
gt(N_ahu_PSA1,0.1)*Min([43,2]*N_chwsp_P*S_SAV_PSA1,M_ChWS_PSA_max)/Max(N_ahu_PSA1,0.01)
 
*** Fatal Error at time   :         0.000000
    Generated by Unit     : Not applicable or not available
    Generated by Type     : Not applicable or not available
    TRNSYS Message     20 : The referenced variable used in this equation has
not been defined in the TRNSYS input file. The equation begins with the string
in "reported information"
    Reported information  : M_CHWS_PSA =  j(N_AH
 
 
*** Fatal Error at time   :         0.000000
    Generated by Unit     : Not applicable or not available
    Generated by Type     : Not applicable or not available
    TRNSYS Message     20 : The referenced variable used in this equation has
not been defined in the TRNSYS input file. The equation begins with the string
in "reported information"
    Reported information  : M_CHWS_PSA =  j(N_AH

Does anyone konw what's going wrong?  Another strange matter is that when I
input the formula for M_ChWS_PO, I use N_ahu_PO1 (see attached screenshot). 
However, in the input and listing files, it becomes N_ahu_PO.  How can I
rectify
the problem?  Thank you!

Best Regards
LEE, Chun Kwong
City University of Hong Kong

Attachment: Equation proforma.gif
Description: GIF image