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

Documentation of Unit example #262

Merged
merged 17 commits into from
Jan 23, 2024
Merged

Documentation of Unit example #262

merged 17 commits into from
Jan 23, 2024

Conversation

Manish-Khanra
Copy link
Contributor

Documentation of an electrlyser unit example

Copy link
Member

@maurerle maurerle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is already https://github.com/assume-framework/assume/blob/main/docs/source/img/architecture.svg
If added - this picture would belong into the same folder, but I would just use the .svg where you need it.

"cell_type": "markdown",
"metadata": {},
"source": [
"![Model Architecture](ASSUME\\docs\\source\\ASSUME_Architecture.png)"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use svg here..?

@maurerle maurerle changed the title Documaentation of Unit example Documentation of Unit example Jan 8, 2024
@Manish-Khanra Manish-Khanra requested a review from maurerle January 8, 2024 22:16
Copy link

codecov bot commented Jan 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f5471f5) 81.90% compared to head (839b77f) 81.90%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #262   +/-   ##
=======================================
  Coverage   81.90%   81.90%           
=======================================
  Files          38       38           
  Lines        4161     4162    +1     
=======================================
+ Hits         3408     3409    +1     
  Misses        753      753           
Flag Coverage Δ
pytest 81.90% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nick-harder nick-harder requested review from kim-mskw and removed request for kim-mskw January 12, 2024 10:34
@nick-harder
Copy link
Member

@kim-mskw could you please check this commit please? You have a good eye for details and consistency :-)

@nick-harder
Copy link
Member

@Manish-Khanra the part of adding the new unit type is missing. Also, you need something like %%add_to RLStrategy from tutorial 4 RL to be able to have functions inside classes up and running. Please add it where needed. Also, at the beginning, the part about docker and limitations is repeated twice. Please check

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not look right - it should not undo the renaming

Copy link
Member

@maurerle maurerle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tutorial in #266 is supposed to be number 5 - the market comparison tutorial is supposed to stay number 6 - I think.

@nick-harder
Copy link
Member

The tutorial in #266 is supposed to be number 5 - the market comparison tutorial is supposed to stay number 6 - I think.

@maurerle it was decided to merge unit and strategy, so it is 3, RL is 4 and market is 5

@nick-harder nick-harder requested a review from maurerle January 23, 2024 13:56
Copy link
Member

@maurerle maurerle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the electrolyzer png works on the docs but is broken on the notebook itself..
This is due to the relative paths being different.

We could fix this, by loading the picture with python and displaying it - resulting in the images being embedded as an output of a cell.
We could also fix this by adding a new folder /img next to the notebook, which includes this image a second time.
Both is really stupid.

We could have something like:

from IPython.display import Image, display
display(Image('docs/source/img/Electrolyzer.png'))

@nick-harder
Copy link
Member

yes true, I changed the way how it is displayed, is ugly, but this is the only way how it works for docs, but also in collab and locally

@nick-harder nick-harder merged commit 3328c38 into main Jan 23, 2024
4 checks passed
@nick-harder nick-harder deleted the Dokumentation_Units branch January 23, 2024 15:41
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.

3 participants