Skip to content

Commit

Permalink
Add missing 'base' column in bus data
Browse files Browse the repository at this point in the history
  • Loading branch information
fwitte committed Jan 14, 2022
1 parent 4caa614 commit 5d132af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tespy/tools/analyses.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ def analyse(self, pamb, Tamb):
self.component_data = pd.DataFrame(
columns=['E_F', 'E_P', 'E_D', 'epsilon', 'group'], dtype='float64')
self.bus_data = self.component_data.copy()
self.bus_data['base'] = np.nan
self.connection_data = pd.DataFrame(
columns=['e_PH', 'e_T', 'e_M', 'E_PH', 'E_T', 'E_M'],
dtype='float64')
Expand Down

0 comments on commit 5d132af

Please sign in to comment.