-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (30 loc) · 1.08 KB
/
Makefile
File metadata and controls
45 lines (30 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# make documentation
PACKAGE=loads
# valid options are --debug and --refresh
CACHE_OPTIONS=--debug
AGGREGATE=elec_net_MW 2020
LOGO="https://github.com/eudoxys/.github/blob/main/eudoxys_banner.png?raw=true"
LINK="https://www.eudoxys.com/"
docs: $(PACKAGE)/__init__.py
pip install --upgrade pdoc
pdoc $< -o $@ --logo $(LOGO) --mermaid --math --logo-link $(LINK)
$(PACKAGE)/__init__.py: $(filter-out $(PACKAGE)/__init__.py,$(wildcard $(PACKAGE)/*.py))
aggregate:
cd loads ; python3 aggregate.py $(AGGREGATE)
total:
cd loads ; python3 total.py $(CACHE_OPTIONS)
residential:
cd loads ; python3 residential.py $(CACHE_OPTIONS)
commercial:
cd loads ; python3 commercial.py $(CACHE_OPTIONS)
industry:
cd loads ; python3 industry.py $(CACHE_OPTIONS)
agriculture:
cd loads ; python3 agriculture.py $(CACHE_OPTIONS)
resstock:
cd loads ; python3 resstock.py $(CACHE_OPTIONS)
comstock:
cd loads ; python3 comstock.py $(CACHE_OPTIONS)
calibrate:
cd loads ; python3 calibrate.py $(CACHE_OPTIONS)
cache: total residential commercial industry agriculture resstock comstock calibrate aggregate