Skip to content

Commit

Permalink
Merge pull request #95 from CURENT/misc
Browse files Browse the repository at this point in the history
Fix typo in doc
  • Loading branch information
jinningwang authored Sep 5, 2024
2 parents 6f88922 + 8ff7bcf commit 2d13dc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/modeling/example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Model Section
# --- power balance ---
pb = 'Bbus@aBus + Pbusinj + Cl@pd + Csh@gsh - Cg@pg'
self.pb = Constraint(name='pb', info='power balance',
e_str=pb, type='eq',)
e_str=pb, is_eq=True,)
# --- line flow ---
self.plf = Var(info='Line flow',
unit='p.u.',
Expand Down
2 changes: 1 addition & 1 deletion docs/source/modeling/routine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ A simplified code snippet for RTED is shown below as an example.
info='Sum Gen vars vector in shape of zone',
no_parse=True, sparse=True)
... ...
self.rbu = Constraint(name='rbu', type='eq',
self.rbu = Constraint(name='rbu', is_eq=True,
info='RegUp reserve balance',
e_str = 'gs @ mul(ug, pru) - dud')
... ...
Expand Down

0 comments on commit 2d13dc2

Please sign in to comment.