/// <summary> /// Initializes a new instance of the <see cref="Filter"/> class. /// </summary> /// <param name="name">The name.</param> /// <param name="x">The x.</param> /// <param name="y">The y.</param> /// <param name="w">The w.</param> /// <param name="h">The h.</param> /// <param name="position">The position.</param> /// <param name="admittance">The admittance.</param> /// <param name="nodeIn">The node in.</param> /// <param name="nodeOut">The node out.</param> /// <param name="next">The next.</param> public Filter(string name = "", float x = 0, float y = 0, float w = 30, float h = 20, double opening = 0, double g = 0, double admittance = 10, Node nodeIn = null, Node nodeOut = null, VVS next = null, Valve valves = null) { Name = name; X = x; Y = y; W = w; H = h; Opening = opening; G = g; NodeIn = nodeIn; NodeOut = nodeOut; Next = next; Admittance = admittance; Valves = valves; OpeningLimitWarning = 0.5; OpeningLimitCleaning = 0.2; OpeningLimit = 1; }