This pull request is on hold. It is being replaced by 3 individual PRs: #181, #183 and #184
This pull request incorporates some changes. It makes PR #155 obsolete.
The interval time can now be adjusted, solving issues #159 and #152
There is a new component "variable_grid"
There is a new component "variable_battery"
Therefore the following changes have been made;
The components "component.py", "component_battery.py", "component_sink.py", and "component_supply.py"
and the file "example_plotting_dicts.py" have been corrected. The underlying idea is, that all flows in oemof are designed as time dependent (like Power: W/kW) and automatically adjusted to the intervaltime. Until now flows in smooth have been written as in absolute values (like Energy: Wh/kWh). This commit changes this for the mentioned files, (all?) other components will have to be changed accordingly in order to be able to change the interval time and still get correct outputs. As long as one calculates in hours (interval_time = 60) all components will produce correct outputs.
plot_results.py has been changed to account for different interval times by Stefan in PR #175 and I incorporated these changes here in order to avoid merge conflicts.
The new component "variable_grid" has been written, so that the optimizer (run_optimization) can optimize the type of grid connection (grid_level). Therefore different levels can be efined regarding their output_max and capex.
Similarly the component "variable_battery" can be used in order for the optimizer to select the best suited battery.
This pull request is on hold. It is being replaced by 3 individual PRs: #181, #183 and #184
This pull request incorporates some changes. It makes PR #155 obsolete.
Therefore the following changes have been made;
plot_results.py has been changed to account for different interval times by Stefan in PR #175 and I incorporated these changes here in order to avoid merge conflicts.
The new component "variable_grid" has been written, so that the optimizer (run_optimization) can optimize the type of grid connection (grid_level). Therefore different levels can be efined regarding their output_max and capex.
Similarly the component "variable_battery" can be used in order for the optimizer to select the best suited battery.