Skip to content
Snippets Groups Projects
Commit b52b63f4 authored by David Radu's avatar David Radu
Browse files

updated requirements and readme

parent 94fb937e
Branches master
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ renewable generation assets based on various deplyoment criteria.
## Setup
The code runs in `Python 3.6` or older. In addition, running the code requires installation of `Julia 1.5` or older.
The code runs in `Python 3.6`. In addition, running the code requires installation of `Julia 1.5` or newer.
Furthermore, the some of the siting algorithm available in this repository will require a branch-and-bound solver. Currently,
only `gurobi` (with a valid license) is supported.
......
......@@ -3,6 +3,7 @@ channels:
- conda-forge
- defaults
dependencies:
- python=3.6
- pip
- bottleneck
- dask
......@@ -15,6 +16,8 @@ dependencies:
- geopy
- shapely
- pycountry
- pyyaml
- pip:
- julia
\ No newline at end of file
- julia
- windpowerlib
\ No newline at end of file
import yaml
import julia
from julia import Main
from os.path import join, isdir
from os import makedirs
from numpy import argmax, ceil, float64
......@@ -65,6 +64,7 @@ if __name__ == '__main__':
logger.info('Data pre-processing finished. Opening Julia instance.')
j = julia.Julia(compiled_modules=False)
from julia import Main
Main.include("jl/SitingHeuristics.jl")
params = siting_parameters['solution_method']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment