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
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions assume/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
from importlib.metadata import version

from assume.common import MarketConfig, MarketProduct
from assume.scenario.loader_csv import (
load_custom_units,
load_scenario_folder,
run_learning,
)
from assume.world import World

__version__ = version("assume-framework")
Expand Down
1 change: 1 addition & 0 deletions docs/source/examples/03_custom_unit_example.nblink
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"path": "../../../examples/notebooks/03_custom_unit_example.ipynb"}
1 change: 1 addition & 0 deletions docs/source/examples/05_market_comparison.nblink
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"path": "../../../examples/notebooks/05_market_comparison.ipynb"}
1 change: 0 additions & 1 deletion docs/source/examples/06_market_comparison.nblink

This file was deleted.

5 changes: 3 additions & 2 deletions docs/source/examples_basic.rst
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

Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ Here you can find several tutorials on how to use ASSUME framework to get you st

examples/01_minimal_manual_example.nblink
examples/02_automated_run_example.nblink
examples/04_reinforcement_learning_example.nblink
examples/06_market_comparison.nblink
examples/03_custom_unit_example.nblink
examples/04_Reinforcement_learning_example.nblink
examples/05_market_comparison.nblink
2 changes: 1 addition & 1 deletion examples/inputs/example_03a/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

base:
start_date: 2019-01-01 00:00
end_date: 2019-01-31 00:00
end_date: 2019-01-30 00:00
time_step: 1h
save_frequency_hours: 24

Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/01_minimal_manual_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.4"
"version": "3.11.3"
},
"nbsphinx": {
"execute": "never"
Expand Down
4 changes: 2 additions & 2 deletions examples/notebooks/02_automated_run_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
"config_data = {\n",
" \"hourly_market\": {\n",
" \"start_date\": \"2021-03-01 00:00\",\n",
" \"end_date\": \"2021-03-08 00:00\",\n",
" \"end_date\": \"2021-03-07 00:00\",\n",
" \"time_step\": \"1h\",\n",
" \"save_frequency_hours\": 24,\n",
" \"markets_config\": {\n",
Expand Down Expand Up @@ -409,7 +409,7 @@
"new_market_config = {\n",
" \"daily_market\": {\n",
" \"start_date\": \"2021-03-01 00:00\",\n",
" \"end_date\": \"2021-03-08 00:00\",\n",
" \"end_date\": \"2021-03-07 00:00\",\n",
" \"time_step\": \"1h\",\n",
" \"save_frequency_hours\": 24,\n",
" \"markets_config\": {\n",
Expand Down
Loading
Loading