oemof / oemof-solph

A model generator for energy system modelling and optimisation (LP/MILP).
https://oemof.org
MIT License
282 stars 124 forks source link

Feature/get costs from optimization #1052

Open AntonellaConsolinno opened 4 months ago

AntonellaConsolinno commented 4 months ago

Hey,

as already mentioned I implemented a method to read in lp-files to get the objectiv and methods to get the timedependent and timeindependent values of the results. as pd.DataFrame Using this together the costs per timestep can be extracted.

This is the first idea. Can you give me some feedback, so I/we can maybe change to a useful method?

Thank, best regards Antonell

pep8speaks commented 4 months ago

Hello @AntonellaConsolinno! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 5:80: E501 line too long (159 > 79 characters) Line 7:80: E501 line too long (114 > 79 characters) Line 43:80: E501 line too long (121 > 79 characters) Line 47:80: E501 line too long (83 > 79 characters)

Comment last updated at 2024-05-15 04:17:09 UTC