forked from M-Labs/thermostat
Compare commits
2 Commits
7f5b2eca75
...
31e2d8c9ca
Author | SHA1 | Date | |
---|---|---|---|
31e2d8c9ca | |||
4beeec6021 |
@ -13,7 +13,7 @@ When tuning Thermostat PID parameters, it is helpful to view the temperature, PI
|
|||||||
To use the Python real-time plotting utility, run
|
To use the Python real-time plotting utility, run
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
python pythermostat/plot.py
|
python pythermostat/pythermostat/plot.py
|
||||||
```
|
```
|
||||||
|
|
||||||
![default view](./assets/default%20view.png)
|
![default view](./assets/default%20view.png)
|
||||||
@ -49,7 +49,7 @@ A PID auto tuning utility is provided in the PyThermostat library. The auto tuni
|
|||||||
To run the auto tuning utility, run
|
To run the auto tuning utility, run
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
python pythermostat/autotune.py
|
python pythermostat/pythermostat/autotune.py
|
||||||
```
|
```
|
||||||
|
|
||||||
After some time, the auto tuning utility will output the auto tuning results, below is a sample output
|
After some time, the auto tuning utility will output the auto tuning results, below is a sample output
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import time
|
import time
|
||||||
from pytec.client import Client
|
from pythermostat.client import Client
|
||||||
|
|
||||||
tec = Client() #(host="localhost", port=6667)
|
tec = Client() #(host="localhost", port=6667)
|
||||||
tec.set_param("b-p", 1, "t0", 20)
|
tec.set_param("b-p", 1, "t0", 20)
|
||||||
|
@ -3,7 +3,7 @@ import logging
|
|||||||
from collections import deque, namedtuple
|
from collections import deque, namedtuple
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
|
|
||||||
from pytec.client import Client
|
from pythermostat.client import Client
|
||||||
|
|
||||||
# Based on hirshmann pid-autotune libiary
|
# Based on hirshmann pid-autotune libiary
|
||||||
# See https://github.com/hirschmann/pid-autotune
|
# See https://github.com/hirschmann/pid-autotune
|
@ -3,7 +3,7 @@ import numpy as np
|
|||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
import matplotlib.animation as animation
|
import matplotlib.animation as animation
|
||||||
from threading import Thread, Lock
|
from threading import Thread, Lock
|
||||||
from pytec.client import Client
|
from pythermostat.client import Client
|
||||||
|
|
||||||
TIME_WINDOW = 300.0
|
TIME_WINDOW = 300.0
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
import argparse
|
import argparse
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
from pytec.client import Client
|
from pythermostat.client import Client
|
||||||
|
|
||||||
|
|
||||||
CHANNELS = 2
|
CHANNELS = 2
|
Loading…
Reference in New Issue
Block a user