oemof / DHNx

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

Fixes/clean up component attrs #58

Closed jnnr closed 3 years ago

jnnr commented 3 years ago

Fixes #57 and fixes #46 as well.

I processed all the steps listed in #57. On the way, I also removed all entries on the component_type in the input data with the idea to let this be set as default. However, CSVImporter did not yet set the default attributes. Until now, this only happened when adding components one by one using the add method. I introduced a new method set_defaults that is called in the CSVImporter.