Skip to content

Commit

Permalink
Force diag_eps for bus variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
cuihantao committed Mar 6, 2024
1 parent c26bcb9 commit f914998
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions andes/models/bus.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,14 @@ def __init__(self, system=None, config=None):
info='voltage angle',
unit='rad',
is_output=True,
diag_eps=True,
)
self.v = Algeb(name='v',
tex_name='V',
info='voltage magnitude',
unit='p.u.',
is_output=True,
diag_eps=True,
)

# initial values
Expand Down

0 comments on commit f914998

Please sign in to comment.