Skip to content

Commit

Permalink
No export of ExtParam self.bus to prevent an issue when calling as_df()
Browse files Browse the repository at this point in the history
  • Loading branch information
cuihantao committed Apr 23, 2023
1 parent c050f89 commit b199dfe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion andes/models/dynload/fload.py
Expand Up @@ -56,7 +56,9 @@ def __init__(self, system, config):
self.group = 'DynLoad'
self.flags.tds = True

self.bus = ExtParam(model='PQ', src='bus', indexer=self.pq)
self.bus = ExtParam(model='PQ', src='bus', indexer=self.pq,
export=False,
)

self.p0 = ExtService(model='PQ', src='Ppf', indexer=self.pq,
tex_name='P_0',
Expand Down

0 comments on commit b199dfe

Please sign in to comment.