oemof / DHNx

District heating system optimisation and simulation models
MIT License
27 stars 12 forks source link

Error: network.optimize_investment(invest_options=invest_opt) #139

Open okocak95 opened 7 months ago

okocak95 commented 7 months ago

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

sebber9 commented 5 months ago

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

susannehoch commented 2 months ago

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

okocak95 commented 2 months ago

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

BG , Kocak