How to model merit order (stepwise function)
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to model an inverse merit-order (from highest price to lowest price) of products with varying quantity x(t) and price y(t) at time t. Products are included in the merit order until cumsum(x(t) = z(t)). Z is exogenously given. Note: if z(t) increases over time, the merit order should shift to the right to include the next available product with marginally higher price y(t).
Currently I have a vector MC(t) where 80 products are sorted based on their price, and a corresponding vector Q(t) with the corresponding quantities x(t). How to proceed? Thanks in advance!
0 Kommentare
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!