This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

PID regulator
#10
Code:
1234
User library tratec_PID:126: attempt to perform arithmetic on local 'setpoint' (a boolean value) stack traceback: User library tratec_PID:126: in function 'compute' User library tratec_PID:110: in function 'run'
What does this error mean?

Call:
Code:
123456789101112131415161718
if not pTV then   pTV = PID:init({     --manual   ='',                    -- Setter PID i manuell ved "1"     kp            = 1,           -- P-Bånd     ki            = 0.4 ,          -- I-Tid     kd            = 1,              -- D-Tid     current     = TV_vav,                --Faktisk Verdi     setpoint     = TV_vav_SP,                        --Settpunkt     inverted     = true,                --Inverterer utgangen     min             = 0,                -- Minimum utgangssignal     max            = 100,                -- Maksimum utgangssignal      output         = '33/1/6'                 --Pådrag   }) end -- run algorithm pTV:run() log(pTV)
Reply


Messages In This Thread
PID regulator - by tomnord - 28.01.2021, 08:04
RE: PID regulator - by admin - 28.01.2021, 09:28
RE: PID regulator - by tomnord - 28.01.2021, 10:28
RE: PID regulator - by Daniel - 28.01.2021, 10:55
RE: PID regulator - by tomnord - 28.01.2021, 14:08
RE: PID regulator - by Daniel - 28.01.2021, 14:22
RE: PID regulator - by admin - 28.01.2021, 14:38
RE: PID regulator - by Erwin van der Zwart - 28.01.2021, 18:50
PID regulator - by tomnord - 29.01.2021, 15:36
RE: PID regulator - by tomnord - 01.02.2023, 09:33
RE: PID regulator - by admin - 01.02.2023, 09:37
RE: PID regulator - by tomnord - 01.02.2023, 10:05
RE: PID regulator - by admin - 01.02.2023, 10:28
RE: PID regulator - by tomnord - 01.02.2023, 11:42
RE: PID regulator - by admin - 01.02.2023, 12:03
RE: PID regulator - by tomnord - 01.02.2023, 12:44

Forum Jump: