DHNx icon indicating copy to clipboard operation
DHNx copied to clipboard

Error: network.optimize_investment(invest_options=invest_opt)

Open okocak95 opened this issue 11 months ago • 3 comments

Hi all,

when i try to run the following code: network.optimize_investment(invest_options=invest_opt)

i get this error: TypeError: Node.init() got an unexpected keyword argument 'heat_loss_factor'

Can you please help me to find a solution?

Best regards, Orcun

okocak95 avatar Mar 07 '24 10:03 okocak95

I got the same error. Running the same code on Branch Fix/oemof-network-0-5-0 works for me.

sebber9 avatar Apr 25 '24 11:04 sebber9

Hi,

I'm getting the same error but unfortunatley it can't be fixed by changing the version of oemof-network-0-5-0.. have you already solved your problem?

Best regards, Susanne

susannehoch avatar Jul 23 '24 07:07 susannehoch

Hi, yes it worked for me. what error are you getting exactly ?

BG , Kocak

okocak95 avatar Aug 04 '24 10:08 okocak95