Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
resite_ip
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
smart_grids
public
resite_ip
Commits
b52b63f4
Commit
b52b63f4
authored
3 years ago
by
David Radu
Browse files
Options
Downloads
Patches
Plain Diff
updated requirements and readme
parent
94fb937e
Branches
master
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
requirements.yml
+4
-1
4 additions, 1 deletion
requirements.yml
src/main.py
+1
-1
1 addition, 1 deletion
src/main.py
with
6 additions
and
3 deletions
README.md
+
1
−
1
View file @
b52b63f4
...
...
@@ -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
old
er.
The code runs in
`Python 3.6`
. In addition, running the code requires installation of
`Julia 1.5`
or
new
er.
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.
...
...
This diff is collapsed.
Click to expand it.
requirements.yml
+
4
−
1
View file @
b52b63f4
...
...
@@ -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
This diff is collapsed.
Click to expand it.
src/main.py
+
1
−
1
View file @
b52b63f4
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
'
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment