Comments (3)
I have noticed that the calculation of the deprecation rate is location agnostic here:
def depreciation_getter(option_getter_func):
def get_depreciation_rate(y, k):
interest = option_getter_func(
y + '.depreciation.interest.' + k,
default=y + '.depreciation.interest.default')
plant_life = option_getter_func(y + '.depreciation.plant_life')
if interest == 0:
dep = 1 / plant_life
else:
dep = ((interest * (1 + interest) ** plant_life)
/ (((1 + interest) ** plant_life) - 1))
return dep
return get_depreciation_rate
I'll update it for the 0.5.3 release. For now you should be able to change these settings at a technology level, just without the location-specific override.
from calliope.
Thanks!
Yes, Putting it for each technology is working.
from calliope.
Fixed in 77a0930
from calliope.
Related Issues (20)
- debug functionality missing in Model.__init__ HOT 1
- Potential desync in model configuration at the model.py level HOT 1
- Outdated 'dimensions' formalism in some parts of the docs
- .inf not parsed correctly in math syntax HOT 2
- Incorrect net_cdf serialisation for top level attributes HOT 4
- Unwanted spillover and overwriting across cost dimensions HOT 3
- model.backend.update_parameter does not propagate in all equations HOT 4
- Data duplication in the Calliope backend HOT 1
- Ensuring data and model configuration remain in sync at all times (model, backend, backendmath) HOT 12
- Mispaced math documentation guide in pre-defined math HOT 1
- Improving the handling of invalid backends HOT 1
- Invalid configuration showing for un-activated modes due to schema defaults HOT 4
- Account for python's optimize mode to enable faster model building HOT 2
- Use of native sparse array support in xarray / pandas / netCDF HOT 6
- Default parameter duplication and separation of "lookups" HOT 11
- Isolate postprocessing data creation methods HOT 10
- AttrDict fails when uniting regular dicts HOT 4
- Letting users define parameters and additional dimensions in YAML files HOT 8
- Proposed fixes / consistency changes for documentation HOT 6
- Potential misinterpretation of (internal) cost calculation related to OM cost term HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calliope.