Dear oemof experts,
I’m using oemof to create a combined dispatch & investment model. Right at the beginning of the model writing I stumbled upon an odd error message. My transformer modeling looks like
solph.Transformer(
label='sample_transformer',
inputs={<fuel_bus>: solph.Flow()},
outputs={<electricity_bus>: solph.Flow(
nominal_value=42,
variable_cost=3,
investment=solph.Investment(
ep_costs=23
))},
conversion_factors={<electricity_bus>: 0.5})
which returns me a "Using the investment object the nominal_value has to be set to None."
.
Now, I find myself asking: how should I model it with oemof? Is it really necessary to include two transformers of the same type? one representing the existing capacity and the other for new investments into this technology…
Or did I simply overlooked something?