1212#include < limits>
1313#include < vector>
1414
15- #include < Model/PowerFlow/PowerSystemData .hpp>
15+ #include < Model/PowerFlow/PowerFlowData .hpp>
1616#include < Utilities/Testing.hpp>
1717
1818namespace
@@ -34,9 +34,9 @@ namespace GridKit
3434 {
3535
3636 template <typename RealT = double , typename IdxT = int >
37- inline bool isEqual (PowerSystemData ::GenCostData<RealT, IdxT> a,
38- PowerSystemData ::GenCostData<RealT, IdxT> b,
39- RealT tol = tol_)
37+ inline bool isEqual (PowerFlowData ::GenCostData<RealT, IdxT> a,
38+ PowerFlowData ::GenCostData<RealT, IdxT> b,
39+ RealT tol = tol_)
4040 {
4141 (void ) tol; // suppress warning
4242 int fail = 0 ;
@@ -52,9 +52,9 @@ namespace GridKit
5252 }
5353
5454 template <typename RealT = double , typename IdxT = int >
55- inline bool isEqual (PowerSystemData ::GenData<RealT, IdxT> a,
56- PowerSystemData ::GenData<RealT, IdxT> b,
57- RealT tol = tol_)
55+ inline bool isEqual (PowerFlowData ::GenData<RealT, IdxT> a,
56+ PowerFlowData ::GenData<RealT, IdxT> b,
57+ RealT tol = tol_)
5858 {
5959 int fail = 0 ;
6060
@@ -88,9 +88,9 @@ namespace GridKit
8888 }
8989
9090 template <typename RealT = double , typename IdxT = int >
91- inline bool isEqual (PowerSystemData ::BusData<RealT, IdxT> a,
92- PowerSystemData ::BusData<RealT, IdxT> b,
93- RealT tol = tol_)
91+ inline bool isEqual (PowerFlowData ::BusData<RealT, IdxT> a,
92+ PowerFlowData ::BusData<RealT, IdxT> b,
93+ RealT tol = tol_)
9494 {
9595 int fail = 0 ;
9696
@@ -124,9 +124,9 @@ namespace GridKit
124124 }
125125
126126 template <typename RealT = double , typename IdxT = int >
127- inline bool isEqual (PowerSystemData ::LoadData<RealT, IdxT> a,
128- PowerSystemData ::LoadData<RealT, IdxT> b,
129- RealT tol = tol_)
127+ inline bool isEqual (PowerFlowData ::LoadData<RealT, IdxT> a,
128+ PowerFlowData ::LoadData<RealT, IdxT> b,
129+ RealT tol = tol_)
130130 {
131131 int fail = 0 ;
132132
@@ -144,9 +144,9 @@ namespace GridKit
144144 }
145145
146146 template <typename RealT = double , typename IdxT = int >
147- inline bool isEqual (PowerSystemData ::BranchData<RealT, IdxT> a,
148- PowerSystemData ::BranchData<RealT, IdxT> b,
149- RealT tol = tol_)
147+ inline bool isEqual (PowerFlowData ::BranchData<RealT, IdxT> a,
148+ PowerFlowData ::BranchData<RealT, IdxT> b,
149+ RealT tol = tol_)
150150 {
151151 int fail = 0 ;
152152
@@ -197,8 +197,8 @@ namespace GridKit
197197 }
198198
199199 template <typename RealT = double , typename IdxT = int >
200- inline bool isEqual (PowerSystemData ::SystemModelData<RealT, IdxT> a,
201- PowerSystemData ::SystemModelData<RealT, IdxT> b)
200+ inline bool isEqual (PowerFlowData ::SystemModelData<RealT, IdxT> a,
201+ PowerFlowData ::SystemModelData<RealT, IdxT> b)
202202 {
203203 int fail = 0 ;
204204
0 commit comments