Skip to content

Commit

Permalink
fix: invest before year start value
Browse files Browse the repository at this point in the history
  • Loading branch information
benherry committed Nov 7, 2024
1 parent b309b72 commit 1758f66
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions energy_models/tests/l1_test_gradient_fossil_simple_techno.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ def test_02_discipline_analytic_grad_construction_delay_0(self):
self.ee.configure()
self.ee.display_treeview_nodes()

invest_before_ystart = pd.DataFrame(
{GlossaryEnergy.Years: [], GlossaryEnergy.InvestValue: []})
invest_before_ystart = None

inputs_dict = {f'{self.name}.{GlossaryEnergy.YearEnd}': self.year_end,
f'{self.name}.{GlossaryEnergy.StreamPricesValue}': self.stream_prices,
Expand Down

0 comments on commit 1758f66

Please sign in to comment.