I am currently simulating the German electricity and heat market in a simplified form with some renewable and conventional power plants from 2020 to 2050. Now I have 2 problems:
- Over time, especially for wind and PV the investment costs changes and for lignite the variable costs changes too.
For the input of the
variable_costsI used a DataFrame, so for each timestamp there are different costs. But for the
oemof.solph.options.Investment) no floats can be used.
Is there any way to vary the investment costs over time?
variable_costs = powerplant_parameter[(‘Lignite’,‘variable costs’)]
AttributeError: ‘Series’ object has no attribute ‘is_expression_type’
- Currently all investments are made at the beginning of the first year.
Is it possible:
to limit the maximum investment per year? Or to set maximum addition rates?
Unfortunately, the “maximum” parameter in the investment function only limits completely.
to make the investment only when it is necessary. For example, if the demand increases steeply only in the 5th year, it is not necessary to invest the money already at the beginning. Or if the investment amounts are much lower in the 10th year.
The output of the model.solver_results is dated 1/1/2020 00:00:00, so I assume that there can be multiple investment periods.
My first idea was to create a loop for each year and import the new power plant output in the new year. But then it is not possible to plan investments for the future (nuclear and coal phase out).
Thank you for your help,