solph.GROUPINGS as default parameter
See original GitHub issueThe solph library does not work properly if solph.GROUPINGS is not passed to the solph.EnergySystem. Shouldn’t we set the solph.GROUPINGS by default for the solph.EnergySystem?
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
User's guide — oemof.solph 0.4.4 documentation
Solph is an oemof-package, designed to create and solve linear or ... Additionally the parameter balanced (default value: True ) sets the relation...
Read more >Modifying a parameter group - Amazon MemoryDB for Redis
You can modify some parameter values in a parameter group. These parameter values are applied to clusters ... You cannot modify any default...
Read more >oemof Documentation - Read the Docs
Solph's EnergySystem now automatically uses solph's GROUPINGS in ... Parameters unstacklevel (string (default: 'obj_label')) – Level to un-.
Read more >Default parameters - JavaScript - MDN Web Docs
Default function parameters allow named parameters to be initialized with default values if no value or undefined is passed.
Read more >Understanding Default Parameters in JavaScript - DigitalOcean
In ECMAScript 2015, default function parameters were introduced to the JavaScript programming language. These allow developers to initialize ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I went with the "always use/prepend
solph.GROUPINGSapproach. See the pull request. The class docstring now clearly states what is happening and what to do if differing behavior is desired. In case solph’sEnergySystemgains additionally functionality so that using core’s version is no longer an option, we can always addkeep_default_groupings=True(orremove_groupings=[]) or something similar as an additional keyword argument. I totally forgot to add a whatsnew note. Gonna do that right now.PR #215 is merged.