Using multiple in- or output busses¶
Sometimes, you may also want to have multiple input or output busses connected to a component. This is for example the case if you want to model an electrolyzer with a transformer, and want to track water consumption at the same time as you want to track electricity consumption.
You can define this, again, in the csv´s. First you should provide the input, or output, busses as a list for the energyConversion.csv parameter of inflow_direction or outflow_direction resp.:
“[h2o_bus, electricity_bus]”
Then you need to provide the efficiencies and dispatch prices respective to each bus, for example:
“[0.99, 0.98]”
You can also provide a timeseries for one or both values. To do so, you can simply use the notation introduced in Adding a timeseries for a parameter:
“[0.99, {‘value’: {‘file_name’: ‘your_file_name.csv’, ‘header’: ‘your_header’}, ‘unit’: ‘your_unit’}]”
You can see an example here, with an electrolyzer :
unit |
electrolyser |
|
---|---|---|
age_installed |
year |
3 |
development_costs |
currency |
0 |
specific_costs |
currency/kW |
1500 |
efficiency |
factor |
“[0.01923,0.28845]” |
inflow_direction |
str |
“[MicroGrid,Water]” |
installedCap |
kW |
0 |
label |
str |
Electrolyser |
lifetime |
year |
20 |
specific_costs_om |
currency/kW/year |
75 |
dispatch_price |
currency/kWh |
“[0,0.0038]” |
optimizeCap |
bool |
True |
outflow_direction |
str |
Local H2 grid |
energyVector |
str |
Electricity |
type_oemof |
str |
transformer |
unit |
str |
kW |
The features were integrated with Pull Request #63 and Pull Request #949.
For more information, you might also reference following issues: