This block implements the trim and respond logic according to ASHRAE guideline G36, PART 5.A.15 (trim and respond setpoint reset logic).
The trim and respond logic shall reset setpoint within the range
minSet to maxSet. When the associated
device is off (uDevSta=false), the setpoint shall be
iniSet. The reset logic shall be active while the
associated device is proven on (uDevSta=true),
starting delTim after initial device start command.
When active, every time step samplePeriod, trim the
setpoint by triAmo. If there are more than
numIgnReq requests, respond by changing the setpoint
by resAmo*(numOfReq-numIgnReq), i.e., the number of
requests minus the number of ignored requests, but no more than
maxRes.
samplePeriod:
triAmo;numOfReq > numIgnReq, also change
setpoint by resAmo*(numOfReq -numIgnReq) but no more
than maxRes.