Comments (7)
I agree that the current terminology is confusing and that group
is not the right term here.
Right now you define properties in tech_groups
, and you use inherit
to apply them to a specific tech. Changing tech_groups
to parent_techs
or tech_parents
would already make this clearer, but wouldn't it make more sense then for inherit
to also change to parent
?
Or what about tech_templates
? I think that has a clear meaning. Again, you might want to then change inherit
to template
.
from calliope.
So:
tech_groups
→tech_templates
inherit
→template
from calliope.
I agree on this, particularly when combined with #604.
tech_class
makes sense to me, but maybe there is a better name...
from calliope.
We want to try and avoid overlapping with Python terminology as much as possible, hence why class
isn't ideal (and why we have base_tech
and not tech_class
in the main tech config). group
is also a relatively close synonym of class
so if one causes confusion then so might the other. We likely need is something more closely aligned to parent
, but I don't have a good idea on what that could be.
from calliope.
I actually like class
because it makes sense in terms of inheritance / behavior...
group
is problematic because it can be confused with subsets of a dimension.
parent
is fine too (mostly because "parent class" is a common term in SW). If we want to avoid class
I think it is good too!
from calliope.
I vote for templates!
from calliope.
I like it! Simple and to the point.
from calliope.
Related Issues (20)
- 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
- Setting storage_initial and cyclic_storage HOT 3
- Possible duplicate links
- Wrong "in domain" symbol HOT 4
- Wording in `flow_cap_min` HOT 1
- Is `available_flow_cap` correct under various settings?
- constraints.force_asyncronous_prod_con breaks storage capacity expansion and dispatch in 0.6.10
- No unit for `global_expressions` set, even if schema requires HOT 2
- cost_var duplicate index error with multiple carriers HOT 1
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.