Open Afraz85 opened 2 years ago
Do you refer to the simulatio or optimization part of DHNx? In the simultion, this is not possible at the moment. In the optimization appraoch, it should be possible, but you should try to make prosumer out of the producers by adding a demand.csv
. For the consumers, directed "heatpipelines" are created at the consumers connection, so this will not work. Please see here:
https://dhnx.readthedocs.io/en/latest/optimization_models.html#investment-and-additional-options
Would be interesting to hear your feedback if it works.
If that does not work, you can also retrieve the oemof solph energy system and then you are able to use everything possible within oemof.solph, and add components etc.:
dhnx_opti_model = dhnx.optimization_models.setup_optimise_investment(
thermal_network=your_thermal_network,
invest_options=your_investment_options_dict,
# **settings
)
oemof_solph_energy_system = dhnx_opti_model.es
Can we integrate prosumer as well ? A consumer can become at certain moment prosumer, while giving the energy to network like producer is doing. If we made the changes in consumer.csv will it work?