quintel / merit

A system for calculating hourly electricity and heat loads with a merit order
MIT License
4 stars 2 forks source link

marginal_cost is NaN when number_of_units is zero #42

Closed ChaelKruip closed 11 years ago

ChaelKruip commented 11 years ago

We have to find out three things:

  1. Is this a bad thing? Those dispatchables are not really participating in the MO anyway.
  2. Why would the variable_cost_per(:MWh) give different results than the previously used merit_order_variable_cost_per(:MWh)?
  3. Does the new stub reproduce the outcome of the previous one?
ChaelKruip commented 11 years ago
  1. No
  2. Now, the recursive factor is used to calculate fuel cost and CO2 cost
  3. Yes