Skip to content

Outstanding difference with WECC branch for reference #144

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

Draft
wants to merge 908 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
908 commits
Select commit Hold shift + click to select a range
b1045d6
Improve logging to allow checking data
staadecker Jul 19, 2021
df1ef37
Improve command line util
staadecker Jul 19, 2021
000c7a3
Reduce label font size
staadecker Jul 19, 2021
d142a51
Remove add storage from this branch
staadecker Jul 19, 2021
95dec23
Create add_storage module
staadecker Jul 19, 2021
8e1898f
Merge branch 'min_per_type' into add_storage
staadecker Jul 19, 2021
4c70d28
Refactor add_storage package into post process step
staadecker Jul 19, 2021
3098764
Add the option to specify a minimum
staadecker Jul 19, 2021
9bcccf7
Change order to match naming
staadecker Jul 19, 2021
a1bdd3d
Fix bug in when scenario info gets dropped from get_dataframe
staadecker Jul 19, 2021
434487e
Improve error message for sub optimal solution
staadecker Jul 19, 2021
65d7af0
Merge remote-tracking branch 'rael/wecc' into min_per_type
staadecker Jul 19, 2021
8c160de
Upgrade to allow specifying energy capacity
staadecker Jul 19, 2021
07e8b1c
Fix bug when graph_timestamp_map doesn't exist
staadecker Jul 19, 2021
dd0b540
Merge branch 'min_per_type' into add_storage
staadecker Jul 19, 2021
61c7a5c
Always drop description column
staadecker Jul 19, 2021
b87f1f7
Make gen_type get inputs from all the scenarios to fix colors
staadecker Jul 20, 2021
a24a620
Create energy balance throughout the year plot
staadecker Jul 21, 2021
203bb67
Add curtailment to plot
staadecker Jul 22, 2021
4b99b19
Work on removing load inputs
staadecker Jul 23, 2021
f3a1ae6
This is just a test to see how to modify a pull request locally
pesap Jul 23, 2021
66923fa
Update documentation
staadecker Jul 23, 2021
5ed4432
Replace load_aug
staadecker Jul 23, 2021
941c8e2
Further improvements
staadecker Jul 24, 2021
f5109f6
Upgrade hydro module to allow hydro_timepoints.csv
staadecker Jul 26, 2021
9e4011e
Merge branch 'add_generation_groups' into improv_hydro
staadecker Jul 26, 2021
c3d0bce
Update get_inputs.py to create hydro_timepoints.csv
staadecker Jul 26, 2021
b4b5def
Fix weighting to allow different timeseries
staadecker Jul 26, 2021
8ef7348
Update changelog
staadecker Jul 26, 2021
25b67ca
Update transmission lifetime
staadecker Jul 26, 2021
3e1b318
Update changelog
staadecker Jul 26, 2021
d1480ba
Add --gurobi-make-mps flag
staadecker Jul 27, 2021
df250a7
Merge remote-tracking branch 'rael/wecc' into warmstart-lp
staadecker Jul 27, 2021
6215469
Add comments
staadecker Jul 27, 2021
b5adaec
Add catch for trying to warm start with MIP and make outputing warm s…
staadecker Jul 27, 2021
cd06e79
Small refactor
staadecker Jul 27, 2021
5bddde6
Improve performance with name buffer
staadecker Jul 28, 2021
b2c2478
Only include rps module if scenario id is not null
staadecker Jul 28, 2021
5c1f089
Fix name buffer and improve comments / output
staadecker Jul 28, 2021
33d50a1
Merge pull request #67 from staadecker/add_generation_groups
PatyHidalgo Jul 28, 2021
916b8ac
Merge pull request #72 from staadecker/transmission_multiplier
PatyHidalgo Jul 28, 2021
8bc6d5e
Merge pull request #82 from staadecker/multi-fuel
PatyHidalgo Jul 28, 2021
1575847
Merge pull request #83 from staadecker/min_per_type
PatyHidalgo Jul 28, 2021
945189c
Merge pull request #87 from staadecker/add_storage
PatyHidalgo Jul 28, 2021
1bf8fd3
Merge remote-tracking branch 'rael/wecc' into make-mps
staadecker Jul 28, 2021
76ae227
Merge remote-tracking branch 'rael/wecc' into improve_load_aug
staadecker Jul 28, 2021
9acf26e
Move patching to patch file
staadecker Jul 28, 2021
2fdda0c
Update total costs for tests (See #72)
staadecker Jul 28, 2021
05c1325
Merge pull request #92 from staadecker/hotfix-tests
staadecker Jul 28, 2021
b6e7745
Merge remote-tracking branch 'rael/wecc' into improve_load_aug
staadecker Jul 28, 2021
5dd96a6
Refactor and patch only once
staadecker Jul 28, 2021
98b671c
Create Pandas documentation
staadecker Jul 28, 2021
ef289b2
Merge remote-tracking branch 'rael/wecc' into wind_to_solar_ratio
staadecker Jul 28, 2021
69d0a5a
Minor fixes to Pandas.md
staadecker Jul 28, 2021
2f88ab2
Merge pull request #81 from staadecker/wind_to_solar_ratio
staadecker Jul 28, 2021
b78e8a5
Auto set method for warm starts
staadecker Jul 28, 2021
f00306c
Merge remote-tracking branch 'rael/wecc' into warmstart-lp
staadecker Jul 28, 2021
798f3cb
Merge remote-tracking branch 'rael/wecc' into warmstart-lp
staadecker Jul 28, 2021
5e6c205
Add script to save new scenarios to the database.
staadecker Jul 28, 2021
a4f8a27
Merge pull request #86 from staadecker/improve-plots
pesap Jul 29, 2021
4fde87c
Add low hydro scenario to database
staadecker Jul 29, 2021
f72213d
Merge remote-tracking branch 'rael/wecc' into optional-modules
staadecker Jul 29, 2021
624c96c
Hotfix: Missing pandas import
staadecker Jul 30, 2021
9db1fb5
Merge remote-tracking branch 'rael/wecc' into wecc
staadecker Jul 30, 2021
ee58405
Add docs and don't use gurobi_aug with --recommended-fast
staadecker Jul 30, 2021
b9cde84
Switch the solver before it gets created
staadecker Jul 30, 2021
ab7a84d
Don't make warm starting the default
staadecker Jul 30, 2021
922e209
Add no hydro scenario
staadecker Jul 30, 2021
7f37d05
Add 50% hydro scenario
staadecker Aug 2, 2021
664ef71
Show percent of duals that are zero
staadecker Aug 2, 2021
a6a7b8c
Draw line for diurnal cycle duration
staadecker Aug 2, 2021
54755dd
Merge pull request #75 from staadecker/warmstart-lp
pesap Aug 2, 2021
2585613
Merge branch 'wecc' into improve_load_aug
staadecker Aug 3, 2021
3cc5513
Catch exceptions from warm starting
staadecker Aug 3, 2021
3514883
Allow "curtailment" from hydro
staadecker Aug 3, 2021
c8f607a
Update changelog
staadecker Aug 3, 2021
31b8a8f
Merge remote-tracking branch 'rael/wecc' into improve_load_aug
staadecker Aug 3, 2021
cab6a9c
Merge branch 'improve_load_aug' into improv_hydro
staadecker Aug 3, 2021
4614348
Fix bug where 0 flow meant no constraint
staadecker Aug 3, 2021
e1a9f50
Add support for cplex
staadecker Aug 4, 2021
faa9dec
Add check for inputs sooner in process
staadecker Aug 4, 2021
6f1b7d1
Improve file reading
staadecker Aug 4, 2021
7a68407
Hotfix: add storage post process step: filter costs by plants
staadecker Aug 4, 2021
029e13a
Merge pull request #99 from staadecker/warmstart-lp
staadecker Aug 4, 2021
ebbe60d
Merge pull request #96 from staadecker/optional-modules
staadecker Aug 4, 2021
8362e91
Merge pull request #91 from staadecker/make-mps
staadecker Aug 4, 2021
c56a7c9
Add a postprocess step that allows keeping only california
staadecker Aug 5, 2021
10e5d40
Merge branch 'improve_load_aug' into docs
staadecker Aug 5, 2021
9c31307
Add note on Performance.md
staadecker Aug 5, 2021
a543594
Merge remote-tracking branch 'rael/wecc' into improve_load_aug
staadecker Aug 5, 2021
c7fc7c4
Merge branch 'improve_load_aug' into docs
staadecker Aug 5, 2021
eb65285
Merge remote-tracking branch 'rael/wecc' into only-ca
staadecker Aug 5, 2021
62d6093
Merge remote-tracking branch 'rael/wecc' into cplex
staadecker Aug 5, 2021
5f05840
Merge remote-tracking branch 'rael/wecc' into improv_hydro
staadecker Aug 5, 2021
fdbdfc8
Merge remote-tracking branch 'rael/wecc' into plots
staadecker Aug 5, 2021
ad656fe
Merge remote-tracking branch 'rael/wecc' into hydro_scenario
staadecker Aug 5, 2021
ae90b8c
Merge remote-tracking branch 'rael/wecc' into save_scenario
staadecker Aug 5, 2021
0dcf155
Merge remote-tracking branch 'rael/wecc' into update_transmission_lif…
staadecker Aug 5, 2021
a852a00
Fix drop tool errors due to mismatched type
staadecker Aug 5, 2021
f60c3b5
Improve documentation
staadecker Aug 5, 2021
c45943a
Write post process step to run aggregations
staadecker Aug 6, 2021
d0849d1
Improve error message when loading data fails
staadecker Aug 6, 2021
bd69f3f
Set gen_dbid to "." instead of ""
staadecker Aug 6, 2021
d0ecd7e
Create script that generates capacity factors from past runs
staadecker Aug 6, 2021
24d9dd1
Hotfix: properly parse TRUE/FALSE from Google Sheets
staadecker Aug 6, 2021
2e64717
Merge branch 'wecc' into aggregate_projects
staadecker Aug 6, 2021
10a08c1
Minor refactor to allow running with 'python -m ...'
staadecker Aug 6, 2021
ecbc5ca
Output timepoint and start working on post-process step
staadecker Aug 6, 2021
3a48ce9
Allow external file for specifying capacity factors
staadecker Aug 6, 2021
fb25f4c
Remove breakpoint
staadecker Aug 6, 2021
65c9977
Create graph config files in get_inputs
staadecker Aug 8, 2021
292648b
Make map of buildout
staadecker Aug 8, 2021
5bf4d42
Fix sizing and reading files
staadecker Aug 8, 2021
0aba646
Add dispatch map
staadecker Aug 9, 2021
b7ec188
Add transmission plots
staadecker Aug 9, 2021
b23fbe8
Improve transmission plots
staadecker Aug 10, 2021
0c5f450
Improve transmission plots
staadecker Aug 10, 2021
e395de1
Remove test plot
staadecker Aug 10, 2021
3e3a208
Merge pull request #88 from staadecker/improve_load_aug
pesap Aug 11, 2021
805641b
Merge pull request #89 from staadecker/improv_hydro
pesap Aug 11, 2021
9aa7d44
Merge pull request #95 from staadecker/hydro_scenario
pesap Aug 11, 2021
2a1a7f0
Merge pull request #93 from staadecker/docs
pesap Aug 11, 2021
8b739d8
Merge pull request #105 from staadecker/aggregate_projects
pesap Aug 11, 2021
e1b4e1d
Remove white outline around bars
staadecker Aug 10, 2021
9776d23
Hotfix: remove patch_to_allow_loading statements
staadecker Aug 11, 2021
95ffc64
Improve state of charge plot
staadecker Aug 11, 2021
68d535f
Merge remote-tracking branch 'rael/wecc' into plots
staadecker Aug 11, 2021
1c6c6f1
Add plots
staadecker Aug 12, 2021
aeb126e
Include filter for reserve capabilitY
pesap Aug 12, 2021
79e3c7d
Refactoring and simplification of postprocess
pesap Aug 12, 2021
c57e5e0
Change --post-process to post-process-only
pesap Aug 12, 2021
6202003
Apply black format to code
pesap Aug 12, 2021
14314d0
If post-step is passed dont query the dabase
pesap Aug 12, 2021
60e8284
Include energy_cost post_process
pesap Aug 12, 2021
d3371e1
Improve plots
staadecker Aug 13, 2021
332f587
Merge branch 'wecc' into save_scenario
staadecker Aug 13, 2021
4f14bee
Hotfix: properly expand kwargs in documentation
staadecker Aug 13, 2021
73d1aa3
Merge remote-tracking branch 'rael/wecc' into update_transmission_lif…
staadecker Aug 14, 2021
ada1518
Merge remote-tracking branch 'rael/wecc' into cplex
staadecker Aug 14, 2021
95023e6
Merge pull request #103 from staadecker/plots
pesap Sep 2, 2021
ae7b108
Merge pull request #94 from staadecker/save_scenario
pesap Sep 2, 2021
e8054f8
Merge pull request #102 from staadecker/cplex
pesap Sep 2, 2021
cee5818
Remove outdated patch
staadecker Sep 4, 2021
811a2b8
Merge pull request #113 from staadecker/hotfix
pesap Sep 8, 2021
4bbca57
Merge branch 'wecc' into feature/post_process
pesap Sep 27, 2021
8ecc8ee
Propagate change to other post process files
pesap Sep 27, 2021
c1ed5df
Merge pull request #110 from REAM-lab/feature/post_process
pesap Sep 27, 2021
08cf118
Revert inequality to equality for the hydro simple module
pesap Sep 27, 2021
7a26a04
Minor changes to figure 1
staadecker Oct 5, 2021
79ed181
Switch to Jupyter notebooks (old plots were dropped)
staadecker Oct 11, 2021
27ff786
Minor visual improvments to plots (e.g. color scheme)
staadecker Oct 18, 2021
d601de0
Improve and fix post process
staadecker Oct 19, 2021
d6b5e6d
Still run if there's no post_process_config in config.yaml
staadecker Oct 19, 2021
af3d2d4
Set useful defaults for config.yaml
staadecker Oct 19, 2021
b96f2e6
Fixing params for hydro module
pesap Oct 20, 2021
b894219
Add Figure 3
staadecker Oct 24, 2021
9ad9539
Finish Figure 3
staadecker Oct 24, 2021
2714392
Move axis to the left of the plot
staadecker Oct 26, 2021
3261657
Add label to indicate baseline and fix minor bug
staadecker Oct 26, 2021
7aca942
Merge pull request #118 from staadecker/postprocess-fix
PatyHidalgo Nov 19, 2021
ee3116b
Added data to create a new wave scenario (DOE)
PatyHidalgo Nov 25, 2021
00af450
[wave scenario] edited comment for accuracy
PatyHidalgo Nov 25, 2021
2056f21
Switch away from Jupyter notebooks
staadecker Dec 7, 2021
20eb8cc
Create map plot
staadecker Dec 12, 2021
8178417
Fix sizing and remove legend
staadecker Dec 12, 2021
dab8583
Switch to using better files and centroids
staadecker Dec 14, 2021
1911e92
Make capacity in groups
staadecker Dec 14, 2021
0325b11
Small tweaks
staadecker Dec 14, 2021
79d38e7
Finish baseline figure
staadecker Dec 15, 2021
d125a56
Add new tx and other small fixes
staadecker Dec 17, 2021
e200225
Reduce pie chart border for clarity
staadecker Dec 17, 2021
bad95bc
Add calculations for in-text numbers
staadecker Dec 18, 2021
3f89172
Remove old baseline figure
staadecker Dec 18, 2021
3047ef8
Minor update to find percent energy capacity without alberta
staadecker Dec 18, 2021
3fb0f24
Add in calculations for figure generation mix
staadecker Dec 21, 2021
f5ae711
Add clarification comments in documentation
staadecker Dec 26, 2021
f19dcdc
Change wording to LMP for baseline plot
staadecker Dec 28, 2021
e8a8ac3
Half-way through working on generation mix plots
staadecker Dec 28, 2021
a9c3fdc
Create the Impact on Duration of Four Sets figure
staadecker Dec 28, 2021
f396bbf
Minor styling edits
staadecker Dec 28, 2021
b40687b
Add change to changelog.
staadecker Dec 28, 2021
3fe6672
Improve changelog
staadecker Dec 28, 2021
576c088
Add reference to reasoning behind 85 year lifetime
staadecker Dec 28, 2021
0f2d809
Add baseline calculation
staadecker Dec 28, 2021
c58d52f
Merge branch 'wecc' into plots
staadecker Dec 29, 2021
104b1ba
Add instruction to use --version tag in switch help
staadecker Dec 29, 2021
16c0b48
Fix graphig errors
staadecker Dec 29, 2021
6a27394
Fix switch graph errors
staadecker Dec 29, 2021
c09f39d
Improve autogenerated plots
staadecker Dec 29, 2021
2c5e683
Remove Pedro's code that is not being used
staadecker Dec 29, 2021
3027c6d
Add more scenarios to wind-to-solar plots
staadecker Dec 30, 2021
4519664
Add more scenarios to figure
staadecker Dec 30, 2021
ec05a50
Add a notification sound when complete.
staadecker Dec 31, 2021
3c74afb
Reduce cutoff for graphs to avoid confusion
staadecker Dec 31, 2021
fe63d4d
Create cost graphs
staadecker Dec 31, 2021
e5f8145
Cleanup Figure Impact on Duration of four Sets.py
staadecker Jan 1, 2022
139fd04
Add derate_hydro.py post-process step
staadecker Jan 4, 2022
e4f5029
Update Figures
staadecker Jan 4, 2022
5b2c909
Add solar to plots
staadecker Jan 6, 2022
80e69c2
Make transmission comparison plot by load zone
staadecker Jan 7, 2022
45e0e46
Create reference of load zones
staadecker Jan 7, 2022
d16c1a2
Add highlights to map
staadecker Jan 7, 2022
1814057
Update and rename figures
staadecker Jan 9, 2022
8d542cf
Merge pull request #117 from REAM-lab/hotfix/hydro_constraint
pesap Jan 11, 2022
55f29f6
Merge branch 'wecc' into update_transmission_lifetime
pesap Jan 11, 2022
78dc415
Merge pull request #90 from staadecker/update_transmission_lifetime
pesap Jan 11, 2022
ec8b49f
Continue doing calculations for plots
staadecker Jan 24, 2022
1e90f4b
switch to per month figure
staadecker Jan 25, 2022
8e57590
Improve figures
staadecker Jan 26, 2022
4c185a0
Add note about dtype=str
staadecker Jan 26, 2022
165adee
Add geothermal to legend
staadecker Jan 29, 2022
3919b35
Create LMP figure
staadecker Feb 1, 2022
72b126d
Create state of charge plot
staadecker Feb 1, 2022
d168739
Add line labels and remove dotted tx line
staadecker Feb 16, 2022
2550f34
Add S label
staadecker Feb 16, 2022
745fa05
Add result calculating code
staadecker Feb 16, 2022
b2ce3e8
Merge pull request #121 from staadecker/plots
PatyHidalgo Feb 17, 2022
24109e8
Add figure S3
staadecker Apr 4, 2022
1d190d1
Applying black format to storage module
Apr 9, 2022
8f930c2
Create Figure 1 to Joule's specifications.
staadecker Apr 18, 2022
93fe990
Create 2022_04_19_New_wave_energy_and_offshore_wind_data_DOE
PatyHidalgo Apr 19, 2022
3ff204f
[testing] line 1
PatyHidalgo Apr 19, 2022
3c8db8a
[DOE] New wave energy sites and new offshore wind sites
PatyHidalgo Apr 19, 2022
b45e646
Simplify figure 2
staadecker Apr 25, 2022
3dd3f29
Make figures 3 and 4 match paper guidelines
staadecker Apr 25, 2022
395d9b0
[DOE] Wave and offshore wind new sites (from NREL)
PatyHidalgo Apr 25, 2022
2dc323d
Make figure 5 and 6 match guidelines
staadecker Apr 26, 2022
faff843
Create supplementary plots for all figures
staadecker Apr 27, 2022
c698acd
[DOE] Finalized: wave energy and offshore wind 14 sites
PatyHidalgo Apr 27, 2022
57e932a
Calculate key values
staadecker Apr 28, 2022
5ce7aa9
Flip hydro subplot, Add demand axis on state of charge plots
staadecker Apr 30, 2022
306672a
Create cumulative distribution plots
staadecker May 1, 2022
bd646ed
Final changes to figures
staadecker May 25, 2022
92181e1
Updating post process with new format
Jun 8, 2022
205a2f6
Merge branch 'wecc' of github.com:REAM-lab/switch into wecc
Jun 8, 2022
d3d970c
Fixing error of new version of pyomo breaking the model
Jun 10, 2022
25e3023
[DOE wave] Wave energy scenarios using Ryans sites of industry interest
PatyHidalgo Jul 16, 2022
dcbbc16
Merge pull request #123 from REAM-lab/ms/ldes-paper
PatyHidalgo Jul 16, 2022
d8908fb
[DOE wave energy] New cheaper cost scenarios
PatyHidalgo Jul 21, 2022
f641979
Nerw scenario (2035) GridLab
PatyHidalgo Sep 9, 2022
b99700e
Update and rename 2022_09_09_GridLab_scenarios_2035.txt to 2022_09_09…
PatyHidalgo Sep 24, 2022
7a2844f
Sample sql script to upload new demands
PatyHidalgo Sep 24, 2022
b3396d7
Script to fix derating factor for transmission lines
Oct 12, 2022
6b10a69
Including new column with the transmission scenario id and propagate …
Oct 13, 2022
8f1cb6f
Add hydrogen storage module
lpstreitmatter Oct 18, 2022
e76fd82
Removing 85 years transmission lifetime and revert it back to 25
Oct 26, 2022
525fca9
Merge pull request #127 from REAM-lab/database/transmission_fix
jszinai Oct 26, 2022
137983c
Add .fleet to .gitignore
staadecker Jan 28, 2023
2eae434
Move WECC-specific database and papers folder into WECC folder
staadecker Jan 28, 2023
c424adc
Reformat all files with Python Black
staadecker Jan 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
325 changes: 317 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,319 @@
*pyc
**parse_table_datacmds.py
.idea
# Created by https://www.toptal.com/developers/gitignore/api/macos,python,venv,data,visualstudiocode,pycharm,jupyternotebooks,dotenv,virtualenv
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,python,venv,data,visualstudiocode,pycharm,jupyternotebooks,dotenv,virtualenv

### Data ###
*.dat
*.efx
*.gbr
*.key
*.pps
*.pdf
*.ppt
*.pptx
*.sdf
*.tax2010
*.vcf
*.xml
*.pickle
examples/**/temp/**
examples/**/outputs/*.csv
examples/**/outputs/*.txt
examples/**/graphs/*.png
examples/**/info.txt

### dotenv ###
.env

### JupyterNotebooks ###
# gitignore template for Jupyter Notebooks
# website: http://jupyter.org/

.ipynb_checkpoints
*/.ipynb_checkpoints/*

# IPython
profile_default/
ipython_config.py

# Remove previous ipynb_checkpoints
# git rm -r .ipynb_checkpoints/

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### PyCharm ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**
.fleet

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### PyCharm Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr

# Sonarlint plugin
# https://plugins.jetbrains.com/plugin/7973-sonarlint
.idea/**/sonarlint/

# SonarQube Plugin
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
.idea/**/sonarIssues.xml

# Markdown Navigator plugin
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
.idea/**/markdown-navigator.xml
.idea/**/markdown-navigator-enh.xml
.idea/**/markdown-navigator/

# Cache file creation bug
# See https://youtrack.jetbrains.com/issue/JBR-2257
.idea/$CACHE_FILE$

# CodeStream plugin
# https://plugins.jetbrains.com/plugin/12206-codestream
.idea/codestream.xml

### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
pytestdebug.log

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/
doc/_build/

# PyBuilder
target/

# Jupyter Notebook

# IPython

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
pythonenv*

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# profiling data
.prof

### venv ###
# Virtualenv
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
[Bb]in
[Ii]nclude
[Ll]ib
[Ll]ib64
[Ll]ocal
[Ss]cripts
pyvenv.cfg
pip-selfcheck.json

### VirtualEnv ###
# Virtualenv
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/

### VisualStudioCode ###
.vscode/*
!.vscode/tasks.json
!.vscode/launch.json
*.code-workspace

### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide

# Gurobi
gurobi.log
switch_model.egg-info/
venv
build*/
dist*/
autodoc*
*.log

### Database ###
*.accdb
*.db
*.dbf
*.mdb
*.pdb
*.sqlite3

### VIM ###
tags

# End of https://www.toptal.com/developers/gitignore/api/macos,python,venv,data,visualstudiocode,pycharm,jupyternotebooks,dotenv,virtualenv
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Josiah Johnston <[email protected]>
Benjamin Maluenda <[email protected]>
Ana Mileva
Mark Seaborn
Martin Staadecker


# Organizations
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
-------------------------------------------------------------------------------
Switch 2.0.6
-------------------------------------------------------------------------------
This release fixes a bug where the fixed costs from all possible build years
were applied each period, instead of only using the build years that are still
in service in the current period. This increased the apparent cost of storage by
approximately (study length) / (storage life). This bug was introduced in
version 2.0.0b3 and persisted through version 2.0.5, so results from earlier
models will need to be updated.

This will be the last version of Switch to work in Python 2. It requires at
least Python 2.7.12 and also works with Python 3.

-------------------------------------------------------------------------------
Switch 2.0.5
-------------------------------------------------------------------------------
Expand Down
Loading