In mast.py (function vindareal), the following line looks suspicious: if self.navn == "H6" and x == 5.0 or 9.0:. Because of operator precedence, the condition is equivalent to if (((self.navn == "H6") and (x == 5.0)) or 9.0) and will always return true. What is the intended condition, @oscarborke and @G-W-h ? ;)