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.

nominal_value and actual_value

See original GitHub issue

Flows have attributes nominal_value and actual_value. The latter, actual_value, gives information about the temporal profile of the flow. It is internally multiplied by nominal_value.

  • Remark: A power timeseries does not necessary attain the maximal possible value or the nominal value in a given time interval. Scaling a timeseries so its maximum is not the same as scaling it to its general nominal value.
  • Terminology: Nennleistung is not necessarily the same as maximal power (https://www.energie-lexikon.info/leistung.html, section “Nennleistung”). The docu does not draw this distinction . This means that a non-normalized power timeseries may contain values above the Nennleistung. E.g., PV can in some conditions produce more than its peak power which is measured under standard test conditions.

How to handle this?

My opinion: As flows are pretty flexible and can be used in many contexts, I suggest to avoid restricting its use just to meet the terminology of special cases. However, I would clearly state that nominal_value and actual_value are internally multiplied.

In this case, actual_value should be allowed to be >1. Without investment, this is already possible. In investment mode, it will lead to zero flow.

It seems to be caused by this constraint in blocks.py:

    def _max_investflow_rule(block, i, o, t):
        """Rule definition of constraint setting an upper bound of flow
        variable in investment case.
        """
        expr = (m.flow[i, o, t] <= (
            (m.flows[i, o].investment.existing + self.invest[i, o]) *
             m.flows[i, o].max[t]))
        return expr
    self.max = Constraint(self.FLOWS, m.TIMESTEPS,
                          rule=_max_investflow_rule)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:29 (29 by maintainers)

github_iconTop GitHub Comments

1reaction
jnnrcommented, Oct 4, 2019

I prefer [2] 😃

0reactions
uvchikcommented, May 8, 2020

Closed by #680

Read more comments on GitHub >

github_iconTop Results From Across the Web

Calculate the Difference Between Nominal Value and Real ...
The nominal price of a security is its stated value, its redemption price, or its unadjusted price, without taking into account inflation and...
Read more >
Real versus nominal value (economics)
In economics, nominal value is measured in terms of money, whereas real value is measured against goods or services. A real value is...
Read more >
Real vs Nominal Value: Difference and Example | StudySmarter
The difference between the real value and the nominal value is that the nominal value is the current price of a good in...
Read more >
Adjusting nominal values to real values (article)
The nominal value of any economic statistic is measured in terms of actual prices that exist at the time. · The real value...
Read more >
Deflating Nominal Values to Real Values
To transform a series into real terms, two things are needed: the nominal data and an appropriate price index. The nominal data series...
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