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

[TRNSYS-users] Control strategy



Dear Trnsys users,

 

we have to create a solar cooling control system based on the following strategy:

 

 

                        If ((mode = 0)and (mode_status = 1)) then

                                   If (T_supply_air < (T_set_supply_air - dT_dec)) then

                                       mode = -1

                                       mode_status = 0

                                   Endif

                                  

                                   If (T_supply_air > (T_set_supply_air + dT_dec)) then

                                       mode = 1

                                       mode_status = 0

                                   Endif

                        endif

           

           

                        If ((mode = -1) and (mode_status = 1)) then

                            If (T_supply_air < (T_set_supply_air - dT_dec)) then

                                       mode = -2

                                       mode_status = 0

                                   Endif

                                  

                                   IF  (T_supply_air > (T_set_supply_air + dT_dec)) then

                                       mode = 0

                                       mode_status = 0

                                   Endif

                        endif

                       

                        If ((mode = 1) and (mode_status = 1)) then

                            If (T_supply_air < (T_set_supply_air - dT_dec)) then

                                      mode = 0

                                      mode_status = 0

                                   Endif

 

 

                       ... (continue) ....

 

                   

Is it possible to implement the whole strategy into the Equation tool or is it necessary to use other types? Specifically, is it possible to introduce into the equation tool the "if... then..." function?

 

In addition, does exist a manual for the equation tool?

 

 

---------------------------------------------------------------
 
Eng. Maurizio Sorce
 
DREAM Department of Energy and Environmental Research
University of Palermo
 
Viale delle Scienze, Building 9
I-90128 Palermo, Italy (EU)
 
mauriziosorce@dream.unipa.it
www.dream.unipa.it
 
Phone: (+39) 091 236012
Mobile phone: (+39) 3495386296
Fax: (+39) 091484425