question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

solph.GROUPINGS as default parameter

See original GitHub issue

The 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:closed
  • Created 7 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
gnncommented, Oct 25, 2016

I went with the "always use/prepend solph.GROUPINGS approach. 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’s EnergySystem gains additionally functionality so that using core’s version is no longer an option, we can always add keep_default_groupings=True (or remove_groupings=[]) or something similar as an additional keyword argument. I totally forgot to add a whatsnew note. Gonna do that right now.

0reactions
uvchikcommented, Nov 1, 2016

PR #215 is merged.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found