1
$\begingroup$

I'm working on stochastic optimization for optimal energy dispatch, where the uncertainty of photovoltaic power output should be considered with monte carlo sampling and scenario reduction technique. In most literature I've read, the power output uncertainty of the photovoltaic module $P_{PV}$ is usually considered as the sum of some prediction value from a machine learning model $P$ and the prediction error $\varepsilon$.

$$ P_{PV} = P + \varepsilon $$

The papers usually consider $P$ as a constant and $\varepsilon$ as a random parameter that is normally distributed $\varepsilon \sim N(0, \sigma)$.

From the physical point of view, it is clear that the power output of the photovoltaic must exceed zero (otherwise it consumes energy instead of making it), and it must be lower than its maximum capacity $P_{max}$.

$$ 0 \le P_{PV} \le P_{max} $$

However, it's quite obvious that during the monte carlo sampling, it's very likely to have a sampled error $\varepsilon$ that is either very small or very large, making the $P_{PV}$ smaller than zero or larger than its maximum capacity. Some papers just setting these values to either 0 or $P_{max}$, which will change the distribution of the $\varepsilon$ according to my understanding.

How to handle these physically meaningless values during monte carlo sampling?

$\endgroup$

1 Answer 1

3
$\begingroup$

If you are getting impossible values of the power output under your model (with non-negligible probability) then that suggests a deficiency in the model. The usual solution would be to use an alternative model that uses a distribution that is bounded within the required range, to prevent impossible values. I would recommend you look for an appropriate parametric family of distributions that has support on a bounded interval (e.g., shifted/scaled versions of the beta distribution).

The normal distribution is sometimes used as an asymptotic approximation to distributions on a bounded support, in cases where the value is highly concentrated within a small range. This approximation introduces a non-zero probability of values outside the true support, but the probability of this is often vanishingly small, so people sometimes consider these approximations to be okay despite this drawback. In such cases, it is also possible to use a truncated version of the normal distribution that removes the parts outside the true support. (This also gives a distribution on a bounded interval.)

$\endgroup$
2
  • $\begingroup$ Thank you for the interesting answer. I have also considered to use the truncated normal distribution to represent the actual PV power output. But I quickly abandoned this idea, since it causes a non-neglectable deviation between the $\mu$ and the actual mean of the distribution especially when the power output is close to the lower and the upper bound. $\endgroup$
    – 407Peezy
    Commented Jan 12, 2023 at 8:38
  • 1
    $\begingroup$ Yes, I would avoid the truncated normal distribution (except as an approximation) and try to find an appropriate parametric family with bounded support, without use of truncation. $\endgroup$
    – Ben
    Commented Jan 12, 2023 at 8:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.