From dee544f56b1a3d8960dc962c42a52ccc3f74b00f Mon Sep 17 00:00:00 2001 From: Fabian Hofmann Date: Thu, 31 Oct 2019 13:01:08 +0100 Subject: [PATCH] fix typo --- scripts/add_electricity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/add_electricity.py b/scripts/add_electricity.py index a855bc0b..9f1bed7a 100644 --- a/scripts/add_electricity.py +++ b/scripts/add_electricity.py @@ -291,7 +291,7 @@ def attach_wind_and_solar(n, costs): costs.at[tech + '-station', 'capital_cost'] + connection_cost) logger.info("Added connection cost of {:0.0f}-{:0.0f} Eur/MW/a to {}" - .format(connection_cost.min(), connection_cost.mafx(), tech)) + .format(connection_cost.min(), connection_cost.max(), tech)) elif suptech == 'onwind': capital_cost = (costs.at['onwind', 'capital_cost'] + costs.at['onwind-landcosts', 'capital_cost'])