@@ -34,9 +34,6 @@ namespace GridKit
3434 return checks;
3535 }
3636
37- /* *
38- * @brief The squared apparent power at each port is an inequality
39- */
4037 template <typename scalar_type, typename index_type>
4138 int Branch<scalar_type, index_type>::tagInequality()
4239 {
@@ -48,9 +45,6 @@ namespace GridKit
4845 return 0 ;
4946 }
5047
51- /* *
52- * @brief The rating bounds the squared apparent power at each port
53- */
5448 template <typename scalar_type, typename index_type>
5549 int Branch<scalar_type, index_type>::initialize()
5650 {
@@ -64,9 +58,6 @@ namespace GridKit
6458 return 0 ;
6559 }
6660
67- /* *
68- * @brief Squared apparent power at bus 1 and at bus 2
69- */
7061 template <typename scalar_type, typename index_type>
7162 [[gnu::always_inline]] void
7263 Branch<scalar_type, index_type>::internalConstraints([[maybe_unused]] const ScalarT* x,
@@ -87,10 +78,6 @@ namespace GridKit
8778 g[S2 ] = s[DP2 ] * s[DP2 ] + s[DQ2 ] * s[DQ2 ];
8879 }
8980
90- /* *
91- * @brief Active and reactive power into bus 1, then into bus 2, added to
92- * their balances
93- */
9481 template <typename scalar_type, typename index_type>
9582 [[gnu::always_inline]] void
9683 Branch<scalar_type, index_type>::externalConstraints([[maybe_unused]] const ScalarT* x,
@@ -120,10 +107,7 @@ namespace GridKit
120107 setDerivedParameters ();
121108 }
122109
123- /* *
124- * @brief Pi-model admittance with the off-nominal tap and phase shift on
125- * the bus-1 side, zero out of service
126- */
110+ // / Pi-model admittance with the tap and phase shift on the bus-1 side, zero out of service
127111 template <typename scalar_type, typename index_type>
128112 void Branch<scalar_type, index_type>::setDerivedParameters()
129113 {
@@ -150,11 +134,7 @@ namespace GridKit
150134 b22_ = u * (-b_br - HALF <RealT> * B_ );
151135 }
152136
153- /* *
154- * @brief Active and reactive power into bus 1, then into bus 2
155- *
156- * The power into each bus is \f$P + jQ = V I^*\f$.
157- */
137+ // / Power \f$P + jQ = V I^*\f$ into bus 1, then into bus 2
158138 template <typename scalar_type, typename index_type>
159139 [[gnu::always_inline]] void
160140 Branch<scalar_type, index_type>::power(const ScalarT* external, ScalarT* s) const
0 commit comments