From f19ae56d0c67ea8a09872adec00219d590529905 Mon Sep 17 00:00:00 2001 From: riw Date: Thu, 13 Jan 2022 17:18:20 +0100 Subject: [PATCH] fix tests --- pomato/fbmc/fbmc_module.py | 2 +- tests/test_grid_model.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pomato/fbmc/fbmc_module.py b/pomato/fbmc/fbmc_module.py index d05b679..b10ebf6 100644 --- a/pomato/fbmc/fbmc_module.py +++ b/pomato/fbmc/fbmc_module.py @@ -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 diff --git a/tests/test_grid_model.py b/tests/test_grid_model.py index 9b9588e..641e901 100644 --- a/tests/test_grid_model.py +++ b/tests/test_grid_model.py @@ -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):