Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/get costs from optimization #1052

Open
wants to merge 18 commits into
base: dev
Choose a base branch
from

Conversation

AntonellaConsolinno
Copy link
Contributor

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
Copy link

pep8speaks commented Feb 13, 2024

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

src/oemof/solph/_experimental_processing.py Fixed Show fixed Hide fixed
examples/get_costs_example/get_costs.py Fixed Show fixed Hide fixed
src/oemof/solph/_experimental_processing.py Fixed Show fixed Hide fixed
src/oemof/solph/_experimental_processing.py Fixed Show fixed Hide fixed
src/oemof/solph/_experimental_processing.py Fixed Show fixed Hide fixed
tests/test_experimental_get_costs.py Fixed Show fixed Hide fixed
tests/test_experimental_get_costs.py Fixed Show fixed Hide fixed
tests/test_experimental_get_costs.py Fixed Show fixed Hide fixed
tests/test_experimental_get_costs.py Fixed Show fixed Hide fixed
tests/test_processing.py Fixed Show fixed Hide fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants