1ecca802f3
* play around, add new nomopyomo feature * fix constraints * fix constraints * set solver to cbc due to error with gurobi900 * update environments shift lv and lc constraints to prepare_network start modifying opt constraints * correct BAU * correct environment * fix import * fix SAFE constraint * fix battery charger ratio constraint * code cleaning * restructure solve scripts * fix CCL constraint * adjust doc * solve_network: update doc string * revert unwanted changes * update environment.yaml * update environment.yaml II * force conda update, revert last commit * revert last change, use other channel priority * remove trace_sove_network * add skip_iterating and track_iterations options to config file * revert last commit, fix environment to current pypsa master * line break, trigger CI with updated pypsa * nomopyomo: PR review Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
25 lines
620 B
YAML
25 lines
620 B
YAML
os:
|
|
- windows
|
|
- linux
|
|
- osx
|
|
|
|
language: bash
|
|
|
|
before_install:
|
|
# install conda
|
|
- wget https://raw.githubusercontent.com/trichter/conda4travis/latest/conda4travis.sh -O conda4travis.sh
|
|
- source conda4travis.sh
|
|
|
|
# install conda environment
|
|
- conda env create -f ./environment.yaml
|
|
- conda activate pypsa-eur
|
|
|
|
# install open-source solver
|
|
- conda install -c conda-forge ipopt glpk
|
|
|
|
script:
|
|
- cp ./test/config.test1.yaml ./config.yaml
|
|
- snakemake solve_all_elec_networks
|
|
- rm -rf resources/*.nc resources/*.geojson resources/*.h5 networks results
|
|
# could repeat for more configurations in future
|