Giter Club home page Giter Club logo

anymod.jl's Introduction

Build Status codecov Gitter chat License: MIT

logo

AnyMOD.jl is a Julia framework for creating large scale energy system models with multiple periods of capacity expansion formulated as linear optimization problems. It was developed to address the challenges in modelling high-levels of intermittent generation and sectoral integration. A comprehensive description of the framework's graph based methodology can found in the working paper Göke (2020), AnyMOD - A graph-based framework for energy system modelling with high levels of renewables and sector integration. The software itself is seperately introduced in Göke (2020), AnyMOD.jl: A Julia package for creating energy system models.

Any questions, suggestions, feature requests, or contributions are welcome. To get in touch open an issue or use the chat.

Documentation

  • STABLElast thoroughly tested and fully documented version
  • DEVin-development version of the tool

Acknowledgement

The development of AnyMOD is receiving funding from the European Union’s Horizon 2020 research and innovation programme within the OSMOSE project under grant agreement No 773406.

anymod.jl's People

Contributors

leonardgoeke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

anymod.jl's Issues

createOptModel! throws "key :M not found"

I tried to transfer one of my models into the framwork and ran into these issues:

  1. If none of my technologie has a mode, createOptModel! throws an key :M not found error.
  2. So far, the framework does not seem to support specificing more than 9 pairs of parameter/value columns within an input file.
  3. setObjective! throws the following error: column(s) val are missing from argument(s) I've added the model files to the issue.

I used the following data set:
data.zip

Avoid Conda installation at top level

This package currently calls very heavyweight functionality during precompilation:

Pkg.build("PyCall")

That's really discouraged, and currently breaks precompilation on PkgEval. It would be better to perform these operations during Pkg.build, or lazily at run time, but not at top level.

createOptModel! throws error if no emissionFac is provided at all

Building the model without an emissionFac while there is an emission limit = 0 is given throws an error:

TaskFailedException:
KeyError: key :emissionFac not found
Stacktrace:
 [1] getindex at .\dict.jl:477 [inlined]
 [2] #getAllVariables#1434(::Bool, ::Function, ::typeof(anyMOD.getAllVariables), ::Symbol, ::anyModel) at C:\Users\Mario\.julia\packages\anyMOD\qHPbo\src\dataHandling\util.jl:406
 [3] getAllVariables at C:\Users\Mario\.julia\packages\anyMOD\qHPbo\src\dataHandling\util.jl:387 [inlined]
 [4] macro expansion at C:\Users\Mario\.julia\packages\anyMOD\qHPbo\src\optModel\other.jl:235 [inlined]
 [5] (::anyMOD.var"#224#threadsfor_fun#580"{anyMOD.OthPart,anyModel,Dict{Symbol,Array{Symbol,1}},Dict{Symbol,anyMOD.cnsCont},Dict{Symbol,Symbol},Array{Symbol,1}})(::Bool) at .\threadingconstructs.jl:61
 [6] (::anyMOD.var"#224#threadsfor_fun#580"{anyMOD.OthPart,anyModel,Dict{Symbol,Array{Symbol,1}},Dict{Symbol,anyMOD.cnsCont},Dict{Symbol,Symbol},Array{Symbol,1}})() at .\threadingconstructs.jl:28
in top-level scope at intro.jl:12
in createOptModel! at anyMOD\qHPbo\src\modelCreation.jl:82
in createLimitCns! at anyMOD\qHPbo\src\optModel\other.jl:231
in macro expansion at base\threadingconstructs.jl:69 
in wait at base\task.jl:251

If the emission limit is removed the model will be built without any error. I would suggest that in that case a warning/error with a specific message/hint is printed to the log file during read-in.

Update to MOI v1 and JuMP v0.23

The release of JuMP v1.0 is quite imminent and will require MOI v1. It's recommended to first update to MOI v0.10 as it contains deprecation warning that helps updating.

Capital letter of parameter "ExcDir"

It seems inconsistent compared to the rest of the parameters which all start with a lower case.

Limits on exchange

Limits on exchange quantities. In the inheritance rules sum* only applies for upper limits.

name exc{Fix/Low/Up} ExcDir{Fix/Low/Up}
unit GWh
dimension $Ts_{dis}$, $R_{a}$, $R_{b}$, $C$
default value none
inheritance rules
  1. $Ts_{dis}$sum/sum*
  2. $R_{a}$sum/sum*
  3. $R_{b}$sum/sum*
  4. $C$sum/sum*
related elements
part limit

Suggestion change ExcDir to excDir to be in line with the other parameters.

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.