Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-weinhold committed Jan 13, 2022
1 parent 4f3c758 commit f19ae56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pomato/fbmc/fbmc_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from pomato.grid import GridModel

class FBMCModule():
"""The FBMC module calculates FB paramerters based on a suitable market result.
"""The FBMC module calculates FB parameters based on a suitable market result.
Flow based market coupling derives commercial exchange capacities for a day-ahead
market clearing from a forecasted market results. These day ahead capacities are
Expand Down
2 changes: 1 addition & 1 deletion tests/test_grid_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def test_nodal(self):
self.grid_model.create_grid_representation()
gr = self.grid_model.grid_representation
np.testing.assert_equal(gr.grid[self.data.nodes.index].values, self.grid.ptdf)
np.testing.assert_equal(gr.grid["ram"].values/self.grid_model.options["grid"]["rating_factor"], self.data.lines.capacity.values)
np.testing.assert_equal(gr.grid["ram"].values/self.grid_model.options["grid"]["long_term_rating_factor"], self.data.lines.capacity.values)


def test_cbco_nodal(self):
Expand Down

0 comments on commit f19ae56

Please sign in to comment.