|
57 | 57 | ControlTypes; % Set of control types
|
58 | 58 | ControlTypesIndex; % Index of the control types
|
59 | 59 | CurveCount; % Number of curves
|
| 60 | + CurveIndex; % Index of curves |
60 | 61 | CurvesInfo; % Curves info
|
61 | 62 | DemandModelCode; % Demand model code DDA - 0, PDA - 1
|
62 | 63 | DemandModelPmin; % Demand model Pmin - Pressure below which there is no demand
|
|
96 | 97 | LinkPumpNameID; % Name ID of pumps
|
97 | 98 | LinkPumpPatternIndex; % Index of pump pattern
|
98 | 99 | LinkPumpPatternNameID; % ID of pump pattern
|
| 100 | + LinkPumpPower; % Power value |
99 | 101 | LinkPumpPowerUnits; % Units of power
|
100 | 102 | LinkPumpType; % Pump type e.g constant horsepower, power function, user-defined custom curv
|
101 | 103 | LinkPumpTypeCode; % Pump index/code
|
@@ -687,6 +689,7 @@ function set_node_demand_pattern(obj, fun, propertie, value, extra)
|
687 | 689 | obj.LinkCount = obj.getLinkCount;
|
688 | 690 | obj.PatternCount = obj.getPatternCount;
|
689 | 691 | obj.CurveCount = obj.getCurveCount;
|
| 692 | + obj.CurveIndex = obj.getCurveIndex; |
690 | 693 | obj.ControlRulesCount = obj.getControlRulesCount;
|
691 | 694 | obj.NodeJunctionCount = obj.NodeCount-obj.NodeTankReservoirCount; %obj.getNodeJunctionCount;
|
692 | 695 | % Get type of the parameters
|
@@ -797,6 +800,7 @@ function set_node_demand_pattern(obj, fun, propertie, value, extra)
|
797 | 800 | obj.LinkPumpPatternIndex = obj.getLinkPumpPatternIndex;
|
798 | 801 | obj.LinkPumpTypeCode = obj.getLinkPumpTypeCode;
|
799 | 802 | obj.LinkPumpType = obj.getLinkPumpType;
|
| 803 | + obj.LinkPumpPower = obj.getLinkPumpPower; |
800 | 804 | obj.CurvesInfo = obj.getCurvesInfo;
|
801 | 805 | catch
|
802 | 806 | end
|
|
0 commit comments